-
Notifications
You must be signed in to change notification settings - Fork 757
/
package.json
56 lines (56 loc) · 1.81 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": "genesis-ts-node --project=./tsconfig.node.json genesis.dev",
"build": "rm -rf dist types && npm run build:dts && npm run build:vue && npm run build:node",
"build:node": "NODE_ENV=production genesis-tsc --build tsconfig.node.json",
"build:vue": "NODE_ENV=production genesis-ts-node --project=./tsconfig.node.json genesis.build",
"build:dts": "npx vue-tsc --declaration --emitDeclarationOnly",
"type-check": "npx vue-tsc --noEmit",
"start": "NODE_ENV=production node dist/genesis.prod",
"lint": "npm run lint:js && npm run lint:css",
"lint:js": "genesis-eslint . --ext .js,.ts,.vue --fix",
"lint:css": "genesis-stylelint **/*.{css,less,vue} --fix --allow-empty-input"
},
"author": "",
"license": "MIT",
"resolutions": {
"**/vue-template-compiler": "2.7.14"
},
"devDependencies": {
"@fmfe/genesis-app": "2.6.1",
"@fmfe/genesis-compiler": "2.6.1",
"@fmfe/genesis-lint": "2.6.1",
"@types/cookie-parser": "1.4.2",
"@types/express": "^4.17.6",
"axios": "^0.27.2",
"vue-class-setup": "^1.3.6",
"vue-meta": "^2.4.0",
"vue-router": "^3.5.3",
"vuex": "^3.6.2"
},
"dependencies": {
"@fmfe/genesis-core": "2.6.1",
"body-parser": "^1.19.2",
"cookie-parser": "^1.4.6",
"express": "^4.18.2"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{ts,js}": [
"eslint --ext .js,.ts --fix",
"git add"
],
"*.{vue}": [
"eslint --ext .js,.ts --fix",
"git add"
]
}
}