Files
NativeScript/tns-core-modules/package.json
Hristo Deshev 86481cce4a Make typings compatible with @types/node.
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.
2017-02-15 13:01:10 +02:00

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"
}
}
}