Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use "npm-run-all" to run scripts #3797

Merged
merged 6 commits into from
Feb 8, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"jest": "^20.0.4",
"jest-cli": "^20.0.4",
"lerna": "^2.1.1",
"npm-run-all": "4.1.2",
"plop": "^1.8.1",
"prettier": "^1.9.2",
"prettier-eslint-cli": "4.2.x",
Expand All @@ -41,9 +42,10 @@
},
"private": true,
"scripts": {
"bootstrap": "yarn && npm run check-versions && lerna run prepublish",
"bootstrap": "npm-run-all -s check-versions lerna-prepublish",
"prebootstrap": "yarn",
"check-versions": "babel-node scripts/check-versions.js",
"format": "npm run format-packages && npm run format-cache-dir && npm run format-www && npm run format-examples && npm run format-scripts && npm run format-markdown",
"format": "npm-run-all -p format-packages format-cache-dir format-www format-examples format-scripts format-markdown",
"format-cache-dir": "prettier-eslint --write \"packages/gatsby/cache-dir/*.js\"",
"format-examples": "prettier-eslint --write \"examples/**/gatsby-node.js\" \"examples/**/gatsby-config.js\" \"examples/**/src/**/*.js\"",
"format-packages": "prettier-eslint --write \"packages/*/src/**/*.js\"",
Expand All @@ -52,17 +54,18 @@
"format-www": "prettier-eslint --write \"www/*.js\" \"www/src/**/*.js\"",
"jest": "jest",
"lerna": "lerna",
"lerna-prepublish": "lerna run prepublish",
"lint": "eslint --ext .js,.jsx packages/**/src",
"lint:flow": "babel-node scripts/flow-check.js",
"plop": "plop",
"publish": "lerna publish",
"publish-canary": "lerna publish --canary --yes",
"publish-next": "lerna publish --npm-tag=next",
"remotedev": "remotedev --hostname=localhost --port=19999",
"test": "yarn lint && yarn jest",
"test": "npm-run-all -s lint jest",
"test:update": "jest --updateSnapshot",
"test:watch": "jest --watch",
"test_bkup": "npm run lint && npm run test-node && npm run test-integration",
"test_bkup": "npm-run-all -s lint test-node test-integration",
"watch": "lerna run watch --no-sort --stream --concurrency 999"
},
"workspaces": [
Expand Down
Loading