UNPKG

ts-evaluator

Version:

An interpreter for Typescript that can evaluate an arbitrary Node within a Typescript AST

137 lines 4.59 kB
{ "name": "ts-evaluator", "version": "2.0.0", "description": "An interpreter for Typescript that can evaluate an arbitrary Node within a Typescript AST", "keywords": [ "typescript", "ts", "interpreter", "evaluate", "evaluator", "ast" ], "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", "devDependencies": { "@eslint/js": "^9.12.0", "@types/jsdom": "^21.1.7", "@types/node": "^22.7.5", "@types/object-path": "^0.11.4", "@types/semver": "^7.5.8", "@wessberg/prettier-config": "^1.0.0", "@wessberg/ts-config": "^5.0.18", "eslint": "^9.12.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-jsdoc": "^50.3.1", "eslint-plugin-prettier": "^5.2.1", "helpertypes": "^0.0.19", "husky": "^9.1.6", "jsdom": "^25.0.1", "lint-staged": "^15.2.10", "memfs": "^4.13.0", "np": "10.0.7", "npm-check-updates": "^17.1.3", "pnpm": "^9.12.1", "prettier": "^3.3.3", "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.3", "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-2": "npm:typescript@4.4.2", "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", "typescript-eslint": "^8.8.1" }, "dependencies": { "ansi-colors": "^4.1.3", "crosspath": "^2.0.0", "object-path": "^0.11.8" }, "peerDependencies": { "jsdom": ">=14.x || >=15.x || >=16.x || >=17.x || >=18.x || >=19.x || >=20.x || >=21.x || >=22.x", "typescript": ">=3.2.x || >= 4.x || >= 5.x" }, "peerDependenciesMeta": { "jsdom": { "optional": true } }, "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/ts-evaluator?sponsor=1" }, "repository": { "type": "git", "url": "https://github.com/wessberg/ts-evaluator.git" }, "bugs": { "url": "https://github.com/wessberg/ts-evaluator/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,test}/**/*.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": "pnpm run prebuild && tsup \"src/index.ts\" --sourcemap --dts --shims --format esm,cjs", "preversion": "pnpm run lint && pnpm run build", "version": "pnpm run generate:all && git add .", "release": "np --no-cleanup --no-yarn --no-tests", "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" } }