Optimize builds
This commit is contained in:
parent
620b4f3ddb
commit
85e3b737de
@ -1,2 +1 @@
|
|||||||
> 1%
|
chrome 75
|
||||||
last 2 versions
|
|
||||||
|
@ -30,7 +30,7 @@ NW.js + Vue-CLI 3 example
|
|||||||
|
|
||||||
# **IMPORTANT NOTE ABOUT BUILDS!!!**
|
# **IMPORTANT NOTE ABOUT BUILDS!!!**
|
||||||
|
|
||||||
They take a long time. If you do `npm run build` expect it to take 10-15 minutes. This can be adjusted by changing the build params in the `package.json`. The more platforms and build types, the longer it takes.
|
They take a long time. If you do `npm run build` expect it to take 10-30 minutes (depending on amount of dependencies in the dist and your CPU/internet). This can be adjusted by changing the build params in the `package.json`. The more platforms and build types, the longer it takes.
|
||||||
|
|
||||||
|
|
||||||
## Automated quality enforcment
|
## Automated quality enforcment
|
||||||
|
3
package-lock.json
generated
3
package-lock.json
generated
@ -13622,7 +13622,8 @@
|
|||||||
"version": "4.0.8",
|
"version": "4.0.8",
|
||||||
"resolved": "https://registry.npmjs.org/rx-lite/-/rx-lite-4.0.8.tgz",
|
"resolved": "https://registry.npmjs.org/rx-lite/-/rx-lite-4.0.8.tgz",
|
||||||
"integrity": "sha1-Cx4Rr4vESDbwSmQH6S2kJGe3lEQ=",
|
"integrity": "sha1-Cx4Rr4vESDbwSmQH6S2kJGe3lEQ=",
|
||||||
"dev": true
|
"dev": true,
|
||||||
|
"optional": true
|
||||||
},
|
},
|
||||||
"rx-lite-aggregates": {
|
"rx-lite-aggregates": {
|
||||||
"version": "4.0.8",
|
"version": "4.0.8",
|
||||||
|
@ -18,8 +18,7 @@
|
|||||||
"build": "npm run build:clean && npm run build:vue && npm run build:nw",
|
"build": "npm run build:clean && npm run build:vue && npm run build:nw",
|
||||||
"build:clean": "rimraf ./dist-vue ./dist",
|
"build:clean": "rimraf ./dist-vue ./dist",
|
||||||
"build:vue": "vue-cli-service build --modern --dest ./dist-vue",
|
"build:vue": "vue-cli-service build --modern --dest ./dist-vue",
|
||||||
"build:nw": "build --concurrent --tasks win-x86 --mirror https://dl.nwjs.io/ .",
|
"build:nw": "build --concurrent --tasks win-x86,linux-x86,linux-x64,mac-x64 --mirror https://dl.nwjs.io/ .",
|
||||||
"build:nw2": "build --concurrent --tasks win-x86,linux-x86,linux-x64,mac-x64 --mirror https://dl.nwjs.io/ .",
|
|
||||||
"run:win": "dist\\nw-vue-1.0.0-win-x86\\nw-vue.exe",
|
"run:win": "dist\\nw-vue-1.0.0-win-x86\\nw-vue.exe",
|
||||||
"lint": "vue-cli-service lint --no-fix",
|
"lint": "vue-cli-service lint --no-fix",
|
||||||
"fix": "vue-cli-service lint --fix",
|
"fix": "vue-cli-service lint --fix",
|
||||||
@ -67,7 +66,10 @@
|
|||||||
"e2e/**/*",
|
"e2e/**/*",
|
||||||
"src/**/*",
|
"src/**/*",
|
||||||
"tests/**/*",
|
"tests/**/*",
|
||||||
"public/**/*"
|
"public/**/*",
|
||||||
|
"dist-vue/**/*.js.map",
|
||||||
|
"dist-vue/**/*.css.map",
|
||||||
|
"dist-vue/**/*-legacy*",
|
||||||
".browserslistrc",
|
".browserslistrc",
|
||||||
".eslintrc",
|
".eslintrc",
|
||||||
".gitignore",
|
".gitignore",
|
||||||
|
Loading…
Reference in New Issue
Block a user