-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
77 lines (77 loc) · 2.38 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
{
"name": "wallpaper",
"version": "0.2.1",
"description": "Allows you to use the functionality to edit the device's wallpaper, both the lock screen and the home screen.",
"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/Sources",
"ios/Tests",
"Package.swift",
"Wallpaper.podspec",
"index.d.ts"
],
"author": "Kevin Illanas Cabeza <[email protected]>",
"license": "MIT",
"keywords": [
"capacitor",
"plugin",
"native"
],
"scripts": {
"verify": "pnpm run verify:ios && pnpm run verify:android && pnpm run verify:web",
"verify:ios": "xcodebuild -scheme Wallpaper -destination generic/platform=iOS",
"verify:android": "cd android && gradlew clean build test && cd ..",
"verify:web": "pnpm run build",
"lint": "pnpm run eslint && pnpm run prettier -- --check && pnpm run swiftlint -- lint",
"fmt": "pnpm run eslint -- --fix && pnpm run prettier -- --write && pnpm run swiftlint -- --fix --format",
"eslint": "eslint . --ext ts",
"prettier": "prettier \"**/*.{css,html,ts,js,java}\" --plugin=prettier-plugin-java",
"swiftlint": "node-swiftlint",
"docgen": "docgen --api WallpapersPlugin --output-readme README.md --output-json dist/docs.json",
"build": "pnpm run clean && tsc && rollup -c rollup.config.mjs",
"clean": "rimraf ./dist",
"watch": "tsc --watch",
"prepublishOnly": "pnpm run build"
},
"devDependencies": {
"@capacitor/android": "^6.2.0",
"@capacitor/core": "^6.2.0",
"@capacitor/docgen": "^0.2.2",
"@capacitor/ios": "^6.2.0",
"@ionic/eslint-config": "^0.4.0",
"@ionic/prettier-config": "^4.0.0",
"@ionic/swiftlint-config": "^2.0.0",
"eslint": "^8.57.1",
"husky": "^9.1.7",
"np": "^10.1.0",
"prettier": "^3.4.2",
"prettier-plugin-java": "^2.6.5",
"pretty-quick": "^4.0.0",
"rimraf": "^6.0.1",
"rollup": "^4.28.1",
"swiftlint": "^2.0.0",
"typescript": "~4.1.6"
},
"peerDependencies": {
"@capacitor/core": "^6.0.0"
},
"prettier": "@ionic/prettier-config",
"swiftlint": "@ionic/swiftlint-config",
"eslintConfig": {
"extends": "@ionic/eslint-config/recommended"
},
"capacitor": {
"ios": {
"src": "ios"
},
"android": {
"src": "android"
}
}
}