package.json 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. {
  2. "name": "idb-keyval",
  3. "version": "6.2.0",
  4. "description": "A super-simple-small keyval store built on top of IndexedDB",
  5. "main": "./dist/compat.cjs",
  6. "module": "./dist/compat.js",
  7. "unpkg": "./dist/iife-compat.js",
  8. "exports": {
  9. ".": {
  10. "types": "./dist/index.d.ts",
  11. "module": "./dist/index.js",
  12. "import": "./dist/index.js",
  13. "default": "./dist/index.cjs"
  14. },
  15. "./dist/*": "./dist/*",
  16. "./package.json": "./package.json"
  17. },
  18. "files": [
  19. "dist/**"
  20. ],
  21. "type": "module",
  22. "types": "./dist/index.d.ts",
  23. "sideEffects": false,
  24. "scripts": {
  25. "build": "rollup -c && node lib/size-report.js",
  26. "dev": "rollup -cw & serve",
  27. "prepack": "npm run build"
  28. },
  29. "repository": {
  30. "type": "git",
  31. "url": "git+https://github.com/jakearchibald/idb-keyval.git"
  32. },
  33. "keywords": [
  34. "idb",
  35. "indexeddb",
  36. "store",
  37. "keyval",
  38. "localstorage",
  39. "storage",
  40. "promise"
  41. ],
  42. "author": "Jake Archibald",
  43. "license": "Apache-2.0",
  44. "bugs": {
  45. "url": "https://github.com/jakearchibald/idb-keyval/issues"
  46. },
  47. "homepage": "https://github.com/jakearchibald/idb-keyval#readme",
  48. "devDependencies": {
  49. "@babel/core": "^7.18.5",
  50. "@babel/plugin-external-helpers": "^7.17.12",
  51. "@babel/plugin-transform-runtime": "^7.18.5",
  52. "@babel/preset-env": "^7.18.2",
  53. "@babel/runtime": "^7.18.3",
  54. "@rollup/plugin-babel": "^5.3.1",
  55. "@rollup/plugin-commonjs": "^22.0.0",
  56. "@rollup/plugin-node-resolve": "^13.3.0",
  57. "@types/chai": "^4.3.1",
  58. "@types/mocha": "^9.1.1",
  59. "chai": "^4.3.6",
  60. "conditional-type-checks": "^1.0.6",
  61. "del": "^6.1.1",
  62. "filesize": "^9.0.9",
  63. "glob": "^8.0.3",
  64. "husky": "^8.0.1",
  65. "lint-staged": "^13.0.2",
  66. "mocha": "^10.0.0",
  67. "prettier": "^2.7.1",
  68. "rollup": "^2.75.7",
  69. "rollup-plugin-terser": "^7.0.2",
  70. "serve": "^13.0.2",
  71. "typescript": "^4.7.4"
  72. },
  73. "husky": {
  74. "hooks": {
  75. "pre-commit": "lint-staged"
  76. }
  77. },
  78. "lint-staged": {
  79. "*.{js,css,md,ts,html}": "prettier --write"
  80. },
  81. "dependencies": {
  82. "safari-14-idb-fix": "^3.0.0"
  83. }
  84. }