fix, 优化 service worker
Showing
ngsw-manifest.json
deleted
100644 → 0
This diff is collapsed.
... | ... | @@ -4,41 +4,44 @@ |
"license": "UNLISENCED", | ||
"scripts": { | ||
"ng": "ng", | ||
"start": "ng serve --base-href /mobile/ --deploy-url /mobile/ --locale zh-CN --output-path mobile --open", | ||
"build": "ng build --base-href /mobile/ --locale zh-CN --aot --build-optimizer --extract-css --prod", | ||
"build:dev": "ng build --base-href /mobile2/ --locale zh-CN --aot --build-optimizer --extract-css", | ||
"lint": "ng lint --type-check --fix" | ||
"start": "ng serve --locale zh-CN --aot", | ||
"build": "ng build --locale zh-CN --base-href /mobile/ --prod --build-optimizer", | ||
"build:dev": "ng build --locale zh-CN --base-href /mobile2/ --prod --build-optimizer && npm run fuck", | ||
"fuck": "patch dist/ngsw-worker.js service-worker.patch", | ||
"lint": "ng lint" | ||
}, | ||
"private": true, | ||
"dependencies": { | ||
"@angular/animations": "5.2.10", | ||
"@angular/animations": "^5.2.10", | ||
"@angular/cdk": "^5.2.5", | ||
"@angular/common": "5.2.10", | ||
"@angular/compiler": "5.2.10", | ||
"@angular/core": "5.2.10", | ||
"@angular/forms": "5.2.10", | ||
"@angular/http": "5.2.10", | ||
"@angular/common": "^5.2.0", | ||
"@angular/compiler": "^5.2.0", | ||
"@angular/core": "^5.2.0", | ||
"@angular/forms": "^5.2.0", | ||
"@angular/http": "^5.2.0", | ||
"@angular/material": "^5.2.5", | ||
"@angular/platform-browser": "5.2.10", | ||
"@angular/platform-browser-dynamic": "5.2.10", | ||
"@angular/router": "5.2.10", | ||
"core-js": "^2.5.5", | ||
"@angular/platform-browser": "^5.2.0", | ||
"@angular/platform-browser-dynamic": "^5.2.0", | ||
"@angular/router": "^5.2.0", | ||
"@angular/service-worker": "^5.2.0", | ||
"core-js": "^2.4.1", | ||
"font-awesome": "^4.7.0", | ||
"hammerjs": "^2.0.8", | ||
"lodash": "^4.17.10", | ||
"material-design-icons": "^3.0.1", | ||
"rxjs": "^5.5.10", | ||
"rxjs": "^5.5.6", | ||
"webdav": "^1.5.2", | ||
"zone.js": "^0.8.26" | ||
"zone.js": "^0.8.19" | ||
}, | ||
"devDependencies": { | ||
"@angular/cli": "1.7.4", | ||
"@angular/compiler-cli": "5.2.10", | ||
"@angular/language-service": "5.2.10", | ||
"@angular/service-worker": "5.2.10", | ||
"@angular/cli": "~1.7.4", | ||
"@angular/compiler-cli": "^5.2.0", | ||
"@angular/language-service": "^5.2.0", | ||
"@types/lodash": "^4.14.108", | ||
"@types/node": "^9.6.6", | ||
"codelyzer": "^4.3.0", | ||
"tslint": "^5.9.1", | ||
"typescript": "2.6.2" | ||
"codelyzer": "^4.0.1", | ||
"prettier": "^1.12.1", | ||
"tslint": "~5.9.1", | ||
"typescript": "^2.6.2" | ||
} | ||
} |
service-worker.patch
0 → 100644
src/favicon.ico
0 → 100644
5.3 KB
src/ngsw-config.json
0 → 100644