@mimik/local 6.0.5 → 6.0.7
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 +3 -2
- package/scripts.json +1 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mimik/local",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.7",
|
|
4
4
|
"description": "Local setup configuration for normal and test opreration",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -9,7 +9,8 @@
|
|
|
9
9
|
"test": "echo \"Error: no test specified\" && exit 0",
|
|
10
10
|
"test-ci": "echo \"Error: no test specified\" && exit 0",
|
|
11
11
|
"prepublishOnly": "npm run docs && npm run lint && npm run test-ci",
|
|
12
|
-
"commit-ready": "npm run docs && npm run lint && npm run test-ci"
|
|
12
|
+
"commit-ready": "npm run docs && npm run lint && npm run test-ci",
|
|
13
|
+
"prepare": "husky"
|
|
13
14
|
},
|
|
14
15
|
"husky": {
|
|
15
16
|
"hooks": {
|
package/scripts.json
CHANGED
|
@@ -8,10 +8,8 @@
|
|
|
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 init",
|
|
12
11
|
"pre-commit": "npm run docs && npm run lint",
|
|
13
|
-
"
|
|
14
|
-
"prepare": "if [ \"$NODE_ENV\" != \"production\" ]\nthen\nhusky && npm run pre-push-install && npm run pre-commit-install\nfi"
|
|
12
|
+
"prepare": "if [ \"$NODE_ENV\" != \"production\" ]\nthen\nnpx husky\nfi"
|
|
15
13
|
},
|
|
16
14
|
"husky": {
|
|
17
15
|
"hooks": {
|