-
Notifications
You must be signed in to change notification settings - Fork 51
Expand file tree
/
Copy pathpackage.json
More file actions
83 lines (83 loc) · 2.36 KB
/
package.json
File metadata and controls
83 lines (83 loc) · 2.36 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
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
{
"name": "hare",
"version": "1.0.0-alpha.0",
"description": "Based on Vue.js 2.x, Koa 2.x, Element-UI and Nuxt.js",
"author": "Clark Du",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/clarkdo/hare.git"
},
"scripts": {
"dev": "cross-env DEBUG=nuxt:* nodemon -w server -w nuxt.config.js server/app.js",
"dev:pm2": "pm2 start yarn --name=hare -- dev",
"test": "yarn lint && yarn build:client && ava",
"lint": "eslint --ext .js,.vue --ignore-path .gitignore .",
"lint:fix": "eslint --fix --ext .js,.vue --ignore-path .gitignore .",
"build": "yarn build:client && yarn build:server",
"build:client": "nuxt build",
"build:server": "rimraf dist/server && cpx \"{nuxt.config.js,server/**}\" dist",
"start": "cross-env NODE_ENV=production node dist/server/app.js",
"start:pm2": "pm2 start yarn --name=hare -- start",
"analyze": "nuxt build --analyze",
"generate": "nuxt generate"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"{client,server,test}/**/*.{js,vue}": [
"eslint --ext .js,.vue --ignore-path .gitignore"
]
},
"dependencies": {
"@nuxtjs/axios": "^5.5.4",
"bunyan": "^1.8.12",
"chart.js": "^2.8.0",
"element-ui": "2.7.2",
"js-cookie": "^2.2.0",
"js-yaml": "^3.13.1",
"jwt-decode": "^2.2.0",
"koa": "^2.7.0",
"koa-body": "^4.1.0",
"koa-bunyan": "^1.0.2",
"koa-bunyan-logger": "^2.1.0",
"koa-compress": "^3.0.0",
"koa-proxies": "^0.8.1",
"koa-router": "^7.4.0",
"koa-session": "^5.12.2",
"mkdirp": "^0.5.1",
"negotiator": "^0.6.2",
"normalize.css": "^8.0.1",
"nuxt": "^2.8.1",
"nuxt-property-decorator": "^2.3.0",
"svg-captcha": "^1.4.0",
"vue-chartjs": "^3.4.2",
"vue-clipboard2": "^0.3.0",
"vue-i18n": "^8.12.0",
"xmlify": "^1.1.0"
},
"devDependencies": {
"@nuxtjs/eslint-config": "^1.0.1",
"ava": "^2.2.0",
"babel-eslint": "^10.0.2",
"cpx": "^1.5.0",
"cross-env": "^5.2.0",
"eslint": "^6.1.0",
"eslint-plugin-nuxt": "^0.4.3",
"husky": "^3.0.2",
"lint-staged": "^9.2.1",
"lodash": "^4.17.15",
"moxios": "^0.4.0",
"node-sass": "^4.12.0",
"nodemon": "^1.19.1",
"rimraf": "^2.6.3",
"sass-loader": "^7.1.0"
},
"engines": {
"node": ">=8.0.0 <12",
"npm": ">=5.0.0"
}
}