85 lines
2.7 KiB
JSON
85 lines
2.7 KiB
JSON
{
|
|
"name": "@capacitor/preferences",
|
|
"version": "8.0.0",
|
|
"description": "The Preferences API provides a simple key/value persistent store for lightweight data.",
|
|
"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",
|
|
"CapacitorPreferences.podspec"
|
|
],
|
|
"author": "Ionic <hi@ionicframework.com>",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/ionic-team/capacitor-plugins"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/ionic-team/capacitor-plugins/issues"
|
|
},
|
|
"keywords": [
|
|
"capacitor",
|
|
"plugin",
|
|
"native"
|
|
],
|
|
"scripts": {
|
|
"verify": "npm run verify:ios && npm run verify:android && npm run verify:web",
|
|
"verify:ios": "xcodebuild build -scheme CapacitorPreferences -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 PreferencesPlugin --output-readme README.md --output-json dist/docs.json",
|
|
"build": "npm run clean && npm run docgen && tsc && rollup -c rollup.config.mjs",
|
|
"clean": "rimraf ./dist",
|
|
"watch": "tsc --watch",
|
|
"prepublishOnly": "npm run build",
|
|
"publish:cocoapod": "pod trunk push ./CapacitorPreferences.podspec --allow-warnings"
|
|
},
|
|
"devDependencies": {
|
|
"@capacitor/android": "^8.0.0",
|
|
"@capacitor/core": "^8.0.0",
|
|
"@capacitor/docgen": "0.3.0",
|
|
"@capacitor/ios": "^8.0.0",
|
|
"@ionic/eslint-config": "^0.4.0",
|
|
"@ionic/prettier-config": "^4.0.0",
|
|
"@ionic/swiftlint-config": "^2.0.0",
|
|
"eslint": "^8.57.1",
|
|
"prettier": "^3.6.2",
|
|
"prettier-plugin-java": "^2.7.7",
|
|
"rimraf": "^6.1.0",
|
|
"rollup": "^4.53.2",
|
|
"swiftlint": "^2.0.0",
|
|
"typescript": "^5.9.3"
|
|
},
|
|
"peerDependencies": {
|
|
"@capacitor/core": ">=8.0.0"
|
|
},
|
|
"prettier": "@ionic/prettier-config",
|
|
"swiftlint": "@ionic/swiftlint-config",
|
|
"eslintConfig": {
|
|
"extends": "@ionic/eslint-config/recommended"
|
|
},
|
|
"capacitor": {
|
|
"ios": {
|
|
"src": "ios"
|
|
},
|
|
"android": {
|
|
"src": "android"
|
|
}
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"gitHead": "c1fe5621b3b2ba57585b94d2a71491aa8bcac7eb"
|
|
}
|