react-instantsearch-nextjs
Version:
React InstantSearch SSR utilities for Next.js
75 lines (74 loc) • 2.69 kB
JSON
{
"name": "react-instantsearch-nextjs",
"version": "1.0.1",
"description": "React InstantSearch SSR utilities for Next.js",
"types": "dist/es/index.d.ts",
"main": "dist/cjs/index.js",
"module": "dist/es/index.js",
"type": "module",
"exports": {
"types": "./dist/es/index.d.ts",
"require": "./dist/cjs/index.js",
"default": "./dist/es/index.js"
},
"sideEffects": false,
"license": "MIT",
"homepage": "https://www.algolia.com/doc/guides/building-search-ui/what-is-instantsearch/react/",
"repository": {
"type": "git",
"url": "https://github.com/algolia/instantsearch"
},
"author": {
"name": "Algolia, Inc.",
"url": "https://www.algolia.com"
},
"keywords": [
"algolia",
"ssr",
"app",
"app router",
"fast",
"instantsearch",
"react",
"search",
"next",
"nextjs"
],
"files": [
"README.md",
"dist"
],
"scripts": {
"clean": "rm -rf dist",
"build": "yarn build:cjs && yarn build:es && yarn build:types",
"build:cjs": "BABEL_ENV=cjs babel src --root-mode upward --extensions '.js,.ts,.tsx' --out-dir dist/cjs --ignore '**/__tests__/**/*','**/__mocks__/**/*' --quiet && ../../scripts/prepare-cjs.sh",
"build:es:base": "BABEL_ENV=es babel src --root-mode upward --extensions '.js,.ts,.tsx' --out-dir dist/es --ignore '**/__tests__/**/*','**/__mocks__/**/*'",
"build:es": "yarn build:es:base --quiet",
"build:types": "tsc -p ./tsconfig.declaration.json --outDir ./dist/es",
"test:start-server": "yarn workspace example-react-instantsearch-next-app-dir-example build && yarn workspace example-react-instantsearch-next-app-dir-example start",
"test:e2e": "start-server-and-test test:start-server 3000 'wdio run ./wdio.conf.cjs'",
"test:e2e:saucelabs": "start-server-and-test test:start-server 3000 'wdio run ./wdio.saucelabs.conf.cjs'",
"test:exports": "node ./__tests__/module/is-es-module.mjs && node ./__tests__/module/is-cjs-module.cjs",
"watch:es": "yarn --silent build:es:base --watch"
},
"devDependencies": {
"@types/jasmine": "3.3.16",
"@wdio/cli": "5.16.9",
"@wdio/jasmine-framework": "5.16.5",
"@wdio/junit-reporter": "5.16.11",
"@wdio/local-runner": "5.16.9",
"@wdio/sauce-service": "5.16.5",
"@wdio/selenium-standalone-service": "5.16.5",
"@wdio/spec-reporter": "5.16.5",
"instantsearch.js": "4.79.2",
"next": "15.1.4",
"react-instantsearch-core": "7.16.2",
"start-server-and-test": "1.15.3",
"ts-node": "8.4.1"
},
"peerDependencies": {
"next": ">= 13.4 < 16",
"react-instantsearch": ">= 7.1.0 < 8"
},
"gitHead": "4170d7c9a3ee4adc729330a7cba90527aca2dbc5"
}