77 lines
2.7 KiB
JSON
77 lines
2.7 KiB
JSON
{
|
|
"name": "oak-general-business",
|
|
"version": "1.0.15",
|
|
"description": "oak框架中公共业务逻辑的实现",
|
|
"author": {
|
|
"name": "XuChang"
|
|
},
|
|
"files": [
|
|
"lib/**/*",
|
|
"src/entities/*"
|
|
],
|
|
"dependencies": {
|
|
"@fingerprintjs/fingerprintjs": "^3.3.3",
|
|
"@uiw/react-amap": "^4.0.2",
|
|
"@wangeditor/editor-for-react": "^1.0.4",
|
|
"classnames": "^2.3.1",
|
|
"dayjs": "^1.11.5",
|
|
"oak-common-aspect": "file:../oak-common-aspect",
|
|
"oak-domain": "file:../oak-domain",
|
|
"oak-external-sdk": "file:../oak-external-sdk",
|
|
"oak-frontend-base": "file:../oak-frontend-base",
|
|
"oak-memory-tree-store": "file:../oak-memory-tree-store",
|
|
"sha1": "^1.1.1",
|
|
"tslib": "^2.4.0",
|
|
"uuid": "^8.3.2"
|
|
},
|
|
"peerDependencies": {
|
|
"react": ">=18.2.0",
|
|
"react-dom": ">=18.1.0",
|
|
"tdesign-icons-react": ">=0.1.4",
|
|
"tdesign-mobile-react": ">=0.2.0",
|
|
"tdesign-react": ">=0.40.5",
|
|
"react-router-dom": "^6.3.0"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/cli": "^7.12.13",
|
|
"@babel/core": "^7.12.13",
|
|
"@babel/plugin-proposal-class-properties": "^7.12.13",
|
|
"@babel/preset-env": "^7.12.13",
|
|
"@babel/preset-typescript": "^7.12.13",
|
|
"@types/assert": "^1.5.6",
|
|
"@types/cross-spawn": "^6.0.2",
|
|
"@types/fs-extra": "^9.0.13",
|
|
"@types/lodash": "^4.14.168",
|
|
"@types/luxon": "^2.0.9",
|
|
"@types/mocha": "^8.2.0",
|
|
"@types/node": "^14.18.12",
|
|
"@types/react": "^18.0.12",
|
|
"@types/react-dom": "^18.0.5",
|
|
"@types/sha1": "^1.1.3",
|
|
"@types/uuid": "^8.3.0",
|
|
"assert": "^2.0.0",
|
|
"chalk": "^4.1.0",
|
|
"copyfiles": "^2.4.1",
|
|
"cross-env": "^7.0.2",
|
|
"cross-spawn": "^6.0.5",
|
|
"fs-extra": "^10.0.0",
|
|
"isomorphic-fetch": "^3.0.0",
|
|
"miniprogram-api-typings": "^3.4.6",
|
|
"mocha": "^8.2.1",
|
|
"rimraf": "^3.0.2",
|
|
"ts-node": "~10.9.1",
|
|
"typescript": "~4.7.4"
|
|
},
|
|
"scripts": {
|
|
"make:domain": "ts-node ./scripts/make.ts",
|
|
"clean": "rimraf lib/*",
|
|
"copy-files": "copyfiles -u 1 src/**/*.less lib/ & copyfiles -u 1 src/**/*.wxml lib/ & copyfiles -u 1 src/**/*.wxs lib/ & copyfiles -u 1 src/miniprogram_npm/**/*.js lib/ ",
|
|
"build": "tsc && npm run copy-files",
|
|
"gen:areaDebug": "ts-node ./scripts/generateAreaDebug.ts",
|
|
"clean:dir": "ts-node ./scripts/cleanDtsAndJs",
|
|
"test": "ts-node ./test/test.ts",
|
|
"prepare": "rimraf node_modules/react & rimraf node_modules/react-dom & rimraf node_modules/react-router"
|
|
},
|
|
"main": "lib/index"
|
|
}
|