mirror of
https://github.com/maputnik/editor.git
synced 2026-03-20 17:20:01 +00:00
Add karma based testing
This commit is contained in:
10
package.json
10
package.json
@@ -6,8 +6,10 @@
|
||||
"scripts": {
|
||||
"stats": "webpack --config webpack.production.config.js --profile --json > stats.json",
|
||||
"build": "webpack --config webpack.production.config.js --progress --profile --colors",
|
||||
"test": "karma start --single-run",
|
||||
"test-watch": "karma start",
|
||||
"start": "webpack-dev-server --progress --profile --colors",
|
||||
"lint": "eslint --ext js --ext jsx src"
|
||||
"lint": "eslint --ext js --ext jsx {src,test}"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@@ -68,8 +70,6 @@
|
||||
}
|
||||
},
|
||||
"devDependencies": {
|
||||
"sass-loader": "^4.0.1",
|
||||
"node-sass": "^3.9.2",
|
||||
"babel-core": "6.14.0",
|
||||
"babel-eslint": "^6.1.2",
|
||||
"babel-loader": "6.2.4",
|
||||
@@ -87,7 +87,11 @@
|
||||
"file-loader": "0.9.0",
|
||||
"html-webpack-plugin": "^2.22.0",
|
||||
"json-loader": "^0.5.4",
|
||||
"karma": "^1.3.0",
|
||||
"karma-webpack": "^1.8.0",
|
||||
"node-sass": "^3.9.2",
|
||||
"react-hot-loader": "1.3.0",
|
||||
"sass-loader": "^4.0.1",
|
||||
"style-loader": "0.13.1",
|
||||
"transform-loader": "^0.2.3",
|
||||
"url-loader": "0.5.7",
|
||||
|
||||
Reference in New Issue
Block a user