@basetime/a2w-api-ts
Version:
Client library that communicates with the addtowallet API.
74 lines • 2.5 kB
JSON
{
"name": "@basetime/a2w-api-ts",
"version": "2.0.1",
"private": false,
"description": "Client library that communicates with the addtowallet API.",
"keywords": [
"addtowallet",
"passkit",
"api",
"client",
"typescript",
"nodejs"
],
"homepage": "https://github.com/basetime/a2w-api-ts",
"bugs": {
"url": "https://github.com/basetime/a2w-api-ts/issues"
},
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/basetime/a2w-api-ts.git"
},
"engines": {
"node": ">=18"
},
"license": "MIT",
"author": "Avagate",
"main": "dist/index.js",
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.cjs.js"
}
},
"dependencies": {
"zod": "^4.4.3"
},
"devDependencies": {
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
"@types/chai": "^4.3.16",
"@types/mocha": "^10.0.7",
"@types/node": "^25.8.0",
"@typescript-eslint/eslint-plugin": "^7.14.1",
"@typescript-eslint/parser": "^7.14.1",
"chai": "^4.5.0",
"esbuild": "^0.21.5",
"eslint": "^9.6.0",
"eslint-config-google": "^0.14.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.29.1",
"fetch-mock": "^10.0.7",
"mocha": "^10.5.2",
"nodemon": "^3.1.4",
"prettier": "^3.3.2",
"rollup": "^4.19.0",
"ts-node": "^10.9.2",
"typescript": "^5.5.2"
},
"scripts": {
"build": "pnpm sync-version && pnpm build:es && pnpm build:cjs",
"build:es": "pnpm esbuild --bundle --platform=node --target=node14 --outdir=dist --sourcemap=external --format=esm src/index.ts && tsc",
"build:cjs": "pnpm esbuild --bundle --platform=node --target=node14 --outfile=dist/index.cjs.js --format=cjs src/index.ts",
"release": "gh workflow run Release --ref main -f release_type=patch",
"release:patch": "gh workflow run Release --ref main -f release_type=patch",
"release:minor": "gh workflow run Release --ref main -f release_type=minor",
"release:major": "gh workflow run Release --ref main -f release_type=major",
"sync-version": "node scripts/sync-version.mjs",
"clean": "rm -rf dist",
"test": "pnpm test:build && mocha",
"test:build": "rm -rf dist-tests && pnpm exec tsc -p tsconfig.test.json",
"test:watch": "pnpm test:build && mocha --watch",
"watch": "nodemon --exec 'pnpm run build' --watch src --ext ts",
"example": "NODE_ENV=development NODE_TLS_REJECT_UNAUTHORIZED=0 node example.mjs"
}
}