mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Fixes name clashes and uses Node-compatible typings where possible.
Changes:
- setTimout et al now return NodeJS.Timer instead of number
- No "console" module anymore. Everyone uses it through global.console
anyway.
- We have a typed "global" instance with exposed properties now. Any
"freeform" accesses must go through a `(<any>global).blah` cast.
- remove tns-core-modules.{base,es6,es2015}.d.ts. Those were needed
as workarounds for the ES6/DOM/Node type clashes.
40 lines
847 B
JSON
40 lines
847 B
JSON
{
|
|
"name": "tns-core-modules",
|
|
"description": "Telerik NativeScript Core Modules",
|
|
"version": "3.0.0",
|
|
"homepage": "https://www.nativescript.org",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/NativeScript/NativeScript"
|
|
},
|
|
"files": [
|
|
"**/*.d.ts",
|
|
"**/*.js",
|
|
"!android17.d.ts",
|
|
"!ios.d.ts",
|
|
"!bin/",
|
|
"!apps/",
|
|
"!build/",
|
|
"!node-tests/",
|
|
"!declarations.android.d.ts",
|
|
"!declarations.ios.d.ts",
|
|
"!gruntfile.js",
|
|
"!org.nativescript.widgets.d.ts"
|
|
],
|
|
"license": "Apache-2.0",
|
|
"typings": "tns-core-modules.d.ts",
|
|
"dependencies": {
|
|
"tns-core-modules-widgets": "rc"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "~7.0.5",
|
|
"tns-platform-declarations": "*"
|
|
},
|
|
"nativescript": {
|
|
"platforms": {
|
|
"ios": "2.1.1",
|
|
"android": "2.1.1"
|
|
}
|
|
}
|
|
}
|