package.json 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. {
  2. "name": "es-module-lexer",
  3. "version": "1.5.4",
  4. "description": "Lexes ES modules returning their import/export metadata",
  5. "main": "dist/lexer.cjs",
  6. "module": "dist/lexer.js",
  7. "types": "types/lexer.d.ts",
  8. "exports": {
  9. ".": {
  10. "types": "./types/lexer.d.ts",
  11. "module": "./dist/lexer.js",
  12. "import": "./dist/lexer.js",
  13. "require": "./dist/lexer.cjs"
  14. },
  15. "./js": "./dist/lexer.asm.js"
  16. },
  17. "scripts": {
  18. "build": "npm install -g chomp ; chomp build",
  19. "test": "npm install -g chomp ; chomp test"
  20. },
  21. "author": "Guy Bedford",
  22. "license": "MIT",
  23. "devDependencies": {
  24. "@babel/cli": "^7.5.5",
  25. "@babel/core": "^7.5.5",
  26. "@babel/plugin-transform-modules-commonjs": "^7.5.0",
  27. "@swc/cli": "^0.1.57",
  28. "@swc/core": "^1.2.224",
  29. "@types/node": "^18.7.1",
  30. "kleur": "^2.0.2",
  31. "mocha": "^5.2.0",
  32. "terser": "^5.19.4",
  33. "typescript": "^4.7.4"
  34. },
  35. "files": [
  36. "dist",
  37. "types",
  38. "lexer.js"
  39. ],
  40. "type": "module",
  41. "repository": {
  42. "type": "git",
  43. "url": "git+https://github.com/guybedford/es-module-lexer.git"
  44. },
  45. "bugs": {
  46. "url": "https://github.com/guybedford/es-module-lexer/issues"
  47. },
  48. "homepage": "https://github.com/guybedford/es-module-lexer#readme",
  49. "directories": {
  50. "lib": "lib",
  51. "test": "test"
  52. },
  53. "keywords": []
  54. }