2026-05-31 09:36:07 +08:00
|
|
|
{
|
2026-05-31 18:34:36 +08:00
|
|
|
"name": "rustui",
|
2026-05-31 09:36:07 +08:00
|
|
|
"version": "0.0.1",
|
2026-05-31 18:34:36 +08:00
|
|
|
"description": "RustUI - A modern React component library",
|
2026-05-31 09:36:07 +08:00
|
|
|
"type": "module",
|
|
|
|
|
"main": "dist/cjs/index.js",
|
|
|
|
|
"module": "dist/esm/index.js",
|
|
|
|
|
"types": "dist/esm/index.d.ts",
|
|
|
|
|
"exports": {
|
|
|
|
|
".": {
|
|
|
|
|
"import": "./dist/esm/index.js",
|
|
|
|
|
"require": "./dist/cjs/index.js"
|
|
|
|
|
},
|
2026-05-31 18:34:36 +08:00
|
|
|
"./styles": "./dist/esm/global.css"
|
2026-05-31 09:36:07 +08:00
|
|
|
},
|
|
|
|
|
"files": [
|
|
|
|
|
"dist"
|
|
|
|
|
],
|
|
|
|
|
"sideEffects": [
|
|
|
|
|
"**/*.css"
|
|
|
|
|
],
|
|
|
|
|
"scripts": {
|
|
|
|
|
"dev": "dumi dev",
|
|
|
|
|
"docs:build": "dumi build",
|
|
|
|
|
"build": "father build",
|
|
|
|
|
"test": "vitest run",
|
|
|
|
|
"test:watch": "vitest",
|
|
|
|
|
"lint": "eslint src --ext .ts,.tsx",
|
|
|
|
|
"format": "prettier --write \"src/**/*.{ts,tsx,css}\"",
|
|
|
|
|
"prepare": "husky",
|
2026-05-31 18:34:36 +08:00
|
|
|
"prepublishOnly": "pnpm build",
|
2026-05-31 09:36:07 +08:00
|
|
|
"changeset": "changeset",
|
|
|
|
|
"release": "changeset publish"
|
|
|
|
|
},
|
|
|
|
|
"lint-staged": {
|
|
|
|
|
"*.{ts,tsx}": [
|
|
|
|
|
"eslint --fix",
|
|
|
|
|
"prettier --write"
|
|
|
|
|
],
|
|
|
|
|
"*.{css,json,md}": [
|
|
|
|
|
"prettier --write"
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"peerDependencies": {
|
|
|
|
|
"react": ">=18",
|
|
|
|
|
"react-dom": ">=18"
|
|
|
|
|
},
|
2026-05-31 18:34:36 +08:00
|
|
|
"packageManager": "pnpm@9.15.0",
|
2026-05-31 09:36:07 +08:00
|
|
|
"devEngines": {
|
|
|
|
|
"packageManager": {
|
|
|
|
|
"name": "pnpm",
|
2026-05-31 18:34:36 +08:00
|
|
|
"version": "9.15.0",
|
|
|
|
|
"onFail": "warn"
|
2026-05-31 09:36:07 +08:00
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"keywords": [
|
2026-05-31 18:34:36 +08:00
|
|
|
"rustui",
|
2026-05-31 09:36:07 +08:00
|
|
|
"ui",
|
|
|
|
|
"components",
|
|
|
|
|
"react",
|
2026-05-31 18:34:36 +08:00
|
|
|
"component-library"
|
2026-05-31 09:36:07 +08:00
|
|
|
],
|
2026-05-31 18:34:36 +08:00
|
|
|
"author": "donghy.top",
|
2026-05-31 09:36:07 +08:00
|
|
|
"license": "MIT",
|
2026-05-31 18:34:36 +08:00
|
|
|
"repository": {
|
|
|
|
|
"type": "git",
|
|
|
|
|
"url": "http://110.42.255.239:3000/admin/RustUI.git"
|
|
|
|
|
},
|
|
|
|
|
"bugs": {
|
|
|
|
|
"url": "http://110.42.255.239:3000/admin/RustUI/issues"
|
|
|
|
|
},
|
|
|
|
|
"homepage": "http://110.42.255.239:3000/admin/RustUI",
|
|
|
|
|
"publishConfig": {
|
|
|
|
|
"access": "public"
|
2026-05-31 09:36:07 +08:00
|
|
|
},
|
|
|
|
|
"devDependencies": {
|
|
|
|
|
"@changesets/cli": "^2.31.0",
|
|
|
|
|
"@commitlint/cli": "^21.0.1",
|
|
|
|
|
"@commitlint/config-conventional": "^21.0.1",
|
|
|
|
|
"@esbuild/darwin-arm64": "0.19.3",
|
2026-05-31 09:36:23 +08:00
|
|
|
"@eslint/js": "^10.0.1",
|
2026-05-31 09:36:07 +08:00
|
|
|
"@rollup/rollup-darwin-arm64": "^4.60.4",
|
2026-05-31 09:36:23 +08:00
|
|
|
"@svgr/core": "^8.1.0",
|
|
|
|
|
"@swc/core": "^1.15.40",
|
2026-05-31 09:36:07 +08:00
|
|
|
"@swc/core-darwin-arm64": "1.9.2",
|
|
|
|
|
"@testing-library/jest-dom": "^6.9.1",
|
|
|
|
|
"@testing-library/react": "^16.3.2",
|
2026-05-31 09:36:23 +08:00
|
|
|
"@testing-library/user-event": "^14.6.1",
|
|
|
|
|
"@types/react": "^19.2.15",
|
|
|
|
|
"@types/react-dom": "^19.2.3",
|
2026-05-31 09:36:07 +08:00
|
|
|
"@typescript-eslint/eslint-plugin": "^8.60.0",
|
|
|
|
|
"@typescript-eslint/parser": "^8.60.0",
|
2026-05-31 09:36:23 +08:00
|
|
|
"@vitest/coverage-v8": "^1.0.0",
|
2026-05-31 09:36:07 +08:00
|
|
|
"dumi": "^2.4.28",
|
2026-05-31 09:36:23 +08:00
|
|
|
"dumi-theme-antd": "0.4.4",
|
2026-05-31 09:36:07 +08:00
|
|
|
"eslint": "^10.4.0",
|
|
|
|
|
"eslint-config-prettier": "^10.1.8",
|
2026-05-31 09:36:23 +08:00
|
|
|
"eslint-plugin-react": "^7.37.5",
|
|
|
|
|
"eslint-plugin-react-hooks": "^7.1.1",
|
2026-05-31 09:36:07 +08:00
|
|
|
"father": "^4.6.21",
|
2026-05-31 09:36:23 +08:00
|
|
|
"globals": "^17.6.0",
|
2026-05-31 09:36:07 +08:00
|
|
|
"husky": "^9.1.7",
|
|
|
|
|
"jsdom": "^29.1.1",
|
|
|
|
|
"lint-staged": "^17.0.5",
|
|
|
|
|
"prettier": "^3.8.3",
|
|
|
|
|
"typescript": "^6.0.3",
|
|
|
|
|
"vitest": "^1.0.0"
|
|
|
|
|
}
|
|
|
|
|
}
|