-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
49 lines (49 loc) · 1.42 KB
/
Copy pathpackage.json
File metadata and controls
49 lines (49 loc) · 1.42 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
{
"name": "form-create-demo",
"version": "0.1.0",
"private": true,
"scripts": {
"serve": "yarn postinstall && vue-cli-service serve --open",
"build": "yarn postinstall && vue-cli-service build",
"lint": "yarn prettier && yarn eslint",
"eslint": "eslint --fix --ext .js,.ts,.jsx,.tsx,.vue ./",
"prettier": "prettier --write './**/*.{css,less,json,js,ts,jsx,tsx,vue}'",
"postinstall": "patch-package && cp ./patchfile/package.json ./node_modules/@form-create/designer/package.json"
},
"dependencies": {
"@form-create/designer": "^1.0.2",
"core-js": "^3.6.5",
"element-ui": "^2.15.5",
"vue": "^2.6.11",
"vue-router": "^3.2.0",
"vuex": "^3.4.0"
},
"devDependencies": {
"@vue/cli-plugin-babel": "~4.4.0",
"@vue/cli-plugin-eslint": "~4.4.0",
"@vue/cli-plugin-router": "~4.4.0",
"@vue/cli-plugin-vuex": "~4.4.0",
"@vue/cli-service": "~4.4.0",
"@vue/eslint-config-prettier": "^6.0.0",
"babel-eslint": "^10.1.0",
"eslint": "^6.7.2",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-vue": "^6.2.2",
"less": "^3.0.4",
"less-loader": "^5.0.0",
"lint-staged": "^9.5.0",
"patch-package": "^6.4.7",
"prettier": "^2.2.1",
"vue-template-compiler": "^2.6.11"
},
"gitHooks": {
"commit-msg": "yarn lint",
"pre-commit": "lint-staged"
},
"lint-staged": {
"*.{js,ts,jsx,tsx,vue}": [
"yarn lint",
"git add"
]
}
}