-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
72 lines (72 loc) · 2.03 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
{
"name": "wave-button",
"version": "0.1.1",
"type": "module",
"main": "./dist/cjs/index.js",
"types": "./dist/type/index.d.ts",
"exports": {
".": {
"import": "./dist/mjs/index.js",
"require": "./dist/cjs/index.js",
"types": "./dist/type/index.d.ts"
}
},
"description": "React cool wave-button",
"homepage": "https://zhangyu1818.github.io/wave-button",
"repository": {
"url": "https://github.com/zhangyu1818/wave-button",
"type": "git"
},
"keywords": [
"button",
"react button",
"wave button"
],
"author": {
"name": "zhangyu1818",
"email": "zhangyu1818@qq.com"
},
"license": "MIT",
"files": [
"dist"
],
"scripts": {
"dev": "vite",
"build:demo": "tsc && vite build",
"build:css": "npx tailwindcss --content ./src/button.tsx -i ./src/style.css -o ./dist/style.css",
"build:mjs": "npx swc src -d dist/mjs -C module.type=es6",
"build:cjs": "npx swc src -d dist/cjs -C module.type=commonjs",
"build:lib": "pnpm build:mjs && pnpm build:cjs && npx tsc -p tsconfig.build.json && pnpm build:css",
"lint": "eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"preview": "vite preview"
},
"dependencies": {
"@react-aria/button": "^3.8.0",
"clsx": "^1.2.1",
"motion-wave": "^0.0.5"
},
"devDependencies": {
"@swc/cli": "^0.1.62",
"@swc/core": "^1.3.68",
"@types/react": "^18.2.14",
"@types/react-dom": "^18.2.6",
"@typescript-eslint/eslint-plugin": "^5.61.0",
"@typescript-eslint/parser": "^5.61.0",
"@vitejs/plugin-react-swc": "^3.3.2",
"autoprefixer": "^10.4.14",
"dark-toggle": "^1.0.0",
"eslint": "^8.44.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.1",
"gh-pages": "^5.0.0",
"postcss": "^8.4.25",
"prettier": "^2.8.8",
"prettier-plugin-tailwindcss": "^0.3.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"sass": "^1.63.6",
"tailwindcss": "^3.3.2",
"typescript": "^5.0.2",
"vite": "^4.4.0"
}
}