Skip to content

Commit

Permalink
modern
Browse files Browse the repository at this point in the history
  • Loading branch information
guoyunhe committed May 7, 2024
1 parent 3330b9a commit ba289b8
Show file tree
Hide file tree
Showing 12 changed files with 676 additions and 20,856 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,6 @@
!.yarn/sdks
!.yarn/versions
.pnp.*

.rive
pnpm-lock.yaml
123 changes: 50 additions & 73 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "antd-mobile",
"name": "antd-mobile-modern",
"version": "5.35.0",
"description": "Essential UI blocks for building mobile web apps. (for Chrome 86+)",
"homepage": "https://github.com/ant-design/ant-design-mobile#readme",
"bugs": {
"url": "https://github.com/ant-design/ant-design-mobile/issues"
Expand All @@ -11,52 +12,58 @@
"branch": "master",
"platform": "github"
},
"funding": "https://github.com/sponsors/guoyunhe",
"license": "MIT",
"sideEffects": [
"**/*.css",
"**/*.less",
"./es/index.js",
"./dist/index.js",
"./src/index.ts",
"./es/global/index.js",
"./dist/global/index.js",
"./src/global/index.ts"
],
"main": "./cjs/index.js",
"unpkg": "./umd/antd-mobile.js",
"module": "./es/index.js",
"types": "./es/index.d.ts",
"typings": "./es/index.d.ts",
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"./lib"
"dist",
"CHANGELOG.md",
"LICENSE",
"README.md"
],
"scripts": {
"build": "gulp",
"build": "rive build",
"build-doc": "dumi build && echo '!.*' > dist/.surgeignore",
"build:watch": "rive build --watch",
"postinstall": "husky install",
"lint": "eslint . && stylelint \"**/*.{css,less,scss}\"",
"lint:fix": "prettier --write . && eslint --fix . && stylelint --fix \"**/*.{css,less,scss}\"",
"lint": "rive lint",
"lint:fix": "rive lint --fix",
"package-diff": "antd-tools run package-diff --path=./lib",
"prepare": "husky install",
"pub": "npm run package-diff && npm publish ./lib",
"pub:alpha": "npm publish ./lib --tag alpha",
"pub:dev": "npm publish ./lib --tag dev",
"size-limit": "size-limit",
"size-limit:ci": "size-limit --json",
"start": "dumi dev",
"test": "jest",
"test-with-coverage": "jest --coverage"
"start": "rive start",
"test": "rive test",
"test-with-coverage": "jest --coverage",
"test:ui": "rive test --ui",
"test:watch": "rive test --watch"
},
"lint-staged": {
"*.{cjs,cts,js,jsx,mjs,mts,ts,tsx,vue}": "eslint --fix",
"*.{cjs,css,cts,html,js,json,jsx,less,md,mjs,mts,scss,ts,tsx,vue,yaml,yml}": "prettier --write",
"*.{css,less,scss}": "stylelint --fix"
"prettier": "prettier-config-rive",
"eslintConfig": {
"extends": "eslint-config-rive/react"
},
"stylelint": {
"extends": "stylelint-config-rive"
},
"resolutions": {
"@types/react": "18",
"@types/react-dom": "18"
},
"dependencies": {
"@floating-ui/dom": "^1.4.2",
"@rc-component/mini-decimal": "^1.1.0",
"@react-spring/web": "~9.6.1",
"@use-gesture/react": "10.3.0",
"ahooks": "^3.7.6",
Expand All @@ -66,8 +73,9 @@
"dayjs": "^1.11.7",
"deepmerge": "^4.3.1",
"nano-memoize": "^3.0.16",
"rc-field-form": "~1.27.4",
"rc-util": "^5.38.1",
"rc-field-form-modern": "^2.0.0",
"rc-mini-decimal-modern": "^1.1.0",
"rc-util-modern": "^5.38.1",
"react-fast-compare": "^3.2.2",
"react-is": "^18.2.0",
"runes2": "^1.1.2",
Expand All @@ -78,110 +86,79 @@
"devDependencies": {
"@ant-design/icons": "^4.8.0",
"@ant-design/tools": "^16.0.0-alpha.3",
"@babel/cli": "^7.21.0",
"@babel/core": "^7.21.4",
"@babel/plugin-transform-modules-commonjs": "^7.21.2",
"@babel/preset-env": "^7.21.4",
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.21.4",
"@commitlint/cli": "^19.2.1",
"@commitlint/config-conventional": "^17.6.1",
"@docsearch/react": "^3.3.3",
"@jest/types": "^28.1.3",
"@mdx-js/react": "^3.0.1",
"@react-spring/core": "~9.6.1",
"@size-limit/preset-big-lib": "^11.1.0",
"@statoscope/webpack-plugin": "^5.26.2",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "14.2.1",
"@testing-library/react": "^15.0.0",
"@testing-library/user-event": "^14.0.0",
"@types/big.js": "^6.1.6",
"@types/jest": "^28.1.8",
"@types/jest-axe": "3.5.4",
"@types/lodash": "^4.14.194",
"@types/node": "^18.15.13",
"@types/react": "^18.0.38",
"@types/node": "^20.12.10",
"@types/react": "^18.3.1",
"@types/react-beautiful-dnd": "^13.1.4",
"@types/react-dom": "^18.0.11",
"@types/react-dom": "^18.3.0",
"@types/react-helmet": "^6.1.6",
"@types/react-is": "^17.0.3",
"@types/react-virtualized": "^9.21.21",
"@types/resize-observer-browser": "^0.1.7",
"@types/testing-library__jest-dom": "^5.14.5",
"@types/use-sync-external-store": "^0.0.3",
"@typescript-eslint/eslint-plugin": "^5.59.0",
"@typescript-eslint/parser": "^5.59.0",
"@umijs/types": "^3.5.40",
"@use-gesture/core": "10.2.20",
"antd": "^4.24.9",
"autoprefixer": "^9.8.8",
"babel-loader": "^8.3.0",
"css-loader": "^6.7.3",
"csstype": "^3.1.2",
"del": "^6.1.1",
"dumi": "^1.1.50",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.0.1",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"gulp": "^4.0.2",
"gulp-babel": "^8.0.0",
"gulp-less": "^5.0.0",
"gulp-postcss": "^9.0.1",
"gulp-rename": "^2.0.0",
"gulp-replace": "^1.1.4",
"gulp-typescript": "^6.0.0-alpha.1",
"husky": "^8.0.3",
"jest": "^28.1.3",
"jest-axe": "^6.0.1",
"jest-canvas-mock": "^2.5.0",
"jest-environment-jsdom": "^28.1.3",
"jest-watch-typeahead": "^1.1.0",
"less": "^4.1.3",
"lint-staged": "^15.2.2",
"lodash": "^4.17.21",
"lorem-ipsum": "^2.0.8",
"lz-string": "^1.5.0",
"mockdate": "^3.0.5",
"postcss": "^8.4.23",
"postcss-px-multiple": "^0.1.5",
"postcss-pxtorem": "^6.0.0",
"prettier": "^3.1.1",
"prism-react-renderer": "^1.3.5",
"prismjs": "^1.29.0",
"qrcode.react": "^3.1.0",
"react": "^18.2.0",
"react": "^18.3.1",
"react-beautiful-dnd": "^13.1.1",
"react-dom": "^18.2.0",
"react-doc-ui": "^2.2.6",
"react-dom": "^18.3.1",
"react-helmet": "^6.1.0",
"react-lottie": "^1.2.3",
"react-test-renderer": "^18.2.0",
"react-virtualized": "^9.22.5",
"rive": "^2.0.33",
"size-limit": "^11.1.0",
"style-loader": "^3.3.2",
"stylelint": "^16.3.1",
"stylelint-config-ali": "^2.1.0",
"stylelint-prettier": "^5.0.0",
"through2": "^4.0.2",
"ts-jest": "^28.0.8",
"ts-node": "^10.9.1",
"typescript": "~4.6.4",
"vite": "^5.0.10",
"webpack": "^5.80.0",
"webpack-bundle-analyzer": "^4.8.0",
"webpack-stream": "^7.0.0"
"typescript": "^5.4.5",
"whatwg-fetch": "^3.0.0"
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0 || ^18.0.0"
"react": "^18.0.0 || ^17.0.0 || ^16.8.0"
},
"publishConfig": {
"registry": "https://registry.npmjs.org"
},
"GravityCDN": "./umd/antd-mobile.js",
"rive": {
"template": "react",
"doc": {
"disabled": true
}
},
"size-limit": [
{
"path": "./lib/bundle/antd-mobile.es.js",
"limit": "200 kB"
}
]
}

Loading

0 comments on commit ba289b8

Please sign in to comment.