sunmao-ui/packages/arco-lib/package.json

80 lines
2.2 KiB
JSON
Raw Normal View History

2021-12-09 00:03:38 +08:00
{
2022-01-25 11:17:04 +08:00
"name": "@sunmao-ui/arco-lib",
"version": "0.2.0-alpha.0",
2022-01-25 11:17:04 +08:00
"homepage": "https://github.com/webzard-io/sunmao-ui-arco-lib",
"license": "MIT",
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/webzard-io/sunmao-ui-arco-lib.git"
},
"main": "dist/index.js",
"module": "dist/esm/index.js",
"unpkg": "dist/iife/index.js",
"types": "lib/index.d.ts",
"files": [
"dist",
"lib"
],
2021-12-09 00:03:38 +08:00
"scripts": {
"dev": "vite",
2022-01-25 11:17:04 +08:00
"typings": "tsc --emitDeclarationOnly",
"build": "tsup src/index.ts --format cjs,esm,iife --legacy-output --inject ./react-import.js --clean --no-splitting --sourcemap",
"serve": "vite preview",
"lint": "eslint ./src --ext .ts --ext .tsx",
2022-01-25 11:17:04 +08:00
"fix-lint": "eslint --fix ./src --ext .ts --ext .tsx",
"prepublish": "npm run build && npm run typings"
2021-12-09 00:03:38 +08:00
},
"dependencies": {
"@arco-design/web-react": "^2.29.0",
"@emotion/css": "^11.7.1",
"@sinclair/typebox": "^0.21.2",
"@sunmao-ui/core": "^0.6.0-alpha.0",
"@sunmao-ui/editor-sdk": "^0.2.0-alpha.0",
"@sunmao-ui/runtime": "^0.6.0-alpha.0",
"eslint-plugin-react-hooks": "^4.3.0",
2022-01-26 18:19:12 +08:00
"lodash-es": "^4.17.21",
2021-12-09 00:03:38 +08:00
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-resizable": "^3.0.4"
2021-12-09 00:03:38 +08:00
},
"devDependencies": {
"@types/lodash": "^4.14.170",
"@types/lodash-es": "^4.17.5",
2022-02-15 18:35:22 +08:00
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
"@types/react-resizable": "^1.7.4",
"@typescript-eslint/eslint-plugin": "^4.31.1",
"@typescript-eslint/parser": "^4.31.1",
2021-12-09 00:03:38 +08:00
"@vitejs/plugin-react": "^1.0.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-react": "^7.25.1",
"husky": "^6.0.0",
"lint-staged": "^11.0.0",
"postcss": "^8.4.5",
"postcss-import": "^14.0.2",
2022-01-25 11:17:04 +08:00
"tsup": "^5.11.11",
2021-12-09 00:03:38 +08:00
"typescript": "^4.3.2",
"vite": "^2.6.4"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{ts,tsx,html}": [
"prettier --write",
"eslint --fix",
"git add"
]
2022-03-03 11:03:34 +08:00
},
"peerDependencies": {
"@sunmao-ui/core": "^0.4.1",
"@sunmao-ui/runtime": "^0.4.1"
2021-12-09 00:03:38 +08:00
}
}