Skip to content

Commit 6f26765

Browse files
committed
Update devinstall scripts
1 parent 4574871 commit 6f26765

File tree

2 files changed

+47
-2
lines changed

2 files changed

+47
-2
lines changed

package-lock.json

Lines changed: 44 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
"test": "npm run lint && jest",
1414
"_install": "node husky install",
1515
"preuninstall": "node husky uninstall",
16-
"devinstall": "npm run build && npm run _install -- node_modules/husky && node scripts/dev-fix-path",
17-
"devuninstall": "npm run build && npm run preuninstall -- node_modules/husky",
16+
"devinstall": "npm run build && cross-env HUSKY_DEBUG=1 npm run _install -- node_modules/husky && node scripts/dev-fix-path",
17+
"devuninstall": "npm run build && cross-env HUSKY_DEBUG=1 npm run preuninstall -- node_modules/husky",
1818
"build": "del-cli lib && tsc",
1919
"version": "jest -u && git add -A src/installer/__tests__/__snapshots__",
2020
"postversion": "git push && git push --tags",
@@ -71,6 +71,7 @@
7171
"@types/read-pkg": "^4.0.0",
7272
"@typescript-eslint/eslint-plugin": "^1.11.0",
7373
"@typescript-eslint/parser": "^1.11.0",
74+
"cross-env": "^6.0.2",
7475
"del": "^4.1.1",
7576
"del-cli": "^2.0.0",
7677
"eslint": "^6.0.0",

0 commit comments

Comments
 (0)