81 lines
2.4 KiB
JSON
81 lines
2.4 KiB
JSON
{
|
|
"name": "capacitor-sockets",
|
|
"version": "0.0.1",
|
|
"description": "Sockets",
|
|
"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",
|
|
"CapacitorSockets.podspec"
|
|
],
|
|
"author": "eskimo",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://git.eskimo.dev/eskimo/capacitor-sockets.git.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://git.eskimo.dev/eskimo/capacitor-sockets.git/issues"
|
|
},
|
|
"keywords": [
|
|
"capacitor",
|
|
"plugin",
|
|
"native"
|
|
],
|
|
"scripts": {
|
|
"verify": "npm run verify:ios && npm run verify:android && npm run verify:web",
|
|
"verify:ios": "xcodebuild -scheme CapacitorSockets -destination generic/platform=iOS",
|
|
"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 -- --fix --format",
|
|
"eslint": "eslint . --ext ts",
|
|
"prettier": "prettier \"**/*.{css,html,ts,js,java}\" --plugin=prettier-plugin-java",
|
|
"swiftlint": "node-swiftlint",
|
|
"docgen": "docgen --api SocketsPlugin --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"
|
|
},
|
|
"devDependencies": {
|
|
"@capacitor/android": "^6.0.0",
|
|
"@capacitor/core": "^6.0.0",
|
|
"@capacitor/docgen": "^0.2.2",
|
|
"@capacitor/ios": "^6.0.0",
|
|
"@ionic/eslint-config": "^0.4.0",
|
|
"@ionic/prettier-config": "^4.0.0",
|
|
"@ionic/swiftlint-config": "^1.1.2",
|
|
"eslint": "^8.57.0",
|
|
"prettier": "^3.3.3",
|
|
"prettier-plugin-java": "^2.6.4",
|
|
"rimraf": "^3.0.2",
|
|
"rollup": "^2.32.0",
|
|
"swiftlint": "^1.0.1",
|
|
"typescript": "~4.1.5"
|
|
},
|
|
"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"
|
|
}
|
|
}
|
|
}
|