-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
/
package.json
185 lines (185 loc) Β· 6.82 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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
{
"name": "titanium-mobile",
"description": "Titanium SDK",
"version": "12.6.0",
"moduleApiVersion": {
"iphone": "2",
"android": "4"
},
"keywords": [
"tidev",
"titanium",
"mobile",
"android",
"iphone",
"ipad",
"ios"
],
"author": "TiDev, Inc. <[email protected]>",
"scripts": {
"android": "node ./build/scons cleanbuild android",
"build": "node ./build/scons build",
"build:local": "node ./build/scons build && node ./build/scons package --skip-zip && node ./build/scons install",
"build:android": "npm run build -- android",
"build:changelog": "conventional-changelog -n changelog/config.js -i CHANGELOG.md -s -p angular",
"build:docs": "docgen apidoc -o ./dist",
"build:ios": "npm run build -- ios",
"clean": "node ./build/scons clean",
"clean:android": "npm run clean -- android",
"clean:ios": "npm run clean -- ios",
"clean:modules": "node ./build/scons clean-modules",
"clean:sdks": "node ./build/scons clean-sdks",
"cleanbuild": "node ./build/scons cleanbuild",
"cleanbuild:local": "node ./build/scons cleanbuild -- --skip-zip",
"cleanbuild:android": "npm run cleanbuild -- android",
"cleanbuild:ios": "npm run cleanbuild -- ios",
"commit": "git-cz",
"deploy": "node ./build/scons install",
"deprecations": "npm run docs:deprecated",
"docs:deprecated": "node ./build/scons deprecations",
"docs:removed": "node ./build/scons removals 8.0.0",
"format": "npm-run-all --parallel format:!\\(ios\\|android\\)",
"format:android": "echo Formatting Android code is not supported.",
"format:ios": "npm-run-all --parallel format:objc format:swift",
"format:objc": "npm run lint:objc -- --fix",
"format:swift": "npm run lint:swift",
"format:js": "npm run lint:js -- --fix",
"ios": "node ./build/scons cleanbuild ios",
"ios-sanity-check": "node ./build/scons check-ios-toplevel",
"link": "npm run deploy -- --symlink",
"lint": "npm-run-all --parallel lint:!\\(ios\\)",
"lint:android": "node ./build/scons gradlew checkJavaStyle",
"lint:docs": "tdoc-validate ./apidoc",
"lint:ios": "npm-run-all --parallel lint:objc lint:swift",
"lint:objc": "clang-format-lint $npm_package_config_format_objc",
"lint:swift": "swiftlint",
"lint:js": "eslint .",
"lint:lockfile": "node ./build/scons check-lockfile && lockfile-lint --path package-lock.json --type npm --allowed-hosts npm yarn --validate-https",
"package": "node ./build/scons package",
"package:android": "npm run package -- android",
"package:ios": "npm run package -- ios",
"postinstall": "husky install",
"test": "npm run ios-sanity-check && npm run lint",
"test:android": "npm run cleanbuild:android -- --skip-zip --no-docs --symlink && ti sdk select $npm_package_version && npm run test:integration -- android",
"test:android:onlyFailed": "npm run cleanbuild:android -- --skip-zip --no-docs --symlink && ti sdk select $npm_package_version && npm run test:integration:onlyFailed -- android",
"test:cli": "JUNIT_REPORT_PATH=junit.cli.report.xml nyc mocha **/cli/tests/test-*.js build/**/test-*.js --reporter=mocha-jenkins-reporter",
"test:ios": "npm run test:iphone",
"test:iphone": "npm run cleanbuild:ios -- --skip-zip --no-docs --symlink && ti sdk select $npm_package_version && npm run test:integration -- ios -F iphone",
"test:iphone:onlyFailed": "npm run cleanbuild:ios -- --skip-zip --no-docs --symlink && ti sdk select $npm_package_version && npm run test:integration:onlyFailed -- ios -F iphone",
"test:ipad": "npm run cleanbuild:ios -- --skip-zip --no-docs --symlink && ti sdk select $npm_package_version && npm run test:integration -- ios -F ipad",
"test:mac": "npm run cleanbuild:ios -- --skip-zip --no-docs --symlink && ti sdk select $npm_package_version && npm run test:integration -- ios -T macos",
"test:integration": "node ./build/scons test",
"test:integration:onlyFailed": "node ./build/scons test --only-failed"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
},
"format": {
"objc": "iphone/Classes/*.{m,h} iphone/Classes/Layout/*.{m,h} iphone/TitaniumKit/TitaniumKit/*.h iphone/TitaniumKit/TitaniumKit/Sources/**/*.{m,h}"
}
},
"dependencies": {
"@babel/core": "7.11.6",
"@babel/types": "7.23.6",
"@npmcli/arborist": "7.2.2",
"always-tail": "0.2.0",
"ansi-escapes": "4.3.2",
"appc-tasks": "1.0.3",
"archiver": "6.0.1",
"async": "3.2.5",
"boxen": "5.1.2",
"buffer-equal": "1.0.1",
"clean-css": "5.3.3",
"colors": "1.4.0",
"ejs": "3.1.9",
"fields": "0.1.24",
"fs-extra": "11.2.0",
"ioslib": "1.7.39",
"liveview": "1.5.6",
"lodash.merge": "4.6.2",
"markdown": "0.5.0",
"moment": "2.30.1",
"node-appc": "1.1.7",
"node-titanium-sdk": "6.0.0",
"node-uuid": "1.4.8",
"nodeify": "1.0.1",
"p-limit": "3.1.0",
"pngjs": "7.0.0",
"request": "2.88.2",
"semver": "7.5.4",
"simple-plist": "1.3.1",
"sprintf": "0.1.5",
"temp": "0.9.4",
"wrap-ansi": "7.0.0",
"xcode": "3.0.1",
"xmldom": "0.6.0",
"yauzl": "2.10.0"
},
"devDependencies": {
"@commitlint/cli": "13.2.0",
"@commitlint/config-conventional": "13.2.0",
"@rollup/plugin-babel": "5.3.0",
"@rollup/plugin-commonjs": "21.0.3",
"@rollup/plugin-node-resolve": "13.0.5",
"@seadub/clang-format-lint": "0.0.2",
"@seadub/danger-plugin-dependencies": "1.0.0",
"@seadub/danger-plugin-eslint": "2.0.0",
"@seadub/danger-plugin-junit": "0.3.0",
"babel-plugin-transform-titanium": "0.1.1",
"chai": "5.0.0",
"clang-format": "1.6.0",
"commander": "11.1.0",
"commitizen": "4.3.0",
"conventional-changelog-cli": "4.1.0",
"core-js": "3.27.2",
"core-js-compat": "3.6.5",
"cz-conventional-changelog": "3.3.0",
"danger": "11.3.1",
"eslint": "8.13.0",
"eslint-config-axway": "8.0.0",
"eslint-plugin-mocha": "10.2.0",
"folder-hash": "4.0.4",
"glob": "8.1.0",
"husky": "8.0.3",
"lint-staged": "11.1.2",
"lockfile-lint": "4.10.1",
"mocha": "9.2.2",
"mocha-jenkins-reporter": "0.4.8",
"npm-run-all": "4.1.5",
"nyc": "15.1.0",
"request-promise-native": "1.0.9",
"rollup": "2.76.0",
"ssri": "10.0.4",
"stream-splitter": "0.3.2",
"strip-ansi": "6.0.1",
"titanium": "6.1.1",
"titanium-docgen": "4.10.4"
},
"repository": {
"type": "git",
"url": "git://github.com/tidev/titanium_mobile.git"
},
"vendorDependencies": {
"node": "16.x || 18.x || 20.x"
},
"engines": {
"node": ">=16.0.0"
},
"nyc": {
"exclude": [
"**/cli/tests/test-*.js",
"build/**/test-*.js"
],
"reporter": [
"cobertura",
"text"
]
},
"license": "Apache-2.0"
}