mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
79 lines
3.2 KiB
JSON
79 lines
3.2 KiB
JSON
{
|
|
"name": "NativeScript",
|
|
"description": "NativeScript Core Modules",
|
|
"homepage": "https://nativescript.org",
|
|
"version": "7.0.0-rc.9",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/NativeScript/NativeScript"
|
|
},
|
|
"license": "Apache-2.0",
|
|
"devDependencies": {
|
|
"@microsoft/api-extractor": "~7.9.0",
|
|
"@nativescript/tslint-rules": "0.0.5",
|
|
"@types/chai": "^4.2.11",
|
|
"@types/mocha": "^7.0.2",
|
|
"@types/node": "~14.0.14",
|
|
"chai": "^4.2.0",
|
|
"conventional-changelog-cli": "^2.0.34",
|
|
"css": "^3.0.0",
|
|
"css-tree": "^1.0.0-alpha.39",
|
|
"gonzales": "^1.0.7",
|
|
"husky": "^4.2.5",
|
|
"lint-staged": "^10.2.11",
|
|
"madge": "^3.9.2",
|
|
"markdown-snippet-injector": "~0.2.2",
|
|
"mocha": "^8.0.1",
|
|
"mocha-typescript": "^1.1.9",
|
|
"module-alias": "^2.2.2",
|
|
"nativescript-typedoc-theme": "git://github.com/NativeScript/nativescript-typedoc-theme.git#master",
|
|
"ncp": "^2.0.0",
|
|
"parse-css": "git+https://github.com/tabatkins/parse-css.git",
|
|
"parserlib": "^1.1.1",
|
|
"prettier": "^2.0.5",
|
|
"readdirp": "~3.4.0",
|
|
"reduce-css-calc": "^2.1.6",
|
|
"rimraf": "^3.0.2",
|
|
"shady-css-parser": "^0.1.0",
|
|
"source-map-support": "^0.5.19",
|
|
"ts-node": "^8.10.0",
|
|
"tslib": "~2.0.0",
|
|
"tslint": "^6.1.2",
|
|
"tslint-config-prettier": "~1.18.0",
|
|
"typedoc": "^0.13.0",
|
|
"typedoc-plugin-external-module-name": "git://github.com/PanayotCankov/typedoc-plugin-external-module-name.git#with-js",
|
|
"typescript": "~3.9.0"
|
|
},
|
|
"scripts": {
|
|
"clean": "npx rimraf node_modules package-lock.json && npm i",
|
|
"setup": "npm run build-core",
|
|
"setup-link": "(cd nativescript-core && npm link) && (cd dist/tns-core-modules && npm uninstall @nativescript/core -S)",
|
|
"setup-widgets": "(cd tns-core-modules-widgets && sh build.sh) && npm run dev-link-tns-core-modules-widgets",
|
|
"build": "tsc -p nativescript-core/tsconfig.json",
|
|
"format": "npx prettier --write .",
|
|
"format-check": "npx prettier --check .",
|
|
"tsc-core-watch": "tsc -p nativescript-core/tsconfig.json -w",
|
|
"tslint": "tslint --project tsconfig.tslint.json --config build/tslint.json",
|
|
"unit-test": "tsc -p unit-tests/tsconfig.json && mocha --config=unit-tests/.mocharc.yml",
|
|
"unit-test-watch": "mocha-typescript-watch -p unit-tests/tsconfig.json --opts unit-tests/mocha.opts",
|
|
"dev-link-tns-core-modules-widgets": "(cd tns-core-modules-widgets/dist/package && npm link) && (cd nativescript-core && npm i ../tns-core-modules-widgets/dist/package --save)",
|
|
"api-extractor": "api-extractor run --local --verbose && (cd nativescript-core && cat nativescript-core.header nativescript-core.d.ts > tmp_file && mv tmp_file nativescript-core.d.ts)",
|
|
"api-extractor-ci": "api-extractor run --verbose",
|
|
"typedoc": "npm run api-extractor && typedoc --tsconfig tsconfig.typedoc.json",
|
|
"typedoc-dev": "npm run typedoc && cd bin/dist/apiref && npx http-server",
|
|
"build-core": "sh ./build/build-core.sh",
|
|
"build-compat": "sh ./build/build-compat.sh",
|
|
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"**/*": [
|
|
"prettier --write ."
|
|
]
|
|
}
|
|
}
|