-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
110 lines (110 loc) · 3.12 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
{
"name": "@org/your-repo-name",
"version": "0.0.0-development",
"author": "Author",
"repository": "[email protected]:org/your-repo-name.git",
"license": "MIT",
"keywords": [],
"scripts": {
"clean": "rm -rf dist",
"build:ci": "npm run bundle:libs && npm run build:app:prod",
"bundle:libs": "rollup -c ./projects/your-library-name/rollup.config.ts",
"build:app:dev": "webpack build --mode=development -c webpack.config.js",
"build:app:prod": "webpack build --mode=production -c webpack.config.js",
"build:app:serve": "webpack serve",
"commit": "git-cz",
"semantic-release": "semantic-release",
"docs:types": "typedoc ./projects/your-library-name/src/index.ts --tsconfig ./projects/your-library-name/tsconfig.lib.json --out docs/types",
"docs": "rm -rf docs && npx webpack build --mode=development -o docs && npm run docs:types"
},
"private": true,
"devDependencies": {
"@commitlint/cli": "^8.2.0",
"@commitlint/config-conventional": "^8.2.0",
"@rollup/plugin-commonjs": "^17.1.0",
"@rollup/plugin-node-resolve": "^11.2.0",
"@rollup/plugin-typescript": "^8.2.0",
"@semantic-release/changelog": "^5.0.1",
"@semantic-release/commit-analyzer": "^8.0.1",
"@semantic-release/github": "^7.2.0",
"@semantic-release/npm": "^7.0.10",
"@semantic-release/release-notes-generator": "^9.0.2",
"commitizen": "^4.0.3",
"css-loader": "^5.2.0",
"cz-conventional-changelog": "^3.0.2",
"html-loader": "^2.1.2",
"html-webpack-plugin": "^5.3.1",
"husky": "^3.0.5",
"jest": "^26.6.3",
"jest-config": "^26.6.3",
"jest-html-reporter": "^3.3.0",
"jest-junit": "^12.0.0",
"@types/jest": "^26.0.4",
"ts-jest": "^26.5.3",
"path": "^0.12.7",
"prettier": "^2.2.1",
"pretty-quick": "^3.1.0",
"rollup": "^2.42.1",
"rollup-plugin-copy": "^3.4.0",
"rollup-plugin-scss": "^2.6.1",
"semantic-release": "^17.4.2",
"style-loader": "^2.0.0",
"ts-loader": "^8.0.18",
"tsconfig-paths-webpack-plugin": "^3.5.1",
"tslib": "^2.1.0",
"typedoc": "^0.20.34",
"typescript": "^4.2",
"webpack": "^5.28.0",
"webpack-cli": "^4.5.0",
"webpack-dev-server": "^3.11.2"
},
"release": {
"branches": [
"main"
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
[
"@semantic-release/changelog",
{
"changelogFile": "CHANGELOG.md"
}
],
[
"@semantic-release/npm",
{
"pkgRoot": "dist/your-library-name"
}
],
[
"@semantic-release/github",
{
"assets": [
{
"path": "CHANGELOG.md",
"label": "Changelog"
}
]
}
]
]
},
"config": {
"commitizen": {
"path": "node_modules/cz-conventional-changelog"
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"husky": {
"hooks": {
"commit-msg": "commitlint -e $GIT_PARAMS",
"pre-push": "npm run build:ci",
"pre-commit": "pretty-quick --staged"
}
}
}