Skip to content
This repository was archived by the owner on Jun 2, 2024. It is now read-only.

Commit d9a2cd8

Browse files
committed
chore: add commitlint
1 parent cfd1c25 commit d9a2cd8

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

package.json

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -63,19 +63,18 @@
6363
"scripts": {
6464
"build": "npm run clean:build && npm run lint && npm run test && rollup -c",
6565
"clean:build": "rimraf ./lib && rimraf ./build",
66-
"lint": "npm run lint:write \"src/**/*.@(ts|tsx)\"",
66+
"docs:server": "styleguidist server",
67+
"docs": "styleguidist build",
6768
"lint:fix": "npm run lint:write --fix \"src/**/*.@(ts|tsx)\"",
6869
"lint:write": "tslint -c tslint.json",
69-
"prettier": "npm run prettier:write \"src/**/*.@(ts|tsx)\"",
70+
"lint": "npm run lint:write \"src/**/*.@(ts|tsx)\"",
7071
"prettier:write": "prettier -c .prettierrc --write",
71-
"docs": "styleguidist build",
72-
"docs:server": "styleguidist server",
73-
"test": "jest",
74-
"commitlint": "commitlint"
72+
"prettier": "npm run prettier:write \"src/**/*.@(ts|tsx)\"",
73+
"test": "jest"
7574
},
7675
"husky": {
7776
"hooks": {
78-
"commit-msg": "commitlint -E $HUSKY_GIT_PARAMS",
77+
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
7978
"pre-commit": "lint-staged",
8079
"pre-push": "npm run test"
8180
}

0 commit comments

Comments
 (0)