1 | {
|
2 | "name": "mand-mobile",
|
3 | "version": "2.5.19",
|
4 | "description": "A Vue.js 2.0 Mobile UI Toolkit",
|
5 | "homepage": "https://didi.github.io/mand-mobile",
|
6 | "main": "lib/mand-mobile.umd.js",
|
7 | "style": "lib/mand-mobile.css",
|
8 | "module": "lib/mand-mobile.esm.js",
|
9 | "unpkg": "lib/index.js",
|
10 | "typings": "types/index.d.ts",
|
11 | "repository": {
|
12 | "type": "git",
|
13 | "url": "git+https://github.com/didi/mand-mobile.git"
|
14 | },
|
15 | "bugs": {
|
16 | "url": "https://github.com/didi/mand-mobile/issues"
|
17 | },
|
18 | "files": [
|
19 | "lib",
|
20 | "lib-vw",
|
21 | "components",
|
22 | "types",
|
23 | "assets"
|
24 | ],
|
25 | "scripts": {
|
26 | "dev": "node build/webpack/dev-server",
|
27 | "dev:rollup": "node build/rollup/dev-server.rollup",
|
28 | "dev:site": "cd site && npm start",
|
29 | "dev:bundle": "MAND_MOBILE=bundle node build/webpack/dev-server",
|
30 | "create": "node build/component-init.js",
|
31 | "cz": "npx git-cz",
|
32 | "clean": "rm -rf ./lib && rm -rf ./lib-vw && rm -rf ./docs/examples",
|
33 | "build": "npm run clean && npm run build:components && npm run build:mand-mobile && npm run build:responsive",
|
34 | "build:site": "cd site && npm run generate && npm run build",
|
35 | "build:example": "cross-env NODE_ENV=production BUILD_TYPE=example node build/rollup/build-example.rollup",
|
36 | "build:mand-mobile": "npm run build:mand-mobile-esm && npm run build:mand-mobile-variables",
|
37 | "build:mand-mobile-esm": "cross-env NODE_ENV=production BUILD_TYPE=esm node build/rollup/build-mand-mobile.rollup",
|
38 | "build:mand-mobile-umd": "cross-env NODE_ENV=production BUILD_TYPE=umd node build/rollup/build-mand-mobile.rollup",
|
39 | "build:mand-mobile-variables": "npm run build:variables && cross-env NODE_ENV=production BUILD_TYPE=variables node build/rollup/build-mand-mobile.rollup",
|
40 | "build:components": "cross-env NODE_ENV=production node build/rollup/build-component.rollup",
|
41 | "build:responsive": "node build/rollup/build-vw-responsive",
|
42 | "build:variables": "node build/rollup/build-css-variables",
|
43 | "build:analysis": "cross-env NODE_ENV=production node build/webpack/build-mand-mobile --analysis",
|
44 | "lint": "eslint --ext .js,.vue components test/unit/specs test/e2e/specs",
|
45 | "precommit": "lint-staged",
|
46 | "build:webpack": "rm -rf ./lib && npm run build:webpack:mand-mobile && npm run build:webpack:components",
|
47 | "build:webpack:example": "cross-env NODE_ENV=production node build/webpack/build-example",
|
48 | "build:webpack:mand-mobile": "cross-env NODE_ENV=production node build/webpack/build-mand-mobile",
|
49 | "build:webpack:components": "cross-env NODE_ENV=production gulp build --gulpfile gulpfile.js && node build/webpack/build-style-entry",
|
50 | "codecov": "codecov",
|
51 | "test": "MAND_ENV=test jest --no-cache --runInBand --verbose --silent",
|
52 | "test:lib": "MAND_ENV=test TEST_TYPE=lib jest --no-cache --runInBand --verbose --silent",
|
53 | "test:lib-vw": "MAND_ENV=test TEST_TYPE=lib-vw jest --no-cache --runInBand --verbose --silent"
|
54 | },
|
55 | "license": "Apache",
|
56 | "config": {
|
57 | "commitizen": {
|
58 | "path": "./node_modules/cz-mand-mobile-changelog"
|
59 | }
|
60 | },
|
61 | "lint-staged": {
|
62 | "components/**/*.{vue,js,json}": [
|
63 | "aesir lint -s",
|
64 | "aesir format -S",
|
65 | "git add"
|
66 | ]
|
67 | },
|
68 | "devDependencies": {
|
69 | "@types/babel-generator": "^6.25.1",
|
70 | "@types/babel-types": "^7.0.0",
|
71 | "@types/babylon": "^6.16.2",
|
72 | "@types/eslint-plugin-prettier": "^2.2.0",
|
73 | "@types/glob": "^5.0.35",
|
74 | "@types/jest": "^23.3.5",
|
75 | "@types/prettier": "^1.8.0",
|
76 | "@types/vue": "^2.0.0",
|
77 | "@vue/server-test-utils": "^1.0.0-beta.25",
|
78 | "@vue/test-utils": "^1.0.0-beta.25",
|
79 | "aesir-cli": "^0.0.5",
|
80 | "autoprefixer": "^8.4.1",
|
81 | "babel-core": "^6.22.1",
|
82 | "babel-eslint": "^7.1.1",
|
83 | "babel-generator": "^6.26.0",
|
84 | "babel-helper-vue-jsx-merge-props": "^2.0.2",
|
85 | "babel-jest": "^23.6.0",
|
86 | "babel-loader": "^7.1.1",
|
87 | "babel-plugin-import": "^1.6.2",
|
88 | "babel-plugin-istanbul": "^4.1.1",
|
89 | "babel-plugin-syntax-dynamic-import": "^6.18.0",
|
90 | "babel-plugin-syntax-jsx": "^6.18.0",
|
91 | "babel-plugin-transform-object-rest-spread": "^6.26.0",
|
92 | "babel-plugin-transform-runtime": "^6.22.0",
|
93 | "babel-plugin-transform-vue-jsx": "^3.7.0",
|
94 | "babel-preset-env": "^1.7.0",
|
95 | "babel-register": "^6.22.0",
|
96 | "babel-types": "^6.26.0",
|
97 | "babelrc-rollup": "^3.0.0",
|
98 | "babylon": "^6.18.0",
|
99 | "bluebird": "^3.5.1",
|
100 | "chai": "^4.1.2",
|
101 | "chalk": "^2.0.1",
|
102 | "codecov": "^3.0.0",
|
103 | "commander": "^2.12.2",
|
104 | "commitizen": "^2.9.6",
|
105 | "connect-history-api-fallback": "^1.3.0",
|
106 | "copy-webpack-plugin": "^4.0.1",
|
107 | "cross-env": "^5.0.1",
|
108 | "cross-spawn": "^5.0.1",
|
109 | "css-loader": "^0.28.0",
|
110 | "cssnano": "^4.0.0",
|
111 | "cz-mand-mobile-changelog": "^1.0.2",
|
112 | "dependency-tree": "^5.12.0",
|
113 | "eslint": "^4.4.1",
|
114 | "eslint-config-aesir-mandatory": "0.0.3",
|
115 | "eslint-config-aesir-recommand": "^0.0.2",
|
116 | "eslint-config-standard": "^10.2.1",
|
117 | "eslint-friendly-formatter": "^3.0.0",
|
118 | "eslint-loader": "^1.7.1",
|
119 | "eslint-plugin-html": "^3.2.0",
|
120 | "eslint-plugin-import": "^2.7.0",
|
121 | "eslint-plugin-json": "^1.2.0",
|
122 | "eslint-plugin-node": "^5.1.1",
|
123 | "eslint-plugin-prettier": "^2.2.0",
|
124 | "eslint-plugin-promise": "^3.5.0",
|
125 | "eslint-plugin-standard": "^3.0.1",
|
126 | "eventsource-polyfill": "^0.9.6",
|
127 | "express": "^4.14.1",
|
128 | "extract-text-webpack-plugin": "^3.0.0",
|
129 | "fastclick": "^1.0.6",
|
130 | "file-loader": "^1.1.4",
|
131 | "friendly-errors-webpack-plugin": "^1.6.1",
|
132 | "fs-extra": "^4.0.2",
|
133 | "git-user-email": "^0.2.2",
|
134 | "git-user-name": "^2.0.0",
|
135 | "glob": "^7.1.2",
|
136 | "gulp": "^3.9.1",
|
137 | "gulp-babel": "^7.0.0",
|
138 | "gulp-base64": "^0.1.3",
|
139 | "gulp-preprocess": "^2.0.0",
|
140 | "gulp-stylus": "^2.6.0",
|
141 | "gulp-util": "^3.0.8",
|
142 | "happypack": "^5.0.0",
|
143 | "html-webpack-plugin": "^2.30.1",
|
144 | "http-proxy-middleware": "^0.19.1",
|
145 | "husky": "^0.14.3",
|
146 | "inject-loader": "^3.0.0",
|
147 | "inquirer": "^3.3.0",
|
148 | "jest": "^23.6.0",
|
149 | "jest-canvas-mock": "^2.0.0-beta.1",
|
150 | "jest-serializer-vue": "^2.0.2",
|
151 | "jest-svg-sprite-loader": "^1.0.1",
|
152 | "jest-transform-stub": "^1.0.0",
|
153 | "lint-staged": "^5.0.0",
|
154 | "livereload": "^0.7.0",
|
155 | "merge2": "^1.2.0",
|
156 | "mime-types": "^2.1.17",
|
157 | "moment": "^2.19.1",
|
158 | "nib": "^1.1.2",
|
159 | "opn": "^5.1.0",
|
160 | "optimize-css-assets-webpack-plugin": "^3.2.0",
|
161 | "ora": "^1.3.0",
|
162 | "portfinder": "^1.0.13",
|
163 | "postcss-load-config": "^2.0.0",
|
164 | "postcss-loader": "^2.0.8",
|
165 | "postcss-pixel-to-viewport": "^1.0.2",
|
166 | "postcss-pxtorem": "^4.0.1",
|
167 | "postcss-url": "^7.3.1",
|
168 | "poststylus": "^1.0.0",
|
169 | "prettier": "^1.5.3",
|
170 | "progress-bar-webpack-plugin": "^1.10.0",
|
171 | "recursive-copy": "^2.0.8",
|
172 | "rimraf": "^2.6.0",
|
173 | "rollup": "^0.54.0",
|
174 | "rollup-plugin-alias": "^1.4.0",
|
175 | "rollup-plugin-babel": "^3.0.3",
|
176 | "rollup-plugin-commonjs": "^8.2.6",
|
177 | "rollup-plugin-css-only": "^0.2.0",
|
178 | "rollup-plugin-filesize": "^1.5.0",
|
179 | "rollup-plugin-glob-import": "^0.1.4",
|
180 | "rollup-plugin-image": "^1.0.2",
|
181 | "rollup-plugin-import-alias": "^1.0.4",
|
182 | "rollup-plugin-inject": "^2.0.0",
|
183 | "rollup-plugin-json": "^2.3.0",
|
184 | "rollup-plugin-node-builtins": "^2.1.2",
|
185 | "rollup-plugin-node-globals": "1.1.0",
|
186 | "rollup-plugin-node-resolve": "^3.0.2",
|
187 | "rollup-plugin-postcss": "^2.0.0",
|
188 | "rollup-plugin-progress": "^0.4.0",
|
189 | "rollup-plugin-replace": "^2.0.0",
|
190 | "rollup-plugin-require-context": "0.0.2",
|
191 | "rollup-plugin-stylus-css-modules": "^1.5.0",
|
192 | "rollup-plugin-template-html": "^0.0.3",
|
193 | "rollup-plugin-uglify": "3.0.0",
|
194 | "rollup-plugin-url": "^1.3.0",
|
195 | "rollup-plugin-vue": "^4.7.2",
|
196 | "rollup-pluginutils": "^2.3.0",
|
197 | "selenium-server": "^3.0.1",
|
198 | "semver": "^5.4.1",
|
199 | "shelljs": "^0.7.8",
|
200 | "sinon": "^4.0.0",
|
201 | "sinon-chai": "^2.8.0",
|
202 | "stylus": "^0.54.5",
|
203 | "stylus-loader": "^3.0.1",
|
204 | "svg-sprite-loader": "^0.3.1",
|
205 | "url-loader": "^0.5.8",
|
206 | "vconsole": "^3.2.0",
|
207 | "vue": "^2.4.2",
|
208 | "vue-jest": "2.x",
|
209 | "vue-loader": "^13.0.4",
|
210 | "vue-router": "^3.0.1",
|
211 | "vue-server-renderer": "^2.5.17",
|
212 | "vue-style-loader": "^3.0.1",
|
213 | "vue-template-compiler": "^2.4.2",
|
214 | "vueify": "^9.4.1",
|
215 | "webpack": "^3.6.0",
|
216 | "webpack-bundle-analyzer": "^3.3.2",
|
217 | "webpack-dev-middleware": "^1.12.0",
|
218 | "webpack-hot-middleware": "^2.18.2",
|
219 | "webpack-merge": "^4.1.0",
|
220 | "webpackbar": "^2.6.3",
|
221 | "word-wrap": "^1.2.3",
|
222 | "yargs": "^11.0.0"
|
223 | },
|
224 | "browserslist": [
|
225 | "iOS >= 8",
|
226 | "Android > 4.0"
|
227 | ]
|
228 | }
|