36 lines
1.1 KiB
JSON
36 lines
1.1 KiB
JSON
{
|
|
"name": "netlify-fauna",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"dependencies": {
|
|
"faunadb": "^2.5.2",
|
|
"react": "^16.5.2",
|
|
"react-dom": "^16.5.2",
|
|
"react-scripts": "2.0.4"
|
|
},
|
|
"scripts": {
|
|
"bootstrap": "node ./scripts/bootstrap-fauna-database.js",
|
|
"docs": "md-magic --path '**/*.md' --ignore 'node_modules'",
|
|
"checkForFaunaKey": "node ./scripts/check-for-fauna-key.js",
|
|
"start": "npm-run-all --parallel checkForFaunaKey start:app start:server",
|
|
"start:app": "react-scripts start",
|
|
"start:server": "netlify-lambda serve functions -c ./webpack.config.js",
|
|
"prebuild": "echo 'setup faunaDB' && npm run bootstrap",
|
|
"build": "npm-run-all --parallel build:**",
|
|
"build:app": "react-scripts build",
|
|
"build:functions": "netlify-lambda build functions -c ./webpack.config.js",
|
|
"test": "react-scripts test --env=jsdom"
|
|
},
|
|
"devDependencies": {
|
|
"http-proxy-middleware": "^0.19.0",
|
|
"markdown-magic": "^0.1.23",
|
|
"netlify-lambda": "^1.0.2",
|
|
"npm-run-all": "^4.1.3"
|
|
},
|
|
"browserslist": [
|
|
">0.2%",
|
|
"not dead",
|
|
"not ie <= 11",
|
|
"not op_mini all"
|
|
]
|
|
}
|