Skip to content

Commit

Permalink
feat(docsearch): introduce DocSearch.js v3 (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
francoischalifour committed Jul 9, 2020
1 parent ae3c713 commit a358695
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 1,534 deletions.
8 changes: 3 additions & 5 deletions package.json
Expand Up @@ -23,19 +23,17 @@
"unpkg": "dist/umd/index.js",
"jsdelivr": "dist/umd/index.js",
"scripts": {
"build": "yarn build:clean && yarn build:umd && yarn build:esm && yarn build:css",
"": "// TODO: have a proper build:css, probably including autoprefixer?",
"build:css": "cp src/styles/*.css dist/",
"build:css:watch": "chokidar src/styles/*.css --command \"yarn build:css\"",
"build": "yarn build:clean && yarn build:umd && yarn build:esm",
"build:esm": "babel src --root-mode upward --extensions '.ts,.tsx' --out-dir dist/esm",
"build:esm:watch": "yarn build:esm --watch",
"build:umd": "rollup --config",
"build:types": "tsc -p ./tsconfig.declaration.json --outDir ./dist/esm",
"build:types:watch": "chokidar \"**/*.ts\" \"**/*.tsx\" --command \"yarn build:types\" --ignore \"dist\"",
"build:clean": "rm -rf ./dist",
"watch": "concurrently \"yarn build:esm:watch\" \"yarn build:types:watch\" \"yarn build:css:watch\""
"watch": "concurrently \"yarn build:esm:watch\" \"yarn build:types:watch\""
},
"dependencies": {
"@docsearch/css": "^1.0.0-alpha.21",
"@francoischalifour/autocomplete-core": "^1.0.0-alpha.21",
"@francoischalifour/autocomplete-preset-algolia": "^1.0.0-alpha.21",
"algoliasearch": "^4.0.0"
Expand Down

0 comments on commit a358695

Please sign in to comment.