forked from katzer/cordova-plugin-printer
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpackage.json
More file actions
75 lines (75 loc) · 2.33 KB
/
package.json
File metadata and controls
75 lines (75 loc) · 2.33 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
{
"name": "@dimer47/capacitor-plugin-printer",
"version": "2.0.2",
"description": "Capacitor plugin for printing HTML, PDF, images and plain text on iOS and Android",
"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/",
"Dimer47CapacitorPluginPrinter.podspec",
"Package.swift"
],
"keywords": [
"capacitor",
"plugin",
"native",
"printer",
"print",
"pdf",
"html",
"ios",
"android"
],
"scripts": {
"verify": "npm run verify:ios && npm run verify:android && npm run 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": "npm run build",
"lint": "npm run eslint && npm run prettier -- --check",
"fmt": "npm run eslint -- --fix && npm run prettier -- --write",
"eslint": "eslint . --ext ts",
"prettier": "prettier \"**/*.{css,html,ts,js,java}\"",
"build": "tsc && rollup -c rollup.config.mjs",
"test": "npm run test:ios && npm run test:android",
"test:ios": "xcodebuild test -scheme CapacitorPluginPrinter -destination 'platform=iOS Simulator,name=iPhone 17 Pro' -quiet",
"test:android": "cd \"${ANDROID_HOST_PROJECT:-../../../Solutions/Agri+/Codes/app-signing/code/android}\" && ./gradlew :capacitor-plugin-printer:testDebugUnitTest",
"prepublishOnly": "npm run build"
},
"author": "Dimer47",
"license": "Apache-2.0",
"capacitor": {
"ios": {
"src": "ios"
},
"android": {
"src": "android"
}
},
"publishConfig": {
"registry": "https://registry.npmjs.org",
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/dimer47/capacitor-plugin-printer.git"
},
"bugs": {
"url": "https://github.com/dimer47/capacitor-plugin-printer/issues"
},
"devDependencies": {
"@capacitor/android": "^8.0.0",
"@capacitor/core": "^8.0.0",
"@capacitor/ios": "^8.0.0",
"typescript": "~5.6.0",
"@rollup/plugin-node-resolve": "^16.0.0",
"rollup": "^4.0.0"
},
"peerDependencies": {
"@capacitor/core": ">=8.0.0"
}
}