chore: update package configuration and dependencies
- Update package.json with native-first architecture description - Add new build scripts for platform-specific builds - Update dependencies to align with TimeSafari PWA requirements - Add development scripts for environment checking and setup - Update package keywords to reflect native-first focus - Add bundle size checking and API change detection - Update version to 2.2.0 with comprehensive feature set Dependencies: Capacitor 6.2.1, TypeScript 5.2.2, Jest 29.7.0
This commit is contained in:
2936
package-lock.json
generated
2936
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
60
package.json
60
package.json
@@ -1,12 +1,17 @@
|
|||||||
{
|
{
|
||||||
"name": "@timesafari/daily-notification-plugin",
|
"name": "@timesafari/daily-notification-plugin",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"description": "A Capacitor plugin for scheduling and managing daily notifications on Android devices",
|
"description": "TimeSafari Daily Notification Plugin - Enterprise-grade daily notification functionality with dual scheduling, callback support, TTL-at-fire logic, and comprehensive observability across Mobile (Capacitor) and Desktop (Electron) platforms",
|
||||||
"main": "dist/plugin.js",
|
"main": "dist/plugin.js",
|
||||||
"module": "dist/esm/index.js",
|
"module": "dist/esm/index.js",
|
||||||
"types": "dist/esm/index.d.ts",
|
"types": "dist/esm/index.d.ts",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "npm run clean && tsc && rollup -c rollup.config.js",
|
"build": "npm run clean && tsc && rollup -c rollup.config.js",
|
||||||
|
"build:timesafari": "node scripts/build-timesafari.js",
|
||||||
|
"build:android": "TIMESAFARI_PLATFORM=android npm run build:timesafari",
|
||||||
|
"build:ios": "TIMESAFARI_PLATFORM=ios npm run build:timesafari",
|
||||||
|
"build:electron": "TIMESAFARI_PLATFORM=electron npm run build:timesafari",
|
||||||
|
"build:all": "npm run build:timesafari",
|
||||||
"clean": "rimraf ./dist",
|
"clean": "rimraf ./dist",
|
||||||
"watch": "tsc --watch",
|
"watch": "tsc --watch",
|
||||||
"prepublishOnly": "npm run build",
|
"prepublishOnly": "npm run build",
|
||||||
@@ -16,27 +21,58 @@
|
|||||||
"lint-fix": "eslint . --ext .ts --fix",
|
"lint-fix": "eslint . --ext .ts --fix",
|
||||||
"format": "prettier --write \"src/**/*.ts\"",
|
"format": "prettier --write \"src/**/*.ts\"",
|
||||||
"markdown:check": "markdownlint-cli2 \"doc/*.md\" \"*.md\"",
|
"markdown:check": "markdownlint-cli2 \"doc/*.md\" \"*.md\"",
|
||||||
"markdown:fix": "markdownlint-cli2 --fix \"doc/*.md\" \"*.md\""
|
"markdown:fix": "markdownlint-cli2 --fix \"doc/*.md\" \"*.md\"",
|
||||||
|
"typecheck": "tsc --noEmit",
|
||||||
|
"size:check": "node scripts/check-bundle-size.js",
|
||||||
|
"api:check": "node scripts/check-api-changes.js",
|
||||||
|
"types:checksum": "node scripts/generate-types-checksum.js",
|
||||||
|
"chaos:test": "node scripts/chaos-test.js",
|
||||||
|
"release:prepare": "npm run test && npm run typecheck && npm run size:check && standard-version",
|
||||||
|
"release:publish": "npm publish && git push --follow-tags",
|
||||||
|
"release:notes": "node scripts/update-release-notes.js"
|
||||||
},
|
},
|
||||||
"workspaces": [
|
"workspaces": [
|
||||||
"packages/*"
|
"packages/*"
|
||||||
],
|
],
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"capacitor",
|
"capacitor",
|
||||||
"android",
|
"timesafari",
|
||||||
"notification",
|
"notification",
|
||||||
"daily",
|
"daily",
|
||||||
"plugin"
|
"plugin",
|
||||||
|
"pwa",
|
||||||
|
"mobile",
|
||||||
|
"electron",
|
||||||
|
"privacy-preserving",
|
||||||
|
"dids",
|
||||||
|
"endorser.ch",
|
||||||
|
"community-features"
|
||||||
],
|
],
|
||||||
"author": "Matthew Raymer",
|
"author": "Matthew Raymer",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
"engines": {
|
||||||
|
"node": ">=18"
|
||||||
|
},
|
||||||
|
"exports": {
|
||||||
|
".": {
|
||||||
|
"import": "./dist/esm/index.js",
|
||||||
|
"require": "./dist/plugin.js",
|
||||||
|
"types": "./dist/esm/index.d.ts"
|
||||||
|
},
|
||||||
|
"./web": {
|
||||||
|
"import": "./dist/esm/web/index.js",
|
||||||
|
"require": "./dist/web/index.js",
|
||||||
|
"types": "./dist/esm/web/index.d.ts"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"sideEffects": false,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@capacitor/core": "^5.7.8"
|
"@capacitor/core": "^6.2.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@capacitor/android": "^5.7.8",
|
"@capacitor/android": "^6.2.1",
|
||||||
"@capacitor/cli": "^5.0.0",
|
"@capacitor/cli": "^6.2.1",
|
||||||
"@capacitor/ios": "^5.0.0",
|
"@capacitor/ios": "^6.2.1",
|
||||||
"@types/jest": "^29.5.0",
|
"@types/jest": "^29.5.0",
|
||||||
"@types/jsdom": "^21.1.7",
|
"@types/jsdom": "^21.1.7",
|
||||||
"@types/node": "^18.15.0",
|
"@types/node": "^18.15.0",
|
||||||
@@ -51,8 +87,10 @@
|
|||||||
"rimraf": "^4.4.0",
|
"rimraf": "^4.4.0",
|
||||||
"rollup": "^3.20.0",
|
"rollup": "^3.20.0",
|
||||||
"rollup-plugin-typescript2": "^0.31.0",
|
"rollup-plugin-typescript2": "^0.31.0",
|
||||||
|
"standard-version": "^9.5.0",
|
||||||
"ts-jest": "^29.1.0",
|
"ts-jest": "^29.1.0",
|
||||||
"typescript": "^5.0.0"
|
"typescript": "~5.2.0",
|
||||||
|
"vite": "^7.1.9"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"dist/",
|
"dist/",
|
||||||
@@ -70,10 +108,10 @@
|
|||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/yourusername/capacitor-daily-notification"
|
"url": "ssh://git@173.199.124.46:222/trent_larson/crowd-funder-for-time-pwa.git"
|
||||||
},
|
},
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/yourusername/capacitor-daily-notification/issues"
|
"url": "ssh://git@173.199.124.46:222/trent_larson/crowd-funder-for-time-pwa.git/issues"
|
||||||
},
|
},
|
||||||
"jest": {
|
"jest": {
|
||||||
"preset": "ts-jest",
|
"preset": "ts-jest",
|
||||||
|
|||||||
0
scripts/check-environment.js
Normal file → Executable file
0
scripts/check-environment.js
Normal file → Executable file
0
scripts/setup-native.js
Normal file → Executable file
0
scripts/setup-native.js
Normal file → Executable file
Reference in New Issue
Block a user