UNPKG

iap-apple

Version:

Integration with Apples InAppPurchases in Typescript, available for NodeJS environments.

187 lines (186 loc) 4.99 kB
{ "name": "iap-apple", "version": "3.0.4", "description": "Integration with Apples InAppPurchases in Typescript, available for NodeJS environments.", "main": "./dist/index.js", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", "exports": { ".": { "import": { "types": "./dist/index.d.mts", "default": "./dist/index.mjs" }, "require": { "types": "./dist/index.d.ts", "default": "./dist/index.js" } } }, "files": [ "dist" ], "scripts": { "build": "tsup", "format": "prettier --write \"src/**/*.ts\"", "test": "nyc --reporter=json-summary mocha --bail --slow 1 --timeout 60000 --require ts-node/register/transpile-only src/**/*.spec.ts", "prepare": "is-ci || husky", "ts:check": "pnpm ts:check-types && pnpm ts:circular-check", "ts:check-types": "tsc --noEmit", "ts:circular-check": "dpdm --no-output --no-tree --no-warning --exit-code circular:1 -T ./src/index.ts", "lint:check": "eslint 'src/**/*.{ts,tsx}'", "lint:fix": "eslint --fix 'src/**/*.{ts,tsx}'", "prettier:check": "prettier --check 'src/**/*.{ts,tsx}'", "prettier:fix": "prettier --write 'src/**/*.{ts,tsx}'", "release": "semantic-release", "code-quality:check": "concurrently 'pnpm ts:check' 'pnpm prettier:check' 'pnpm lint:check --quiet'", "generate:coverage-badges": "istanbul-badges-readme --silent" }, "repository": { "type": "git", "url": "git+https://github.com/ssbarbee/iap-apple.git" }, "keywords": [ "apple", "app-store", "in-app-purchase", "iap", "receipt", "receipt-validation", "verify-receipt", "storekit", "subscription", "ios", "macos", "typescript", "nodejs", "zero-dependencies" ], "author": "ssbarbee", "license": "ISC", "bugs": { "url": "https://github.com/ssbarbee/iap-apple/issues" }, "homepage": "https://github.com/ssbarbee/iap-apple#readme", "devDependencies": { "@commitlint/cli": "19.6.1", "@commitlint/config-conventional": "19.6.0", "@semantic-release/changelog": "6.0.3", "@semantic-release/git": "10.0.1", "@semantic-release/npm": "12.0.1", "@types/chai": "4.3.20", "@types/mocha": "10.0.10", "@types/nock": "11.1.0", "@types/node": "22.10.5", "@typescript-eslint/eslint-plugin": "7.18.0", "@typescript-eslint/parser": "7.18.0", "chai": "4.5.0", "concurrently": "9.1.2", "dpdm": "3.14.0", "eslint": "8.57.1", "eslint-config-prettier": "9.1.0", "eslint-plugin-import": "2.31.0", "eslint-plugin-sort-export-all": "1.4.1", "eslint-plugin-unused-imports": "3.2.0", "husky": "9.1.7", "is-ci": "3.0.1", "istanbul-badges-readme": "1.9.0", "mocha": "10.8.2", "nock": "14.0.10", "nyc": "17.1.0", "prettier": "3.4.2", "semantic-release": "24.2.1", "semantic-release-cli": "5.4.6", "ts-node": "10.9.2", "tsup": "8.5.1", "typescript": "5.7.2" }, "dependencies": {}, "engines": { "node": ">=22.0.0", "pnpm": ">= 9" }, "release": { "branches": [ "main" ], "plugins": [ [ "@semantic-release/commit-analyzer", { "preset": "angular", "releaseRules": [ { "type": "build", "release": "patch" }, { "type": "chore", "release": "patch" }, { "type": "ci", "release": "patch" }, { "type": "docs", "release": "patch" }, { "type": "feat", "release": "minor" }, { "type": "breaking", "release": "major" }, { "type": "fix", "release": "patch" }, { "type": "perf", "release": "patch" }, { "type": "refactor", "release": "patch" }, { "type": "revert", "release": "patch" }, { "type": "style", "release": "patch" }, { "type": "test", "release": "patch" } ], "parserOpts": { "noteKeywords": [ "BREAKING CHANGE", "BREAKING CHANGES" ] } } ], "@semantic-release/npm", "@semantic-release/release-notes-generator", "@semantic-release/changelog", [ "@semantic-release/git", { "assets": [ "package.json", "CHANGELOG.md" ], "message": "chore: Release ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}" } ], "@semantic-release/github" ] } }