package.json 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. {
  2. "name": "jiti",
  3. "version": "1.16.0",
  4. "description": "Runtime typescript and ESM support for Node.js (CommonJS)",
  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. "devDependencies": {
  16. "@babel/core": "^7.19.1",
  17. "@babel/plugin-proposal-decorators": "^7.19.1",
  18. "@babel/plugin-proposal-export-namespace-from": "^7.18.9",
  19. "@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.6",
  20. "@babel/plugin-proposal-optional-chaining": "^7.18.9",
  21. "@babel/plugin-syntax-class-properties": "^7.12.13",
  22. "@babel/plugin-transform-modules-commonjs": "^7.18.6",
  23. "@babel/plugin-transform-typescript": "^7.19.1",
  24. "@babel/preset-typescript": "^7.18.6",
  25. "@babel/template": "^7.18.10",
  26. "@babel/types": "^7.19.0",
  27. "@nuxtjs/eslint-config-typescript": "^11.0.0",
  28. "@types/babel__core": "^7.1.19",
  29. "@types/babel__template": "^7.4.1",
  30. "@types/mkdirp": "^1.0.2",
  31. "@types/node": "^18.7.18",
  32. "@types/object-hash": "^2.2.1",
  33. "@types/resolve": "^1.20.2",
  34. "@types/semver": "^7.3.12",
  35. "@vitest/coverage-c8": "^0.23.4",
  36. "acorn": "^8.8.0",
  37. "babel-plugin-dynamic-import-node": "^2.3.3",
  38. "babel-plugin-parameter-decorator": "^1.0.16",
  39. "config": "^3.3.8",
  40. "create-require": "^1.1.1",
  41. "cross-env": "^7.0.3",
  42. "destr": "^1.1.1",
  43. "escape-string-regexp": "^5.0.0",
  44. "eslint": "^8.23.1",
  45. "esm": "^3.2.25",
  46. "estree-walker": "^3.0.1",
  47. "execa": "^6.1.0",
  48. "fast-glob": "^3.2.12",
  49. "mkdirp": "^1.0.4",
  50. "mlly": "^0.5.14",
  51. "object-hash": "^3.0.0",
  52. "pathe": "^0.3.8",
  53. "pirates": "^4.0.5",
  54. "pkg-types": "^0.3.5",
  55. "semver": "^7.3.7",
  56. "standard-version": "^9.5.0",
  57. "terser-webpack-plugin": "^5.3.6",
  58. "ts-loader": "^9.4.0",
  59. "tslib": "^2.4.0",
  60. "typescript": "^4.8.3",
  61. "vitest": "^0.23.4",
  62. "webpack": "^5.74.0",
  63. "webpack-cli": "^4.10.0"
  64. },
  65. "packageManager": "pnpm@7.12.0",
  66. "scripts": {
  67. "build": "pnpm clean && cross-env NODE_ENV=production pnpm webpack",
  68. "clean": "rm -rf dist",
  69. "dev": "pnpm clean && pnpm webpack --watch",
  70. "jiti": "cross-env JITI_DEBUG=1 JITI_CACHE=false ./bin/jiti.js",
  71. "jiti:legacy": "cross-env JITI_DEBUG=1 npx node@12 ./bin/jiti.js",
  72. "lint": "eslint --ext .ts,.js .",
  73. "release": "pnpm build && pnpm test && pnpm standard-version && git push --follow-tags && pnpm publish",
  74. "test": "pnpm lint && vitest run --coverage"
  75. }
  76. }