UNPKG

importx

Version:

Unified tool for importing TypeScript modules at runtime

90 lines (89 loc) 2.12 kB
{ "name": "importx", "type": "module", "version": "0.5.2", "packageManager": "pnpm@10.4.1", "description": "Unified tool for importing TypeScript modules at runtime", "author": "Anthony Fu <anthonyfu117@hotmail.com>", "license": "MIT", "funding": "https://github.com/sponsors/antfu", "homepage": "https://github.com/antfu/importx#readme", "repository": { "type": "git", "url": "git+https://github.com/antfu/importx.git" }, "bugs": "https://github.com/antfu/importx/issues", "keywords": [ "ts" ], "sideEffects": false, "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.mjs" } }, "main": "./dist/index.mjs", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", "typesVersions": { "*": { "*": [ "./dist/*", "./dist/index.d.ts" ] } }, "files": [ "dist", "runtime-fixtures" ], "scripts": { "build": "unbuild", "dev": "unbuild --stub", "lint": "eslint .", "prepublishOnly": "nr build", "release": "bumpp && npm publish", "start": "esno src/index.ts", "test": "vitest", "typecheck": "tsc --noEmit", "prepare": "simple-git-hooks" }, "dependencies": { "bundle-require": "^5.1.0", "debug": "^4.4.0", "esbuild": "^0.20.2 || ^0.21.0 || ^0.22.0 || ^0.23.0 || ^0.24.0 || ^0.25.0", "jiti": "^2.4.2", "pathe": "^2.0.3", "tsx": "^4.19.2" }, "devDependencies": { "@antfu/eslint-config": "^4.2.1", "@antfu/ni": "^23.3.1", "@antfu/utils": "^9.1.0", "@types/debug": "^4.1.12", "@types/node": "^22.13.4", "ansis": "^3.15.0", "bumpp": "^10.0.3", "eslint": "^9.20.1", "esno": "^4.8.0", "execa": "^9.5.2", "find-up": "^7.0.0", "lint-staged": "^15.4.3", "simple-git-hooks": "^2.11.1", "ts-node": "^10.9.2", "typescript": "^5.7.3", "unbuild": "^3.3.1", "vite": "^6.1.0", "vitest": "^3.0.5" }, "resolutions": { "jiti": "^2.4.2" }, "simple-git-hooks": { "pre-commit": "npx lint-staged" }, "lint-staged": { "*": "eslint --fix" } }