forked from lzxb/vue-demo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
56 lines (56 loc) · 1.68 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
{
"name": "vue-demo",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"dev": "ts-node genesis.dev -p=tsconfig.json",
"build": "./build.sh",
"build:ts": "NODE_ENV=production tsc --build ./node.tsconfig.json",
"start": "NODE_ENV=production node dist/node/genesis.prod.js",
"lint": "npm run lint:js && npm run lint:css",
"lint:js": "fm-eslint . --ext .js,.ts,.vue --fix",
"lint:css": "fm-stylelint . --syntax less --fix --ignore-path ./.stylelintignore | fm-stylelint . --custom-syntax postcss-html --fix"
},
"author": "",
"license": "MIT",
"devDependencies": {
"@fmfe/genesis-compiler": "1.0.3",
"@fmfe/genesis-lint": "1.0.3",
"@types/express": "^4.17.6",
"@types/node": "^14.0.1",
"ts-node": "^8.10.1"
},
"dependencies": {
"@fmfe/genesis-app": "1.0.3",
"@fmfe/genesis-core": "1.0.3",
"axios": "^0.19.2",
"body-parser": "^1.19.0",
"cookie-parser": "^1.4.5",
"express": "^4.17.1",
"vue-meta": "^2.3.3",
"vue-property-decorator": "^8.4.2",
"vue-router": "^3.1.6",
"vuex": "^3.4.0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{ts,js}": [
"fm-eslint --ext .js,.ts --fix",
"git add"
],
"*.{css,less}": [
"fm-stylelint --syntax less --fix",
"git add"
],
"*.{vue}": [
"fm-eslint --ext .js,.ts --fix",
"fm-stylelint --custom-syntax postcss-html --fix",
"git add"
]
}
}