1 | {
|
2 | "name": "jiti",
|
3 | "version": "1.18.0",
|
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 && cross-env NODE_ENV=production pnpm webpack",
|
17 | "clean": "rm -rf dist",
|
18 | "dev": "pnpm clean && pnpm webpack --watch",
|
19 | "jiti": "cross-env JITI_DEBUG=1 JITI_CACHE=false JITI_REQUIRE_CACHE=false ./bin/jiti.js",
|
20 | "jiti:legacy": "cross-env JITI_DEBUG=1 npx node@12 ./bin/jiti.js",
|
21 | "lint": "eslint --ext .ts,.js . && prettier -c src lib test stubs",
|
22 | "release": "pnpm build && pnpm test && changelogen --release --push && npm publish",
|
23 | "test": "pnpm lint && vitest run --coverage"
|
24 | },
|
25 | "devDependencies": {
|
26 | "@babel/core": "^7.21.3",
|
27 | "@babel/plugin-proposal-decorators": "^7.21.0",
|
28 | "@babel/plugin-proposal-export-namespace-from": "^7.18.9",
|
29 | "@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.6",
|
30 | "@babel/plugin-proposal-optional-chaining": "^7.21.0",
|
31 | "@babel/plugin-syntax-class-properties": "^7.12.13",
|
32 | "@babel/plugin-syntax-import-assertions": "^7.20.0",
|
33 | "@babel/plugin-transform-modules-commonjs": "^7.21.2",
|
34 | "@babel/plugin-transform-typescript": "^7.21.3",
|
35 | "@babel/preset-typescript": "^7.21.0",
|
36 | "@babel/template": "^7.20.7",
|
37 | "@babel/types": "^7.21.3",
|
38 | "@types/babel__core": "^7.20.0",
|
39 | "@types/babel__template": "^7.4.1",
|
40 | "@types/node": "^18.15.3",
|
41 | "@types/object-hash": "^3.0.2",
|
42 | "@types/resolve": "^1.20.2",
|
43 | "@types/semver": "^7.3.13",
|
44 | "@vitest/coverage-c8": "^0.29.2",
|
45 | "acorn": "^8.8.2",
|
46 | "babel-plugin-dynamic-import-node": "^2.3.3",
|
47 | "babel-plugin-parameter-decorator": "^1.0.16",
|
48 | "babel-plugin-transform-typescript-metadata": "^0.3.2",
|
49 | "changelogen": "^0.5.1",
|
50 | "config": "^3.3.9",
|
51 | "create-require": "^1.1.1",
|
52 | "cross-env": "^7.0.3",
|
53 | "destr": "^1.2.2",
|
54 | "escape-string-regexp": "^5.0.0",
|
55 | "eslint": "^8.36.0",
|
56 | "eslint-config-unjs": "^0.1.0",
|
57 | "esm": "^3.2.25",
|
58 | "estree-walker": "^3.0.3",
|
59 | "execa": "^7.1.1",
|
60 | "fast-glob": "^3.2.12",
|
61 | "mlly": "^1.2.0",
|
62 | "object-hash": "^3.0.0",
|
63 | "pathe": "^1.1.0",
|
64 | "pirates": "^4.0.5",
|
65 | "pkg-types": "^1.0.2",
|
66 | "prettier": "^2.8.4",
|
67 | "reflect-metadata": "^0.1.13",
|
68 | "semver": "^7.3.8",
|
69 | "std-env": "^3.3.2",
|
70 | "terser-webpack-plugin": "^5.3.7",
|
71 | "ts-loader": "^9.4.2",
|
72 | "tslib": "^2.5.0",
|
73 | "typescript": "^4.9.5",
|
74 | "vite": "^4.1.4",
|
75 | "vitest": "^0.29.2",
|
76 | "webpack": "^5.76.1",
|
77 | "webpack-cli": "^5.0.1"
|
78 | },
|
79 | "packageManager": "pnpm@7.29.3"
|
80 | }
|