forked from becvert/cordova-plugin-zeroconf
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpackage.json
96 lines (96 loc) · 2.78 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
{
"name": "capacitor-zeroconf",
"version": "3.0.0",
"description": "Capacitor ZeroConf plugin",
"main": "dist/plugin.cjs.js",
"module": "dist/esm/index.js",
"types": "dist/esm/index.d.ts",
"unpkg": "dist/plugin.js",
"files": [
"android/src/main/",
"android/build.gradle",
"dist/",
"ios/Plugin/",
"CapacitorZeroconf.podspec",
"electron"
],
"author": "Marco Marche",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/trik/capacitor-zeroconf.git"
},
"bugs": {
"url": "https://github.com/trik/capacitor-zeroconf/issues"
},
"keywords": [
"capacitor",
"plugin",
"native",
"network",
"zeroconf",
"bonjour",
"mdns",
"service",
"discovery"
],
"scripts": {
"verify": "yarn verify:ios && yarn verify:android && yarn verify:web",
"verify:ios": "cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin && cd ..",
"verify:android": "cd android && ./gradlew clean build test && cd ..",
"verify:web": "yarn build",
"lint": "yarn eslint && yarn prettier --check && yarn swiftlint lint",
"fmt": "yarn eslint --fix && yarn prettier --write && yarn swiftlint --config .swiftlint.yml --fix --format",
"eslint": "eslint . --ext ts",
"prettier": "prettier \"**/*.{css,html,ts,js,java}\"",
"swiftlint": "node-swiftlint",
"docgen": "docgen --api ZeroConfPlugin --output-readme README.md --output-json dist/docs.json",
"build": "yarn clean && yarn docgen && tsc && rollup -c rollup.config.mjs && yarn build-electron",
"build-electron": "tsc --project electron/tsconfig.json && rollup -c electron/rollup.config.mjs && rimraf ./electron/build",
"clean": "rimraf ./dist",
"watch": "tsc --watch",
"prepublishOnly": "yarn build"
},
"devDependencies": {
"@capacitor/android": "^6.0.0",
"@capacitor/cli": "^6.0.0",
"@capacitor/core": "^6.0.0",
"@capacitor/docgen": "^0.2.0",
"@capacitor/ios": "^6.0.0",
"@ionic/prettier-config": "^3.1.0",
"@ionic/swiftlint-config": "^1.1.2",
"@types/bonjour": "^3.5.10",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"bonjour": "^3.5.0",
"eslint": "^8.44.0",
"prettier": "^3.0.0",
"prettier-plugin-java": "^2.2.0",
"rimraf": "^5.0.1",
"rollup": "^3.26.2",
"swiftlint": "^1.0.1",
"typescript": "~4.9.5"
},
"peerDependencies": {
"@capacitor/core": "^6.0.0",
"bonjour": "^3.5.0"
},
"swiftlint": "@ionic/swiftlint-config",
"eslintConfig": {
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
]
},
"capacitor": {
"ios": {
"src": "ios"
},
"android": {
"src": "android"
},
"electron": {
"src": "electron"
}
}
}