package.json 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. {
  2. "name": "nanobrowser",
  3. "version": "0.1.2",
  4. "description": "AI web automation tool",
  5. "license": "Apache-2.0",
  6. "repository": {
  7. "type": "git",
  8. "url": "https://github.com/nanobrowser/nanobrowser.git"
  9. },
  10. "type": "module",
  11. "scripts": {
  12. "clean:bundle": "rimraf dist && turbo clean:bundle",
  13. "clean:node_modules": "pnpx rimraf node_modules && pnpx turbo clean:node_modules",
  14. "clean:turbo": "rimraf .turbo && turbo clean:turbo",
  15. "clean": "pnpm clean:bundle && pnpm clean:turbo && pnpm clean:node_modules",
  16. "clean:install": "pnpm clean:node_modules && pnpm install --frozen-lockfile",
  17. "build": "pnpm clean:bundle && turbo ready && turbo build",
  18. "build:firefox": "pnpm clean:bundle && turbo ready && cross-env __FIREFOX__=true turbo build",
  19. "zip": "pnpm build && pnpm -F zipper zip",
  20. "zip:firefox": "pnpm build:firefox && cross-env __FIREFOX__=true pnpm -F zipper zip",
  21. "dev": "turbo ready && cross-env __DEV__=true turbo watch dev --concurrency 20",
  22. "dev:firefox": "turbo ready && cross-env __DEV__=true __FIREFOX__=true turbo watch dev --concurrency 20",
  23. "e2e": "pnpm build && pnpm zip && turbo e2e",
  24. "e2e:firefox": "pnpm build:firefox && pnpm zip:firefox && cross-env __FIREFOX__=true turbo e2e",
  25. "type-check": "turbo type-check",
  26. "lint": "turbo lint --continue -- --fix --cache --cache-location node_modules/.cache/.eslintcache",
  27. "lint:fix": "turbo lint:fix --continue -- --fix --cache --cache-location node_modules/.cache/.eslintcache",
  28. "prettier": "turbo prettier --continue -- --cache --cache-location node_modules/.cache/.prettiercache",
  29. "prepare": "husky",
  30. "update-version": "bash update_version.sh"
  31. },
  32. "dependencies": {
  33. "eslint-plugin-tailwindcss": "^3.17.4",
  34. "react": "18.3.1",
  35. "react-dom": "18.3.1"
  36. },
  37. "devDependencies": {
  38. "@types/chrome": "^0.0.270",
  39. "@types/node": "^22.5.5",
  40. "@types/react": "^18.3.3",
  41. "@types/react-dom": "^18.3.0",
  42. "@typescript-eslint/eslint-plugin": "^7.18.0",
  43. "@typescript-eslint/parser": "^7.18.0",
  44. "autoprefixer": "^10.4.20",
  45. "cross-env": "^7.0.3",
  46. "esbuild": "^0.23.0",
  47. "eslint": "8.57.0",
  48. "eslint-config-airbnb-typescript": "18.0.0",
  49. "eslint-config-prettier": "9.1.0",
  50. "eslint-plugin-import": "2.29.1",
  51. "eslint-plugin-jsx-a11y": "6.9.0",
  52. "eslint-plugin-prettier": "5.2.1",
  53. "eslint-plugin-react": "7.35.0",
  54. "eslint-plugin-react-hooks": "4.6.2",
  55. "husky": "^9.1.4",
  56. "lint-staged": "^15.2.7",
  57. "postcss": "^8.4.47",
  58. "prettier": "^3.3.3",
  59. "rimraf": "^6.0.1",
  60. "tailwindcss": "^3.4.14",
  61. "tslib": "^2.6.3",
  62. "typescript": "5.5.4",
  63. "turbo": "^2.3.3",
  64. "vite": "6.0.5",
  65. "run-script-os": "^1.1.6"
  66. },
  67. "lint-staged": {
  68. "*.{js,jsx,ts,tsx,json}": [
  69. "prettier --write"
  70. ]
  71. },
  72. "packageManager": "pnpm@9.15.1",
  73. "engines": {
  74. "node": ">=22.12.0"
  75. }
  76. }