mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Add 'npm run madge-ios' and 'npm run madge-android' to list circular dependencies (#4748)
This commit is contained in:
@@ -22,6 +22,7 @@
|
|||||||
"grunt-ts": "6.0.0-beta.11",
|
"grunt-ts": "6.0.0-beta.11",
|
||||||
"grunt-typedoc": "0.2.4",
|
"grunt-typedoc": "0.2.4",
|
||||||
"http-server": "^0.9.0",
|
"http-server": "^0.9.0",
|
||||||
|
"madge": "^2.0.0",
|
||||||
"markdown-snippet-injector": "0.2.2",
|
"markdown-snippet-injector": "0.2.2",
|
||||||
"mocha": "2.2.5",
|
"mocha": "2.2.5",
|
||||||
"nativescript-typedoc-theme": "git://github.com/NativeScript/nativescript-typedoc-theme.git#master",
|
"nativescript-typedoc-theme": "git://github.com/NativeScript/nativescript-typedoc-theme.git#master",
|
||||||
@@ -63,6 +64,8 @@
|
|||||||
"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\"",
|
"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",
|
"dev-typedoc": "npm run typedoc && cd bin/dist/apiref && http-server",
|
||||||
"test-tsc-es2016": "npm run tsc -- -p tsconfig.public.es2016.json",
|
"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/**'"
|
"tslint": "tslint --config build/tslint.json 'tns-core-modules/**/*.ts' 'tests/**/*.ts' 'apps/**/*.ts' -e '**/node_modules/**' -e '**/platforms/**'",
|
||||||
|
"madge-ios": "tsc --skipLibCheck && tns prepare ios --path tests && madge --circular tests/platforms/ios/tests/app/tns_modules/tns-core-modules",
|
||||||
|
"madge-android": "tsc --skipLibCheck && tns prepare android --path tests && madge --circular tests/platforms/android/src/main/assets/app/tns_modules/tns-core-modules"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user