forked from capacitor-community/camera-preview
-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
84 lines (84 loc) · 2.48 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
{
"name": "@capacitor-community/camera-preview",
"version": "5.0.0",
"description": "Camera preview",
"main": "dist/plugin.cjs.js",
"module": "dist/esm/index.js",
"types": "dist/esm/index.d.ts",
"unpkg": "dist/plugin.js",
"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",
"build": "npm run clean && tsc && rollup -c rollup.config.js",
"clean": "rimraf './dist'",
"watch": "tsc --watch",
"lint": "concurrently -g \"npm:eslint\" \"npm:prettier -- --check\" \"npm run swiftlint -- lint ios\"",
"fmt": "concurrently -g \"npm:eslint -- --fix\" \"npm:prettier -- --write\" \"npm:swiftlint -- lint --fix --format ios\"",
"eslint": "eslint . --ext ts",
"prettier": "prettier \"**/*.{css,html,ts,js,java}\"",
"swiftlint": "node-swiftlint",
"prepublishOnly": "npm run build",
"prepare": "husky install && npm run build"
},
"author": "Ariel Hernandez Musa",
"license": "MIT",
"devDependencies": {
"@capacitor/android": "^5.0.0",
"@capacitor/core": "^5.0.0",
"@capacitor/ios": "^5.0.0",
"@ionic/eslint-config": "^0.3.0",
"@ionic/prettier-config": "^2.0.0",
"@ionic/swiftlint-config": "^1.1.2",
"concurrently": "^7.0.0",
"eslint": "^7.32.0",
"husky": "^7.0.4",
"prettier": "^2.5.1",
"prettier-plugin-java": "^1.6.1",
"pretty-quick": "^3.1.3",
"rimraf": "^3.0.2",
"rollup": "^2.79.1",
"swiftlint": "^1.0.1",
"typescript": "^4.3.2"
},
"peerDependencies": {
"@capacitor/core": "^5.0.0"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged"
}
},
"files": [
"dist/",
"ios/",
"android/",
"CapacitorCommunityCameraPreview.podspec"
],
"keywords": [
"capacitor",
"plugin",
"native"
],
"capacitor": {
"ios": {
"src": "ios"
},
"android": {
"src": "android"
}
},
"prettier": "@ionic/prettier-config",
"swiftlint": "@ionic/swiftlint-config",
"eslintConfig": {
"extends": "@ionic/eslint-config/recommended"
},
"repository": {
"type": "git",
"url": "https://github.com/capacitor-community/camera-preview.git"
},
"bugs": {
"url": "https://github.com/capacitor-community/camera-preview/issues"
}
}