UNPKG

expresscheckout-nodejs

Version:

Juspay's official expresscheckout-nodejs sdk

79 lines (78 loc) 2.48 kB
{ "name": "expresscheckout-nodejs", "version": "1.0.0", "description": "Juspay's official expresscheckout-nodejs sdk", "homepage": "https://docs.juspay.in/api-reference/docs/express-checkout/introduction", "scripts": { "prepublishOnly": "npm test", "build": "npm run build:cjs && npm run build:esm && npm run build:types", "build:cjs": "node tools/cleanup cjs && tsc -p config/tsconfig.cjs.json && echo '{\"type\":\"commonjs\"}' > ./dist/cjs/package.json", "build:esm": "node tools/cleanup esm && tsc -p config/tsconfig.esm.json && echo '{\"type\":\"module\"}' > ./dist/esm/package.json", "build:types": "node tools/cleanup types && tsc -p config/tsconfig.types.json", "clean": "node tools/cleanup", "package": "npm run build && npm pack .", "test": "env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\"}' & mocha --require ts-node/register ./tests/**/*.spec.ts --timeout 50000", "examples": "npm test -- -g Compatibility" }, "repository": { "url": "https://bitbucket.juspay.net/projects/CL/repos/expresscheckout-nodejs-sdk/browse" }, "engines": { "node": ">=12.*" }, "publishConfig": { "access": "public" }, "files": [ "dist" ], "keywords": [ "payments", "juspay", "expresscheckout", "nodejs", "sdk", "expresscheckout-nodejs-sdk" ], "main": "./dist/cjs/index.cjs.js", "module": "./dist/esm/index.js", "types": "./dist/types/index.d.ts", "exports": { ".": { "import": { "types": "./dist/types/index.d.ts", "default": "./dist/esm/index.js" }, "require": { "types": "./dist/types/index.d.ts", "default": "./dist/cjs/index.cjs.js" } } }, "author": "Juspay Technologies", "license": "MIT", "dependencies": { "winston": "^3.11.0" }, "devDependencies": { "@commitlint/cli": "^13.1.0", "@commitlint/config-conventional": "^13.1.0", "@types/chai": "^4.3.5", "@types/mocha": "^10.0.1", "@types/node": "^20.6.3", "@types/node-jose": "^1.1.10", "@typescript-eslint/eslint-plugin": "^4.31.1", "@typescript-eslint/parser": "^4.31.1", "chai": "^4.3.7", "dotenv": "^16.3.1", "eslint": "^7.32.0", "eslint-config-prettier": "^8.3.0", "eslint-plugin-import": "^2.27.5", "eslint-plugin-prettier": "^4.0.0", "mocha": "^10.2.0", "prettier": "^2.4.0", "ts-loader": "^9.2.5", "ts-node": "^10.9.1", "typescript": "^4.9.5" } }