init component
parents
Showing
.dumi/theme/global.less
0 → 100644
.dumi/theme/layout.js
0 → 100644
.eslintrc.js
0 → 100644
.fatherrc.js
0 → 100644
.gitignore
0 → 100644
.prettierignore
0 → 100644
.prettierrc.js
0 → 100644
.umirc.js
0 → 100644
docs/getting-started.md
0 → 100755
docs/index.md
0 → 100755
docs/intro.md
0 → 100755
jest.config.js
0 → 100644
lerna.json
0 → 100644
package.json
0 → 100644
{ | |||
"private": true, | |||
"license": "MIT", | |||
"workspaces": [ | |||
"packages/*" | |||
], | |||
"scripts": { | |||
"bootstrap": "node ./scripts/bootstrap.js", | |||
"build": "father-build && webpack", | |||
"deploy": "npm run site && gh-pages -d ./dist", | |||
"lint": "eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./packages && npm run lint:prettier", | |||
"lint:prettier": "npm run prettier && git diff && prettier --version && prettier --check \"packages/**/**.{js,jsx,tsx,ts,less,md,json}\" --end-of-line auto", | |||
"prettier": "prettier --write \"**/**.{js,jsx,tsx,ts,less,md,json}\"", | |||
"release": "node ./scripts/release.js", | |||
"site": "dumi build", | |||
"size": "npm run build && size-limit", | |||
"start": "dumi dev", | |||
"tsc:duplicate": "tsc -p ./tests/tsconfig.duplicate.json", | |||
"sync:tnpm": "node -e 'require(\"./scripts/syncTNPM\")()'", | |||
"test": "umi-test", | |||
"test:coverage": "umi-test --coverage", | |||
"test:update": "umi-test --updateSnapshot", | |||
"update:deps": "yarn upgrade-interactive --latest" | |||
}, | |||
"browserslist": [ | |||
"last 2 versions", | |||
"Firefox ESR", | |||
"> 1%", | |||
"ie >= 11" | |||
], | |||
"devDependencies": { | |||
"@ant-design/compatible": "^1.0.4", | |||
"@ant-design/pro-skeleton": "^1.0.0-beta.2", | |||
"@babel/core": "^7.8.3", | |||
"@babel/plugin-proposal-object-rest-spread": "^7.8.3", | |||
"@babel/preset-env": "^7.8.3", | |||
"@babel/preset-react": "^7.8.3", | |||
"@babel/preset-typescript": "^7.8.3", | |||
"@size-limit/preset-big-lib": "^4.5.5", | |||
"@testing-library/react": "^10.0.2", | |||
"@testing-library/react-hooks": "^3.2.1", | |||
"@umijs/babel-preset-umi": "^3.0.14", | |||
"@umijs/fabric": "^2.0.0", | |||
"@umijs/plugin-analytics": "^0.2.2", | |||
"@umijs/test": "^3.2.10", | |||
"@umijs/test-utils": "^3.2.10", | |||
"@umijs/utils": "^3.2.11", | |||
"antd": "^4.7.0", | |||
"babel-loader": "^8.1.0", | |||
"babel-plugin-import": "^1.12.2", | |||
"body-parser": "^1.18.2", | |||
"chalk": "^4.1.0", | |||
"cross-env": "^7.0.0", | |||
"css-loader": "^3.4.2", | |||
"dumi": "1.1.0-beta.24", | |||
"enzyme": "^3.11.0", | |||
"enzyme-to-json": "^3.4.3", | |||
"eslint": "^7.2.0", | |||
"father-build": "^1.18.1", | |||
"gh-pages": "^3.1.0", | |||
"glob": "^7.1.6", | |||
"jest": "^26.2.2", | |||
"jest-fetch-mock": "^3.0.3", | |||
"jsdom": "^16.4.0", | |||
"jsdom-global": "^3.0.2", | |||
"lerna": "^3.20.2", | |||
"lerna-changelog": "^1.0.1", | |||
"less-loader": "^6.0.0", | |||
"lint-staged": "^10.0.2", | |||
"mini-css-extract-plugin": "^0.9.0", | |||
"mockdate": "^3.0.2", | |||
"moment": "^2.27.0", | |||
"moment-timezone": "^0.5.31", | |||
"np": "^6.1.0", | |||
"npm-run-all": "^4.1.5", | |||
"optimize-css-assets-webpack-plugin": "^5.0.3", | |||
"pify": "^5.0.0", | |||
"prettier": "^2.1.2", | |||
"pretty-quick": "^2.0.1", | |||
"progress-bar-webpack-plugin": "^2.1.0", | |||
"query-string": "^6.11.1", | |||
"react": "^16.11.0", | |||
"react-dom": "^16.11.0", | |||
"react-lazyload": "^3.0.0", | |||
"react-markdown": "^4.3.0", | |||
"react-test-renderer": "^16.9.0", | |||
"size-limit": "^4.5.5", | |||
"slash2": "^2.0.0", | |||
"style-loader": "^1.1.3", | |||
"stylelint": "^13.0.0", | |||
"terser-webpack-plugin": "^3.0.2", | |||
"typescript": "^3.9.7", | |||
"umi": "^3.2.10", | |||
"umi-plugin-githubpages": "^2.0.0", | |||
"umi-request": "^1.3.5", | |||
"umi-test": "^1.9.6", | |||
"umi-types": "^0.5.11", | |||
"webpack-bundle-analyzer": "^3.6.0", | |||
"webpack-cli": "^3.3.12", | |||
"write-pkg": "^4.0.0", | |||
"xhr-mock": "^2.5.1", | |||
"yorkie": "^2.0.0" | |||
}, | |||
"gitHooks": { | |||
"pre-commit": "pretty-quick --staged", | |||
"commit-msg": "node scripts/verifyCommit.js" | |||
}, | |||
"size-limit": [ | |||
{ | |||
"path": "packages/card/dist/**/*.js", | |||
"limit": "100 s", | |||
"webpack": false, | |||
"running": false | |||
} | |||
] | |||
} |
packages/card/README.md
0 → 100644
packages/card/package.json
0 → 100644
packages/card/src/card.md
0 → 100644
packages/card/src/index.js
0 → 100644
public/CNAME
0 → 100644
scripts/bootstrap.js
0 → 100644
scripts/generateSizeLimit.js
0 → 100644
scripts/release.js
0 → 100644
scripts/syncTNPM.js
0 → 100644
scripts/utils/exec.js
0 → 100644
scripts/utils/getPackages.js
0 → 100644
scripts/verifyCommit.js
0 → 100644
tests/no-duplicated.js
0 → 100644
tests/setupTests.js
0 → 100644
tests/util.js
0 → 100644
webpack.config.js
0 → 100644
Please
register
or
sign in
to comment