Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a05d1e3

Browse files
committed
run linting on prepublish
the `prepublishOnly` script now runs `npm test` which includes linting.
1 parent dea9499 commit a05d1e3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@
168168
"test:browser": "karma start ./browser-test-config/local-karma.js",
169169
"test:browserstack": "karma start ./browser-test-config/browserstack-karma.js",
170170
"coverage": "nyc --reporter=lcov --reporter=text-summary mocha test test-node --recursive --require babel-core/register; echo \"\nDetailed coverage report is available at ./coverage/lcov-report/index.html\"",
171-
"prepublishOnly": "npm test:src && npm run build-and-test"
171+
"prepublishOnly": "npm test && npm run build-and-test"
172172
},
173173
"bin": {
174174
"mathjs": "./bin/cli.js"

0 commit comments

Comments
 (0)