@mimik/local 6.0.4 → 6.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/scripts.json +3 -3
package/package.json
CHANGED
package/scripts.json
CHANGED
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
"prestart": "node ./local/setup.js",
|
|
9
9
|
"start": "sh server-start.sh",
|
|
10
10
|
"pre-push": "npm run docs && npm run lint && npm run test",
|
|
11
|
-
"pre-push-install": "npx husky
|
|
11
|
+
"pre-push-install": "npx husky init",
|
|
12
12
|
"pre-commit": "npm run docs && npm run lint",
|
|
13
|
-
"pre-commit-install": "npx husky
|
|
14
|
-
"prepare": "if [ \"$NODE_ENV\" != \"production\" ]\nthen\
|
|
13
|
+
"pre-commit-install": "npx husky init",
|
|
14
|
+
"prepare": "if [ \"$NODE_ENV\" != \"production\" ]\nthen\nhusky && npm run pre-push-install && npm run pre-commit-install\nfi"
|
|
15
15
|
},
|
|
16
16
|
"husky": {
|
|
17
17
|
"hooks": {
|