mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
92 lines
5.9 KiB
JSON
92 lines
5.9 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/chai": "^4.0.4",
|
|
"@types/mocha": "^2.2.42",
|
|
"@types/node": "^7.0.5",
|
|
"chai": "^4.1.2",
|
|
"concurrently": "^2.1.0",
|
|
"css": "^2.2.1",
|
|
"css-tree": "^1.0.0-alpha24",
|
|
"gonzales": "^1.0.7",
|
|
"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",
|
|
"madge": "^2.2.0",
|
|
"markdown-snippet-injector": "0.2.2",
|
|
"mocha": "^3.5.0",
|
|
"mocha-typescript": "^1.1.9",
|
|
"module-alias": "^2.0.1",
|
|
"nativescript-typedoc-theme": "git://github.com/NativeScript/nativescript-typedoc-theme.git#master",
|
|
"parse-css": "git+https://github.com/tabatkins/parse-css.git",
|
|
"parserlib": "^1.1.1",
|
|
"shady-css-parser": "^0.1.0",
|
|
"shelljs": "^0.7.0",
|
|
"source-map-support": "^0.4.17",
|
|
"time-grunt": "1.3.0",
|
|
"tslib": "^1.9.3",
|
|
"tslint": "^5.4.3",
|
|
"typedoc": "^0.13.0",
|
|
"typedoc-plugin-external-module-name": "git://github.com/PanayotCankov/typedoc-plugin-external-module-name.git#with-js",
|
|
"typescript": "^3.1.6"
|
|
},
|
|
"scripts": {
|
|
"setup-widgets": "( cd tns-core-modules-widgets && sh build.sh ) && npm run dev-link-tns-core-modules-widgets",
|
|
"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 && npm run dev-link-e2e-modal",
|
|
"tsc": "node --max_old_space_size=4096 ./node_modules/typescript/bin/tsc",
|
|
"ci": "tsc && npm run tslint && npm run ci-apps && npm run ci-e2e && npm run ci-tests",
|
|
"ci-apps": "cd apps && npm i ../tns-core-modules ../tns-platform-declarations --save",
|
|
"ci-e2e": "cd e2e && cd modal-navigation && npm i ../../tns-core-modules ../../tns-platform-declarations --save",
|
|
"ci-tests": "cd tests && npm i ../tns-core-modules ../tns-platform-declarations --save",
|
|
"unit-test": "tsc -p tsconfig.unit-tests.json && mocha --opts unit-tests/mocha.opts",
|
|
"unit-test-watch": "mocha-typescript-watch -p tsconfig.unit-tests.json --opts unit-tests/mocha.opts",
|
|
"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-unit-tests": "npm run tsc -- -p tsconfig.unit-tests.json --outDir bin/dist/unit-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-e2e": "npm run tsc -- -p e2e",
|
|
"dev-tsc-all": "npm run dev-tsc-tns-platform-declarations && npm run tsc && npm run dev-tsc-tests && npm run dev-tsc-apps && && npm run dev-tsc-e2e",
|
|
"dev-link-tns-platform-declarations": "cd tns-platform-declarations && npm link",
|
|
"dev-link-tns-core-modules": "cd tns-core-modules && npm link",
|
|
"dev-link-tns-core-modules-widgets": "(cd tns-core-modules-widgets/dist/package && npm link) && (cd tns-core-modules && npm i ../tns-core-modules-widgets/dist/package --save)",
|
|
"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-link-e2e-modal": "cd e2e && cd modal-navigation && 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 for setup\n - tns-core-modules: npm run setup\n - tns-core-modules-widgets: npm run setup-widgets\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 && npx http-server",
|
|
"test-tsc-es2016": "npm run tsc -- -p tsconfig.public.es2016.json",
|
|
"tslint": "tslint --project tsconfig.tslint.json --config build/tslint.json",
|
|
"madge-ios": "tsc --skipLibCheck && tns prepare ios --path tests && madge --circular tests/platforms/ios/tests/app/tns_modules/tns-core-modules",
|
|
"madge-ios-image": "tsc --skipLibCheck && tns prepare ios --path tests && madge --image graph-tests-ios.svg tests/platforms/ios/tests/app/tns_modules/tns-core-modules",
|
|
"madge-android": "tsc --skipLibCheck && tns prepare android --path tests && madge --circular tests/platforms/android/app/src/main/assets/app/tns_modules/tns-core-modules",
|
|
"madge-android-image": "tsc --skipLibCheck && tns prepare android --path tests && madge --image graph-tests-android.svg tests/platforms/android/app/src/main/assets/app/tns_modules/tns-core-modules"
|
|
}
|
|
}
|