Add helper scripts to help with running tests on dev machines.

This commit is contained in:
Hristo Deshev
2016-05-30 14:25:55 +03:00
parent d1852ad4d8
commit 39e6f82f74

View File

@@ -24,7 +24,10 @@
},
"scripts": {
"tsc-tiw": "node build/tsc-dev.js tiw",
"tsc-ti": "node build/tsc-dev.js ti",
"tsc": "tsc",
"link-tests": "cd tns-core-modules && npm link && cd ../tests && npm link tns-core-modules"
"link-tests": "cd tns-core-modules && npm link && cd ../tests && npm link tns-core-modules",
"dev-tests-android": "npm run tsc-ti && tns livesync android --path tests",
"dev-tests-ios": "npm run tsc-ti && tns livesync ios --path tests"
}
}