[dev] change npm script names

Summary:
`npm run cloud` felt nicer than:
`npm run start-cloud`

Test Plan: manual

Reviewers: juan, spang, mark, khamidou, halla

Reviewed By: halla

Differential Revision: https://phab.nylas.com/D4124
This commit is contained in:
Evan Morikawa 2017-03-07 14:54:30 -05:00
parent 67b7a335de
commit a4de75d3ec

View file

@ -44,13 +44,13 @@
"scripts": { "scripts": {
"start": "npm run start-client", "start": "npm run start-client",
"test": "npm run test-client && npm run test-cloud", "test": "npm run test-client && npm run test-cloud",
"start-client": "packages/client-app/node_modules/.bin/electron packages/client-app --enable-logging --dev", "client": "packages/client-app/node_modules/.bin/electron packages/client-app --enable-logging --dev",
"test-client": "packages/client-app/node_modules/.bin/electron packages/client-app --enable-logging --test", "test-client": "packages/client-app/node_modules/.bin/electron packages/client-app --enable-logging --test",
"test-client-window": "packages/client-app/node_modules/.bin/electron packages/client-app --enable-logging --test=window", "test-client-window": "packages/client-app/node_modules/.bin/electron packages/client-app --enable-logging --test=window",
"test-client-junit": "", "test-client-junit": "",
"build-client": "grunt ci --gruntfile=packages/client-app/build/Gruntfile.js --base=./", "build-client": "grunt ci --gruntfile=packages/client-app/build/Gruntfile.js --base=./",
"start-cloud": "pm2 stop all; pm2 delete all; pm2 start packages/cloud-core/pm2-dev.yml --no-daemon", "cloud": "pm2 stop all; pm2 delete all; pm2 start packages/cloud-core/pm2-dev.yml --no-daemon",
"start-cloud-debug": "pm2 stop all; pm2 delete all; pm2 start packages/cloud-core/pm2-debug-cloud-api.yml --no-daemon", "cloud-debug": "pm2 stop all; pm2 delete all; pm2 start packages/cloud-core/pm2-debug-cloud-api.yml --no-daemon",
"test-cloud": "cd packages/cloud-api && npm test && cd ../cloud-core && npm test && cd ../cloud-workers && npm test && cd ../isomorphic-core && npm test", "test-cloud": "cd packages/cloud-api && npm test && cd ../cloud-core && npm test && cd ../cloud-workers && npm test && cd ../isomorphic-core && npm test",
"stop": "npm run stop-cloud", "stop": "npm run stop-cloud",
"stop-cloud": "pm2 stop all; pm2 delete all;", "stop-cloud": "pm2 stop all; pm2 delete all;",