@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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/scripts.json +3 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mimik/local",
3
- "version": "6.0.4",
3
+ "version": "6.0.5",
4
4
  "description": "Local setup configuration for normal and test opreration",
5
5
  "main": "index.js",
6
6
  "scripts": {
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 set .husky/pre-push 'npm run pre-push'",
11
+ "pre-push-install": "npx husky init",
12
12
  "pre-commit": "npm run docs && npm run lint",
13
- "pre-commit-install": "npx husky set .husky/pre-commit 'npm run pre-commit'",
14
- "prepare": "if [ \"$NODE_ENV\" != \"production\" ]\nthen\nnpm run pre-push-install && npm run pre-commit-install\nfi"
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": {