UNPKG

tsd

Version:

Check TypeScript type definitions

81 lines (80 loc) 1.87 kB
{ "name": "tsd", "version": "0.31.2", "description": "Check TypeScript type definitions", "license": "MIT", "repository": "tsdjs/tsd", "author": { "name": "Sam Verschueren", "email": "sam.verschueren@gmail.com", "url": "https://github.com/SamVerschueren" }, "exports": "./dist/index.js", "types": "./dist/index.d.ts", "bin": "./dist/cli.js", "engines": { "node": ">=14.16" }, "scripts": { "prepublishOnly": "npm run build", "pretest": "npm run build && cpy \"./**/**\" \"../../../dist/test/fixtures/\" --parents --cwd=source/test/fixtures", "test": "npm run lint && ava", "build": "npm run clean && tsc --project tsconfig.tsd.json && chmod +x dist/cli.js", "clean": "del-cli dist", "lint": "eslint \"source/**/*\"", "lint:fix": "eslint --fix \"source/**/*\"" }, "files": [ "dist/**/*.js", "dist/**/*.d.ts", "!dist/test/**/*" ], "keywords": [ "typescript", "tsd", "check", "typings", "types", "typedefs", "typedefinitions" ], "dependencies": { "@tsd/typescript": "~5.4.3", "eslint-formatter-pretty": "^4.1.0", "globby": "^11.0.1", "jest-diff": "^29.0.3", "meow": "^9.0.0", "path-exists": "^4.0.0", "read-pkg-up": "^7.0.0" }, "devDependencies": { "@ava/typescript": "^1.1.1", "@types/node": "^14.18.21", "@types/react": "^16.9.2", "@typescript-eslint/eslint-plugin": "^4.26.0", "@typescript-eslint/parser": "^4.26.0", "ava": "^3.8.2", "cpy-cli": "^3.0.0", "del-cli": "^3.0.0", "eslint": "^7.27.0", "eslint-config-xo": "^0.36.0", "eslint-config-xo-typescript": "^0.41.1", "execa": "^5.0.0", "react": "^16.9.0", "resolve-from": "^5.0.0", "rxjs": "^6.5.3", "typescript": "~4.9.5" }, "ava": { "timeout": "2m", "files": [ "source/test/**/*", "!source/test/fixtures/**/*" ], "typescript": { "rewritePaths": { "source/": "dist/" } } } }