版博士V2.0程序
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 
 

60 строки
1.5 KiB

  1. {
  2. "name": "magic-string-ast",
  3. "version": "0.1.2",
  4. "packageManager": "pnpm@7.29.3",
  5. "description": "Extend magic-string for Babel AST.",
  6. "license": "MIT",
  7. "homepage": "https://github.com/sxzz/magic-string-ast#readme",
  8. "bugs": {
  9. "url": "https://github.com/sxzz/magic-string-ast/issues"
  10. },
  11. "repository": {
  12. "type": "git",
  13. "url": "git+https://github.com/sxzz/magic-string-ast.git"
  14. },
  15. "files": [
  16. "dist"
  17. ],
  18. "main": "./dist/index.js",
  19. "module": "./dist/index.mjs",
  20. "types": "./dist/index.d.ts",
  21. "exports": {
  22. ".": {
  23. "types": "./dist/index.d.ts",
  24. "require": "./dist/index.js",
  25. "import": "./dist/index.mjs"
  26. },
  27. "./*": "./*"
  28. },
  29. "publishConfig": {
  30. "access": "public"
  31. },
  32. "dependencies": {
  33. "magic-string": "^0.30.0"
  34. },
  35. "devDependencies": {
  36. "@babel/types": "^7.21.3",
  37. "@sxzz/eslint-config-prettier": "^2.4.5",
  38. "@sxzz/eslint-config-ts": "^2.4.5",
  39. "@types/node": "^18.15.3",
  40. "bumpp": "^9.0.0",
  41. "eslint": "^8.36.0",
  42. "eslint-define-config": "^1.16.0",
  43. "fast-glob": "^3.2.12",
  44. "prettier": "^2.8.4",
  45. "tsup": "^6.6.3",
  46. "tsx": "^3.12.5",
  47. "typescript": "^4.9.5",
  48. "vitest": "^0.29.2"
  49. },
  50. "engines": {
  51. "node": ">=14.19.0"
  52. },
  53. "scripts": {
  54. "lint": "eslint . --ext .vue,.js,.ts,.jsx,.tsx,.json,.md",
  55. "lint:fix": "pnpm run lint --fix",
  56. "build": "tsup && tsx scripts/postbuild.mts",
  57. "test": "vitest",
  58. "release": "bumpp && pnpm publish"
  59. }
  60. }