994089fcc2
Converted to TypeScript to match Contribution docs, and updated/simplified the example. - Replaced stylesheets in Head component with imported styles - Removed `style-loader`, `css-loader`, `cross-env`, `prop-types` packages - Removed custom webpack config ## Documentation / Examples - [X] Make sure the linting passes by running `pnpm build && pnpm lint` - [X] The "examples guidelines" are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md)
26 lines
621 B
JSON
26 lines
621 B
JSON
{
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next",
|
|
"build": "next build",
|
|
"start": "next start"
|
|
},
|
|
"dependencies": {
|
|
"algoliasearch": "^4.14.2",
|
|
"instantsearch.css": "^7.4.5",
|
|
"next": "latest",
|
|
"qs": "^6.11.0",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"react-instantsearch-dom": "^6.38.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^18.11.9",
|
|
"@types/qs": "^6.9.7",
|
|
"@types/react": "^18.0.25",
|
|
"@types/react-dom": "^18.0.8",
|
|
"@types/react-instantsearch-core": "^6.26.2",
|
|
"@types/react-instantsearch-dom": "^6.12.3",
|
|
"typescript": "^4.8.4"
|
|
}
|
|
}
|