package.json 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. {
  2. "name": "idb",
  3. "version": "7.1.1",
  4. "description": "A small wrapper that makes IndexedDB usable",
  5. "main": "./build/index.cjs",
  6. "module": "./build/index.js",
  7. "types": "./build/index.d.ts",
  8. "exports": {
  9. ".": {
  10. "types": "./build/index.d.ts",
  11. "module": "./build/index.js",
  12. "import": "./build/index.js",
  13. "default": "./build/index.cjs"
  14. },
  15. "./with-async-ittr": {
  16. "types": "./with-async-ittr.d.ts",
  17. "module": "./with-async-ittr.js",
  18. "import": "./with-async-ittr.js",
  19. "default": "./with-async-ittr.cjs"
  20. },
  21. "./build/*": "./build/*",
  22. "./package.json": "./package.json"
  23. },
  24. "files": [
  25. "build/**",
  26. "with-*",
  27. "CHANGELOG.md"
  28. ],
  29. "type": "module",
  30. "scripts": {
  31. "build": "PRODUCTION=1 rollup -c && node --experimental-modules lib/size-report.mjs",
  32. "dev": "rollup -c --watch",
  33. "prepack": "npm run build"
  34. },
  35. "repository": {
  36. "type": "git",
  37. "url": "git://github.com/jakearchibald/idb.git"
  38. },
  39. "author": "Jake Archibald",
  40. "license": "ISC",
  41. "devDependencies": {
  42. "@rollup/plugin-commonjs": "^22.0.2",
  43. "@rollup/plugin-node-resolve": "^14.1.0",
  44. "@types/chai": "^4.3.3",
  45. "@types/estree": "^1.0.0",
  46. "@types/mocha": "^9.1.1",
  47. "chai": "^4.3.6",
  48. "conditional-type-checks": "^1.0.6",
  49. "del": "^7.0.0",
  50. "filesize": "^9.0.11",
  51. "glob": "^8.0.3",
  52. "mocha": "^10.0.0",
  53. "prettier": "^2.7.1",
  54. "rollup": "^2.79.0",
  55. "rollup-plugin-terser": "^7.0.2",
  56. "typescript": "^4.8.3"
  57. }
  58. }