|
2 | 2 | "name": "igniteui-angular", |
3 | 3 | "dependencies": {}, |
4 | 4 | "devDependencies": { |
| 5 | + "coveralls": "", |
5 | 6 | "grunt": "", |
6 | 7 | "grunt-contrib-jshint": "", |
7 | 8 | "grunt-contrib-uglify": "", |
|
13 | 14 | "shelljs": "", |
14 | 15 | "karma": "", |
15 | 16 | "karma-jasmine": "", |
| 17 | + "karma-coverage": "", |
16 | 18 | "karma-chrome-launcher": "", |
17 | 19 | "karma-firefox-launcher": "", |
18 | 20 | "karma-junit-reporter": "" |
| 21 | + |
19 | 22 | }, |
20 | 23 | "scripts": { |
21 | 24 | "postinstall": "bower install", |
22 | 25 |
|
23 | 26 | "prestart": "npm install", |
24 | | - "start": "http-server -a localhost -p 8000", |
| 27 | + "start": "http-server -a localhost -p 8000 &", |
25 | 28 |
|
26 | 29 | "pretest": "npm install", |
27 | 30 | "test": "karma start test/karma.conf.js", |
28 | | - "test-single": "karma start test/karma.conf.js --single-run --reporters junit,dots", |
| 31 | + "test-single": "karma start test/karma.conf.js --single-run --reporters junit,dots,coverage", |
29 | 32 | "test-single-firefox": "karma start test/karma.conf.js --browsers Firefox --single-run --reporters junit,dots", |
30 | 33 |
|
31 | 34 | "preupdate-webdriver": "npm install", |
32 | 35 | "update-webdriver": "webdriver-manager update", |
33 | 36 |
|
34 | 37 | "preprotractor": "npm run update-webdriver", |
35 | | - "protractor": "npm start | protractor test/protractor-conf.js", |
| 38 | + "protractor": "protractor test/protractor-conf.js", |
36 | 39 |
|
37 | 40 | "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');\"" |
38 | 41 | } |
|
0 commit comments