package.json 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. {
  2. "private": true,
  3. "name": "@solana/wallet-adapter",
  4. "author": "Solana Maintainers <maintainers@solana.foundation>",
  5. "repository": "https://github.com/solana-labs/wallet-adapter",
  6. "license": "Apache-2.0",
  7. "type": "module",
  8. "workspaces": {
  9. "packages": [
  10. "packages/*/*"
  11. ],
  12. "nohoist": [
  13. "**/@babel/preset-env",
  14. "**/@babel/preset-env/**",
  15. "**/babel-loader",
  16. "**/babel-loader/**",
  17. "**/webpack",
  18. "**/webpack/**"
  19. ]
  20. },
  21. "engines": {
  22. "node": ">= 10"
  23. },
  24. "publishConfig": {
  25. "access": "public"
  26. },
  27. "scripts": {
  28. "clean": "lerna run clean",
  29. "build": "lerna run build",
  30. "test": "lerna run test",
  31. "publish": "lerna publish from-package",
  32. "deploy": "yarn deploy:docs && yarn deploy:example",
  33. "deploy:docs": "yarn docs && gh-pages --dist docs --dotfiles",
  34. "deploy:example": "gh-pages --dist packages/starter/example/out --dest example --dotfiles",
  35. "docs": "shx rm -rf docs && NODE_OPTIONS=--max_old_space_size=8192 typedoc && shx cp ./{.nojekyll,wallets.png,modal_logo.png} docs/",
  36. "fmt": "prettier --write '{*,**/*}.{js,ts,jsx,tsx,json}'",
  37. "lint": "eslint --ext .ts . && prettier --check '{*,**/*}.{js,ts,jsx,tsx,json}'",
  38. "lint:fix": "eslint --fix --ext .ts . && yarn fmt",
  39. "nuke": "shx rm -rf {.,packages/*/*}/{node_modules,yarn.lock}"
  40. },
  41. "devDependencies": {
  42. "@types/eslint": "^8.2.1",
  43. "@types/eslint-plugin-prettier": "^3.1.0",
  44. "@types/node": "^16.11.12",
  45. "@types/prettier": "^2.4.2",
  46. "@typescript-eslint/eslint-plugin": "^5.6.0",
  47. "@typescript-eslint/parser": "^5.6.0",
  48. "babel-eslint": "^10.1.0",
  49. "eslint": "^7.32.0",
  50. "eslint-config-prettier": "^8.3.0",
  51. "eslint-config-react-app": "^7.0.0",
  52. "eslint-plugin-prettier": "^4.0.0",
  53. "gh-pages": "^3.2.3",
  54. "lerna": "^4.0.0",
  55. "prettier": "^2.5.1",
  56. "shx": "^0.3.3",
  57. "tslib": "^2.3.1",
  58. "typedoc": "^0.22.10",
  59. "typescript": "~4.4.4"
  60. }
  61. }