Added npm scripts: test, pycompile

This commit is contained in:
Shazron Abdullah 2016-01-12 17:49:32 -08:00
parent 3a57b33e8f
commit cbba8a4328

View File

@ -18,8 +18,9 @@
}, },
"scripts": { "scripts": {
"preinstall": "./src/scripts/check_reqs.js && xcodebuild", "preinstall": "./src/scripts/check_reqs.js && xcodebuild",
"test": "npm run jshint", "test": "npm run pycompile && npm run jshint && xcodebuild -scheme ios-deploy-lib && xcodebuild test -scheme ios-deploy-tests",
"jshint": "node node_modules/jshint/bin/jshint src" "jshint": "node node_modules/jshint/bin/jshint src/scripts/*.js",
"pycompile": "python -m py_compile src/scripts/*.py"
}, },
"keywords": [ "keywords": [
"ios-deploy", "ios-deploy",