1
This commit is contained in:
+80
@@ -0,0 +1,80 @@
|
||||
{
|
||||
"name": "@rc-component/switch",
|
||||
"version": "1.0.3",
|
||||
"description": "switch ui component for react",
|
||||
"keywords": [
|
||||
"react",
|
||||
"react-component",
|
||||
"react-switch",
|
||||
"switch"
|
||||
],
|
||||
"homepage": "http://github.com/react-component/switch",
|
||||
"bugs": {
|
||||
"url": "http://github.com/react-component/switch/issues"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git@github.com:react-component/switch.git"
|
||||
},
|
||||
"license": "MIT",
|
||||
"main": "lib/index",
|
||||
"module": "./es/index",
|
||||
"files": [
|
||||
"assets/*.css",
|
||||
"es",
|
||||
"lib"
|
||||
],
|
||||
"scripts": {
|
||||
"compile": "father build && lessc assets/index.less assets/index.css",
|
||||
"docs:build": "dumi build",
|
||||
"docs:deploy": "gh-pages -d .doc",
|
||||
"gh-pages": "npm run docs:build && npm run docs:deploy",
|
||||
"lint": "eslint .",
|
||||
"lint-staged": "lint-staged",
|
||||
"prepare": "husky install && dumi setup",
|
||||
"prepublishOnly": "npm run compile && rc-np",
|
||||
"postpublish": "npm run gh-pages",
|
||||
"start": "dumi dev",
|
||||
"test": "umi-test"
|
||||
},
|
||||
"lint-staged": {
|
||||
"**/*.{js,jsx,tsx,ts,md,json}": [
|
||||
"prettier --write"
|
||||
]
|
||||
},
|
||||
"dependencies": {
|
||||
"@rc-component/util": "^1.3.0",
|
||||
"clsx": "^2.1.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@rc-component/father-plugin": "^2.0.0",
|
||||
"@rc-component/np": "^1.0.3",
|
||||
"@types/jest": "^29.4.0",
|
||||
"@types/node": "^24.5.2",
|
||||
"@types/react": "^19.1.14",
|
||||
"@types/react-dom": "^19.1.9",
|
||||
"@umijs/fabric": "^3.0.0",
|
||||
"cheerio": "1.0.0-rc.12",
|
||||
"dumi": "^2.0.0",
|
||||
"enzyme": "^3.0.0",
|
||||
"enzyme-adapter-react-16": "^1.0.1",
|
||||
"enzyme-to-json": "^3.0.0",
|
||||
"eslint": "^8.55.0",
|
||||
"eslint-plugin-jest": "^27.6.0",
|
||||
"eslint-plugin-unicorn": "^49.0.0",
|
||||
"father": "^4.0.0",
|
||||
"gh-pages": "^6.1.0",
|
||||
"husky": "^8.0.1",
|
||||
"less": "^4.1.3",
|
||||
"lint-staged": "^15.1.0",
|
||||
"prettier": "^3.1.0",
|
||||
"react": "^16.0.0",
|
||||
"react-dom": "^16.0.0",
|
||||
"react-test-renderer": "^16.0.0",
|
||||
"umi-test": "^1.9.7"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"react": ">=16.9.0",
|
||||
"react-dom": ">=16.9.0"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user