| 1 | {
|
|---|
| 2 | "name": "jiti",
|
|---|
| 3 | "version": "1.21.7",
|
|---|
| 4 | "description": "Runtime typescript and ESM support for Node.js",
|
|---|
| 5 | "repository": "unjs/jiti",
|
|---|
| 6 | "license": "MIT",
|
|---|
| 7 | "main": "./lib/index.js",
|
|---|
| 8 | "types": "dist/jiti.d.ts",
|
|---|
| 9 | "bin": "bin/jiti.js",
|
|---|
| 10 | "files": [
|
|---|
| 11 | "lib",
|
|---|
| 12 | "dist",
|
|---|
| 13 | "register.js"
|
|---|
| 14 | ],
|
|---|
| 15 | "scripts": {
|
|---|
| 16 | "build": "pnpm clean && NODE_ENV=production pnpm webpack",
|
|---|
| 17 | "clean": "rm -rf dist",
|
|---|
| 18 | "dev": "pnpm clean && pnpm webpack --watch",
|
|---|
| 19 | "jiti": "JITI_DEBUG=1 JITI_CACHE=false JITI_REQUIRE_CACHE=false ./bin/jiti.js",
|
|---|
| 20 | "jiti:legacy": "JITI_DEBUG=1 npx node@12 ./bin/jiti.js",
|
|---|
| 21 | "lint": "eslint . && prettier -c src lib test stubs",
|
|---|
| 22 | "lint:fix": "eslint --fix . && prettier -w src lib test stubs",
|
|---|
| 23 | "release": "pnpm build && pnpm test && changelogen --release --push && npm publish --tag 1x",
|
|---|
| 24 | "test": "pnpm lint && vitest run --coverage && pnpm test:bun",
|
|---|
| 25 | "test:bun": "bun --bun test test/bun"
|
|---|
| 26 | },
|
|---|
| 27 | "devDependencies": {
|
|---|
| 28 | "@babel/core": "^7.26.0",
|
|---|
| 29 | "@babel/plugin-proposal-decorators": "^7.25.9",
|
|---|
| 30 | "@babel/plugin-syntax-class-properties": "^7.12.13",
|
|---|
| 31 | "@babel/plugin-syntax-import-assertions": "^7.26.0",
|
|---|
| 32 | "@babel/plugin-transform-export-namespace-from": "^7.25.9",
|
|---|
| 33 | "@babel/plugin-transform-modules-commonjs": "^7.26.3",
|
|---|
| 34 | "@babel/plugin-transform-nullish-coalescing-operator": "^7.25.9",
|
|---|
| 35 | "@babel/plugin-transform-optional-chaining": "^7.25.9",
|
|---|
| 36 | "@babel/plugin-transform-typescript": "^7.26.3",
|
|---|
| 37 | "@babel/preset-typescript": "^7.26.0",
|
|---|
| 38 | "@babel/template": "^7.25.9",
|
|---|
| 39 | "@babel/types": "^7.26.3",
|
|---|
| 40 | "@types/babel__core": "^7.20.5",
|
|---|
| 41 | "@types/babel__template": "^7.4.4",
|
|---|
| 42 | "@types/node": "^22.10.2",
|
|---|
| 43 | "@types/object-hash": "^3.0.6",
|
|---|
| 44 | "@types/resolve": "^1.20.6",
|
|---|
| 45 | "@types/semver": "^7.5.8",
|
|---|
| 46 | "@vitest/coverage-v8": "^2.1.8",
|
|---|
| 47 | "acorn": "^8.14.0",
|
|---|
| 48 | "babel-plugin-dynamic-import-node": "^2.3.3",
|
|---|
| 49 | "babel-plugin-parameter-decorator": "^1.0.16",
|
|---|
| 50 | "babel-plugin-transform-typescript-metadata": "^0.3.2",
|
|---|
| 51 | "changelogen": "^0.5.7",
|
|---|
| 52 | "config": "^3.3.12",
|
|---|
| 53 | "create-require": "^1.1.1",
|
|---|
| 54 | "destr": "^2.0.3",
|
|---|
| 55 | "escape-string-regexp": "^5.0.0",
|
|---|
| 56 | "eslint": "^9.17.0",
|
|---|
| 57 | "eslint-config-unjs": "^0.4.2",
|
|---|
| 58 | "esm": "^3.2.25",
|
|---|
| 59 | "estree-walker": "^3.0.3",
|
|---|
| 60 | "execa": "^9.5.2",
|
|---|
| 61 | "fast-glob": "^3.3.2",
|
|---|
| 62 | "mlly": "^1.7.3",
|
|---|
| 63 | "object-hash": "^3.0.0",
|
|---|
| 64 | "pathe": "^1.1.2",
|
|---|
| 65 | "pirates": "^4.0.6",
|
|---|
| 66 | "pkg-types": "^1.2.1",
|
|---|
| 67 | "prettier": "^3.4.2",
|
|---|
| 68 | "reflect-metadata": "^0.2.2",
|
|---|
| 69 | "semver": "^7.6.3",
|
|---|
| 70 | "std-env": "^3.8.0",
|
|---|
| 71 | "terser-webpack-plugin": "^5.3.11",
|
|---|
| 72 | "ts-loader": "^9.5.1",
|
|---|
| 73 | "tslib": "^2.8.1",
|
|---|
| 74 | "typescript": "^5.7.2",
|
|---|
| 75 | "vite": "^6.0.3",
|
|---|
| 76 | "vitest": "^2.1.8",
|
|---|
| 77 | "webpack": "^5.97.1",
|
|---|
| 78 | "webpack-cli": "^5.1.4"
|
|---|
| 79 | },
|
|---|
| 80 | "packageManager": "pnpm@9.15.0"
|
|---|
| 81 | }
|
|---|