-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
71 lines (71 loc) · 1.99 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
{
"name": "webpack-template",
"version": "0.1.0",
"description": "基于 semantic-release 的自动化 release webpack项目模板",
"author": "CaoMeiYouRen",
"private": true,
"license": "MIT",
"main": "dist/index.js",
"files": [
"dist"
],
"engines": {
"node": ">=12"
},
"scripts": {
"lint": "cross-env NODE_ENV=production eslint src --fix --ext .ts,.js",
"prebuild": "rimraf dist",
"build": "cross-env NODE_ENV=production webpack --config ./webpack.config.js",
"dev": "cross-env NODE_ENV=development ts-node-dev src/index.ts",
"dev:webpack": "cross-env NODE_ENV=development webpack --config ./webpack.config.js",
"rm": "rimraf node_modules",
"watch": "tsc -w",
"start": "node ./dist/index",
"release": "semantic-release",
"commit": "git add . && git cz"
},
"devDependencies": {
"@semantic-release/changelog": "^5.0.1",
"@semantic-release/git": "^9.0.0",
"@types/debug": "^4.1.5",
"@types/lodash": "^4.14.168",
"@types/node": "^14.14.32",
"@typescript-eslint/eslint-plugin": "^4.16.1",
"@typescript-eslint/parser": "^4.16.1",
"commitizen": "^4.2.3",
"conventional-changelog-cli": "^2.1.1",
"conventional-changelog-cmyr-config": "^1.2.3",
"cross-env": "^7.0.3",
"cz-conventional-changelog": "^3.3.0",
"debug": "^4.3.1",
"eslint": "^7.21.0",
"eslint-config-cmyr": "^1.0.10",
"husky": "^5.1.3",
"lint-staged": "^10.5.4",
"lodash": "^4.17.21",
"rimraf": "^3.0.2",
"semantic-release": "^17.4.1",
"ts-loader": "^8.0.18",
"ts-node": "^9.1.1",
"ts-node-dev": "^1.1.6",
"typescript": "^4.2.3",
"validate-commit-msg": "^2.14.0",
"webpack": "^4.46.0",
"webpack-cli": "^4.5.0"
},
"dependencies": {},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"changelog": {
"language": "zh"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint && git add .",
"commit-msg": "validate-commit-msg"
}
}
}