package.json 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. {
  2. "name": "jiti",
  3. "version": "1.21.6",
  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",
  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.24.7",
  29. "@babel/plugin-proposal-decorators": "^7.24.7",
  30. "@babel/plugin-syntax-class-properties": "^7.12.13",
  31. "@babel/plugin-syntax-import-assertions": "^7.24.7",
  32. "@babel/plugin-transform-export-namespace-from": "^7.24.7",
  33. "@babel/plugin-transform-modules-commonjs": "^7.24.7",
  34. "@babel/plugin-transform-nullish-coalescing-operator": "^7.24.7",
  35. "@babel/plugin-transform-optional-chaining": "^7.24.7",
  36. "@babel/plugin-transform-typescript": "^7.24.7",
  37. "@babel/preset-typescript": "^7.24.7",
  38. "@babel/template": "^7.24.7",
  39. "@babel/types": "^7.24.7",
  40. "@types/babel__core": "^7.20.5",
  41. "@types/babel__template": "^7.4.4",
  42. "@types/node": "^20.14.2",
  43. "@types/object-hash": "^3.0.6",
  44. "@types/resolve": "^1.20.6",
  45. "@types/semver": "^7.5.8",
  46. "@vitest/coverage-v8": "^1.6.0",
  47. "acorn": "^8.11.3",
  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.5",
  52. "config": "^3.3.11",
  53. "create-require": "^1.1.1",
  54. "destr": "^2.0.3",
  55. "escape-string-regexp": "^5.0.0",
  56. "eslint": "^9.4.0",
  57. "eslint-config-unjs": "^0.3.2",
  58. "esm": "^3.2.25",
  59. "estree-walker": "^3.0.3",
  60. "execa": "^9.1.0",
  61. "fast-glob": "^3.3.2",
  62. "mlly": "^1.7.1",
  63. "object-hash": "^3.0.0",
  64. "pathe": "^1.1.2",
  65. "pirates": "^4.0.6",
  66. "pkg-types": "^1.1.1",
  67. "prettier": "^3.3.1",
  68. "reflect-metadata": "^0.2.1",
  69. "semver": "^7.6.2",
  70. "std-env": "^3.7.0",
  71. "terser-webpack-plugin": "^5.3.10",
  72. "ts-loader": "^9.5.1",
  73. "tslib": "^2.6.3",
  74. "typescript": "^5.4.5",
  75. "vite": "^5.2.12",
  76. "vitest": "^1.6.0",
  77. "webpack": "^5.91.0",
  78. "webpack-cli": "^5.1.4"
  79. },
  80. "packageManager": "pnpm@9.2.0"
  81. }