package.json 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. {
  2. "name": "psl",
  3. "version": "1.15.0",
  4. "description": "Domain name parser based on the Public Suffix List",
  5. "repository": {
  6. "type": "git",
  7. "url": "git@github.com:lupomontero/psl.git"
  8. },
  9. "type": "module",
  10. "main": "./dist/psl.cjs",
  11. "exports": {
  12. ".": {
  13. "import": "./dist/psl.mjs",
  14. "require": "./dist/psl.cjs"
  15. }
  16. },
  17. "types": "types/index.d.ts",
  18. "scripts": {
  19. "lint": "eslint .",
  20. "test": "mocha test/*.spec.js",
  21. "test:browserstack": "browserstack-node-sdk playwright test",
  22. "watch": "mocha test/*.spec.js --watch",
  23. "update-rules": "./scripts/update-rules.js",
  24. "build": "vite build",
  25. "postbuild": "ln -s ./psl.umd.cjs dist/psl.js && ln -s ./psl.umd.cjs dist/psl.min.js",
  26. "benchmark": "node --experimental-vm-modules --no-warnings benchmark/suite.js",
  27. "changelog": "git log $(git describe --tags --abbrev=0)..HEAD --oneline --format=\"%h %s (%an <%ae>)\""
  28. },
  29. "keywords": [
  30. "publicsuffix",
  31. "publicsuffixlist"
  32. ],
  33. "author": "Lupo Montero <lupomontero@gmail.com> (https://lupomontero.com/)",
  34. "funding": "https://github.com/sponsors/lupomontero",
  35. "license": "MIT",
  36. "dependencies": {
  37. "punycode": "^2.3.1"
  38. },
  39. "devDependencies": {
  40. "@eslint/js": "^9.16.0",
  41. "@playwright/test": "^1.49.0",
  42. "@types/eslint__js": "^8.42.3",
  43. "benchmark": "^2.1.4",
  44. "browserstack-node-sdk": "^1.34.27",
  45. "eslint": "^9.16.0",
  46. "mocha": "^10.8.2",
  47. "typescript": "^5.7.2",
  48. "typescript-eslint": "^8.16.0",
  49. "vite": "^6.0.2"
  50. }
  51. }