generated from huanglii/vite-lib-template
-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
55 lines (55 loc) · 1.54 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
{
"private": true,
"name": "@naivemap/mapbox-gl-layers",
"description": "Some implementations of mapbox's custom layer API",
"repository": "https://github.com/naivemap/mapbox-gl-layers",
"workspaces": [
"packages/*"
],
"keywords": [
"mapbox-gl",
"reprojection image",
"echarts"
],
"scripts": {
"dev": "vite",
"eslint:comment": "使用 ESLint 检查并自动修复 src 目录下所有扩展名为 .js 和 .vue 的文件",
"eslint": "eslint --ext .js,.ts --fix packages",
"prettier:comment": "自动格式化当前目录下的所有文件",
"prettier": "prettier . --write",
"commit:comment": "引导设置规范化的提交信息",
"commit": "git-cz",
"prepare": "husky install"
},
"config": {
"commitizen": {
"path": "node_modules/cz-customizable"
}
},
"lint-staged": {
"*.{js,ts}": [
"npm run eslint",
"npm run prettier"
]
},
"devDependencies": {
"@commitlint/cli": "^16.2.3",
"@commitlint/config-conventional": "^16.2.1",
"@typescript-eslint/eslint-plugin": "^5.10.2",
"@typescript-eslint/parser": "^5.10.2",
"commitizen": "^4.2.4",
"commitlint-config-cz": "^0.13.3",
"cz-conventional-changelog": "^3.3.0",
"cz-customizable": "^6.3.0",
"eslint": "^8.8.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0",
"husky": "^7.0.4",
"lint-staged": "^12.3.7",
"mapbox-gl": "^2.8.2",
"prettier": "^2.5.1",
"proj4": "^2.8.0",
"typescript": "^4.5.5",
"vite": "^2.7.13"
}
}