UNPKG

ts-stronger-types

Version:

Runtime checking of types and integrity for Typescript projects

111 lines (110 loc) 3.64 kB
{ "name": "ts-stronger-types", "version": "0.1.8", "description": "Runtime checking of types and integrity for Typescript projects", "repository": "https://github.com/valentinkononov/ts-runtime-checker", "issues": "https://github.com/valentinkononov/ts-runtime-checker/issues", "author": "Valentin Kononov, http://kononov.space", "keywords": [ "typescript", "runtime", "decorator", "type", "check", "strong" ], "funding": { "type": "opencollective", "url": "https://opencollective.com/ts-stronger-types" }, "license": "MIT", "files": [ "dist/src", "postinstall.js", "index.js" ], "sideEffects": false, "scripts": { "prebuild": "rimraf dist", "debug": "npx tsc --watch", "build": "npx tsc", "format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"", "start": "node dist/test/run", "restart": "rimraf dist && npx tsc && node dist/test/run", "lint": "eslint -c ./.eslintrc.js --ext .ts,.js --max-warnings 0 .", "lint:fix": "eslint -c ./.eslintrc.js --ext .ts,.js --fix .", "test": "jest", "test:ci": "npm test", "test:watch": "jest --watch", "test:cov": "jest --coverage", "test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand", "test:e2e": "jest --config ./test/jest-e2e.json", "docs": "typedoc --out docs src", "compodoc": "npx compodoc -p tsconfig.json -s", "coverage": "npm test && opener coverage/lcov-report/index.html", "upload-coverage": "codecov", "prepublish": "npm run lint && npm run build && npm run test", "postinstall": "node postinstall.js && opencollective postinstall", "triggerBuild": "git commit --allow-empty -n -m trigger && git push" }, "husky": { "hooks": { "pre-commit": "lint-staged", "pre-push": "npm run lint" } }, "lint-staged": { "*.{js,ts,md,less,json}": [ "prettier --write" ], "*.{ts, js}": [ "eslint --fix --quiet" ] }, "dependencies": { "dotenv": "^8.2.0", "opencollective": "^1.0.3", "reflect-metadata": "^0.1.13" }, "devDependencies": { "@compodoc/compodoc": "^1.1.11", "@types/jest": "^26.0.15", "@types/node": "^14.14.7", "@types/supertest": "^2.0.10", "@typescript-eslint/eslint-plugin": "^4.3.0", "@typescript-eslint/parser": "^4.3.0", "codecov": "^3.8.1", "eslint": "^7.10.0", "eslint-config-prettier": "^6.12.0", "eslint-plugin-prettier": "^3.1.4", "jest": "^26.6.3", "prettier": "^2.1.2", "rimraf": "^3.0.2", "supertest": "^6.0.1", "ts-jest": "^26.4.4", "ts-loader": "^8.0.11", "ts-node": "^9.0.0", "tsconfig-paths": "^3.9.0", "typedoc": "^0.19.2", "typescript": "^4.0.5" }, "jest": { "moduleFileExtensions": [ "js", "json", "ts" ], "rootDir": ".", "testRegex": ".spec.ts$", "transform": { "^.+\\.(t|j)s$": "ts-jest" }, "coverageDirectory": "./coverage", "testEnvironment": "node" }, "collective": { "type": "opencollective", "url": "https://opencollective.com/ts-stronger-types", "logo": "https://opencollective.com/ts-stronger-types/logo.txt" } }