Skip to content

Commit 433b026

Browse files
committed
Use colons in the names of npm scripts "sub" tasks.
1 parent fd5323a commit 433b026

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
"packages/*"
66
],
77
"scripts": {
8-
"lerna-version": "lerna version",
9-
"lerna-publish": "lerna publish from-git --yes",
10-
"ci": "npm-run-all build lint format-validate test",
8+
"lerna:version": "lerna version",
9+
"lerna:publish": "lerna publish from-git --yes",
10+
"ci": "npm-run-all build lint format:validate test",
1111
"test": "lerna run test",
1212
"lint": "eslint packages/**/*.js",
1313
"format": "prettier --write \"**/*.@(js|json|md)\"",
14-
"format-validate": "prettier --list-different \"**/*.@(js|json|md)\"",
14+
"format:validate": "prettier --list-different \"**/*.@(js|json|md)\"",
1515
"build": "node packages/java-parser/scripts/gen-diagrams.js",
1616
"prettier": "prettier --plugin=./packages/prettier-plugin-java --parser=java",
1717
"update-test-outputs": "node packages/prettier-plugin-java/scripts/update-test-outputs.js"

scripts/deploy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
33
# but it won't tell us what are the files, the "git status" command will help
44
# debug CI failures (e.g in travis)
55
git status
6-
yarn run lerna-publish
6+
yarn run lerna:publish

0 commit comments

Comments
 (0)