UNPKG

@septh/ts-run

Version:

The minimalist TypeScript script runner for Node

78 lines (77 loc) 1.88 kB
{ "name": "@septh/ts-run", "version": "2.0.2", "description": "The minimalist TypeScript script runner for Node", "keywords": [ "node", "runtime", "typescript", "script", "runner", "commonjs", "module", "cjs", "esm" ], "author": "Stephan 'Septh' Schreiber <septh@sfr.fr>", "license": "MIT", "homepage": "https://github.com/Septh/ts-run#readme", "repository": { "type": "git", "url": "git+https://github.com/Septh/ts-run.git" }, "funding": [ { "type": "patreon", "url": "https://patreon.com/Septh" }, { "type": "paypal", "url": "https://paypal.me/septh07" } ], "engines": { "node": ">=21 || ^20.6.0 || ^18.19.0" }, "type": "module", "bin": { "ts-run": "./bin/index.js" }, "exports": { "types": "./lib/register.d.ts", "default": "./lib/register.js" }, "imports": { "#package.json": "./package.json" }, "scripts": { "prebuild": "rimraf bin lib", "build": "rollup --config", "watch": "npm run build -- --watch", "pretest": "npm run build", "test": "npm run testOnly", "testOnly": "node test/check-node-21.js && node --import=./lib/register.js --test test/**/*.test.{ts,mts,cts}", "prepublishOnly": "npm run build" }, "devDependencies": { "@rollup/plugin-commonjs": "^28.0.0", "@rollup/plugin-node-resolve": "^16.0.1", "@rollup/plugin-terser": "^0.4.4", "@types/node": "^24.3.0", "rimraf": "^6.0.1", "rollup": "^4.24.0", "rollup-plugin-fast-typescript": "^2.1.1", "rollup-plugin-node-externals": "^8.0.0", "sucrase": "^3.35.0", "tslib": "^2.6.3", "typescript": "^5.5.2" }, "files": [ "./bin", "./lib", "!*.map" ], "publishConfig": { "access": "public" } }