UNPKG

@basetime/a2w-api-ts

Version:

Client library that communicates with the addtowallet API.

65 lines (64 loc) 1.92 kB
{ "name": "@basetime/a2w-api-ts", "version": "0.1.49", "private": false, "description": "Client library that communicates with the addtowallet API.", "keywords": [ "addtowallet", "passkit", "api", "client", "typescript", "nodejs" ], "homepage": "https://github.com/basetime/aw2-api-ts", "bugs": { "url": "https://github.com/basetime/aw2-api-ts/issues" }, "engines": { "node": ">=18" }, "license": "MIT", "author": "Avagate", "main": "dist/index.js", "exports": { ".": { "import": "./dist/index.js", "require": "./dist/index.cjs.js" } }, "scripts": { "build": "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", "clean": "rm -rf dist", "prepare": "pnpm clean && pnpm build", "test": "mocha", "test:watch": "mocha --watch", "watch": "nodemon --exec 'pnpm run build' --watch src --ext ts", "example": "NODE_ENV=development NODE_TLS_REJECT_UNAUTHORIZED=0 node example.mjs" }, "dependencies": { "passkit-generator": "^3.1.11" }, "devDependencies": { "@trivago/prettier-plugin-sort-imports": "^4.3.0", "@types/chai": "^4.3.16", "@types/mocha": "^10.0.7", "@typescript-eslint/eslint-plugin": "^7.14.1", "@typescript-eslint/parser": "^7.14.1", "chai": "^5.1.1", "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" } }