-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
84 lines (84 loc) · 2.44 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
73
74
75
76
77
78
79
80
81
82
83
84
{
"name": "siber-ui",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"repository": "https://github.com/pnxdxt/siber-ui",
"homepage": "https://github.com/pnxdxt/siber-ui",
"version": "0.0.4",
"license": "AGPL-3.0-or-later",
"files": [
"dist"
],
"scripts": {
"dev": "start-storybook -p 3000",
"build:ts": "tsc --declaration --declarationMap --emitDeclarationOnly",
"build": "swc ./src -d ./dist --only ./src/**/*.js --config-file .swcrc && cp ./package.json ./dist && cp ./README.md ./dist && cp ./LICENSE ./dist && npm run build:ts",
"lint": "xo",
"lint:fix": "xo --fix",
"build:storybook": "build-storybook",
"predeploy": "yarn build:storybook",
"deploy": "gh-pages -d storybook-static",
"prepare": "husky install"
},
"xo": {
"extends": "xo-react",
"prettier": true,
"overrides": [
{
"files": "./stories/**/*.tsx",
"rules": {
"unicorn/filename-case": "off"
}
}
],
"rules": {
"unicorn/prefer-module": "warn",
"react/function-component-definition": "off",
"import/extensions": "off"
}
},
"dependencies": {
"@headlessui/react": "^1.6.1",
"@heroicons/react": "^1.0.6",
"@tailwindcss/forms": "^0.5.2",
"@tailwindcss/typography": "^0.5.2",
"classnames": "^2.3.1",
"deepmerge": "^4.2.2",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"tailwind-override": "^0.6.1"
},
"devDependencies": {
"@babel/core": "^7.18.0",
"@storybook/addon-actions": "^6.5.5",
"@storybook/addon-essentials": "^6.5.5",
"@storybook/addon-interactions": "^6.5.5",
"@storybook/addon-links": "^6.5.5",
"@storybook/builder-vite": "^0.1.35",
"@storybook/react": "^6.5.5",
"@storybook/testing-library": "^0.0.11",
"@swc/cli": "^0.1.57",
"@swc/core": "^1.2.186",
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"@vitejs/plugin-react": "^1.3.0",
"autoprefixer": "^10.4.7",
"babel-loader": "^8.2.5",
"chromatic": "^6.5.4",
"eslint-config-xo-react": "^0.27.0",
"eslint-plugin-react": "^7.29.4",
"eslint-plugin-react-hooks": "^4.5.0",
"gh-pages": "^4.0.0",
"husky": ">=6",
"lint-staged": ">=10",
"prettier": "^2.6.2",
"prettier-config-xo": "^2.0.0",
"tailwindcss": "^3.0.24",
"typescript": "^4.6.4",
"vite": "^2.9.13",
"xo": "^0.49.0"
},
"lint-staged": {
"**/*.{css,md,js,jsx,ts,tsx}": "prettier --write"
}
}