mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Add npm script that generates ios .d.ts-es from the tests app
Less than 30 erros left, let's hope it still works Added lib.*.d.ts from typescript, removed lib and dom stuff, added by hand XHR, alert etc. .d.ts-es for polyfills Roll back some changes involved in separating UIEvent for dom and ios Test combined dts-es will now use lib, while internally we will not to avoid UIEvent conflict with dom stuff
This commit is contained in:
@@ -43,6 +43,7 @@
|
||||
"pretest": "npm run link-tests && npm run tsc",
|
||||
"test-android": "tns run android --path tests --justlaunch",
|
||||
"test-ios": "tns run ios --path tests --justlaunch",
|
||||
"test": "npm run test-android && npm run test-ios"
|
||||
"test": "npm run test-android && npm run test-ios",
|
||||
"dts-ios": "npm run link-tests && rm -rf tns-core-modules/ios/objc* && TNS_TYPESCRIPT_DECLARATIONS_PATH=$PWD/tns-core-modules/ios/objc tns build ios --path tests"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user