2021-12-09 00:03:38 +08:00
|
|
|
{
|
2022-01-25 11:17:04 +08:00
|
|
|
"name": "@sunmao-ui/arco-lib",
|
2022-01-28 15:45:08 +08:00
|
|
|
"version": "0.0.5",
|
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",
|
2022-01-17 15:17:52 +08:00
|
|
|
"serve": "vite preview",
|
|
|
|
"lk": "yarn link @sunmao-ui/runtime @sunmao-ui/editor @sunmao-ui/core",
|
2022-01-17 16:45:37 +08:00
|
|
|
"unlk": "yarn unlink @sunmao-ui/runtime @sunmao-ui/editor @sunmao-ui/core",
|
|
|
|
"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.26.1",
|
|
|
|
"@emotion/css": "^11.5.0",
|
2022-01-19 17:36:51 +08:00
|
|
|
"@sinclair/typebox": "^0.21.2",
|
2022-01-26 18:19:12 +08:00
|
|
|
"@sunmao-ui/core": "^0.3.6",
|
|
|
|
"@sunmao-ui/runtime": "^0.3.10",
|
2022-01-17 16:45:37 +08:00
|
|
|
"eslint-plugin-react-hooks": "^4.3.0",
|
2022-01-26 18:19:12 +08:00
|
|
|
"lodash": "^4.17.21",
|
|
|
|
"lodash-es": "^4.17.21",
|
2021-12-09 00:03:38 +08:00
|
|
|
"react": "^17.0.2",
|
|
|
|
"react-dom": "^17.0.2"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
2022-01-28 15:45:08 +08:00
|
|
|
"@sunmao-ui/editor": "0.3.9",
|
2021-12-09 00:03:38 +08:00
|
|
|
"@types/react": "^17.0.0",
|
|
|
|
"@types/react-dom": "^17.0.0",
|
2022-01-26 18:19:12 +08:00
|
|
|
"@types/lodash": "^4.14.170",
|
|
|
|
"@types/lodash-es": "^4.17.5",
|
2022-01-17 16:45:37 +08:00
|
|
|
"@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",
|
2022-01-17 16:45:37 +08:00
|
|
|
"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",
|
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"
|
2022-01-17 16:45:37 +08:00
|
|
|
},
|
|
|
|
"husky": {
|
|
|
|
"hooks": {
|
|
|
|
"pre-commit": "lint-staged"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"lint-staged": {
|
|
|
|
"*.{ts,tsx,html}": [
|
|
|
|
"prettier --write",
|
|
|
|
"eslint --fix",
|
|
|
|
"git add"
|
|
|
|
]
|
2021-12-09 00:03:38 +08:00
|
|
|
}
|
|
|
|
}
|