zarm
Version:
基于 React 的移动端UI库
126 lines (125 loc) • 3.39 kB
JSON
{
"name": "zarm",
"version": "3.3.1",
"description": "基于 React 的移动端UI库",
"keywords": [
"react",
"react-ui",
"react-component",
"zarm",
"zarm-ui",
"zarm-mobile",
"component",
"components",
"ui",
"framework",
"frontend",
"mobile"
],
"bugs": {
"url": "https://github.com/ZhongAnTech/zarm/issues"
},
"repository": "git://github.com/ZhongAnTech/zarm",
"license": "MIT",
"sideEffects": [
"dist/*",
"src/style/*",
"src/**/style/*",
"es/**/style/*",
"lib/**/style/*"
],
"main": "lib/index.js",
"module": "es/index.js",
"typings": "lib/index.d.ts",
"directories": {
"lib": "lib",
"test": "__tests__"
},
"files": [
"lib",
"es",
"dist",
"types"
],
"scripts": {
"build": "yarn build:lib && yarn build:es && yarn build:umd",
"build:es": "rimraf es && tsc --outDir es && zarm build --mode es --path src --out-dir es --copy-files --build-css",
"build:lib": "rimraf lib && tsc --outDir lib && zarm build --mode lib --path src --out-dir lib --copy-files --build-css",
"build:umd": "rimraf dist && zarm build --mode umd --path src/style/entry.ts,src/index.ts --out-dir dist --library-name zarm && zarm build --mode umd-ugly --path src/style/entry.ts,src/index.ts --out-dir dist --library-name zarm",
"clean": "rimraf lib es dist coverage",
"coverage": "rimraf coverage && yarn test -c",
"install-react-16": "yarn add react@16 react-dom@16",
"lint": "yarn lint:tsc && yarn lint:script && yarn lint:style",
"lint:script": "eslint --ext .ts,.tsx src",
"lint:style": "stylelint \"src/**/*.scss\" --syntax scss",
"lint:tsc": "tsc --noEmit",
"release": "bash scripts/release.sh",
"test": "TZ=UTC zarm test -s scripts/jest/setup.js"
},
"browserslist": [
"last 2 versions",
"Firefox ESR",
"> 1%",
"ie >= 9",
"iOS >= 7",
"Android >= 4"
],
"dependencies": {
"@floating-ui/react-dom-interactions": "^0.9.1",
"@use-gesture/react": "^10.1.1",
"@zarm-design/bem": "^0.0.9",
"@zarm-design/icons": "^0.1.15",
"ahooks": "^3.7.6",
"better-scroll": "2.3.1",
"classnames": "^2.3.1",
"color": "^3.1.3",
"dayjs": "^1.11.3",
"intersection-observer": "^0.12.2",
"lodash": "^4.17.15",
"normalize.css": "8.0.1",
"raf": "^3.4.1",
"react-transition-group": "^4.4.2"
},
"devDependencies": {
"@babel/runtime": "^7.14.0",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^12.0.0",
"@testing-library/react-hooks": "^7.0.2",
"@testing-library/user-event": "^14.4.3",
"@types/lodash": "^4.14.182",
"@types/react": "^18.0.26",
"@types/react-dom": "^18.0.9",
"@types/react-transition-group": "^4.4.5",
"@zarm-design/cli": "^0.0.48",
"dekko": "^0.2.1",
"react": "^17.0.1",
"react-dom": "^17.0.1"
},
"peerDependencies": {
"react": ">=16.8.0",
"react-dom": ">=16.8.0"
},
"bundlesize": [
{
"path": "./dist/zarm.min.js",
"maxSize": "130 kB"
},
{
"path": "./dist/zarm.min.css",
"maxSize": "25 kB"
}
],
"tags": [
"zarm",
"zarm-ui",
"zhongan",
"component",
"components",
"react",
"react-component",
"framework",
"frontend",
"ui"
],
"gitHead": "59bdc95460e54ed8c4c29d8f8920cde2193e82f5"
}