update docs and scripts
This commit is contained in:
parent
2aeba61e73
commit
a06ffff107
8 changed files with 20 additions and 8 deletions
|
|
@ -252,15 +252,15 @@ Lets rock and roll.
|
|||
{
|
||||
"name": "netlify-fauna",
|
||||
"scripts": {
|
||||
"ABOUT-bootstrap-command": "#👇 scaffold and setup FaunaDB #",
|
||||
"👇 ABOUT-bootstrap-command": "💡 scaffold and setup FaunaDB #",
|
||||
"bootstrap": "node ./scripts/bootstrap-fauna-database.js",
|
||||
"ABOUT-start-command": "#👇 start the app and server #",
|
||||
"👇 ABOUT-start-command": "💡 start the app and server #",
|
||||
"start": "npm-run-all --parallel start:app start:server",
|
||||
"start:app": "react-scripts start",
|
||||
"start:server": "netlify-lambda serve functions -c ./webpack.config.js",
|
||||
"ABOUT-prebuild-command": "#👇 before 'build' runs, run the 'bootstrap' command #",
|
||||
"👇 ABOUT-prebuild-command": "💡 before 'build' runs, run the 'bootstrap' command #",
|
||||
"prebuild": "echo 'setup faunaDB' && npm run bootstrap",
|
||||
"ABOUT-build-command": "#👇 build the react app and the serverless functions #",
|
||||
"👇 ABOUT-build-command": "💡 build the react app and the serverless functions #",
|
||||
"build": "npm-run-all --parallel build:**",
|
||||
"build:app": "react-scripts build",
|
||||
"build:functions": "netlify-lambda build functions -c ./webpack.config.js",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue