-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
53 lines (53 loc) · 1.84 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
42
43
44
45
46
47
48
49
50
51
52
53
{
"name": "@tailwind-rc/select",
"version": "1.0.2",
"main": "dist/index.js",
"module": "dist/module.js",
"types": "dist/index.d.ts",
"repository": "git@github.com:Apozhidaev/tailwindcss-select.git",
"author": "alexanderpo <alexander.pozhidaev@gmail.com>",
"license": "MIT",
"publishConfig": {
"access": "public"
},
"files": [
"dist",
"route",
"src"
],
"keywords": [
"tailwindcss",
"select",
"searchSelect",
"treeSelect",
"autocomplete",
"route",
"router",
"queryParams",
"searchParams"
],
"scripts": {
"clean": "rm -rf dist/common",
"build:ts": "tsc && yarn run clean",
"build:cjs": "esbuild src/index.tsx --format=cjs --bundle --outfile=dist/index.js --external:@heroicons/* --external:react* --external:classnames --external:@headlessui/*",
"build:esm": "esbuild src/index.tsx --format=esm --bundle --outfile=dist/module.js --external:@heroicons/* --external:react* --external:classnames --external:@headlessui/*",
"build:route:cjs": "esbuild src/route/index.tsx --format=cjs --bundle --outfile=route/index.js --external:@heroicons/* --external:react* --external:classnames --external:@headlessui/*",
"build:route:esm": "esbuild src/route/index.tsx --format=esm --bundle --outfile=route/module.js --external:@heroicons/* --external:react* --external:classnames --external:@headlessui/*",
"build": "yarn run build:cjs && yarn run build:esm && yarn run build:route:cjs && yarn run build:route:esm && yarn run build:ts"
},
"peerDependencies": {
"react": ">=16.8.0"
},
"dependencies": {
"@headlessui/react": "^1.7.7",
"@heroicons/react": "^2.0.13",
"classnames": "^2.3.2"
},
"devDependencies": {
"@types/react": "^18.0.26",
"esbuild": "^0.16.9",
"react": "^18.2.0",
"react-router-dom": "^6.6.1",
"typescript": "^4.9.4"
}
}