-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
100 lines (100 loc) · 3.11 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
{
"name": "test-ui",
"private": true,
"version": "0.0.0",
"type": "commonjs",
"main": "index.js",
"module": "index.js",
"author": "WaterAndBin",
"scripts": {
"start": "vite",
"dev": "vite",
"prebuild": "rimraf test-ui/lib test-ui/cjs",
"build": "rollup -c script/rollup.config.js && npm run build:tsc",
"build:tsc": "run-p build:tsc-*",
"build:tsc-lib": "tsc --emitDeclarationOnly -d -p ./tsconfig.build.json --outDir test-ui/lib",
"lint": "eslint --ext \".ts,.js,.tsx,.jsx\" --ignore-path .gitignore src/",
"lint:fix": "eslint --fix --ext \".ts,.js,.tsx,.jsx\" --ignore-path .gitignore src/",
"preview": "vite preview",
"prettier": "prettier --write .",
"prepare": "husky install",
"lint-staged": "lint-staged",
"commitlint": "commitlint --config ./commitlint.config.js"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx,vue,json}": [
"prettier --write",
"eslint",
"git add ."
],
"src/*.{js,jsx,ts,tsx,vue,json}": [
"prettier --write",
"eslint",
"git add ."
]
},
"dependencies": {
"clsx": "^2.1.1",
"omi": "7.7",
"sass": "^1.83.0",
"tailwind-merge": "^2.5.2"
},
"devDependencies": {
"@babel/core": "^7.25.2",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-proposal-decorators": "^7.24.7",
"@babel/plugin-transform-class-properties": "^7.24.7",
"@babel/plugin-transform-runtime": "^7.24.7",
"@babel/preset-env": "^7.25.3",
"@babel/preset-typescript": "^7.24.7",
"@babel/runtime": "^7.25.0",
"@commitlint/cli": "^19.6.1",
"@commitlint/config-conventional": "^19.6.0",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^26.0.1",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-replace": "^6.0.2",
"@rollup/plugin-url": "^8.0.2",
"@types/react": "^18.3.3",
"@typescript-eslint/eslint-plugin": "^8.18.1",
"@typescript-eslint/parser": "^8.18.1",
"@vitejs/plugin-vue-jsx": "^3.1.0",
"@vue/babel-preset-jsx": "^1.4.0",
"autoprefixer": "^10.4.16",
"babel-preset-env": "^1.7.0",
"babel-preset-omi": "^0.1.1",
"eslint": "^8.57.1",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-promise": "^6.6.0",
"husky": "^9.1.7",
"lint-staged": "^15.2.11",
"npm-run-all": "^4.1.5",
"omi-router": "^4.1.8",
"postcss": "^8.4.31",
"prettier": "^3.0.3",
"react": "^19.0.0",
"rollup-plugin-analyzer": "^4.0.0",
"rollup-plugin-esbuild": "^6.1.1",
"rollup-plugin-ignore-import": "^1.3.2",
"rollup-plugin-multi-input": "^1.5.0",
"rollup-plugin-postcss": "^4.0.2",
"rollup-plugin-static-import": "^1.0.0",
"rollup-plugin-styles": "^4.0.0",
"rollup-plugin-terser": "^7.0.2",
"tailwindcss": "^3.3.3",
"ts-loader": "^9.5.1",
"ts-node": "^10.9.1",
"tslib": "^2.6.3",
"typescript": "^5.7.2",
"vite": "^4.4.5",
"vite-plugin-sass": "^0.1.0"
}
}