UNPKG

centralized-error-codes

Version:

Centralized error codes for SDK

44 lines (43 loc) 1.3 kB
{ "name": "centralized-error-codes", "version": "1.1.3", "description": "Centralized error codes for SDK", "main": "./dist/typescript/ErrorCode.js", "types": "./dist/typescript/ErrorCode.d.ts", "scripts": { "build-ts": "npx tsc && npm run copy-json", "copy-json": "mkdir -p dist/typescript/errors && cp central_error_codes/errors/error-codes.json dist/typescript/ && cp -R central_error_codes/errors/* dist/typescript/errors/", "test": "node dist/typescript/test.js", "build": "npm run build-ts", "package": "npm pack --pack-destination dist/", "prepublishOnly": "npm run build" }, "exports": { ".": "./dist/typescript/ErrorCode.js", "./package.json": "./package.json" }, "files": [ "dist/typescript/ErrorCode.js", "dist/typescript/ErrorCode.d.ts", "dist/typescript/error-code.json", "dist/typescript/errors/", "package.json", "README.md" ], "repository": { "type": "git", "url": "https://tools.publicis.sapient.com/bitbucket/scm/sgai/centralized-error-codes.git" }, "keywords": [ "error-codes", "typescript", "error-management" ], "author": "Your Name", "license": "MIT", "devDependencies": { "@types/node": "^22.13.10", "ts-node": "^10.9.2", "typescript": "^5.7.3" } }