nocobase/packages/client/package.json

50 lines
1.2 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",
"i18next": "^21.6.0",
"react-helmet": "^6.1.0",
"react-i18next": "^11.15.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"
}
}