UNPKG

lightrail-client

Version:
71 lines (70 loc) 2.47 kB
{ "name": "lightrail-client", "version": "4.6.0", "description": "A Javascript and Typescript client for Lightrail", "main": "dist/index.js", "types": "dist/index.d.ts", "files": [ "dist/" ], "scripts": { "build": "tsc", "docs": "rimraf ./docs && typedoc src/ --out docs --mode modules --module commonjs --target es6 --excludePrivate --excludeNotExported --exclude '**/*.test.ts' --name 'Lightrail Client for JavaScript and TypeScript' && touch ./docs/.nojekyll && gh-pages -d docs -t", "clean": "rimraf ./dist", "lint": "eslint . --ext .ts,.tsx", "prepublishOnly": "npm run clean && npm run build && npm run lint && npm run test && npm run docs", "test": "mocha --timeout=5000 --recursive --throw-deprecation --require ts-node/register --require dotenv-safe/config \"src/**/*.test.ts\"" }, "repository": { "type": "git", "url": "git+https://github.com/Giftbit/lightrail-client-javascript.git" }, "keywords": [ "lightrail" ], "contributors": [ "Daniel Opden Dries <daniel.opdendries@gmail.com> (https://github.com/dopdendries)", "Jeffery Grajkowski <pushplay@gmail.com> (https://github.com/pushplay)", "Tana Jukes <tana.jukes@gmail.com> (https://github.com/tjukes)", "Tim Jordison (https://github.com/Tim-Jordison)", "Jamie Totten (https://github.com/jamietotten)" ], "license": "MIT", "bugs": { "url": "https://github.com/Giftbit/lightrail-client-javascript/issues" }, "homepage": "https://github.com/Giftbit/lightrail-client-javascript#readme", "devDependencies": { "@types/chai": "^4.2.13", "@types/chai-as-promised": "^7.1.3", "@types/dotenv-safe": "^8.1.1", "@types/jsonwebtoken": "^8.5.0", "@types/mocha": "^8.0.3", "@types/node": "^10.12.24", "@types/parse-link-header": "^1.0.0", "@types/superagent": "^4.1.10", "@typescript-eslint/eslint-plugin": "^4.4.1", "@typescript-eslint/parser": "^4.4.1", "chai": "^4.2.0", "chai-as-promised": "^7.1.1", "chai-exclude": "^2.0.2", "dotenv-safe": "^8.2.0", "eslint": "^7.11.0", "gh-pages": "^3.1.0", "mitm": "^1.7.1", "mocha": "^8.1.3", "rimraf": "^3.0.2", "ts-node": "^9.0.0", "typedoc": "^0.19.2", "typescript": "^4.0.3", "uuid": "^8.3.1" }, "dependencies": { "jsonwebtoken": "^8.5.1", "parse-link-header": "^1.0.1", "superagent": "^5.3.1" }, "optionalDependencies": { "superagent-logger": "^1.1.0" } }