Add test watch npm script

This commit is contained in:
Julia Friesel
2018-06-30 16:14:53 +02:00
parent 77f8f0fddd
commit a90f2961bc
+1
View File
@@ -11,6 +11,7 @@
"android": "./node_modules/.bin/react-native run-android", "android": "./node_modules/.bin/react-native run-android",
"log": "./node_modules/.bin/react-native log-android | grep -v 'Warning: isMounted(...) is deprecated'", "log": "./node_modules/.bin/react-native log-android | grep -v 'Warning: isMounted(...) is deprecated'",
"test": "mocha --recursive --require babel-core/register test && npm run lint", "test": "mocha --recursive --require babel-core/register test && npm run lint",
"test-watch": "mocha --recursive --require babel-core/register --watch test",
"lint": "eslint app test" "lint": "eslint app test"
}, },
"dependencies": { "dependencies": {