tachybase_todo/packages/client/package.json
SemmyWong be1192531c
add upload component into schema components (#165)
* feat: add Upload component into schema components

* docx file

* upload with customRequest

* action

* optimize: remove downloadFile instead of saveAs

* fix: direct download of non-image files

Co-authored-by: chenos <chenlinxh@gmail.com>
2022-01-22 21:05:06 +08:00

52 lines
1.3 KiB
JSON

{
"name": "@nocobase/client",
"version": "0.6.0-alpha.0",
"license": "MIT",
"main": "lib",
"module": "esm",
"sideEffects": [
"dist/*",
"esm/*.js",
"lib/*.js",
"src/*.ts",
"*.less",
"**/*/style.js"
],
"types": "esm/index.d.ts",
"engines": {
"npm": ">=3.0.0"
},
"dependencies": {
"@dnd-kit/core": "^4.0.3",
"@dnd-kit/sortable": "^5.1.0",
"@emotion/css": "^11.7.1",
"@formily/antd": "^2.0.7",
"@formily/core": "^2.0.7",
"@formily/react": "^2.0.7",
"ahooks": "^3.0.5",
"axios": "^0.24.0",
"file-saver": "^2.0.5",
"i18next": "^21.6.0",
"react-helmet": "^6.1.0",
"react-i18next": "^11.15.1",
"use-deep-compare-effect": "^1.8.1"
},
"peerDependencies": {
"@types/react": ">=16.8.0 || >=17.0.0",
"@types/react-dom": ">=16.8.0 || >=17.0.0",
"antd": "^4.0.0",
"react": ">=16.8.0 || >=17.0.0",
"react-dom": ">=16.8.0",
"react-is": ">=16.8.0 || >=17.0.0",
"react-router-dom": "^5.2.0"
},
"scripts": {
"build": "rimraf -rf lib esm dist && npm run build:cjs && npm run build:esm",
"build:cjs": "tsc --project tsconfig.build.json",
"build:esm": "tsc --project tsconfig.build.json --module es2015 --outDir esm"
},
"devDependencies": {
"axios-mock-adapter": "^1.20.0"
}
}