{ "name": "square", "version": "46.1.0", "private": false, "repository": { "type": "git", "url": "git+https://github.com/square/square-nodejs-sdk.git" }, "license": "MIT", "main": "./index.js", "types": "./index.d.ts", "scripts": { "format": "biome format --write --skip-parse-errors --no-errors-on-unmatched --max-diagnostics=none", "format:check": "biome format --skip-parse-errors --no-errors-on-unmatched --max-diagnostics=none", "lint": "biome lint --skip-parse-errors --no-errors-on-unmatched --max-diagnostics=none", "lint:fix": "biome lint --fix --unsafe --skip-parse-errors --no-errors-on-unmatched --max-diagnostics=none", "check": "biome check --skip-parse-errors --no-errors-on-unmatched --max-diagnostics=none", "check:fix": "biome check --fix --unsafe --skip-parse-errors --no-errors-on-unmatched --max-diagnostics=none", "build": "tsc", "prepack": "cp -rv dist/. .", "test": "jest --selectProjects unit wire", "test:unit": "jest --selectProjects unit", "test:wire": "jest --selectProjects wire", "test:integration": "jest --selectProjects integration" }, "dependencies": { "form-data": "^4.0.6", "formdata-node": "^6.0.3", "node-fetch": "^2.7.0", "readable-stream": "^4.7.0", "form-data-encoder": "^4.1.0", "square-legacy": "npm:square@^39.1.1" }, "devDependencies": { "@types/node-fetch": "^2.6.12", "@types/readable-stream": "^4.0.23", "webpack": "^5.105.4", "ts-loader": "^9.5.4", "jest": "^29.7.0", "@jest/globals": "^29.7.0", "@types/jest": "^29.5.14", "ts-jest": "^29.3.4", "jest-environment-jsdom": "^29.7.0", "msw": "2.11.2", "@types/node": "^20.0.0", "typescript": "~5.9.3", "@biomejs/biome": "2.4.10" }, "browser": { "fs": false, "os": false, "path": false, "stream": false, "crypto": false }, "packageManager": "yarn@1.22.22", "engines": { "node": ">=18.0.0" }, "sideEffects": false, "description": "Use Square APIs to manage and run business including payment, customer, product, inventory, and employee management.", "author": { "name": "Square Developer Platform", "url": "https://developer.squareup.com", "email": "developers@squareup.com" }, "bugs": { "url": "https://developer.squareup.com", "email": "developers@squareup.com" }, "exports": { ".": "./index.js", "./legacy": { "types": "./legacy/exports/index.d.ts", "require": { "types": "./legacy/exports/index.d.ts", "default": "./legacy/exports/index.js" }, "import": { "types": "./legacy/exports/index.d.mts", "default": "./legacy/exports/index.mjs" } } } }