4beaf29f6e
This adds capturing and executing tests in the Firefox browser. It also adds the use of the jasmine-jquery framework to permit easier detection of DOM elements in a rendered directive, as the present method does not play well with Firefox' tendency to randomly reorder attribute positions. Testing with Firefox is already supported in infra. Change-Id: Ifc81e1b243975536ee40e627c1e4a164855fe85c
45 lines
1.2 KiB
JSON
45 lines
1.2 KiB
JSON
{
|
|
"name": "SampleGrunt",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"devDependencies": {
|
|
"bower": "1.3.12",
|
|
"grunt": "0.4.5",
|
|
"grunt-bower-task": "0.4.0",
|
|
"grunt-cli": "0.1.13",
|
|
"grunt-connect-proxy": "0.1.11",
|
|
"grunt-contrib-clean": "0.6.0",
|
|
"grunt-contrib-concat": "0.5.1",
|
|
"grunt-contrib-uglify": "0.8.1",
|
|
"grunt-contrib-watch": "0.6.1",
|
|
"grunt-env": "0.4.1",
|
|
"grunt-eslint": "7.0.1",
|
|
"grunt-html2js": "0.2.9",
|
|
"grunt-karma": "0.10.1",
|
|
"grunt-open": "0.2.3",
|
|
"grunt-protractor-runner": "1.1.4",
|
|
"grunt-shell": "1.1.1",
|
|
"grunt-usemin": "2.4.0",
|
|
"grunt-webfont": "0.4.8",
|
|
"jasmine-core": "^2.2.0",
|
|
"jasmine-jquery": "2.1.0",
|
|
"karma": "0.12.31",
|
|
"karma-chrome-launcher": "0.1.12",
|
|
"karma-cli": "0.0.4",
|
|
"karma-firefox-launcher": "^0.1.6",
|
|
"karma-jasmine": "0.3.5",
|
|
"karma-jasmine-jquery": "0.1.1",
|
|
"karma-ng-html2js-preprocessor": "0.1",
|
|
"karma-phantomjs-launcher": "0.1.4"
|
|
},
|
|
"main": "Gruntfile.js",
|
|
"dependencies": {
|
|
"grunt": "0.4.5"
|
|
},
|
|
"scripts": {
|
|
"postinstall": "bower install",
|
|
"test-unit": "grunt test:unit",
|
|
"test": "karma start ./karma-unit.conf.js"
|
|
}
|
|
}
|