UNPKG

@juspay/blaze-sdk-web

Version:

SDK for integrating Breeze 1CCO into your Web Application

165 lines (164 loc) 4.57 kB
{ "name": "@juspay/blaze-sdk-web", "version": "0.5.14", "type": "module", "description": "SDK for integrating Breeze 1CCO into your Web Application", "keywords": [ "breeze", "breeze-one-click", "checkout", "payments", "sdk", "breeze", "1cco", "1CCO", "one click checkout", "one click", "juspay" ], "repository": { "type": "git", "url": "git+https://github.com/juspay/blaze-sdk-web.git" }, "main": "dist/index.js", "files": [ "dist", "!dist/**/*.test.*", "!dist/**/*.spec.*" ], "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js", "require": "./dist/index.js" }, "./backend": { "types": "./dist/backend/index.d.ts", "import": "./dist/backend.js", "require": "./dist/backend.js" } }, "scripts": { "dev": "npx bun --watch src/index.ts", "dev:cdn": "npx bun --watch src/index.ts & rollup --config rollup.config.js --watch --environment buildType=cdn --environment mode=dev", "clean:output": "rm -rf dist", "build": "npm run clean:output && rollup --config rollup.config.js", "build:cdn": "npm run clean:output && rollup --config rollup.config.js --environment buildType=cdn", "setup": "sh scripts/setup.sh", "format:all": "npx prettier --write .", "format:generated": "prettier --write ./src/generated/*", "lint": "eslint .", "lint:all": "eslint .", "generate:doc": "npx typedoc src/index.ts", "generate:types": "npx type-crafter generate typescript-with-decoders ./docs/specs/types.spec.yaml ./src/generated SingleFile && pnpm run format:generated" }, "author": "", "license": "ISC", "devDependencies": { "@commitlint/cli": "^20.4.1", "@commitlint/config-conventional": "^20.4.1", "@digitalroute/cz-conventional-changelog-for-jira": "^8.0.1", "@rollup/plugin-commonjs": "^29.0.0", "@rollup/plugin-node-resolve": "^16.0.3", "@rollup/plugin-terser": "^0.4.4", "@rollup/plugin-typescript": "^12.3.0", "typescript-eslint": "^8.55.0", "bun": "^1.3.9", "commitizen": "^4.3.1", "eslint": "^9.0.0", "eslint-config-prettier": "^10.1.8", "husky": "^9.1.7", "prettier": "^3.8.1", "publint": "^0.3.17", "rollup": "^4.57.1", "rollup-plugin-server": "^0.7.0", "tslib": "^2.8.1", "typedoc": "^0.28.16", "typescript": "^5.9.3" }, "config": { "commitizen": { "path": "./node_modules/@digitalroute/cz-conventional-changelog-for-jira", "jiraPrefix": "BZ", "jiraLocation": "pre-type", "jiraAppend": ":" } }, "standard-version": { "skip": { "commit": true, "changelog": true }, "types": [ { "type": "feat", "section": "Features", "release": "minor" }, { "type": "fix", "section": "Bug Fixes", "release": "minor" }, { "type": "test", "section": "Tests" }, { "type": "build", "section": "Build System" }, { "type": "docs", "section": "Documentation" }, { "type": "style", "hidden": true }, { "type": "refactor", "section": "Improvements" }, { "type": "perf", "section": "Improvements" }, { "type": "ci", "hidden": true }, { "type": "chore", "hidden": true } ], "issuePrefixes": [ "BZ-" ], "issueUrlFormat": "https://juspay.atlassian.net/browse/{{prefix}}{{id}}", "commitUrlFormat": "https://github.com/juspay/blaze-sdk-web/commits/{{hash}}", "compareUrlFormat": "https://github.com/juspay/blaze-sdk-web/branches/compare/{{currentTag}}%0D{{previousTag}}", "releaseCommitMessageFormat": "chore(release): {{currentTag}} {{prefix}}{{id}}" }, "auto-changelog": { "output": "docs/CHANGELOG.md", "template": "./docs/templates/changelog.hbs", "commitLimit": false, "breakingPattern": "(!:)", "issueUrl": "https://juspay.atlassian.net/browse/{id}", "issuePattern": "[A-Z]{2,}-\\d+", "compareUrl": "https://github.com/juspay/blaze-sdk-web/compare/{to}..{from}", "unreleased": true, "releaseSummary": true, "hideCredit": false, "ignoreCommitPattern": "(\\[skip ci\\])", "replaceText": { "(ABC-\\d+)": "[`$1`](https://juspay.atlassian.net/browse/$1)" } }, "dependencies": { "type-decoder": "^2.1.0", "typesafe-api-call": "^5.1.1" } }