UNPKG

@siren-js/core

Version:

Cross-platform library of classes for generating and parsing Siren entities

63 lines (62 loc) 1.74 kB
{ "name": "@siren-js/core", "version": "0.4.0", "description": "Cross-platform library of classes for generating and parsing Siren entities", "files": [ "/dist" ], "main": "dist/index.js", "scripts": { "prebuild": "npm run clean", "build": "npm run compile", "postbuild": "npm run lint && npm run format:check", "clean": "rimraf dist", "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", "prepublishOnly": "npm run build", "test": "jest", "test:cov": "npm test -- --coverage", "test:watch": "npm test -- --watch" }, "repository": { "type": "git", "url": "git+https://github.com/siren-js/core.git" }, "keywords": [ "API", "HATEOAS", "hypermedia", "REST", "RESTful", "Siren" ], "author": "Siren.js", "license": "MIT", "bugs": { "url": "https://github.com/siren-js/core/issues" }, "homepage": "https://github.com/siren-js/core#readme", "devDependencies": { "@types/jest": "^26.0.20", "@types/node": "^18.7.6", "@typescript-eslint/eslint-plugin": "^4.22.0", "@typescript-eslint/parser": "^4.22.0", "eslint": "^7.21.0", "eslint-config-prettier": "^8.1.0", "jest": "^26.6.3", "prettier": "2.2.1", "rimraf": "^3.0.2", "ts-jest": "^26.5.5", "ts-node": "^10.9.1", "typescript": "^4.7.4" }, "dependencies": { "class-transformer": "^0.5.1", "class-validator": "^0.13.2", "reflect-metadata": "^0.1.13" } }