mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
Merge pull request #92 from Toverto/change-db-scripts
Change db scripts to run nodemon instead of node
This commit is contained in:
commit
7593a094e0
@ -117,10 +117,8 @@ Optionally you can seed the GraphQL service by executing mutations that
|
||||
will write sample data to the database:
|
||||
|
||||
```bash
|
||||
yarn run build
|
||||
yarn run db:seed
|
||||
# -or-
|
||||
npm run build
|
||||
npm run db:seed
|
||||
```
|
||||
|
||||
|
||||
@ -17,8 +17,8 @@
|
||||
"test:coverage": "nyc report --reporter=text-lcov > coverage.lcov",
|
||||
"db:script:seed": "wait-on tcp:4001 && babel-node src/seed/seed-db.js",
|
||||
"db:script:reset": "wait-on tcp:4001 && babel-node src/seed/reset-db.js",
|
||||
"db:seed": "$npm_package_config_no_auth run-p --race start db:script:seed",
|
||||
"db:reset": "$npm_package_config_no_auth run-p --race start db:script:reset"
|
||||
"db:seed": "$npm_package_config_no_auth run-p --race dev db:script:seed",
|
||||
"db:reset": "$npm_package_config_no_auth run-p --race dev db:script:reset"
|
||||
},
|
||||
"author": "Human Connection gGmbH",
|
||||
"license": "MIT",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user