File tree Expand file tree Collapse file tree 3 files changed +7
-10
lines changed Expand file tree Collapse file tree 3 files changed +7
-10
lines changed File renamed without changes.
Original file line number Diff line number Diff line change 33 "version" : " 0.0.0" ,
44 "private" : true ,
55 "description" : " React playground for instant-meilisearch" ,
6+ "type" : " module" ,
67 "scripts" : {
78 "predev" : " node setup.js" ,
8- "dev" : " parcel serve index.html --open --port 9999 " ,
9- "build" : " parcel build index.html " ,
9+ "dev" : " vite " ,
10+ "build" : " vite build" ,
1011 "setup" : " node setup.js" ,
1112 "lint" : " eslint --ext .jsx,.js ." ,
1213 "lint:fix" : " eslint --ext .jsx,.js --fix ." ,
3132 "react-router-dom" : " ^6.14.2"
3233 },
3334 "devDependencies" : {
34- "@babel/core" : " ^7.20.5" ,
35- "@babel/plugin-syntax-jsx" : " ^7.22.5" ,
36- "@babel/plugin-transform-runtime" : " ^7.22.5" ,
37- "@babel/preset-react" : " ^7.22.5" ,
35+ "vite" : " ^6.0.5" ,
3836 "cypress" : " ^8.6.0" ,
3937 "eslint-config-meilisearch" : " *"
4038 }
Original file line number Diff line number Diff line change 1- const { MeiliSearch } = require ( 'meilisearch' )
2- const movies = require ( './assets/movies.json' )
3- const games = require ( './assets/games.json' )
4-
1+ import { MeiliSearch } from 'meilisearch'
2+ import movies from './assets/movies.json' with { type : 'json' }
3+ import games from './assets/games.json' with { type : 'json' }
54; ( async ( ) => {
65 const client = new MeiliSearch ( {
76 host : 'http://127.0.0.1:7700' ,
You can’t perform that action at this time.
0 commit comments