Skip to content

Commit b50b24b

Browse files
committed
chore(*) add linter to npm test
1 parent 6c14896 commit b50b24b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "A simple app to try React / ES6 & redux, using topheman-apis-proxy as data api backend",
55
"main": "index.js",
66
"scripts": {
7-
"test": "mocha --compilers js:babel-core/register --recursive --require ./test/setup.js",
7+
"test": "npm run lint && mocha --compilers js:babel-core/register --recursive --require ./test/setup.js",
88
"lint": "./node_modules/.bin/eslint --ext .js --ext .jsx src test",
99
"lint-watch": "./node_modules/.bin/esw --watch --ext .js --ext .jsx src test",
1010
"dev": "echo 'deprecated, use npm run webpack-dev' && npm run webpack-dev",

0 commit comments

Comments
 (0)