Update the .travis.yml to npm pack the tns-platform-declarations, add lib: [] config in the tsconfig.json

This commit is contained in:
Panayot Cankov
2016-09-26 11:43:58 +03:00
parent 299203901e
commit 0e23f47a04
8 changed files with 28 additions and 15 deletions

View File

@@ -82,10 +82,10 @@ tns run android --path tests
```
## Platform declarations
To update the platform declarations you can run:
To update the platform declarations (the ios.d.ts-es) you can run:
```
npm install
npm run dev-declarations
```
This script will update the iOS declarations. Android tools are not integrated yet.
The declarations are generated from the test app and will include the native code from tns-core-modules-widgets.
The declarations are generated from the test app and will include the native code from tns-core-modules-widgets.