@paydock/client-sdk
Version:
Paydock client sdk
256 lines (255 loc) • 7.74 kB
JSON
{
"author": {
"name": "Paydock, Ltd.",
"url": "https://paydock.com/"
},
"bugs": {
"email": "support@paydock.com"
},
"description": "Paydock client sdk",
"homepage": "https://paydock.com",
"files": [
"bundles",
"docs",
"examples",
"package.json",
"README.md",
"slate.md"
],
"browser": "./bundles/widget.umd.js",
"main": "./bundles/index.cjs",
"module": "./bundles/index.mjs",
"types": "./bundles/index.mjs.d.ts",
"unpkg": "./bundles/widget.umd.js",
"exports": {
".": {
"import": {
"types": "./bundles/index.mjs.d.ts",
"default": "./bundles/index.mjs"
},
"module": {
"types": "./bundles/index.mjs.d.ts",
"default": "./bundles/index.mjs"
},
"node": {
"types": "./bundles/index.cjs.d.ts",
"default": "./bundles/index.cjs"
},
"require": {
"types": "./bundles/index.cjs.d.ts",
"default": "./bundles/index.cjs"
},
"types": "./bundles/index.mjs.d.ts",
"default": "./bundles/index.mjs.js"
},
"./api": {
"import": {
"types": "./bundles/index.mjs.d.ts",
"default": "./bundles/index.mjs"
},
"module": {
"types": "./bundles/index.mjs.d.ts",
"default": "./bundles/index.mjs"
}
},
"./canvas3ds": {
"import": {
"types": "./bundles/index.mjs.d.ts",
"default": "./bundles/index.mjs"
},
"module": {
"types": "./bundles/index.mjs.d.ts",
"default": "./bundles/index.mjs"
}
},
"./checkout-button": {
"import": {
"types": "./bundles/index.mjs.d.ts",
"default": "./bundles/index.mjs"
},
"module": {
"types": "./bundles/index.mjs.d.ts",
"default": "./bundles/index.mjs"
}
},
"./payment-source-widget": {
"import": {
"types": "./bundles/index.mjs.d.ts",
"default": "./bundles/index.mjs"
},
"module": {
"types": "./bundles/index.mjs.d.ts",
"default": "./bundles/index.mjs"
}
},
"./vault-display-widget": {
"import": {
"types": "./bundles/index.mjs.d.ts",
"default": "./bundles/index.mjs"
},
"module": {
"types": "./bundles/index.mjs.d.ts",
"default": "./bundles/index.mjs"
}
},
"./widget": {
"import": {
"types": "./bundles/index.mjs.d.ts",
"default": "./bundles/index.mjs"
},
"module": {
"types": "./bundles/index.mjs.d.ts",
"default": "./bundles/index.mjs"
}
}
},
"name": "@paydock/client-sdk",
"version": "1.142.0",
"scripts": {
"build:doc": "node docs/html/marked.js",
"build:js": "rollup --config rollup.config.ts --configPlugin @rollup/plugin-typescript",
"bundle:css": "grunt replace:css",
"bundle:html": "grunt replace:html",
"bundle:js": "run-s clean:bundles build:js",
"bundle:js:local": "npm run bundle:js && npm run replace:hosts",
"clean:bundles": "rimraf ./bundles/",
"clean:lib": "rimraf ./lib/",
"compute:checksums:bundles": "find ./bundles -type f -exec sha256sum {} \\;",
"compute:sha:bundles:short": "npm run compute:sha:bundles | tail -1 | cut -c 1-7",
"compute:sha:bundles": "npm run compute:checksums:bundles | sha256sum",
"doc:cba": "run-s clean:lib tsc:cba markdown:cba",
"doc:paydock": "run-s clean:lib tsc:paydock markdown:paydock",
"doc:uba": "run-s clean:lib tsc:paydock markdown:paydock",
"markdown:cba": "grunt cba_docs",
"markdown:paydock": "grunt docs",
"publish:local": "./publish-to-local-registry.sh",
"replace:hosts": "grunt replace_hosts",
"test:mocha:browsers": "karma start --browsers Chrome,Firefox,ChromeHeadlessNoSandbox --single-run",
"test:mocha:chromium": "karma start --browsers ChromeHeadlessNoSandbox --single-run",
"test:vitest:coverage": "vitest run --coverage",
"test:vitest:watch": "vitest",
"test:vitest": "vitest run",
"test": "run-s test:mocha:chromium test:vitest",
"tsc:cba": "tsc --project tsconfig.cba.json",
"tsc:paydock": "tsc --project tsconfig.paydock.json",
"tidy:ci": "biome ci --no-errors-on-unmatched .",
"tidy:precommit": "biome check --no-errors-on-unmatched --staged --write .",
"tidy": "biome check --write --no-errors-on-unmatched --changed .",
"typecheck": "tsc --project tsconfig.json --noEmit"
},
"dependencies": {
"@auspayplus/open-payments-checkout": "1.8.0",
"@bundled-es-modules/statuses": "1.0.1",
"@newrelic/browser-agent": "1.260.1",
"@stripe/stripe-js": "1.54.2"
},
"devDependencies": {
"@babel/cli": "7.24.5",
"@babel/core": "7.24.5",
"@babel/plugin-external-helpers": "7.24.1",
"@babel/plugin-transform-modules-umd": "7.24.1",
"@babel/plugin-transform-object-assign": "7.24.1",
"@babel/plugin-transform-runtime": "7.24.3",
"@babel/polyfill": "7.12.1",
"@babel/preset-env": "7.24.5",
"@babel/runtime": "7.28.4",
"@babel/runtime-corejs2": "7.28.4",
"@biomejs/biome": "2.2.0",
"@commitlint/cli": "19.5.0",
"@commitlint/config-conventional": "19.5.0",
"@golevelup/ts-vitest": "0.5.2",
"@rollup/plugin-babel": "6.0.4",
"@rollup/plugin-commonjs": "25.0.7",
"@rollup/plugin-json": "6.1.0",
"@rollup/plugin-node-resolve": "15.2.3",
"@rollup/plugin-replace": "5.0.5",
"@rollup/plugin-terser": "0.4.4",
"@rollup/plugin-typescript": "11.1.6",
"@rollup/pluginutils": "5.1.0",
"@types/applepayjs": "14.0.9",
"@types/es6-promise": "3.3.0",
"@types/googlepay": "0.6.4",
"@types/jasmine": "5.1.4",
"@types/jasmine-ajax": "3.3.5",
"@types/jquery": "3.5.30",
"babelify": "10.0.0",
"base64-js": "1.5.1",
"browser-resolve": "1.11.3",
"browserify": "17.0.0",
"browserify-istanbul": "2.0.0",
"buffer": "5.7.1",
"cross-fetch": "4.1.0",
"dotenv": "16.4.5",
"fs": "0.0.2",
"grunt": "1.6.1",
"grunt-cli": "1.4.3",
"grunt-jsdoc-to-markdown": "6.0.0",
"grunt-replace": "2.0.2",
"grunt-template-render": "0.0.1",
"happy-dom": "20.8.9",
"highlight.js": "11.9.0",
"ieee754": "1.2.1",
"include-all": "4.0.3",
"jasmine-ajax": "3.4.0",
"jasmine-core": "2.99.1",
"jquery": "3.7.1",
"jsdoc-to-markdown": "8.0.1",
"karma": "6.4.3",
"karma-browserify": "8.1.0",
"karma-chrome-launcher": "2.2.0",
"karma-cli": "2.0.0",
"karma-firefox-launcher": "1.3.0",
"karma-jasmine": "1.1.2",
"karma-jasmine-ajax": "0.1.13",
"karma-mocha-reporter": "2.2.5",
"lefthook": "^1.10.10",
"marked": "4.3.0",
"msw": "2.7.3",
"npm-run-all2": "6.2.0",
"process": "0.11.10",
"rimraf": "5.0.7",
"rollup": "4.59.0",
"rollup-plugin-dts": "6.4.1",
"rxjs": "7.8.1",
"tsify": "3.0.4",
"tslib": "2.6.2",
"typescript": "5.4.5",
"vitest": "3.0.5",
"zod": "3.23.8"
},
"overrides": {
"sha.js@>=2.0.0 <=2.4.11": "2.4.12",
"pbkdf2": ">=3.1.3",
"form-data": ">=4.0.4",
"qs": ">=6.14.1",
"minimatch@^3": "3.1.5",
"minimatch@^5": "5.1.9",
"minimatch@^9": "9.0.9",
"@isaacs/brace-expansion": ">=5.0.1",
"bn.js": ">=5.2.3",
"ajv": "8.18.0",
"serialize-javascript": ">=7.0.3",
"underscore": ">=1.13.8",
"dompurify": ">=3.3.2",
"immutable": ">=5.1.5",
"flatted": ">=3.4.2",
"node-forge": ">=1.4.0",
"picomatch": ">=2.3.2",
"socket.io-parser": ">=4.2.6"
},
"engines": {
"node": ">=16.0.0"
},
"license": "UNLICENSED",
"keywords": [
"client-sdk",
"es2015",
"umd",
"cjs",
"esm",
"paydock",
"sdk",
"typescript",
"widget"
]
}