File size: 1,853 Bytes
1e92f2d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
{
  "name": "react-instantsearch-hooks-server",
  "version": "6.38.1",
  "description": "⚡ Server-side support for React InstantSearch Hooks, by Algolia",
  "source": "src/index.ts",
  "types": "dist/es/index.d.ts",
  "main": "dist/cjs/index.js",
  "module": "dist/es/index.js",
  "type": "module",
  "exports": {
    ".": {
      "import": "./dist/es/index.js",
      "require": "./dist/cjs/index.js"
    }
  },
  "sideEffects": false,
  "license": "MIT",
  "homepage": "https://www.algolia.com/doc/guides/building-search-ui/what-is-instantsearch/react-hooks/",
  "repository": {
    "type": "git",
    "url": "https://github.com/algolia/react-instantsearch"
  },
  "author": {
    "name": "Algolia, Inc.",
    "url": "https://www.algolia.com"
  },
  "keywords": [
    "algolia",
    "components",
    "fast",
    "instantsearch",
    "react",
    "search"
  ],
  "files": [
    "README.md",
    "dist"
  ],
  "scripts": {
    "clean": "rm -rf dist",
    "watch": "yarn build:cjs --watch",
    "build": "yarn build:cjs && yarn build:es && yarn build:types",
    "build:cjs": "babel src --root-mode upward --extensions '.js,.ts,.tsx' --out-dir dist/cjs --ignore '**/__tests__/**/*','**/__mocks__/**/*' --quiet && ../../scripts/prepare-cjs.sh",
    "build:es": "BABEL_ENV=es babel src --root-mode upward --extensions '.js,.ts,.tsx' --out-dir dist/es --ignore '**/__tests__/**/*','**/__mocks__/**/*' --quiet",
    "build:types": "tsc -p ./tsconfig.declaration.json --outDir ./dist/es",
    "test:exports": "node ./test/module/is-es-module.mjs && node ./test/module/is-cjs-module.cjs"
  },
  "dependencies": {
    "@babel/runtime": "^7.1.2",
    "instantsearch.js": "^4.47.0",
    "react-instantsearch-hooks": "6.38.1"
  },
  "peerDependencies": {
    "algoliasearch": ">= 3.1 < 5",
    "react": ">= 16.8.0 < 19",
    "react-dom": ">= 16.8.0 < 19"
  }
}