UNPKG

connect-sdk-nodejs

Version:

SDK to communicate with the Worldline Global Collect platform using the Worldline Connect Server API

104 lines (103 loc) 2.78 kB
{ "name": "connect-sdk-nodejs", "version": "6.6.0", "description": "SDK to communicate with the Worldline Global Collect platform using the Worldline Connect Server API", "homepage": "https://github.com/Worldline-Global-Collect/connect-sdk-nodejs#readme", "bugs": { "url": "https://github.com/Worldline-Global-Collect/connect-sdk-nodejs/issues" }, "license": "SEE LICENSE IN LICENSE.txt", "author": "Worldline Global Collect", "files": [ "lib", "schemas" ], "main": "lib/index.js", "types": "lib/index.d.ts", "repository": { "type": "git", "url": "git+https://github.com/Worldline-Global-Collect/connect-sdk-nodejs.git" }, "scripts": { "compile": "tsc", "lint": "eslint ./src --ext .ts", "format": "prettier --write \"**/*.+(json|ts|tsx)\"", "format:check": "prettier --check \"**/*.+(json|ts|tsx)\"", "typedoc": "typedoc", "build": "npm run format:check && npm run lint && npm run compile", "test": "jest", "test:unit": "jest --group=unit", "test:integration": "jest --group=integration" }, "dependencies": { "dateformat": "^4.6.3", "form-data": "^4.0.5", "jsonschema": "^1.4.1", "lodash": "^4.17.21", "secure-compare": "^3.0.1", "uuid": "^9.0.1" }, "devDependencies": { "@types/body-parser": "^1.19.5", "@types/dateformat": "^3.0.1", "@types/express": "^4.17.21", "@types/jest": "^28.1.8", "@types/lodash": "^4.14.202", "@types/node": "^12.20.55", "@types/supertest": "^6.0.2", "@types/uuid": "^9.0.8", "@typescript-eslint/eslint-plugin": "^2.34.0", "@typescript-eslint/parser": "^2.34.0", "body-parser": "^1.20.3", "eslint": "^7.32.0", "express": "^4.21.2", "husky": "^4.3.8", "jest": "^28.1.3", "jest-junit": "^16.0.0", "jest-runner-groups": "^2.2.0", "nock": "^13.5.3", "prettier": "^1.19.1", "supertest": "^6.3.4", "ts-jest": "^28.0.8", "typedoc": "^0.22.18", "typescript": "^4.7.4" }, "engines": { "node": ">=12" }, "eslintConfig": { "parser": "@typescript-eslint/parser", "plugins": [ "@typescript-eslint" ], "extends": [ "eslint:recommended", "plugin:@typescript-eslint/eslint-recommended", "plugin:@typescript-eslint/recommended" ] }, "prettier": { "printWidth": 180 }, "husky": { "hooks": { "pre-commit": "npm run format:check && npm run lint" } }, "jest": { "preset": "ts-jest", "testEnvironment": "node", "collectCoverage": true, "runner": "groups", "reporters": [ "default", "jest-junit" ], "testPathIgnorePatterns": [ "__tests__/integration/init.ts" ] }, "jest-junit": { "includeShortConsoleOutput": "true" } }