package.json 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. {
  2. "name": "better-opn",
  3. "version": "3.0.2",
  4. "description": "A better opn. Reuse the same tab on Chrome for 👨‍💻.",
  5. "main": "dist/index.js",
  6. "repository": {
  7. "type": "git",
  8. "url": "https://github.com/ExiaSR/better-opn"
  9. },
  10. "author": "Michael Lin <linzichunzf@hotmail.com>",
  11. "license": "MIT",
  12. "private": false,
  13. "keywords": [
  14. "opn",
  15. "open",
  16. "opener",
  17. "launch",
  18. "browser"
  19. ],
  20. "engines": {
  21. "node": ">=12.0.0"
  22. },
  23. "files": [
  24. "dist",
  25. "openChrome.applescript",
  26. "package.json",
  27. "README.md",
  28. "yarn.lock"
  29. ],
  30. "xo": {
  31. "_nodeVersion": "falling back to --node-version cli argument since this is not working",
  32. "nodeVersion": ">=10.0.0",
  33. "space": 2,
  34. "prettier": true,
  35. "envs": [
  36. "node"
  37. ]
  38. },
  39. "ava": {
  40. "files": [
  41. "tests/**/*",
  42. "!test/host-only.js"
  43. ]
  44. },
  45. "scripts": {
  46. "build": "babel src -d dist",
  47. "_lint": "--node-version is a work around since we use v8 as target in babel anyway",
  48. "lint": "xo --fix --node-version \">=10.0.0\"",
  49. "test": "ava"
  50. },
  51. "dependencies": {
  52. "open": "^8.0.4"
  53. },
  54. "devDependencies": {
  55. "@babel/cli": "^7.8.4",
  56. "@babel/core": "^7.9.0",
  57. "@babel/preset-env": "^7.9.0",
  58. "ava": "^3.6.0",
  59. "lodash.countby": "^4.6.0",
  60. "puppeteer-core": "^8.0.0",
  61. "xo": "^0.28.3"
  62. }
  63. }