|
4 | 4 | "devDependencies": { |
5 | 5 | "grunt": "", |
6 | 6 | "grunt-contrib-jshint": "", |
7 | | - "grunt-contrib-concat": "", |
8 | 7 | "grunt-contrib-uglify": "", |
9 | 8 | "grunt-contrib-watch": "", |
10 | | - "grunt-contrib-requirejs": "", |
11 | 9 | "jshint-stylish": "", |
12 | | - "karma": "", |
13 | 10 | "protractor": "", |
14 | 11 | "http-server": "", |
15 | 12 | "bower": "", |
16 | 13 | "shelljs": "", |
| 14 | + "karma": "", |
| 15 | + "karma-jasmine": "", |
| 16 | + "karma-chrome-launcher": "", |
| 17 | + "karma-firefox-launcher": "", |
17 | 18 | "karma-junit-reporter": "" |
18 | 19 | }, |
19 | 20 | "scripts": { |
|
24 | 25 |
|
25 | 26 | "pretest": "npm install", |
26 | 27 | "test": "karma start test/karma.conf.js", |
27 | | - "test-single-run": "karma start test/karma.conf.js --single-run", |
| 28 | + "test-single": "karma start test/karma.conf.js --single-run --reporters junit,dots", |
| 29 | + "test-single-firefox": "karma start test/karma.conf.js --browsers Firefox --single-run --reporters junit,dots", |
28 | 30 |
|
29 | 31 | "preupdate-webdriver": "npm install", |
30 | 32 | "update-webdriver": "webdriver-manager update", |
31 | 33 |
|
32 | 34 | "preprotractor": "npm run update-webdriver", |
33 | | - "protractor": "protractor test/protractor-conf.js", |
| 35 | + "protractor": "npm start | protractor test/protractor-conf.js", |
34 | 36 |
|
35 | 37 | "update-index-async": "node -e \"require('shelljs/global'); sed('-i', /\\/\\/@@NG_LOADER_START@@[\\s\\S]*\\/\\/@@NG_LOADER_END@@/, '//@@NG_LOADER_START@@\\n' + cat('app/bower_components/angular-loader/angular-loader.min.js') + '\\n//@@NG_LOADER_END@@', 'app/index-async.html');\"" |
36 | 38 | } |
|
0 commit comments