|
9 | 9 | "test:env:browser": "yarn --cwd tests/env/express && yarn --cwd tests/env/express test", |
10 | 10 | "test:env:nodejs": "node tests/env/node/index.js", |
11 | 11 | "test:env:esm": "yarn --cwd tests/env/esm && yarn --cwd tests/env/esm start", |
| 12 | + "test:playgrounds": "yarn build:playground:vue && yarn build:playground:react && yarn build:playground:javascript && yarn build:playground:html", |
12 | 13 | "build:playground:vue": "yarn --cwd ./playgrounds/vue && yarn --cwd ./playgrounds/vue build", |
13 | 14 | "build:playground:react": "yarn --cwd ./playgrounds/react && yarn --cwd ./playgrounds/react build", |
14 | | - "build:playground:vanilla-js": "yarn --cwd ./playgrounds/vanilla-js && yarn --cwd ./playgrounds/vanilla-js build", |
| 15 | + "build:playground:javascript": "yarn --cwd ./playgrounds/javascript && yarn --cwd ./playgrounds/javascript build", |
| 16 | + "build:playground:html": "yarn --cwd ./playgrounds/html && yarn --cwd ./playgrounds/html build", |
15 | 17 | "test:all": "yarn test && yarn test:demo", |
16 | 18 | "lint": "eslint --ext .js,.ts,.tsx,.vue .", |
17 | 19 | "lint:fix": "eslint --ext .js,.ts,.tsx,.vue --fix .", |
18 | 20 | "build": "rollup -c rollup.config.js && rollup --environment NODE_ENV:production -c rollup.config.js ", |
19 | 21 | "playground:vue": "yarn --cwd ./playgrounds/vue && yarn --cwd ./playgrounds/vue serve", |
20 | 22 | "playground:react": "yarn --cwd ./playgrounds/react && yarn --cwd ./playgrounds/react start", |
21 | | - "playground:vanilla-js": "yarn --cwd ./playgrounds/vanilla-js && yarn --cwd ./playgrounds/vanilla-js start" |
| 23 | + "playground:javascript": "yarn --cwd ./playgrounds/javascript && yarn --cwd ./playgrounds/javascript start", |
| 24 | + "playground:html": "yarn --cwd ./playgrounds/html && yarn --cwd ./playgrounds/html start" |
22 | 25 | }, |
23 | 26 | "main": "./dist/instant-meilisearch.umd.js", |
24 | 27 | "module": "./dist/instant-meilisearch.esm.js", |
25 | 28 | "browser": "./dist/instant-meilisearch.umd.js", |
26 | 29 | "cjs": "./dist/instant-meilisearch.cjs.js", |
27 | 30 | "files": [ |
28 | 31 | "dist", |
29 | | - "src" |
| 32 | + "src", |
| 33 | + "templates" |
30 | 34 | ], |
31 | 35 | "keywords": [ |
32 | 36 | "search", |
|
52 | 56 | "@typescript-eslint/parser": "^4.14.0", |
53 | 57 | "babel-eslint": "^10.1.0", |
54 | 58 | "babel-jest": "^26.1.0", |
| 59 | + "cssnano": "^4.1.10", |
55 | 60 | "eslint": "^7.13.0", |
56 | 61 | "eslint-config-prettier": "^7.2.0", |
57 | 62 | "eslint-config-react-app": "^6.0.0", |
|
0 commit comments