bluesnap
Version:
Node SDK for the BlueSnap Payment Gateway
86 lines (85 loc) • 2.27 kB
JSON
{
"name": "bluesnap",
"version": "0.3.4",
"description": "Node SDK for the BlueSnap Payment Gateway",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"prepublish": "npm run compile",
"compile": "npm run generate-barrels && tsc --declaration",
"generate-barrels": "barrelsby -d src/lib --singleQuotes --delete",
"lint": "eslint \"src/**\"",
"lint:fix": "eslint --fix \"src/**\"",
"test": "NODE_ENV=test npx jest --testPathPattern='test' --detectOpenHandles --forceExit",
"test:ci": "NODE_ENV=test-ci npm run test -- --ci --coverage --silent"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Footage-Firm/bluesnap-node.git"
},
"keywords": [
"bluesnap",
"payment gateway",
"payments",
"typescript"
],
"author": "Sam Rubin <https://github.com/smrubin>",
"license": "MIT",
"bugs": {
"url": "https://github.com/Footage-Firm/bluesnap-node/issues"
},
"homepage": "https://github.com/Footage-Firm/bluesnap-node#readme",
"dependencies": {
"node-fetch": "^2.6.0"
},
"devDependencies": {
"@types/config": "0.0.34",
"@types/faker": "^4.1.5",
"@types/jest": "^24.0.13",
"@types/node": "^10.14.8",
"@types/node-fetch": "^2.3.4",
"@typescript-eslint/eslint-plugin": "^1.9.0",
"@typescript-eslint/parser": "^1.9.0",
"barrelsby": "^2.1.1",
"config": "^3.1.0",
"eslint": "^5.15.1",
"eslint-config-airbnb-base": "^13.1.0",
"eslint-import-resolver-typescript": "^1.1.1",
"eslint-plugin-import": "^2.17.3",
"faker": "^4.1.0",
"jest": "^24.8.0",
"jest-junit": "^6.4.0",
"ts-jest": "^24.0.2",
"ts-node": "^3.3.0",
"typescript": "^3.5.1"
},
"jest": {
"globals": {
"ts-jest": {
"tsConfig": "tsconfig.json"
}
},
"moduleFileExtensions": [
"ts",
"js"
],
"transform": {
"^.+\\.(ts|tsx)$": "ts-jest"
},
"testMatch": [
"<rootDir>/test/**/__tests__/**/*.(js|ts)?(x)",
"<rootDir>/test/**/?(*.)+(spec|test).(js|ts)?(x)"
],
"testEnvironment": "node",
"reporters": [
"default",
"jest-junit"
]
},
"jest-junit": {
"output": "test-reports/junit.xml"
}
}