88 lines
3.2 KiB
JSON
88 lines
3.2 KiB
JSON
{
|
|
"name": "oak-frontend-base",
|
|
"version": "2.5.10",
|
|
"description": "oak框架中前端与业务逻辑无关的平台部分",
|
|
"author": {
|
|
"name": "XuChang"
|
|
},
|
|
"files": [
|
|
"lib/**/*"
|
|
],
|
|
"dependencies": {
|
|
"@ant-design/cssinjs": "^1.6.1",
|
|
"@ant-design/icons": "^5.0.1",
|
|
"@icon-park/react": "^1.4.2",
|
|
"antd": "^5.3.0",
|
|
"antd-mobile": "^5.28.1",
|
|
"antd-mobile-icons": "^0.3.0",
|
|
"debounce": "^1.2.1",
|
|
"echarts": "^5.4.2",
|
|
"echarts-for-react": "^3.0.2",
|
|
"format-message-parse": "^6.2.4",
|
|
"history": "^5.3.0",
|
|
"node-schedule": "^2.1.1",
|
|
"oak-common-aspect": "file:../oak-common-aspect",
|
|
"oak-domain": "file:../oak-domain",
|
|
"oak-memory-tree-store": "file:../oak-memory-tree-store",
|
|
"ol": "^7.3.0",
|
|
"react-scripts": "^5.0.1",
|
|
"rmc-pull-to-refresh": "^1.0.13",
|
|
"url": "^0.11.0",
|
|
"uuid": "^8.3.2"
|
|
},
|
|
"peerDependencies": {
|
|
"i18next": "^20.6.1",
|
|
"i18next-browser-languagedetector": "^6.1.4",
|
|
"i18next-chained-backend": "^3.0.2",
|
|
"i18next-http-backend": "^1.4.1",
|
|
"i18next-localstorage-backend": "^3.1.3",
|
|
"i18next-resource-store-loader": "^0.1.2",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"react-i18next": "^11.18.0",
|
|
"react-responsive": "^9.0.0-beta.10",
|
|
"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/debounce": "^1.2.1",
|
|
"@types/fs-extra": "^9.0.13",
|
|
"@types/lodash": "^4.14.168",
|
|
"@types/luxon": "^2.0.9",
|
|
"@types/mocha": "^8.2.0",
|
|
"@types/node": "^14.14.25",
|
|
"@types/node-schedule": "^2.1.0",
|
|
"@types/react": "^18.0.12",
|
|
"@types/react-dom": "^18.0.5",
|
|
"@types/uuid": "^8.3.0",
|
|
"@types/wechat-miniprogram": "^3.4.1",
|
|
"assert": "^2.0.0",
|
|
"copyfiles": "^2.4.1",
|
|
"cross-env": "^7.0.2",
|
|
"fs-extra": "^10.0.0",
|
|
"mocha": "^8.2.1",
|
|
"rimraf": "^3.0.2",
|
|
"ts-node": "~10.9.1",
|
|
"tslib": "^2.4.0",
|
|
"typescript": "~4.7.4"
|
|
},
|
|
"scripts": {
|
|
"clean": "rimraf lib/*",
|
|
"copy-json": "copyfiles -u 1 src/**/*.json lib/",
|
|
"copy-js": "copyfiles -u 1 src/**/*.js lib/",
|
|
"copy-svg": "copyfiles -u 1 src/**/*.svg lib/ & copyfiles -u 1 src/**/*.png lib/",
|
|
"copy-less": "copyfiles -u 1 src/**/*.less lib/ & copyfiles -u 1 src/**/*.wxss lib/",
|
|
"copy-wxs": "copyfiles -u 1 src/**/*.wxs lib/",
|
|
"copy-xml": "copyfiles -u 1 src/**/*.xml lib/ & copyfiles -u 1 src/**/*.wxml lib/",
|
|
"build": "tsc && npm run copy-js && npm run copy-less && npm run copy-wxs && npm run copy-svg && npm run copy-xml",
|
|
"test": "ts-node ./test/test2.ts",
|
|
"prepare": "rimraf node_modules/react & rimraf node_modules/react-dom & rimraf node_modules/react-router & rimraf node_modules/react-router-dom"
|
|
},
|
|
"main": "lib/index"
|
|
}
|