-
-
Notifications
You must be signed in to change notification settings - Fork 90
/
package.json
86 lines (86 loc) · 2.57 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
{
"name": "@titanium-sdk/ti.barcode",
"version": "6.0.1",
"description": "Lets you process 1D/2D barcodes",
"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/ti/**/*.java",
"lint:docs": "tdoc-validate -w Titanium.Module,Titanium.UI.View,Titanium.Blob,Titanium.Buffer apidoc",
"lint:ios": "clang-format-lint ios/**/*.m ios/**/*.h",
"lint:js": "eslint .",
"test": "npm run lint",
"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"
},
"repository": {
"type": "git",
"url": "git+https://github.com/appcelerator-modules/ti.barcode.git"
},
"bugs": {
"url": "https://github.com/appcelerator-modules/ti.barcode/issues"
},
"homepage": "https://github.com/appcelerator-modules/ti.barcode#readme",
"titanium": {
"type": "native-module",
"platform": [
"ios",
"android"
]
},
"devDependencies": {
"@commitlint/cli": "^17.0.3",
"@commitlint/config-conventional": "^17.0.3",
"@seadub/clang-format-lint": "0.0.2",
"@seadub/danger-plugin-dependencies": "^1.0.0",
"@seadub/danger-plugin-junit": "^0.3.0",
"clang-format": "^1.8.0",
"commitizen": "^4.2.5",
"danger": "^11.1.1",
"eslint": "^8.21.0",
"eslint-config-axway": "^7.0.1",
"eslint-plugin-jasmine": "^4.1.3",
"fs-extra": "^10.1.0",
"husky": "^8.0.1",
"jasmine-core": "^4.3.0",
"karma": "^6.4.0",
"karma-jasmine": "^5.1.0",
"karma-junit-reporter": "^2.0.1",
"karma-mocha-reporter": "^2.2.5",
"karma-titanium-launcher": "^0.9.0-1",
"lint-staged": "^13.0.3",
"titanium-docgen": "^4.10.3"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"ios/**/*.{m,h}": [
"npx clang-format -style=file -i",
"git add"
],
"android/src/ti/**/*.java": [
"npx clang-format -style=file -i",
"git add"
],
"*.js": "eslint"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}