package.json 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. {
  2. "name": "b4a",
  3. "version": "1.7.3",
  4. "description": "Bridging the gap between buffers and typed arrays",
  5. "exports": {
  6. "./package": "./package.json",
  7. ".": {
  8. "react-native": "./react-native.js",
  9. "browser": "./browser.js",
  10. "default": "./index.js"
  11. }
  12. },
  13. "files": [
  14. "browser.js",
  15. "index.js",
  16. "react-native.js",
  17. "lib"
  18. ],
  19. "scripts": {
  20. "test": "npm run lint && npm run test:bare && npm run test:node",
  21. "test:bare": "bare test.mjs",
  22. "test:node": "node test.mjs",
  23. "lint": "prettier . --check"
  24. },
  25. "repository": {
  26. "type": "git",
  27. "url": "git+https://github.com/holepunchto/b4a.git"
  28. },
  29. "author": "Holepunch",
  30. "license": "Apache-2.0",
  31. "bugs": {
  32. "url": "https://github.com/holepunchto/b4a/issues"
  33. },
  34. "homepage": "https://github.com/holepunchto/b4a#readme",
  35. "devDependencies": {
  36. "brittle": "^3.5.2",
  37. "nanobench": "^3.0.0",
  38. "prettier": "^3.6.2",
  39. "prettier-config-holepunch": "^1.0.0"
  40. },
  41. "peerDependencies": {
  42. "react-native-b4a": "*"
  43. },
  44. "peerDependenciesMeta": {
  45. "react-native-b4a": {
  46. "optional": true
  47. }
  48. }
  49. }