Co-authored-by: eunjae-lee <karis612@gmail.com> Co-authored-by: Shipow <shipowlata@gmail.com>
44 lines
1.6 KiB
JSON
44 lines
1.6 KiB
JSON
{
|
|
"name": "docsearch-react",
|
|
"version": "1.0.0-alpha.10",
|
|
"license": "MIT",
|
|
"homepage": "https://github.com/algolia/autocomplete.js",
|
|
"repository": "algolia/autocomplete.js",
|
|
"author": {
|
|
"name": "Algolia, Inc.",
|
|
"url": "https://www.algolia.com"
|
|
},
|
|
"sideEffects": false,
|
|
"files": [
|
|
"dist/"
|
|
],
|
|
"source": "src/index.ts",
|
|
"types": "dist/esm/index.d.ts",
|
|
"module": "dist/esm/index.js",
|
|
"main": "dist/umd/index.js",
|
|
"umd:main": "dist/umd/index.js",
|
|
"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/style.css dist/esm/ && cp src/style.css dist/umd/",
|
|
"build:css:watch": "chokidar src/style.css --command \"yarn build:css\"",
|
|
"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\""
|
|
},
|
|
"dependencies": {
|
|
"@francoischalifour/autocomplete-core": "^1.0.0-alpha.10",
|
|
"@francoischalifour/autocomplete-preset-algolia": "^1.0.0-alpha.10",
|
|
"algoliasearch": "^4.0.0"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "^16.8.0",
|
|
"react-dom": "^16.8.0"
|
|
}
|
|
}
|