Created
September 11, 2017 22:35
-
-
Save vincentdesmares/69838bb346b7e31516a41a6c261d033a to your computer and use it in GitHub Desktop.
An example of commands stored in a package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "my project name", | |
"...": "...", | |
"scripts": { | |
"release": "standard-version", | |
"db-reset": "rm -rf data/main.db && sequelize db:migrate && sequelize db:seed:all", | |
"db-migrate": "sequelize db:migrate", | |
"dev": "pm2 delete all; pm2 startOrReload ecosystem.config.js && pm2 start react-scripts --name web -- start", | |
"start": "pm2 startOrReload ecosystem.config.js", | |
"build": "react-scripts build", | |
"test": "react-scripts test --env=jsdom", | |
"flow": "flow" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment