|
5 | 5 | "author": "Mark <mark@remarkablemark.org>",
|
6 | 6 | "main": "index.js",
|
7 | 7 | "scripts": {
|
8 |
| - "prepublishOnly": "npm run clean && npm run build:unmin && npm run build:min", |
9 |
| - "release": "standard-version", |
10 |
| - "clean": "rm -rf dist", |
11 | 8 | "build:unmin": "NODE_ENV=development webpack index.js dist/html-react-parser.js",
|
12 | 9 | "build:min": "NODE_ENV=production webpack -p index.js dist/html-react-parser.min.js",
|
13 |
| - "test": "mocha", |
| 10 | + "clean": "rm -rf dist", |
| 11 | + "commitmsg": "commitlint -e $GIT_PARAMS", |
| 12 | + "cover": "istanbul cover _mocha -- -R spec \"test/**/*\"", |
| 13 | + "coveralls": "cat coverage/lcov.info | coveralls", |
14 | 14 | "lint": "eslint --ignore-path .gitignore .",
|
15 | 15 | "lint:fix": "npm run lint -- --fix",
|
16 |
| - "cover": "istanbul cover _mocha -- -R spec \"test/**/*\"", |
17 |
| - "coveralls": "cat coverage/lcov.info | coveralls" |
| 16 | + "prepublishOnly": "npm run clean && npm run build:unmin && npm run build:min", |
| 17 | + "release": "standard-version", |
| 18 | + "test": "mocha" |
18 | 19 | },
|
19 | 20 | "repository": {
|
20 | 21 | "type": "git",
|
|
36 | 37 | "style-to-object": "0.2.0"
|
37 | 38 | },
|
38 | 39 | "devDependencies": {
|
| 40 | + "@commitlint/cli": "^5.2.3", |
| 41 | + "@commitlint/config-conventional": "^5.2.3", |
39 | 42 | "coveralls": "^3.0.0",
|
40 | 43 | "eslint": "^4.12.0",
|
| 44 | + "husky": "^0.14.3", |
41 | 45 | "istanbul": "^0.4.5",
|
42 | 46 | "mocha": "^4.0.1",
|
43 | 47 | "react": "^16",
|
|
0 commit comments