update: 优化构建脚本
Showing
with
4 additions
and
113 deletions
| ... | @@ -6,28 +6,9 @@ | ... | @@ -6,28 +6,9 @@ |
| "private": true, | "private": true, | ||
| "scripts": { | "scripts": { | ||
| "dev": "node build/dev-server.js", | "dev": "node build/dev-server.js", | ||
| "start": "node build/dev-server.js", | |||
| "build": "node build/build.js", | "build": "node build/build.js", | ||
| "lint": "eslint --ext .js,.vue src", | "lint": "eslint --ext .js,.vue src", | ||
| "android": "node build/build.js && cordova run android", | "build:zip": "node build/vt-build.js" | ||
| "jffc-check": "cordova requirements", | |||
| "jffc-build": "node build/build.js", | |||
| "jffc-ios": "cordova build ios", | |||
| "jffc-android": "cordova build android", | |||
| "jffc-browser": "cordova prepare browser && cross-env PORT=3004 node build/dev-server.js", | |||
| "jffc-vbuild": "node build/vt-build.js", | |||
| "jffc-save": "cordova plugin save", | |||
| "jffc-add-ios": "cordova platforms add ios", | |||
| "jffc-add-android": "cordova platforms add android", | |||
| "jffc-add-browser": "cordova platforms add browser", | |||
| "jffc-add-camera": "cordova plugin add cordova-plugin-camera", | |||
| "jffc-add-console": "cordova plugin add cordova-plugin-console", | |||
| "jffc-add-device": "cordova plugin add cordova-plugin-device", | |||
| "jffc-add-sqlite": "cordova plugin add cordova-sqlite-storage", | |||
| "jffc-add-file": "cordova plugin add cordova-plugin-file", | |||
| "jffc-add-dialogs": "cordova plugin add cordova-plugin-dialogs", | |||
| "jffc-add-splashscreen": "cordova plugin add cordova-plugin-splashscreen", | |||
| "jffc-add-statusbar": "cordova plugin add cordova-plugin-statusbar" | |||
| }, | }, | ||
| "dependencies": { | "dependencies": { | ||
| "amfe-flexible": "^2.2.1", | "amfe-flexible": "^2.2.1", | ||
| ... | ... |
Please
register
or
sign in
to comment