Skip to content

Commit 02bd98a

Browse files
authored
Merge pull request datreeio#28 from datreeio/update-test-command
Update test command
2 parents 9375455 + d473ceb commit 02bd98a

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

package.json

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,15 @@
44
"description": "datree.io Node.js module",
55
"main": "dist/index.js",
66
"scripts": {
7-
"test": "nyc ./node_modules/mocha/bin/mocha --compilers js:babel-core/register test/ && nyc report --reporter=text-lcov | coveralls",
8-
"test-html": "nyc --reporter=html --reporter=text ./node_modules/mocha/bin/mocha --compilers js:babel-core/register test/ && open coverage/index.html",
7+
"test":
8+
"nyc ./node_modules/mocha/bin/mocha --require babel-core/register test/ && nyc report --reporter=text-lcov | coveralls",
9+
"test-html":
10+
"nyc --reporter=html --reporter=text ./node_modules/mocha/bin/mocha --require babel-core/register test/ && open coverage/index.html",
911
"clean": "rm -rf dist",
1012
"build": "npm run clean && mkdir dist && babel index.js lib/* -s -d dist && cp package.json dist/",
1113
"semantic-release": "semantic-release pre && npm publish && semantic-release post",
12-
"semantic-release-local": "semantic-release pre --debug=false && npm publish && semantic-release post --debug=false",
14+
"semantic-release-local":
15+
"semantic-release pre --debug=false && npm publish && semantic-release post --debug=false",
1316
"postinstall": "node dist/lib/install.js",
1417
"preuninstall": "node dist/lib/uninstall.js"
1518
},
@@ -55,6 +58,7 @@
5558
},
5659
"prettier": {
5760
"semi": false,
58-
"singleQuote": true
61+
"singleQuote": true,
62+
"printWidth": 120
5963
}
6064
}

0 commit comments

Comments
 (0)