Skip to content
This repository has been archived by the owner on Jan 22, 2021. It is now read-only.

Commit

Permalink
Add and configure PhantomJS
Browse files Browse the repository at this point in the history
  • Loading branch information
JeremyLikness committed Dec 15, 2016
1 parent e6b8cb0 commit 6d685c1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions karma.conf.js
Expand Up @@ -28,6 +28,7 @@ module.exports = function(config) {

plugins: [
require('karma-chrome-launcher'),
require('karma-phantomjs-launcher'),
require('karma-jasmine'),
require('karma-commonjs')
],
Expand Down
7 changes: 5 additions & 2 deletions package.json
Expand Up @@ -13,7 +13,7 @@
"karma:setup": "karma init karma.conf.js",
"local-server": "node ./test/local-server.js",
"build": "npm run test:once && npm run tsc:release",
"test:once": "npm run tsc && karma start --single-run=true karma.conf.js",
"test:once": "npm run tsc && karma start --single-run=true --browsers=PhantomJS karma.conf.js",
"test": "npm run tsc && concurrently \"npm run tsc:w\" \"npm run local-server\" \"karma start karma.conf.js\""
},
"keywords": [
Expand All @@ -28,7 +28,10 @@
"type": "git",
"url": "https://github.com/jeremylikness/micro-locator"
},
"dependencies": {},
"dependencies": {
"karma-phantomjs-launcher": "^1.0.2",
"phantomjs-prebuilt": "^2.1.14"
},
"devDependencies": {
"@types/jasmine": "^2.2.33",
"@types/node": "^6.0.38",
Expand Down

0 comments on commit 6d685c1

Please sign in to comment.