Skip to content

Commit

Permalink
Change package.json - add coverall
Browse files Browse the repository at this point in the history
  • Loading branch information
abaliunov-sc committed Aug 16, 2017
1 parent acee7ba commit bef44fd
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"npm-build": "rimraf lib && cross-env NODE_ENV=production webpack --config ./config/webpack.config.js --hide-modules",
"link-mode": "cross-env NODE_ENV=link webpack --config ./config/webpack.config.js",
"lint": "eslint src/client",
"test": "mocha --require config/test/mocha-setup.js --recursive 'src/**/*.spec.js' --require ignore-styles",
"upload-coverage": "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
"test": "rimraf ./.nyc_output ./coverage && cross-env nyc --reporter=lcov --reporter=text mocha --require config/test/mocha-setup.js --recursive src/**/*.spec.js --require ignore-styles",
"npm-publish": "update-changelog -- --all && npm run npm-build && npm-publish",
"publish-release": "npm run grails-plugin-deploy-release && npm run npm-publish -- --release",
"start": "cross-env NODE_ENV=development showroom-scan src && babel-node --presets es2015,stage-0 www/index",
Expand Down Expand Up @@ -51,6 +52,7 @@
"chai": "3.5.0",
"chai-enzyme": "0.6.1",
"compression": "1.6.2",
"coveralls": "2.13.1",
"cross-env": "5.0.1",
"css-loader": "0.26.2",
"enzyme": "2.9.1",
Expand All @@ -68,6 +70,7 @@
"mocha": "3.4.2",
"mocha-junit-reporter": "1.13.0",
"nodemon": "1.11.0",
"nyc": "11.1.0",
"postcss-loader": "1.3.3",
"postcss-modules": "0.6.4",
"progress-bar-webpack-plugin": "1.10.0",
Expand Down Expand Up @@ -105,6 +108,7 @@
"prop-types": "15.5.10",
"query-string": "4.3.4",
"react-bootstrap": "0.31.2",
"slate": "0.20.6",
"slate-markdown-serializer": "0.1.5"
},
"grails": {
Expand Down Expand Up @@ -132,5 +136,16 @@
"slate",
"text",
"wysiwyg"
]
],
"nyc": {
"include": [
"src/client/**/*.js"
],
"exclude": [
"**/*.spec.js",
"**/*.SCOPE*.js",
"**/demo/**/*.js"
],
"all": true
}
}

0 comments on commit bef44fd

Please sign in to comment.