-
Notifications
You must be signed in to change notification settings - Fork 21
/
package.json
113 lines (113 loc) · 3 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
111
112
113
{
"name": "quickapp-boilerplate-template",
"version": "3.0.0",
"description": "🔨致力于构建更为优雅的快应用开发脚手架模板。",
"scripts": {
"start": "npm run server",
"server": "hap server --watch",
"watch": "hap watch",
"build": "hap build",
"release": "hap release",
"gen": "node ./command/gen/index.js",
"debug": "hap debug",
"commit": "git add . && git commit -m '✨ functional update' && git push",
"clean-commit": "git checkout --orphan latest_branch && git add -A && git commit -am '🎉 Initial commit' && git branch -D master && git branch -m master && git push -f origin master",
"precommit-msg": "echo '🚧 start pre-commit checks...' && exit 0",
"eslint:fix": "eslint src/**/**/*.js --fix",
"eslint:code": "eslint src/**/**/*.js",
"format:code": "prettier-eslint --write \"src/**/**/*.{js,ux,less,scss,css}\"",
"prettier": "node ./command/selfCloseInputTag.js && prettier --write \"src/**/*.{js,ux,qxml}\"",
"watcher": "onchange '**/*.md' \"src/**/**/*.{js,ux,less,scss,css}\" -- prettier --write {{changed}}"
},
"devDependencies": {
"@babel/runtime": "^7.12.13",
"address": "^1.1.0",
"babel-loader": "^8.0.6",
"colors": "^1.3.3",
"eslint-config-prettier": "^6.1.0",
"eslint-plugin-prettier": "^3.1.0",
"husky": "^3.0.4",
"less": "^3.10.1",
"less-loader": "^5.0.0",
"lint-staged": "^9.2.3",
"onchange": "^6.0.0",
"opn": "^6.0.0",
"portfinder": "^1.0.23",
"prettier": "^1.18.2",
"prettier-plugin-ux": "0.3.0",
"webpack": "^5.24.0"
},
"husky": {
"hooks": {
"pre-commit": "yarn run precommit-msg && lint-staged"
}
},
"lint-staged": {
"**/**.{ux,js,json,pcss,md,vue,less,scss}": [
"prettier --write",
"git add"
]
},
"prettier": {
"singleQuote": true,
"semi": false,
"printWidth": 120,
"proseWrap": "never"
},
"eslintConfig": {
"root": true,
"env": {
"node": true,
"es6": true
},
"rules": {
"no-console": 0,
"no-useless-escape": 0,
"no-multiple-empty-lines": [
2,
{
"max": 3
}
],
"prettier/prettier": [
"error",
{
"singleQuote": true,
"semi": false,
"trailingComma": "none",
"bracketSpacing": true,
"jsxBracketSameLine": true,
"insertPragma": true,
"requirePragma": false
}
]
},
"plugins": [],
"extends": [
"plugin:prettier/recommended",
"eslint:recommended"
],
"parserOptions": {
"ecmaVersion": 6,
"parser": "babel-eslint",
"sourceType": "module"
}
},
"eslintIgnore": [
"package.json",
"src/assets/js/*.js"
],
"repository": {
"type": "git",
"url": "git+https://github.com/nicejade/quickapp-boilerplate-template.git"
},
"keywords": [
"快应用",
"脚手架"
],
"author": "nicejade",
"license": "MIT",
"dependencies": {
"md5": "^2.3.0"
}
}