Skip to content

Commit 1f8610d

Browse files
author
Brandon Scott
committed
Issue #49 Remove troublesome preinstall script, convert configure:git script back to using && chains
1 parent db38c34 commit 1f8610d

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,14 +62,13 @@
6262
"scripts": {
6363
"build": "tsc --pretty",
6464
"clean": "rimraf dist && rimraf coverage",
65-
"configure:git": "echo Ensuring git hooksPath is set to .githooks directory; git config core.hooksPath .githooks; chmod +x .githooks/*",
65+
"configure:git": "echo Ensuring git hooksPath is set to .githooks directory && git config core.hooksPath .githooks && chmod +x .githooks/*",
6666
"coverage": "jest ./src --coverage",
6767
"docs": "typedoc --mode file --excludeExternals --plugin typedoc-plugin-markdown --readme none",
6868
"format": "prettier --write \"src/**/*.ts\" --trailing-comma es5",
6969
"postbuild": "npm run docs",
7070
"postpublish": "cross-env-shell \"git add -A && git commit -m \"$npm_package_version\" && git push origin master\"",
7171
"prebuild": "npm run clean && npm run format && echo Using TypeScript && tsc --version",
72-
"preinstall": "npm run configure:git",
7372
"prepublishOnly": "npm run build",
7473
"test": "jest ./src",
7574
"watch": "npm run build -- --watch",

0 commit comments

Comments
 (0)