This repository was archived by the owner on Dec 1, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
79 lines (79 loc) · 2.13 KB
/
package.json
File metadata and controls
79 lines (79 loc) · 2.13 KB
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
{
"name": "@saninn/capacitor-plugin-headset-detection",
"version": "0.1.0",
"description": "Detect if one (or more) headsets are connected to your device",
"main": "dist/plugin.js",
"module": "dist/esm/index.js",
"types": "dist/esm/index.d.ts",
"scripts": {
"lint": "npm run prettier -- --check && npm run swiftlint -- lint",
"prettier": "prettier \"**/*.{css,html,ts,js,java,kotlin}\"",
"swiftlint": "node-swiftlint",
"build": "npm run clean && tsc && rollup -c rollup.config.js",
"clean": "rimraf ./dist",
"watch": "tsc --watch",
"prepublishOnly": "npm run build",
"prepare": "npm run build"
},
"author": "Saninn Salas Diaz (www.saninnsalas.com)",
"license": "MIT",
"devDependencies": {
"@capacitor/android": "^5.0.0",
"@capacitor/core": "^5.0.0",
"@capacitor/ios": "^5.0.0",
"@commitlint/cli": "^12.1.1",
"@commitlint/config-conventional": "^12.1.1",
"@ionic/prettier-config": "^2.1.2",
"@ionic/swiftlint-config": "^1.1.2",
"@rollup/plugin-node-resolve": "^15.0.2",
"husky": "^4.3.8",
"lint-staged": "^10.5.4",
"prettier": "^2.3.0",
"prettier-plugin-java": "^1.0.2",
"prettier-plugin-kotlin": "^2.1.0",
"rimraf": "^5.0.0",
"rollup": "^2.47.0",
"swiftlint": "^1.0.1",
"typescript": "~4.5.4"
},
"peerDependencies": {
"@capacitor/core": "^5.0.0"
},
"files": [
"dist/",
"ios/",
"android/",
"SaninnCapacitorPluginHeadsetDetection.podspec"
],
"keywords": [
"capacitor",
"plugin",
"native"
],
"capacitor": {
"ios": {
"src": "ios"
},
"android": {
"src": "android"
}
},
"prettier": "@ionic/prettier-config",
"swiftlint": "@ionic/swiftlint-config",
"repository": {
"type": "git",
"url": "https://github.com/distante/capacitor-plugin-headset-detection"
},
"bugs": {
"url": "https://github.com/distante/capacitor-plugin-headset-detection/issues"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"*.{md,css,html,ts,js,java,kotlin,json}": "prettier --write"
}
}