package.json 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. {
  2. "name": "strip-literal",
  3. "type": "module",
  4. "version": "3.0.0",
  5. "description": "Strip comments and string literals from JavaScript code",
  6. "author": "Anthony Fu <anthonyfu117@hotmail.com>",
  7. "license": "MIT",
  8. "funding": "https://github.com/sponsors/antfu",
  9. "homepage": "https://github.com/antfu/strip-literal#readme",
  10. "repository": {
  11. "type": "git",
  12. "url": "git+https://github.com/antfu/strip-literal.git"
  13. },
  14. "bugs": {
  15. "url": "https://github.com/antfu/strip-literal/issues"
  16. },
  17. "keywords": [],
  18. "sideEffects": false,
  19. "exports": {
  20. ".": {
  21. "import": "./dist/index.mjs",
  22. "require": "./dist/index.cjs"
  23. }
  24. },
  25. "main": "./dist/index.mjs",
  26. "module": "./dist/index.mjs",
  27. "types": "./dist/index.d.mts",
  28. "files": [
  29. "dist"
  30. ],
  31. "dependencies": {
  32. "js-tokens": "^9.0.1"
  33. },
  34. "devDependencies": {
  35. "@antfu/eslint-config": "^3.14.0",
  36. "@antfu/ni": "^23.2.0",
  37. "@types/node": "^22.10.6",
  38. "bumpp": "^9.10.1",
  39. "eslint": "^9.18.0",
  40. "esmo": "^4.8.0",
  41. "pnpm": "^9.15.4",
  42. "rimraf": "^6.0.1",
  43. "three": "^0.172.0",
  44. "typescript": "^5.7.3",
  45. "unbuild": "^3.3.1",
  46. "vite": "^6.0.7",
  47. "vitest": "^2.1.8",
  48. "vue": "^3.5.13"
  49. },
  50. "scripts": {
  51. "build": "unbuild",
  52. "dev": "unbuild --stub",
  53. "lint": "eslint .",
  54. "release": "bumpp && pnpm publish",
  55. "start": "esmo src/index.ts",
  56. "test": "vitest",
  57. "bench": "vitest bench",
  58. "typecheck": "tsc --noEmit"
  59. }
  60. }