34 lines
1,005 B
JSON
34 lines
1,005 B
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",
|
|
"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": ""
|
|
}
|
|
}
|
|
}
|
|
}
|