@mimik/local 5.0.3 → 5.0.4

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 +6 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mimik/local",
3
- "version": "5.0.3",
3
+ "version": "5.0.4",
4
4
  "description": "Local setup configuration for normal and test opreration",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/scripts.json CHANGED
@@ -1,15 +1,18 @@
1
1
  {
2
2
  "scripts": {
3
3
  "lint": "eslint --ignore-path .gitignore .",
4
- "docs": "jsdoc2md ./src/configuration/config.js > README.md",
4
+ "docs": "jsdoc2md index.js > README.md",
5
5
  "pretest": "node ./local/testSetup.js",
6
- "test": "mocha --reporter mochawesome --bail --check-leaks --exit test/",
6
+ "test": "mocha --reporter mochawesome --bail --check-leaks test/",
7
7
  "test-ci": "nyc --reporter=lcov --reporter=text npm test",
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 add .husky/pre-push \"npm run pre-push\"",
11
12
  "pre-commit": "npm run docs && npm run lint",
12
- "prepare": "husky install"
13
+ "pre-commit-install": "npx husky add .husky/pre-commit \"npm run pre-commit\"",
14
+ "commit-msg-install": "npx husky add .husky/commit-msg \"node ./local/commitMsgCheck $1\"",
15
+ "prepare": "husky install && npm run pre-push-install && npm run pre-commit-install && npm run commit-msg-install"
13
16
  },
14
17
  "husky": {
15
18
  "hooks": {