package.json 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. {
  2. "name": "strip-literal",
  3. "version": "2.1.1",
  4. "packageManager": "pnpm@9.14.2",
  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. "types": "./dist/index.d.ts",
  22. "import": "./dist/index.mjs",
  23. "require": "./dist/index.cjs"
  24. }
  25. },
  26. "main": "./dist/index.cjs",
  27. "module": "./dist/index.mjs",
  28. "types": "./dist/index.d.ts",
  29. "files": [
  30. "dist"
  31. ],
  32. "scripts": {
  33. "build": "unbuild",
  34. "dev": "unbuild --stub",
  35. "lint": "eslint .",
  36. "prepublishOnly": "nr build",
  37. "release": "bumpp --commit --push --tag && npm publish",
  38. "start": "esmo src/index.ts",
  39. "test": "vitest",
  40. "bench": "vitest bench",
  41. "typecheck": "tsc --noEmit"
  42. },
  43. "dependencies": {
  44. "js-tokens": "^9.0.1"
  45. },
  46. "devDependencies": {
  47. "@antfu/eslint-config": "^3.9.2",
  48. "@antfu/ni": "^0.23.1",
  49. "@types/node": "^22.9.3",
  50. "bumpp": "^9.8.1",
  51. "eslint": "^9.15.0",
  52. "esmo": "^4.8.0",
  53. "pnpm": "^9.14.2",
  54. "rimraf": "^6.0.1",
  55. "three": "^0.170.0",
  56. "typescript": "^5.7.2",
  57. "unbuild": "^2.0.0",
  58. "vite": "^5.4.11",
  59. "vitest": "^2.1.5",
  60. "vue": "^3.5.13"
  61. }
  62. }