forked from NativeScript/NativeScript
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
111 lines (111 loc) · 6.53 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
{
"name": "nativescript",
"version": "8.8.5",
"license": "MIT",
"config": {
"npm_alias": "npm"
},
"scripts": {
"clean": "rimraf 'dist/packages/core'",
"clean.all": "npm run setup ; nx run-many --target=clean --all",
"setup": "npm run clean ; npm install --legacy-peer-deps",
"setup:yarn": "yarn clean ; yarn",
"setup:pnpm": "pnpm run clean ; pnpm install",
"postinstall": "ts-patch install ; husky install",
"start": "nps",
"apps-automated:ios": "cd apps/automated ; tns debug ios --no-hmr --emulator --env.testing",
"apps-automated:android": "cd apps/automated ; tns debug android --no-hmr --emulator --env.testing",
"apps-automated:clean": "cd apps/automated ; rimraf -- hooks node_modules platforms package-lock.json webpack.config.js ; rimraf -- package-lock.json",
"apps-toolbox:ios": "cd apps/toolbox ; tns debug ios --no-hmr --emulator --env.testing",
"apps-toolbox:android": "cd apps/toolbox ; tns debug android --no-hmr --emulator --env.testing",
"apps-toolbox:clean": "cd apps/toolbox ; rimraf -- hooks node_modules platforms package-lock.json webpack.config.js ; rimraf -- package-lock.json",
"apps-ui:ios": "cd apps/ui ; tns debug ios --no-hmr --emulator --env.testing",
"apps-ui:android": "cd apps/ui ; tns debug android --no-hmr --emulator --env.testing",
"apps-ui:clean": "cd apps/ui ; rimraf -- hooks node_modules platforms package-lock.json webpack.config.js ; rimraf -- package-lock.json",
"core:lint": "cd packages/core ; eslint -c .eslintrc --ignore-pattern **/node_modules/** --ignore-pattern !packages/core/**",
"core:setup": "npm run webpack:build",
"core:build": "ts-patch install ; cpy 'packages/core/*.md' 'packages/core/package.json' 'packages/core/.npmignore' 'dist/packages/core' ; copyfiles 'packages/core/platforms/**/*' dist ; copyfiles -e '**/*.ts' 'packages/core/css/**/*' 'packages/core/css-value/**/*' 'packages/core/fetch/**/*' 'packages/core/js-libs/**/*' 'packages/core/cli-hooks/**/*.js' dist ; copyfiles -e 'packages/core/__tests__/**/*' 'packages/core/**/*.d.ts' dist ; tsc -p packages/core/tsconfig.lib.json",
"core:build.full": "ts-patch install ; rimraf dist/packages/core ; npm run postinstall ; npm run ui-mobile-base:build ; npm run core:build",
"core:build.npm": "npm run core:build.full ; cd dist/packages/core ; npm pack ; mv *.tgz ..",
"core:test": "jest --config packages/core/jest.config.ts",
"core:unit": "cd packages/core/__tests__ ; tsc ; mocha",
"core:unit.watch": "cd packages/core/__tests__ ; tsc ; mocha --watch",
"core:publish": "cd packages/core && npx standard-version --tag-prefix @akylas/nativescript@ && cd ../.. && npm run core:build.full && lerna publish from-package --scope @akylas/nativescript",
"core-compat:build": "cd packages/core-compat ; rimraf node_modules package-lock.json ; $npm_package_config_npm_alias i ; tsc -p tsconfig.json ; mv \"$(npm pack | tail -n 1)\" ../../dist/packages/tns-core-modules.tgz",
"doc:build": "rimraf dist/api-reference; npx typedoc --tsconfig ./tools/scripts/tsconfig.typedoc.json",
"types-ios:lint": "cd packages/types-ios ; eslint -c .eslintrc --ignore-pattern **/node_modules/** --ignore-pattern !packages/types-ios/**",
"types-ios:build": "rimraf dist/packages/types-ios ; cpy '**/*' '../../../dist/packages/types-ios' --cwd=packages/types-ios/src --parents ; cpy 'package.json' '*.md' '../../dist/packages/types-ios' --cwd=packages/types-ios --parents",
"types-android:lint": "cd packages/types-android ; eslint -c .eslintrc --ignore-pattern **/node_modules/** --ignore-pattern !packages/types-android/**",
"types-android:test": "cd packages/types-android ; jest --config jest.config.js --ignore-pattern **/node_modules/** --ignore-pattern !packages/types-android/**",
"types-android:build": "rimraf dist/packages/types-android ; cpy '**/*' '../../../dist/packages/types-android' --cwd=packages/types-android/src --parents ; cpy 'package.json' '*.md' '../../dist/packages/types-android' --cwd=packages/types-android --parents",
"types-minimal:build": "rimraf dist/packages/types-minimal ; ./tools/scripts/typings-minimal-copy.sh; cpy '**/*' '../../../dist/packages/types-minimal' --cwd=packages/types-minimal/src --parents ; cpy 'package.json' '*.md' '../../dist/packages/types-minimal' --cwd=packages/types-minimal --parents",
"ui-mobile-base:build": "cd packages/ui-mobile-base ; ./build.sh ; cd dist/package/platforms; copyfiles '**/*' '../../../../../packages/core/platforms' ; copyfiles '**/*' '../../../../../dist/packages/core/platforms'",
"webpack:lint": "cd packages/webpack5 ; eslint -c .eslintrc --ignore-pattern **/node_modules/** --ignore-pattern !packages/webpack/**",
"webpack:test": "cd packages/webpack5 ; npm run tsc ; npm run jasmine",
"webpack:build": "cd packages/webpack5; npm run build ; npm run package"
},
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/Akylas/NativeScript.git"
},
"dependencies": {
"@nativescript/theme": "*"
},
"devDependencies": {
"@commitlint/cli": "~19.5.0",
"@commitlint/config-conventional": "~19.5.0",
"@nativescript/hook": "^2.0.0",
"@prettier/plugin-xml": "^3.4.1",
"@types/jest": "~29.5.13",
"@types/node": "^22.7.5",
"@typescript-eslint/eslint-plugin": "^8.12.2",
"@typescript-eslint/parser": "^8.12.2",
"acorn": "^8.12.1",
"copyfiles": "^2.4.1",
"cpy-cli": "^3.1.1",
"css": "^3.0.0",
"css-tree": "^1.1.2",
"css-what": "^6.1.0",
"dotenv": "~16.4.5",
"emoji-regex": "^10.4.0",
"eslint": "~8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"gonzales": "^1.0.7",
"husky": "^9.1.6",
"jest": "~29.7.0",
"jest-environment-jsdom": "~29.7.0",
"jsonc-eslint-parser": "2.4.0",
"lint-staged": "^15.2.10",
"module-alias": "^2.2.3",
"nativescript-typedoc-theme": "1.1.0",
"parse-css": "git+https://github.com/tabatkins/parse-css.git",
"parserlib": "^1.1.1",
"prettier": "^3.3.3",
"reduce-css-calc": "~2.1.8",
"replace-json-property": "^1.9.0",
"rimraf": "3.0.2",
"sass": "^1.79.5",
"shady-css-parser": "^0.1.0",
"standard-version": "^9.5.0",
"tree-kill": "^1.2.2",
"ts-jest": "29.2.5",
"ts-node": "10.9.2",
"ts-patch": "^3.2.1",
"tslib": "^2.7.0",
"typedoc": "^0.26.9",
"typescript": "~5.4.0",
"zx": "^8.1.9"
},
"lint-staged": {
"**/*.{js,ts,css,scss,json,html}": [
"npx prettier --write"
]
},
"workspaces": [
"packages/webpack5",
"dist/packages/core",
"apps/toolbox"
]
}