-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
64 lines (64 loc) · 1.84 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
{
"name": "kite",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"install": "cd kite-web-element && npm i && cd ../kite-api && npm i",
"test": "npm run build:web && docker-compose -f docker-compose.linux.yml build --no-cache && docker-compose -f docker-compose.linux.yml up -d",
"setup:dev": "npm i && npm run build:web && docker-compose build --no-cache && docker-compose up -d && npm run serve:web",
"setup:prod": "npm i && cd kite-web-element && npm run build && cd ../kite-api && docker-compose -f ../docker-compose.prod.yml build --no-cache && docker-compose -f ../docker-compose.prod.yml up -d",
"serve:web": "cd kite-web-element && npm run serve",
"build:web": "cd kite-web-element && npm run build",
"build:docs": "jsdoc . -r -c jsdoc.json",
"lint": "eslint . --ext .js --ext .vue --ignore-pattern node_modules/ --ignore-pattern dist/ --fix",
"compose": "npm run build:web && docker-compose up --build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/neit-kite/kite.git"
},
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/neit-kite/kite/issues"
},
"homepage": "https://github.com/neit-kite/kite#readme",
"devDependencies": {
"eslint": "^5.12.1",
"eslint-plugin-vue": "^5.1.0",
"husky": "^1.3.1",
"jsdoc": "^3.5.5",
"lint-staged": "^8.1.0"
},
"eslintConfig": {
"root": true,
"env": {
"node": true,
"es6": true
},
"extends": [
"plugin:vue/strongly-recommended",
"eslint:recommended"
],
"rules": {
"no-console": 1
}
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"linters": {
"**.{js,vue}": [
"eslint --fix",
"git add"
]
},
"ignore": [
"**/dist"
]
}
}