Added 'npm test'

This commit is contained in:
Shazron Abdullah 2014-09-30 11:47:46 -07:00
parent d0614c532b
commit 6b87577801
2 changed files with 5 additions and 2 deletions

View File

@ -18,4 +18,4 @@ First install cordova-ios:
# Testing from the command line # Testing from the command line
xcodebuild -scheme CordovaLib && xcodebuild test -scheme CDVSplashScreenLibTests npm test

View File

@ -6,5 +6,8 @@
"license": "Apache Version 2.0", "license": "Apache Version 2.0",
"dependencies": { "dependencies": {
"cordova-ios": "^3.6.0" "cordova-ios": "^3.6.0"
},
"scripts": {
"test": "xcodebuild -scheme CordovaLib && xcodebuild test -scheme CDVSplashScreenLibTests"
} }
} }