mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
66 lines
3.8 KiB
JSON
66 lines
3.8 KiB
JSON
{
|
|
"name": "NativeScript",
|
|
"description": "Telerik NativeScript Core Modules",
|
|
"homepage": "https://www.nativescript.org",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/NativeScript/NativeScript"
|
|
},
|
|
"license": "Apache-2.0",
|
|
"devDependencies": {
|
|
"@types/node": "^7.0.5",
|
|
"chai": "3.2.0",
|
|
"concurrently": "^2.1.0",
|
|
"grunt": "1.0.1",
|
|
"grunt-contrib-clean": "1.0.0",
|
|
"grunt-contrib-copy": "git://github.com/NativeScript/grunt-contrib-copy.git#master",
|
|
"grunt-env": "0.4.4",
|
|
"grunt-exec": "1.0.1",
|
|
"grunt-mkdir": "1.0.0",
|
|
"grunt-shell": "2.1.0",
|
|
"grunt-simple-mocha": "0.4.1",
|
|
"grunt-ts": "6.0.0-beta.11",
|
|
"grunt-typedoc": "0.2.4",
|
|
"http-server": "^0.9.0",
|
|
"markdown-snippet-injector": "0.2.2",
|
|
"mocha": "2.2.5",
|
|
"nativescript-typedoc-theme": "git://github.com/NativeScript/nativescript-typedoc-theme.git#master",
|
|
"shelljs": "^0.7.0",
|
|
"time-grunt": "1.3.0",
|
|
"tslint": "^4.4.2",
|
|
"typedoc": "^0.5.10",
|
|
"typedoc-plugin-external-module-name": "git://github.com/PanayotCankov/typedoc-plugin-external-module-name.git#with-js",
|
|
"typescript": "~2.2.1"
|
|
},
|
|
"scripts": {
|
|
"setup": "npm run dev-link-tns-platform-declarations && npm run dev-link-tns-core-modules && npm run dev-link-tests && npm run dev-link-apps",
|
|
"tsc": "node --max_old_space_size=4096 ./node_modules/typescript/bin/tsc",
|
|
"compile-all": "npm run tsc -- -p tsconfig.json --outDir bin/dist",
|
|
"compile-modules": "npm run tsc -- -p tsconfig-modules.json --outDir bin/dist",
|
|
"compile-check-base-dts": "npm run tsc -- -p tsconfig.base-dts.json",
|
|
"compile-node-tests": "npm run tsc -- -p tsconfig.node-tests.json --outDir bin/dist/node-tests",
|
|
"compile-check-combined-dts": "npm run tsc -- -p tsconfig.combined-dts.json",
|
|
"tsc-w": "npm run tsc -- --skipLibCheck -w",
|
|
"dev-tsc-tns-platform-declarations": "npm run tsc -- -p tns-platform-declarations",
|
|
"dev-tsc-tests": "npm run tsc -- -p tests",
|
|
"dev-tsc-apps": "npm run tsc -- -p apps",
|
|
"dev-tsc-all": "npm run dev-tsc-tns-platform-declarations && npm run tsc && npm run dev-tsc-tests && npm run dev-tsc-apps",
|
|
"dev-link-tns-platform-declarations": "cd tns-platform-declarations && npm link",
|
|
"dev-link-tns-core-modules": "cd tns-core-modules && npm link",
|
|
"dev-link-tests": "cd tests && npm link tns-platform-declarations && npm link tns-core-modules",
|
|
"dev-link-apps": "cd apps && npm link tns-platform-declarations && npm link tns-core-modules",
|
|
"dev-declarations": "npm run setup && rm -rf tns-platform-declarations/ios/objc* && TNS_TYPESCRIPT_DECLARATIONS_PATH=$PWD/tns-platform-declarations/ios/objc tns build ios --path tests",
|
|
"test": "npm run test-android && npm run test-ios",
|
|
"pretest": "npm run setup && npm run tsc",
|
|
"test-android": "tns run android --path tests --justlaunch --no-watch",
|
|
"test-ios": "tns run ios --path tests --justlaunch --no-watch",
|
|
"test-watch-android": "npm run pretest && concurrently --kill-others \"npm run tsc-tiw\" \"tns livesync android --path tests --watch\"",
|
|
"test-watch-ios": "npm run pretest && concurrently --kill-others \"npm run tsc-tiw\" \"tns livesync ios --path tests --watch\"",
|
|
"prepublish": "echo \"Development reminder: npm run setup\n\"",
|
|
"typedoc": "typedoc --tsconfig tsconfig.typedoc.json --out bin/dist/apiref --includeDeclarations --name NativeScript --theme ./node_modules/nativescript-typedoc-theme --excludeExternals --externalPattern \"**/+(tns-core-modules|module).d.ts\"",
|
|
"dev-typedoc": "npm run typedoc && cd bin/dist/apiref && http-server",
|
|
"test-tsc-es2016": "npm run tsc -- -p tsconfig.public.es2016.json",
|
|
"tslint": "tslint --config build/tslint.json 'tns-core-modules/**/*.ts' 'tests/**/*.ts' 'apps/**/*.ts' -e '**/node_modules/**' -e '**/platforms/**'"
|
|
}
|
|
}
|