This repository has been archived by the owner on Mar 23, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
150 lines (150 loc) · 5.79 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
{
"name": "yoga-vision",
"version": "0.0.1",
"description": "refactor EasyHi using vue, vuex, vue-router",
"main": "index.js",
"private": true,
"repository": {
"type": "git",
"url": "[email protected]:Raiyee/EasyHi.git"
},
"scripts": {
"global": "sudo npm i -g npm yarn -r https://registry.npm.taobao.org && npm run init",
"init": "rm -rf node_modules yarn.lock && yarn gfw",
"gfw": "yarn add -D cross-env && cross-env PHANTOMJS_CDNURL=http://npm.taobao.org/mirrors/phantomjs yarn",
"build": "npm run lint && npm run clean && npm run compile",
"build:mock": "npm run lint:fix && npm run clean && npm run compile:mock",
"build:test": "npm run lint:fix && npm run clean && npm run compile:test",
"build:test-pages": "npm run clean && npm run compile:test-pages",
"build:test-mock": "npm run lint:fix && npm run clean && npm run compile:test-mock",
"clean": "cross-env DEBUG=hi* node build/bin/clean",
"compile": "cross-env NODE_ENV=production DEBUG=hi* node build/bin/compile",
"compile:mock": "cross-env NODE_ENV=production DEBUG=hi* node build/bin/compile --mock",
"compile:test": "cross-env NODE_ENV=test DEBUG=hi* node build/bin/compile",
"compile:test-all": "cross-env NODE_ENV=test DEBUG=hi* node build/bin/compile --mock --pages",
"compile:test-mock": "cross-env NODE_ENV=test DEBUG=hi* node build/bin/compile --mock",
"compile:test-pages": "cross-env NODE_ENV=test DEBUG=hi* node build/bin/compile --pages",
"debug": "npm run dev -- --debug",
"dev": "cross-env DEBUG=hi* PORT=3000 nodemon build/bin/start --mock",
"eslint": "eslint --max-warnings 10 --ext .js,.vue .",
"lint": "npm run eslint && npm run stylelint && npm run puglint",
"lint:fix": "npm run eslint -- --fix && npm run stylelint && npm run puglint",
"prod": "npm run compile:mock && npm run start",
"e2e": "cross-env NODE_ENV=testing nodemon ./test/e2e/runner.js",
"start": "cross-env NODE_ENV=production DEBUG=hi* node build/bin/start",
"start:test": "cross-env NODE_ENV=test nodemon build/bin/start",
"stylelint": "node build/bin/stylelint.js",
"test": "npm run compile:test && npm run start:test",
"test:mock": "npm run compile:test-mock && npm run start:test",
"test:pages": "npm run compile:test-pages && npm run start:test",
"test:all": "npm run compile:test-all && npm run start:test",
"push": "bash build/bash/push.sh",
"puglint": "pug-lint src",
"sync": "bash build/bash/sync.sh",
"unit": "cross-env NODE_ENV=testing DEBUG=hi* karma start ./test/unit/runner.js",
"unit:dev": "npm run unit -- --watch",
"coveralls": "cat ./coverage/*/lcov.info | coveralls",
"codecov": "cat ./coverage/*/lcov.info | codecov"
},
"pre-commit": [
"lint"
],
"dependencies": {
"axios": "^0.18.0",
"bootstrap-styl": "^5.0.8",
"echarts": "^4.0.0",
"fonts.css": "^1.5.0",
"moment": "^2.18.1",
"qs": "^6.5.1",
"v-touch": "^1.5.0",
"vue": "^2.4.4",
"vue-qrious": "^1.1.2",
"vue-router": "^3.0.0",
"vuex": "^3.0.0",
"weixin-js-sdk": "^1.2.0"
},
"devDependencies": {
"babel-core": "^6.26.0",
"babel-eslint": "^8.0.1",
"babel-helper-vue-jsx-merge-props": "^2.0.2",
"babel-loader": "^7.1.2",
"babel-plugin-__coverage__": "^11.0.0",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-plugin-dynamic-import-webpack": "^1.0.1",
"babel-plugin-flow-runtime": "^0.17.0",
"babel-plugin-syntax-flow": "^6.18.0",
"babel-plugin-syntax-jsx": "^6.18.0",
"babel-plugin-transform-flow-strip-types": "^6.22.0",
"babel-plugin-transform-vue-jsx": "^3.5.0",
"babel-polyfill": "^6.26.0",
"babel-preset-env": "^1.6.0",
"babel-preset-stage-0": "^6.24.1",
"babel-register": "^6.26.0",
"chai": "^4.1.2",
"connect-history-api-fallback": "^1.3.0",
"copy-webpack-plugin": "^4.1.0",
"cross-env": "^5.0.5",
"css-loader": "^0.28.7",
"debug": "^3.1.0",
"del": "^3.0.0",
"eslint": "^4.8.0",
"eslint-config-1stg": "1.0.1",
"eslint-friendly-formatter": "^3.0.0",
"eslint-plugin-flowtype": "^2.37.0",
"eslint-plugin-html": "^4.0.0",
"extract-text-webpack-plugin": "^3.0.1",
"file-loader": "^1.1.0",
"flow-runtime": "^0.17.0",
"html-rewrite-webpack-plugin": "^0.0.1",
"html-webpack-plugin": "^3.0.0",
"karma": "^2.0.0",
"karma-coverage": "^1.1.1",
"karma-es6-shim": "^1.0.0",
"karma-mocha": "^1.3.0",
"karma-mocha-reporter": "^2.2.4",
"karma-phantomjs-launcher": "^1.0.4",
"karma-sourcemap-loader": "^0.3.7",
"karma-webpack": "^2.0.4",
"koa": "^2.3.0",
"koa-compress": "^2.0.0",
"koa-logger": "^3.1.0",
"koa-static": "^4.0.1",
"mocha": "^5.0.0",
"mockjs": "^1.0.1-beta3",
"nib": "^1.1.2",
"nightwatch": "^0.9.16",
"nodemon": "^1.12.1",
"phantomjs-polyfill": "^0.0.2",
"phantomjs-prebuilt": "^2.1.15",
"postcss-loader": "^2.0.6",
"postcss-reporter": "^5.0.0",
"pre-commit": "^1.2.2",
"pug": "^2.0.0-rc.4",
"pug-lint": "^2.5.0",
"selenium-server": "^3.6.0",
"sinon": "^5.0.0",
"sinon-chai": "^3.0.0",
"style-loader": "^0.20.1",
"stylelint": "^9.0.0",
"stylelint-config-standard": "^18.0.0",
"stylint": "^1.5.9",
"stylint-stylish": "^1.4.0",
"stylus": "^0.54.5",
"stylus-loader": "^3.0.1",
"stylus-pxtorem": "^1.0.14",
"sw-precache-webpack-plugin": "^0.11.4",
"template-file-loader": "^0.0.2",
"url-loader": "^1.0.0",
"vconsole": "^3.0.0",
"vue-hot-reload-api": "^2.1.1",
"vue-loader": "^14.0.0",
"vue-style-loader": "^4.0.0",
"vue-template-compiler": "^2.4.4",
"vue-template-es2015-loader": "^2.1.2",
"webpack": "^3.6.0",
"webpack-dev-middleware": "^2.0.0",
"webpack-dev-server": "^2.9.1",
"webpack-hot-middleware": "^2.19.1",
"yargs": "^11.0.0"
}
}