|
13 | 13 | "build:docs": "rm -rf assets && webpack --mode production --config ./docs/webpack.config.js", |
14 | 14 | "build": "npm run clean && npm run build:esm && npm run build:cjs && npm run build:types && npm run build:gulp", |
15 | 15 | "clean": "rimraf dist", |
| 16 | + "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s", |
16 | 17 | "dev": "webpack serve --mode development --port 3100 --host 0.0.0.0 --progress --config ./docs/webpack.config.js", |
17 | 18 | "format": "prettier --write \"{src,test}/**/*.{tsx,ts,js}\"", |
18 | 19 | "format:check": "prettier --list-different \"{src,test}/**/*.{tsx,ts,js}\"", |
19 | 20 | "lint": "eslint src/**/*.{ts,tsx}", |
20 | 21 | "publish:docs": "node docs/gh-pages.js", |
21 | 22 | "prepublishOnly": "npm run build", |
22 | 23 | "test:watch": "jest --watch ", |
23 | | - "test": "npm run format:check && npm run lint && jest" |
| 24 | + "test": "npm run format:check && npm run lint && jest", |
| 25 | + "prepare": "husky install" |
24 | 26 | }, |
25 | 27 | "repository": { |
26 | 28 | "type": "git", |
|
74 | 76 | "@typescript-eslint/parser": "^5.30.5", |
75 | 77 | "autoprefixer": "^10.4.7", |
76 | 78 | "babel-loader": "^8.1.0", |
| 79 | + "conventional-changelog-cli": "^2.2.2", |
77 | 80 | "css-loader": "^6.7.1", |
78 | 81 | "cssnano": "^5.1.12", |
79 | 82 | "eslint": "^7.25.0", |
|
89 | 92 | "gulp-rename": "^2.0.0", |
90 | 93 | "gulp-sourcemaps": "^3.0.0", |
91 | 94 | "html-webpack-plugin": "^5.5.0", |
| 95 | + "husky": "^8.0.1", |
92 | 96 | "jest": "^28.1.2", |
93 | 97 | "jest-environment-jsdom": "^28.1.2", |
94 | 98 | "less": "^4.1.3", |
|
0 commit comments