netlify-faunadb-example/package.json
2018-06-20 20:54:56 -07:00

35 lines
1 KiB
JSON

{
"name": "netlify-fauna",
"version": "0.1.0",
"private": true,
"dependencies": {
"faunadb": "^0.2.2",
"react": "^16.4.0",
"react-dom": "^16.4.0",
"react-scripts": "1.1.4"
},
"scripts": {
"bootstrap": "node ./scripts/bootstrap-fauna-database.js",
"checkForFaunaKey": "node ./scripts/check-for-fauna-key.js",
"start": "npm-run-all --parallel checkForFaunaKey startApp startServer",
"startApp": "react-scripts start",
"startServer": "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": {
"netlify-lambda": "^0.4.0",
"npm-run-all": "^4.1.3"
},
"proxy": {
"/.netlify/functions": {
"target": "http://localhost:9000",
"pathRewrite": {
"^/\\.netlify/functions": ""
}
}
}
}