31 lines
861 B
JSON
31 lines
861 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 ./init-faunadb.js",
|
|
"start": "concurrently \"react-scripts start\" \"npm run startServer\"",
|
|
"startServer": "netlify-lambda serve functions -c ./webpack.config.js",
|
|
"build": "npm run buildFunctions && react-scripts build",
|
|
"buildFunctions": "netlify-lambda build functions -c ./webpack.config.js",
|
|
"test": "react-scripts test --env=jsdom",
|
|
"eject": "react-scripts eject"
|
|
},
|
|
"devDependencies": {
|
|
"netlify-lambda": "^0.4.0"
|
|
},
|
|
"proxy": {
|
|
"/.netlify/functions": {
|
|
"target": "http://localhost:9000",
|
|
"pathRewrite": {
|
|
"^/\\.netlify/functions": ""
|
|
}
|
|
}
|
|
}
|
|
}
|