UNPKG

ts-simple-type

Version:

Relationship type checker functions for Typescript types.

75 lines (74 loc) 1.64 kB
{ "name": "ts-simple-type", "version": "1.0.7", "description": "Relationship type checker functions for Typescript types.", "author": "runem", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/runem/ts-simple-type.git" }, "keywords": [ "typescript", "ast", "typechecker", "type" ], "scripts": { "playground": "ts-node run-playground.ts", "prepare": "npm run clean & npm run build", "clean": "rimraf lib", "test": "ava --color", "test:watch": "ava --color --watch", "build": "rollup -c", "watch": "rollup -c --watch", "lint": "eslint src --ext ts", "prettier:check": "prettier --check \"src/**/*.{ts,tsx}\"", "prettier:write": "prettier --write \"src/**/*.{ts,tsx}\"" }, "main": "lib/index.cjs.js", "typings": "lib/index.cjs.d.ts", "files": [ "lib" ], "dependencies": {}, "devDependencies": { "@types/node": "^14.0.13", "@typescript-eslint/eslint-plugin": "^3.2.0", "@typescript-eslint/parser": "^3.2.0", "@wessberg/rollup-plugin-ts": "^1.2.25", "ava": "^3.8.2", "eslint": "^7.2.0", "eslint-config-prettier": "^6.11.0", "husky": "^4.2.5", "lint-staged": "^10.2.10", "prettier": "^2.0.5", "rimraf": "^3.0.2", "rollup": "^2.16.0", "ts-node": "^8.10.2", "typescript": "^3.9.5" }, "husky": { "hooks": { "pre-commit": "lint-staged" } }, "lint-staged": { "*.{ts,js}": "eslint --fix", "*.{ts,js,md,json}": "prettier --write" }, "ava": { "cache": true, "timeout": "120s", "extensions": [ "ts" ], "require": [ "ts-node/register/transpile-only" ], "files": [ "test/**/*.ts", "!test/helpers/**/*" ] } }