forked from capacitor-community/admob
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
102 lines (102 loc) · 2.9 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/admob",
"version": "3.1.0",
"description": "A native plugin for AdMob",
"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/",
"CapacitorCommunityAdmob.podspec"
],
"author": "Masahiko Sakakibara <sakakibara@rdlabo.jp>",
"license": "MIT",
"repository": {
"type": "git",
"url": "git@github.com:capacitor-community/admob.git"
},
"bugs": {
"url": "git@github.com:capacitor-community/admob.git/issues"
},
"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 -sdk iphoneos && cd ..",
"verify:android": "cd android && ./gradlew clean build test && cd ..",
"verify:web": "npm run build",
"lint": "npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint",
"fmt": "npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- autocorrect --format",
"eslint": "eslint src/. --ext ts",
"prettier": "prettier \"{src/*.ts,**/*.java}\"",
"swiftlint": "node-swiftlint",
"docgen": "docgen --api AdMobPlugin --output-readme README.md --output-json dist/docs.json",
"build": "npm run clean && npm run docgen && tsc && rollup -c rollup.config.js",
"clean": "rimraf ./dist",
"watch": "tsc --watch",
"prepublishOnly": "npm run build",
"release": "np"
},
"devDependencies": {
"@capacitor/android": "^3.0.0",
"@capacitor/cli": "^3.0.0",
"@capacitor/docgen": "git+https://github.com/rdlabo/capacitor-docgen.git#feat/support_extends_build",
"@capacitor/ios": "^3.0.0",
"@ionic/eslint-config": "^0.3.0",
"@ionic/prettier-config": "^1.0.1",
"@ionic/swiftlint-config": "^1.1.2",
"eslint": "^7.11.0",
"husky": "^4.3.8",
"lint-staged": "^11.0.0",
"np": "^7.4.0",
"pre-commit": "^1.2.2",
"prettier": "~2.2.0",
"prettier-plugin-java": "~1.0.0",
"rimraf": "^3.0.2",
"rollup": "^2.32.0",
"swiftlint": "^1.0.1",
"typescript": "~4.0.3"
},
"dependencies": {
"@capacitor/core": "^3.0.0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{ts}": [
"npm run eslint -- --fix",
"npm run prettier -- --write",
"git add"
],
"*.{java}": [
"npm run prettier -- --write",
"git add"
],
"*.swift": [
"npm run swiftlint -- autocorrect --format",
"git add"
]
},
"prettier": "@ionic/prettier-config",
"eslintConfig": {
"extends": "@ionic/eslint-config/recommended"
},
"keywords": [
"capacitor",
"plugin",
"native"
],
"capacitor": {
"ios": {
"src": "ios"
},
"android": {
"src": "android"
}
}
}