-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
41 lines (41 loc) · 1.25 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{
"name": "@algolia/recommend-react",
"description": "Horizontal slider UI component.",
"version": "1.7.0",
"license": "MIT",
"homepage": "https://github.com/algolia/recommend",
"repository": "algolia/recommend",
"author": {
"name": "Algolia, Inc.",
"url": "https://www.algolia.com"
},
"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",
"sideEffects": false,
"files": [
"dist/"
],
"scripts": {
"build:clean": "rm -rf ./dist",
"build:esm": "babel src --root-mode upward --extensions '.ts,.tsx' --out-dir dist/esm --ignore '**/*/__tests__/'",
"build:types": "tsc -p ./tsconfig.declaration.json --outDir ./dist/esm",
"build:umd": "rollup --config",
"build": "yarn build:clean && yarn build:esm && yarn build:umd && yarn build:types",
"prepare": "yarn build:esm && yarn build:types"
},
"dependencies": {
"@algolia/recommend-core": "1.7.0",
"@algolia/recommend-vdom": "1.7.0",
"dequal": "^2.0.0"
},
"peerDependencies": {
"@algolia/recommend": "^4.13.0",
"react": ">= 16.8.0 < 18",
"react-dom": ">= 16.8.0 < 18"
}
}