Skip to content

Commit 3f9c7b5

Browse files
committed
chore: test and lint before commit
1 parent ff4901c commit 3f9c7b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
"build-helper": "mkdir -p ./dist/browser && NODE_ENV=production babel ./src/getClassName.js --out-file ./dist/browser/getClassName.js --source-maps --no-babelrc --plugins transform-es2015-modules-commonjs,transform-flow-strip-types --presets es2015",
5656
"build": "rm -fr ./dist && NODE_ENV=production babel ./src --out-dir ./dist --source-maps --copy-files && npm run build-helper",
5757
"lint": "eslint ./src && flow",
58-
"precommit": "npm run test",
58+
"precommit": "npm run test && npm run lint",
5959
"test": " NODE_ENV=test mocha --require babel-core/register"
6060
},
6161
"version": "1.0.0"

0 commit comments

Comments
 (0)