Skip to content

Commit 8a40018

Browse files
committed
rename vanilla javascript to javascript
1 parent 0588ca9 commit 8a40018

File tree

13 files changed

+813
-14
lines changed

13 files changed

+813
-14
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,3 +105,6 @@ dist
105105

106106
# misc
107107
.DS_Store
108+
109+
# parcel
110+
.parcel_cache/

CONTRIBUTING.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,14 @@ Or the React playground:
6969
$ yarn playground:react
7070
```
7171

72-
Or the Vanilla JavaScript playground:
72+
Or the JavaScript playground:
7373
```
74-
$ yarn playground:vanilla-js
74+
$ yarn playground:javascript
75+
```
76+
77+
Or the HTML playground:
78+
```
79+
$ yarn playground:html
7580
```
7681

7782
## Git Guidelines

package.json

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,24 +9,28 @@
99
"test:env:browser": "yarn --cwd tests/env/express && yarn --cwd tests/env/express test",
1010
"test:env:nodejs": "node tests/env/node/index.js",
1111
"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",
1213
"build:playground:vue": "yarn --cwd ./playgrounds/vue && yarn --cwd ./playgrounds/vue build",
1314
"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",
1517
"test:all": "yarn test && yarn test:demo",
1618
"lint": "eslint --ext .js,.ts,.tsx,.vue .",
1719
"lint:fix": "eslint --ext .js,.ts,.tsx,.vue --fix .",
1820
"build": "rollup -c rollup.config.js && rollup --environment NODE_ENV:production -c rollup.config.js ",
1921
"playground:vue": "yarn --cwd ./playgrounds/vue && yarn --cwd ./playgrounds/vue serve",
2022
"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"
2225
},
2326
"main": "./dist/instant-meilisearch.umd.js",
2427
"module": "./dist/instant-meilisearch.esm.js",
2528
"browser": "./dist/instant-meilisearch.umd.js",
2629
"cjs": "./dist/instant-meilisearch.cjs.js",
2730
"files": [
2831
"dist",
29-
"src"
32+
"src",
33+
"templates"
3034
],
3135
"keywords": [
3236
"search",
@@ -52,6 +56,7 @@
5256
"@typescript-eslint/parser": "^4.14.0",
5357
"babel-eslint": "^10.1.0",
5458
"babel-jest": "^26.1.0",
59+
"cssnano": "^4.1.10",
5560
"eslint": "^7.13.0",
5661
"eslint-config-prettier": "^7.2.0",
5762
"eslint-config-react-app": "^6.0.0",
File renamed without changes.
File renamed without changes.
File renamed without changes.

playgrounds/vanilla-js/package.json renamed to playgrounds/javascript/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"main": "index.js",
66
"scripts": {
77
"cleanup": "rm -rf .cache dist",
8-
"start": "npm run cleanup && parcel serve index.html",
8+
"start": "npm run cleanup && parcel serve index.html --open",
99
"build": "npm run cleanup && parcel build index.html"
1010
},
1111
"devDependencies": {
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)