Skip to content

Instantly share code, notes, and snippets.

@busypeoples
Last active May 6, 2016 15:03
Show Gist options
  • Save busypeoples/c951a4f6b522aa1b9278 to your computer and use it in GitHub Desktop.
Save busypeoples/c951a4f6b522aa1b9278 to your computer and use it in GitHub Desktop.
Webpack / Karma / Jasmine package.json example
{
"name": "example-karma-jasmine-webapck-test-setup",
"description": "React Test Setup with Karma/Jasmine/Webpack",
"scripts": {
"test": "karma start --single-run --browsers PhantomJS"
},
"devDependencies": {
"babel": "^6.5.2",
"babel-core": "^6.5.2",
"babel-eslint": "^5.0.0",
"babel-loader": "^6.2.3",
"babel-preset-airbnb": "^1.1.1",
"babel-preset-es2015": "^6.5.0",
"babel-preset-react": "^6.5.0",
"enzyme": "^2.0.0",
"jasmine-core": "^2.4.1",
"json-loader": "^0.5.4",
"karma": "^0.13.21",
"karma-babel-preprocessor": "^6.0.1",
"karma-jasmine": "^0.3.7",
"karma-phantomjs-launcher": "^1.0.0",
"karma-sourcemap-loader": "^0.3.7",
"karma-webpack": "^1.7.0",
"lodash": "^4.5.1",
"phantomjs-prebuilt": "^2.1.4",
"react": "^0.14.7",
"react-addons-test-utils": "^0.14.7",
"react-dom": "^0.14.7",
"react-test-utils": "0.0.1",
"webpack": "^1.12.14"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment