|
6 | 6 | "repository": "https://github.com/angular/angular-seed",
|
7 | 7 | "license": "MIT",
|
8 | 8 | "dependencies": {
|
9 |
| - "angular": "^1.5.9", |
10 |
| - "angular-loader": "^1.5.9", |
11 |
| - "angular-route": "^1.5.9", |
| 9 | + "angular": "^1.7.5", |
| 10 | + "angular-loader": "^1.7.5", |
| 11 | + "angular-route": "^1.7.5", |
12 | 12 | "html5-boilerplate": "0.0.1"
|
13 | 13 | },
|
14 | 14 | "devDependencies": {
|
15 |
| - "angular-mocks": "^1.5.9", |
| 15 | + "angular-mocks": "^1.7.5", |
16 | 16 | "cpx": "^1.5.0",
|
17 |
| - "http-server": "^0.9.0", |
18 |
| - "jasmine-core": "^2.4.1", |
19 |
| - "karma": "^0.13.22", |
20 |
| - "karma-chrome-launcher": "^0.2.3", |
21 |
| - "karma-firefox-launcher": "^0.1.7", |
22 |
| - "karma-jasmine": "^0.3.8", |
23 |
| - "karma-junit-reporter": "^0.4.1", |
24 |
| - "protractor": "^4.0.9" |
| 17 | + "http-server": "^0.11.1", |
| 18 | + "jasmine-core": "^3.3.0", |
| 19 | + "karma": "^3.1.1", |
| 20 | + "karma-chrome-launcher": "^2.2.0", |
| 21 | + "karma-firefox-launcher": "^1.1.0", |
| 22 | + "karma-jasmine": "^1.1.2", |
| 23 | + "protractor": "^5.4.1" |
25 | 24 | },
|
26 | 25 | "scripts": {
|
27 | 26 | "postinstall": "npm run copy-libs",
|
28 | 27 | "update-deps": "npm update",
|
29 | 28 | "postupdate-deps": "npm run copy-libs",
|
30 |
| - "copy-libs": "cpx \"node_modules/{angular,angular-*,html5-boilerplate}/**/*\" app/lib -C", |
| 29 | + "copy-libs": "cpx \"node_modules/{angular,angular-*,html5-boilerplate}/**/*\" app/lib -C", |
31 | 30 | "prestart": "npm install",
|
32 | 31 | "start": "http-server -a localhost -p 8000 -c-1 ./app",
|
33 | 32 | "pretest": "npm install",
|
34 | 33 | "test": "karma start karma.conf.js",
|
35 |
| - "test-single-run": "karma start karma.conf.js --single-run", |
| 34 | + "test-single-run": "npm test -- --single-run", |
36 | 35 | "preupdate-webdriver": "npm install",
|
37 | 36 | "update-webdriver": "webdriver-manager update",
|
38 | 37 | "preprotractor": "npm run update-webdriver",
|
39 | 38 | "protractor": "protractor e2e-tests/protractor.conf.js",
|
40 |
| - "update-index-async": "node -e \"var fs=require('fs'),indexFile='app/index-async.html',loaderFile='app/lib/angular-loader/angular-loader.min.js',loaderText=fs.readFileSync(loaderFile,'utf-8').split(/sourceMappingURL=angular-loader.min.js.map/).join('sourceMappingURL=lib/angular-loader/angular-loader.min.js.map'),indexText=fs.readFileSync(indexFile,'utf-8').split(/\\/\\/@@NG_LOADER_START@@[\\s\\S]*\\/\\/@@NG_LOADER_END@@/).join('//@@NG_LOADER_START@@\\n'+loaderText+' //@@NG_LOADER_END@@');fs.writeFileSync(indexFile,indexText);\"" |
| 39 | + "update-index-async": "node --eval \"var fs=require('fs'),indexFile='app/index-async.html',loaderFile='app/lib/angular-loader/angular-loader.min.js',loaderText=fs.readFileSync(loaderFile,'utf-8').split(/sourceMappingURL=angular-loader.min.js.map/).join('sourceMappingURL=lib/angular-loader/angular-loader.min.js.map'),indexText=fs.readFileSync(indexFile,'utf-8').split(/\\/\\/@@NG_LOADER_START@@[\\s\\S]*\\/\\/@@NG_LOADER_END@@/).join('//@@NG_LOADER_START@@\\n'+loaderText+' //@@NG_LOADER_END@@');fs.writeFileSync(indexFile,indexText);\"" |
41 | 40 | }
|
42 | 41 | }
|
0 commit comments