Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

Commit 4d36f89

Browse files
committed
chore(*): upgrade all dependencies to latest versions
1 parent 7706040 commit 4d36f89

File tree

2 files changed

+16
-23
lines changed

2 files changed

+16
-23
lines changed

karma.conf.js

+2-8
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,8 @@ module.exports = function(config) {
2121
plugins: [
2222
'karma-chrome-launcher',
2323
'karma-firefox-launcher',
24-
'karma-jasmine',
25-
'karma-junit-reporter'
26-
],
27-
28-
junitReporter: {
29-
outputFile: 'test_out/unit.xml',
30-
suite: 'unit'
31-
}
24+
'karma-jasmine'
25+
]
3226

3327
});
3428
};

package.json

+14-15
Original file line numberDiff line numberDiff line change
@@ -6,37 +6,36 @@
66
"repository": "https://github.com/angular/angular-seed",
77
"license": "MIT",
88
"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",
1212
"html5-boilerplate": "0.0.1"
1313
},
1414
"devDependencies": {
15-
"angular-mocks": "^1.5.9",
15+
"angular-mocks": "^1.7.5",
1616
"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"
2524
},
2625
"scripts": {
2726
"postinstall": "npm run copy-libs",
2827
"update-deps": "npm update",
2928
"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",
3130
"prestart": "npm install",
3231
"start": "http-server -a localhost -p 8000 -c-1 ./app",
3332
"pretest": "npm install",
3433
"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",
3635
"preupdate-webdriver": "npm install",
3736
"update-webdriver": "webdriver-manager update",
3837
"preprotractor": "npm run update-webdriver",
3938
"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);\""
4140
}
4241
}

0 commit comments

Comments
 (0)