-
-
Notifications
You must be signed in to change notification settings - Fork 70
/
package.json
80 lines (80 loc) · 2.58 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
{
"name": "@titanium-sdk/facebook",
"version": "13.0.1",
"description": "Use the native Facebook SDK in Axway Titanium",
"scripts": {
"commit": "git-cz",
"format": "npm run format:android && npm run format:ios && npm run format:js",
"format:android": "npm run lint:android -- --fix",
"format:ios": "npm run lint:ios -- --fix",
"format:js": "npm run lint:js -- --fix",
"lint": "npm run lint:android && npm run lint:ios && npm run lint:js && npm run lint:docs",
"lint:android": "clang-format-lint android/src/**/*.java",
"lint:docs": "tdoc-validate -w Titanium.Blob,Titanium.UI.View,Titanium.Proxy,ErrorResponse,Titanium.Module apidoc",
"lint:ios": "clang-format-lint ios/Classes/**/*.m ios/Classes/**/*.h",
"lint:js": "eslint .",
"test": "npm run lint && npm run test:unit",
"test:unit": "karma start test/unit/karma.unit.config.js",
"test:android": "npm run test:unit -- --browsers android",
"test:ios": "npm run test:unit -- --browsers ios",
"postinstall": "husky install",
"prepublishOnly": "pinst --disable",
"postpublish": "pinst --enable"
},
"repository": {
"type": "git",
"url": "git+https://github.com/appcelerator-modules/ti.facebook.git"
},
"bugs": {
"url": "https://github.com/appcelerator-modules/ti.facebook/issues"
},
"homepage": "https://github.com/appcelerator-modules/ti.facebook#readme",
"titanium": {
"type": "native-module",
"platform": [
"ios",
"android"
]
},
"devDependencies": {
"@commitlint/cli": "^12.0.0",
"@commitlint/config-conventional": "^12.0.0",
"@seadub/clang-format-lint": "0.0.2",
"@seadub/danger-plugin-dependencies": "^1.0.0",
"@seadub/danger-plugin-junit": "^0.2.0",
"@seadub/danger-plugin-titanium-module": "1.0.0",
"clang-format": "^1.2.3",
"commitizen": "^4.0.3",
"danger": "^10.4.0",
"eslint": "^7.9.0",
"eslint-config-axway": "^6.0.0",
"eslint-plugin-jasmine": "^4.1.1",
"fs-extra": "^10.0.0",
"husky": "^6.0.0",
"jasmine-core": "^3.3.0",
"karma": "^5.2.2",
"karma-jasmine": "^4.0.1",
"karma-junit-reporter": "^2.0.1",
"karma-mocha-reporter": "^2.2.5",
"karma-titanium-launcher": "^0.8.1",
"lint-staged": "^11.0.0",
"pinst": "^2.1.4",
"titanium-docgen": "^4.7.0"
},
"lint-staged": {
"ios/Classes/**/*.{m,h}": [
"npx clang-format -style=file -i",
"git add"
],
"*.java": [
"npx clang-format -style=file -i",
"git add"
],
"*.js": "eslint"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
}
}