UNPKG

compatfactory

Version:

A library that unifies the TypeScript Compiler API factory functions across all versions of TypeScript and makes them conform with the Node Factory API

128 lines 4.46 kB
{ "name": "compatfactory", "version": "4.0.4", "description": "A library that unifies the TypeScript Compiler API factory functions across all versions of TypeScript and makes them conform with the Node Factory API", "keywords": [ "typescript", "NodeFactory", "Compiler API", "compat", "normalize" ], "files": [ "dist/**/*.*" ], "contributors": [ { "name": "Frederik Wessberg", "email": "frederikwessberg@hotmail.com", "url": "https://github.com/wessberg", "imageUrl": "https://avatars2.githubusercontent.com/u/20454213?s=460&v=4", "role": "Lead Developer", "twitter": "FredWessberg", "github": "wessberg" } ], "license": "MIT", "dependencies": { "helpertypes": "^0.0.19" }, "devDependencies": { "@prettier/sync": "0.5.2", "@types/node": "22.7.0", "@types/semver": "^7.5.8", "@wessberg/prettier-config": "1.0.0", "@wessberg/ts-config": "^5.0.16", "eslint": "^9.11.1", "eslint-config-prettier": "^9.1.0", "eslint-plugin-jsdoc": "^50.2.4", "eslint-plugin-prettier": "^5.2.1", "typescript-eslint": "^8.7.0", "crosspath": "2.0.0", "husky": "^9.1.6", "np": "10.0.7", "npm-check-updates": "^17.1.3", "pnpm": "^9.11.0", "prettier": "^3.3.3", "lint-staged": "^15.2.10", "rimraf": "^6.0.1", "sandhog": "^2.0.2", "semver": "^7.6.3", "standard-changelog": "^6.0.0", "tsup": "^8.3.0", "tsx": "^4.19.1", "typescript": "5.6.2", "typescript-3-0-1": "npm:typescript@3.0.1", "typescript-3-1-1": "npm:typescript@3.1.1", "typescript-3-2-1": "npm:typescript@3.2.1", "typescript-3-3-1": "npm:typescript@3.3.1", "typescript-3-4-1": "npm:typescript@3.4.1", "typescript-3-5-1": "npm:typescript@3.5.1", "typescript-3-6-2": "npm:typescript@3.6.2", "typescript-3-7-2": "npm:typescript@3.7.2", "typescript-3-8-3": "npm:typescript@3.8.3", "typescript-3-9-2": "npm:typescript@3.9.2", "typescript-4-0-3": "npm:typescript@4.0.3", "typescript-4-1-2": "npm:typescript@4.1.2", "typescript-4-2-4": "npm:typescript@4.2.4", "typescript-4-3-5": "npm:typescript@4.3.5", "typescript-4-4-3": "npm:typescript@4.4.3", "typescript-4-5-4": "npm:typescript@4.5.4", "typescript-4-6-4": "npm:typescript@4.6.4", "typescript-4-7-2": "npm:typescript@4.7.2", "typescript-4-8-2": "npm:typescript@4.8.2", "typescript-4-9-4": "npm:typescript@4.9.4", "typescript-5-0-4": "npm:typescript@5.0.4", "typescript-5-1-6": "npm:typescript@5.1.6", "typescript-5-2-2": "npm:typescript@5.2.2", "typescript-5-3-3": "npm:typescript@5.3.3", "typescript-5-4-5": "npm:typescript@5.4.5", "typescript-5-5-4": "npm:typescript@5.5.4", "typescript-5-6-2": "npm:typescript@5.6.2" }, "peerDependencies": { "typescript": ">=3.x || >= 4.x || >= 5.x" }, "exports": { "import": "./dist/index.js", "require": "./dist/index.cjs" }, "type": "module", "types": "./dist/index.d.ts", "main": "./dist/index.cjs", "module": "./dist/index.js", "funding": { "type": "github", "url": "https://github.com/wessberg/compatfactory?sponsor=1" }, "repository": { "type": "git", "url": "https://github.com/wessberg/compatfactory.git" }, "bugs": { "url": "https://github.com/wessberg/compatfactory/issues" }, "engines": { "node": ">=18.20.0" }, "lint-staged": { "*": "prettier --ignore-unknown --write" }, "prettier": "@wessberg/prettier-config", "scripts": { "generate:sandhog": "sandhog all --yes", "generate:changelog": "standard-changelog --first-release", "generate:all": "pnpm run generate:sandhog && pnpm run generate:changelog", "clean": "rimraf dist", "lint": "tsc --noEmit && eslint \"src/**/*.ts\" --color", "prettier": "prettier --write \"{src,test,documentation}/**/*.{js,ts,json,html,xml,css,md}\"", "test": "node --import tsx --test \"./test/**/*.test.ts\"", "prebuild": "pnpm run clean", "build": "tsup \"src/index.ts\" --sourcemap --dts --format cjs,esm", "preversion": "pnpm run lint && pnpm run build", "version": "pnpm run preversion && pnpm run generate:all && git add .", "release": "np --no-cleanup --no-yarn", "update:check": "pnpx npm-check-updates -x typescript-* --dep dev,prod", "update:commit": "pnpx npm-check-updates -u -x typescript-* --dep dev,prod && pnpm update && pnpm install" } }