-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
88 lines (88 loc) · 2.14 KB
/
Copy pathpackage.json
File metadata and controls
88 lines (88 loc) · 2.14 KB
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
{
"name": "cousin-cli",
"version": "1.1.1",
"description": "A Front-End Engineering Scaffold For Lint and Building",
"bin": {
"cousin": "bin/index.js"
},
"scripts": {
"lint": "eslint . --fix --ext .js,.json",
"prettier": "prettier --write"
},
"repository": {
"type": "git",
"url": "git+https://github.com/abcrun/cousin.git"
},
"author": "hrdesign@163.com",
"license": "MIT",
"bugs": {
"url": "https://github.com/abcrun/cousin/issues"
},
"keywords": [
"Front End Engineering Scaffold",
"Lint",
"Build",
"Webpack",
"React",
"Typescript",
"Less",
"Sass",
"Postcss",
"CSS Modules",
"前端工程化脚手架",
"构建"
],
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -e $HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"*.{js,json}": [
"prettier --write",
"eslint",
"git add"
]
},
"devDependencies": {
"@commitlint/cli": "^9.0.1",
"@commitlint/config-conventional": "^9.0.1",
"eslint": "^7.3.1",
"eslint-config-prettier": "^6.11.0",
"eslint-config-standard": "^14.1.1",
"eslint-plugin-import": "^2.21.2",
"eslint-plugin-json": "^2.1.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.1",
"husky": "^4.2.5",
"lint-staged": "^10.2.11",
"prettier": "2.0.5"
},
"dependencies": {
"chalk": "^4.1.0",
"clean-webpack-plugin": "^3.0.0",
"commander": "^5.1.0",
"fs-extra": "^9.0.1",
"hard-source-webpack-plugin": "^0.13.1",
"inquirer": "^7.2.0",
"mem-fs": "^1.2.0",
"mem-fs-editor": "^7.0.1",
"mini-css-extract-plugin": "^0.8.2",
"mocker-api": "^2.3.5",
"optimize-css-assets-webpack-plugin": "^5.0.3",
"postcss-import": "^12.0.1",
"postcss-preset-env": "^6.7.0",
"semver": "^7.3.2",
"uglifyjs-webpack-plugin": "^2.2.0",
"validate-npm-package-name": "^3.0.0",
"webpack": "^4.41.4",
"webpack-bundle-analyzer": "^3.8.0",
"webpack-dev-server": "^3.7.2"
},
"engines": {
"node": ">10.0.0"
}
}