From a1b77a1ccfbcd1ac94f3f151943361efa1e8240a Mon Sep 17 00:00:00 2001 From: Huafu Gandon Date: Sat, 22 Sep 2018 06:24:19 +0200 Subject: [PATCH] chore(package): ensure local versions of binaries are used --- package.json | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/package.json b/package.json index f6db519180..cd6e364c61 100644 --- a/package.json +++ b/package.json @@ -14,25 +14,25 @@ "test": "run-s -s test:e2e \"test:unit -- {@}\" --", "test:prepare": "npm run test:e2e -- --prepareOnly", "test:e2e": "node scripts/e2e.js", - "test:unit": "jest", + "test:unit": "node_modules/.bin/jest", "test:external": "node scripts/test-external-project.js", "lint": "run-s lint:ts lint:js", - "lint:js": "eslint . -f stylish", - "lint:ts": "tslint -t stylish --project .", + "lint:js": "node_modules/.bin/eslint . -f stylish", + "lint:ts": "node_modules/.bin/tslint -t stylish --project .", "lint:fix": "run-s lint:fix:ts lint:fix:js", - "lint:fix:js": "eslint . --fix", - "lint:fix:ts": "tslint --fix --project .", - "typecheck": "tsc -p . --noEmit", + "lint:fix:js": "node_modules/.bin/eslint . --fix", + "lint:fix:ts": "node_modules/.bin/tslint --fix --project .", + "typecheck": "node_modules/.bin/tsc -p .", "doc": "cd docs && bundle exec jekyll serve --livereload", "doc:link": "git worktree add docs/_site gh-pages", "doc:unlink": "git worktree prune", "doc:build": "cd docs && bundle exec jekyll build", "doc:build-commit": "npm run doc:build && cd docs/_site && git add --all && git commit -m \"Updates github pages\"", + "changelog": "node_modules/.bin/conventional-changelog -p angular -i CHANGELOG.md -s -r 0", "prepare": "npm run build", "prepublishOnly": "npm run test", - "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0", - "commitmsg": "commitlint -E GIT_PARAMS", - "precommit": "lint-staged", + "commitmsg": "node_modules/.bin/commitlint -E GIT_PARAMS", + "precommit": "node_modules/.bin/lint-staged", "postcommit": "git reset", "preversion": "npm run test", "version": "npm run changelog && git add CHANGELOG.md"