-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
102 lines (102 loc) · 2.93 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
{
"name": "capacitor-community-nordic-dfu",
"version": "1.6.0",
"description": "Nordic DFU OTA integration for Capacitor",
"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/",
"CapacitorCommunityNordicDfu.podspec"
],
"author": "Robson Oliveira dos Santos",
"license": "MIT",
"engines": {
"node": ">=20.0.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/robsonos/nordic-dfu.git"
},
"bugs": {
"url": "https://github.com/robsonos/nordic-dfu/issues"
},
"keywords": [
"capacitor",
"plugin",
"native",
"Nordic",
"bluetooth",
"nRF",
"OTA",
"BLE"
],
"publishConfig": {
"access": "public"
},
"scripts": {
"verify": "yarn verify:ios && yarn verify:android && yarn verify:web",
"verify:ios": "cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -destination generic/platform=iOS && 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 --fix --format",
"eslint": "eslint . --ext ts",
"prettier": "prettier \"**/*.{css,html,ts,js,java}\" --plugin ./node_modules/prettier-plugin-java/dist/index.js",
"swiftlint": "swiftlint",
"docgen": "docgen --api NordicDfuPlugin --output-readme README.md --output-json dist/docs.json",
"build": "yarn clean && yarn docgen && tsc && rollup -c rollup.config.mjs",
"clean": "rimraf ./dist",
"watch": "tsc --watch",
"test": "echo \"No test specified\"",
"prepare": "husky install",
"prepublishOnly": "yarn build"
},
"devDependencies": {
"@capacitor/android": "^6.0.0",
"@capacitor/core": "^6.0.0",
"@capacitor/docgen": "^0.2.0",
"@capacitor/ios": "^6.0.0",
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2",
"@ionic/eslint-config": "^0.4.0",
"@ionic/prettier-config": "^4.0.0",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@semantic-release/npm": "^12.0.1",
"eslint": "^7.26.0",
"husky": "^9.0.11",
"np": "^10.0.5",
"prettier": "^3.2.5",
"prettier-plugin-java": "^2.6.0",
"pretty-quick": "^4.0.0",
"rimraf": "^5.0.7",
"rollup": "^4.18.0",
"semantic-release": "^23.1.1",
"typescript": "~4.9.4"
},
"peerDependencies": {
"@capacitor/core": "^6.0.0"
},
"prettier": "@ionic/prettier-config",
"eslintConfig": {
"extends": "@ionic/eslint-config/recommended"
},
"capacitor": {
"ios": {
"src": "ios"
},
"android": {
"src": "android"
}
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged"
}
}
}