UNPKG

yantd

Version:

React component library

89 lines (88 loc) 2.23 kB
{ "name": "yantd", "version": "0.1.6", "private": false, "main": "dist/index.js", "module": "dist/index.js", "types": "dist/index.d.ts", "description": "React component library", "author": "nyflxp", "keywords": [ "Component", "UI", "React", "Rock" ], "files": [ "dist" ], "repository": { "type": "git", "url": "https://github.com/nieyafei/project-practice/tree/master/project-react/yantd" }, "dependencies": { "classnames": "^2.2.6", "rc-util": "^5.9.4", "web-vitals": "^1.0.1" }, "peerDependencies": { "react": ">=16.0.0", "react-dom": ">=16.0.0" }, "scripts": { "start": "craco start", "clean": "rimraf ./dist", "lint": "eslint --ext js,ts src --max-warnings 5", "build": "npm run clean && npm run build-ts && npm run build-css", "test": "react-scripts test", "test:nowatch": "cross-env CI=true react-scripts test", "eject": "react-scripts eject", "build-ts": "tsc -p tsconfig.build.json", "build-css": "node-sass ./src/styles/index.scss ./dist/index.css", "prepublish": "npm run test:nowatch && npm run lint && npm run build" }, "eslintConfig": { "extends": [ "react-app", "react-app/jest" ], "plugins": [ "react-hooks" ], "rules": { "react-hooks/rules-of-hooks": "error", "react-hooks/exhaustive-deps": "warn" } }, "browserslist": { "production": [ ">0.2%", "not dead", "not op_mini all" ], "development": [ "last 1 chrome version", "last 1 firefox version", "last 1 safari version" ] }, "devDependencies": { "@craco/craco": "^6.1.1", "@testing-library/jest-dom": "^5.11.4", "@testing-library/react": "^11.1.0", "@testing-library/user-event": "^12.1.10", "@types/classnames": "^2.2.11", "@types/jest": "^26.0.15", "@types/lodash": "^4.14.168", "@types/node": "^12.0.0", "@types/react": "^17.0.0", "@types/react-dom": "^17.0.0", "cross-env": "^7.0.3", "eslint-plugin-react-hooks": "^4.2.0", "node-sass": "^5.0.0", "react": "^17.0.2", "react-dom": "^17.0.2", "react-scripts": "4.0.3", "typescript": "^4.1.2" } }