@siren-js/client
Version:
Siren API client library
69 lines (68 loc) • 1.87 kB
JSON
{
"name": "@siren-js/client",
"version": "0.9.0",
"description": "Siren API client library",
"files": [
"/dist"
],
"main": "dist/index.js",
"scripts": {
"build": "npm run build:lib",
"build:docs": "typedoc ./src --disableSources",
"build:lib": "npm run clean && npm run compile && npm run lint && npm run format:check",
"clean": "rimraf dist coverage",
"compile": "tsc --project tsconfig.build.json",
"compile:watch": "npm run compile -- --watch",
"format": "prettier --write .",
"format:check": "prettier --check .",
"lint": "eslint src --ext .ts",
"lint:fix": "npm run lint -- --fix",
"test": "jest",
"test:cov": "npm test -- --coverage",
"test:watch": "npm test -- --watch"
},
"repository": {
"type": "git",
"url": "git+https://github.com/siren-js/client.git"
},
"keywords": [
"API",
"client",
"HATEOAS",
"hypermedia",
"REST",
"RESTful",
"Siren"
],
"author": "Siren.js",
"license": "MIT",
"bugs": {
"url": "https://github.com/siren-js/client/issues"
},
"homepage": "https://github.com/siren-js/client#readme",
"dependencies": {
"class-transformer": "^0.5.1",
"class-transformer-validator": "^0.9.1",
"class-validator": "^0.14.0",
"cross-fetch": "^3.1.4",
"dayjs": "^1.11.7",
"reflect-metadata": "^0.1.13"
},
"devDependencies": {
"@types/jest": "^29.2.5",
"@typescript-eslint/eslint-plugin": "^5.49.0",
"@typescript-eslint/parser": "^5.49.0",
"eslint": "^8.33.0",
"eslint-config-prettier": "^8.6.0",
"jest": "^29.3.1",
"jest-environment-jsdom": "^29.3.1",
"jest-mock-extended": "^3.0.5",
"nock": "^13.0.11",
"prettier": "^2.8.3",
"rimraf": "^3.0.2",
"ts-jest": "^29.0.3",
"ts-node": "^10.9.1",
"typedoc": "^0.23.24",
"typescript": "^4.9.4"
}
}