UNPKG

@rc-component/notification

Version:
93 lines (92 loc) 2.41 kB
{ "name": "@rc-component/notification", "version": "2.0.7", "description": "notification ui component for react", "engines": { "node": ">=8.x" }, "keywords": [ "react", "react-component", "react-notification", "notification" ], "homepage": "http://github.com/react-component/notification", "maintainers": [ "yiminghe@gmail.com", "skyking_H@hotmail.com", "hust2012jiangkai@gmail.com" ], "files": [ "assets/*.css", "assets/*.less", "es", "lib" ], "repository": { "type": "git", "url": "git@github.com:react-component/notification.git" }, "bugs": { "url": "http://github.com/react-component/notification/issues" }, "license": "MIT", "main": "lib/index", "module": "es/index", "typings": "es/index.d.ts", "scripts": { "start": "dumi dev", "build": "dumi build", "docs:deploy": "gh-pages -d .doc", "compile": "father build && lessc assets/index.less assets/index.css", "prepublishOnly": "npm run compile && rc-np", "lint": "eslint src/ docs/examples/ --ext .tsx,.ts,.jsx,.js", "test": "vitest --watch=false", "test:watch": "vitest", "coverage": "vitest run --coverage", "now-build": "npm run build", "prepare": "husky install" }, "dependencies": { "@rc-component/motion": "^1.1.4", "@rc-component/util": "^1.11.0", "clsx": "^2.1.1" }, "devDependencies": { "@rc-component/father-plugin": "^2.0.4", "@rc-component/np": "^1.0.3", "@testing-library/jest-dom": "^6.0.0", "@testing-library/react": "^15.0.7", "@types/node": "^24.5.2", "@types/react": "^18.0.0", "@types/react-dom": "^18.0.0", "@types/testing-library__jest-dom": "^6.0.0", "@typescript-eslint/eslint-plugin": "^5.59.7", "@typescript-eslint/parser": "^5.59.7", "@umijs/fabric": "^4.0.1", "@vitest/coverage-v8": "^0.34.2", "dumi": "^2.1.0", "eslint": "^8.57.1", "father": "^4.0.0", "gh-pages": "^3.1.0", "husky": "^8.0.3", "jsdom": "^24.0.0", "less": "^4.2.0", "lint-staged": "^14.0.1", "prettier": "^3.0.2", "react": "^18.0.0", "react-dom": "^18.0.0", "typescript": "^5.4.5", "vitest": "^0.34.2" }, "peerDependencies": { "react": ">=18.0.0", "react-dom": ">=18.0.0" }, "lint-staged": { "**/*.{js,jsx,tsx,ts,md,json}": [ "prettier --write", "git add" ] } }