{
    "name": "oak-frontend-base",
    "version": "6.1.0",
    "description": "oak框架中前端与业务逻辑无关的平台部分",
    "oak": {
        "package": true,
        "i18n": true,
        "runtime": {
            "server": false
        },
        "es": {
            "optimize": {
                "includeDeps": [
                    "dayjs",
                    "debug",
                    "bignumber.js",
                    "nprogress",
                    "react",
                    "react-dom",
                    "react-dom/client",
                    "react-router-dom",
                    "antd",
                    "antd/es/*",
                    "antd-mobile",
                    "@ant-design/icons",
                    "@ant-design/cssinjs",
                    "@rc-component/*",
                    "rc-util",
                    "react-is",
                    "classnames",
                    "react-responsive"
                ]
            }
        }
    },
    "author": {
        "name": "XuChang"
    },
    "main": "lib/index",
    "module": "es/index",
    "files": [
        "lib/**/*",
        "es/**/*",
        "config.js",
        "config.d.ts",
        "typings/react.d.ts"
    ],
    "scripts": {
        "clean": "rimraf lib/* && rimraf es/*",
        "copy-js": "copyfiles -u 1 src/**/*.js es/ & copyfiles -u 1 \"src/!(components)/**/*.js\" lib/",
        "copy-json": "copyfiles -u 1 src/**/*.json es/ & copyfiles -u 1 \"src/!(components)/**/*.json\" lib/",
        "copy-svg": "copyfiles -u 1 src/**/*.svg es/ & copyfiles -u 1 src/**/*.png es/ & copyfiles -u 1 \"src/!(components)/**/*.png\" lib/ & copyfiles -u 1 \"src/!(components)/**/*.svg\" lib/",
        "copy-less": "copyfiles -u 1 src/**/*.less es/ & copyfiles -u 1 src/**/*.wxss es/ & copyfiles -u 1 src/**/*.css es/ & copyfiles -u 1 \"src/!(components)/**/*.css\" lib/ & copyfiles -u 1 \"src/!(components)/**/*.less\" lib/ & copyfiles -u 1 \"src/!(components)/**/*.wxss\" lib/",
        "copy-wxs": "copyfiles -u 1 src/**/*.wxs es/ & copyfiles -u 1 \"src/!(components)/**/*.wxs\" lib/",
        "copy-xml": "copyfiles -u 1 src/**/*.xml es/ & copyfiles -u 1 \"src/!(components)/**/*.xml\" lib/",
        "copy-wxml": "copyfiles -u 1 src/**/*.wxml es/ & copyfiles -u 1 \"src/!(components)/**/*.wxml\" lib/",
        "build:lib": "tsc -p tsconfig.lib.json && tsc-alias -p tsconfig.lib.json && node scripts/fix_import.mjs lib",
        "build:es": "tsc -p tsconfig.es.json && tsc-alias -p tsconfig.es.json && node scripts/fix_import.mjs es",
        "build": "npm run build:lib && npm run build:es && npm run copy-js && npm run copy-less && npm run copy-wxs && npm run copy-svg && npm run copy-xml && npm run copy-wxml && npm run copy-json",
        "test": "npm run build:lib && node --experimental-strip-types ./test/test.ts",
        "prepare": "rimraf node_modules/react & rimraf node_modules/react-native &  rimraf node_modules/react-dom & rimraf node_modules/react-router & rimraf node_modules/react-router-dom",
        "remove-antd": "rimraf node_modules/antd & rimraf node_modules/antd-mobile & rimraf node_modules/@ant-design & rimraf node_modules/antd-mobile-icons & rimraf node_modules/antd-mobile-v5-count"
    },
    "dependencies": {
        "@fingerprintjs/fingerprintjs": "^4.0.0",
        "@react-native-async-storage/async-storage": "^3.0.2",
        "@react-navigation/native": "^7.2.2",
        "dayjs": "^1.11.9",
        "echarts": "^5.4.2",
        "echarts-for-react": "^3.0.2",
        "format-message-parse": "^6.2.4",
        "node-schedule": "^2.1.1",
        "nprogress": "^0.2.0",
        "ol": "^7.3.0",
        "react-activation": "^0.13.4",
        "react-native-device-info": "^15.0.2",
        "react-native-localize": "^3.4.0",
        "react-native-toast-notifications": "^3.4.0",
        "react-responsive": "^10.0.1",
        "socket.io-client": "^4.7.2",
        "weapp.socket.io": "^2.2.1"
    },
    "peerDependencies": {
        "@ant-design/cssinjs": ">=2.0.0",
        "@ant-design/icons": ">=6.0.0",
        "antd": ">=6.0.0",
        "antd-mobile": ">=5.42.3",
        "antd-mobile-icons": ">=0.3.0",
        "react": "^19.2.4",
        "react-dom": "^19.2.4",
        "react-native": ">=0.84.1",
        "react-router": ">=6.3.0",
        "react-router-dom": ">=6.3.0",
        "oak-domain": "^6.1.0",
        "oak-common-aspect": "^4.0.3",
        "oak-memory-tree-store": "^4.0.2"
    },
    "overrides": {
        "@react-spring/web": "10.1.0"
    },
    "devDependencies": {
        "@ant-design/cssinjs": "^2.1.2",
        "@ant-design/icons": "^6.1.1",
        "oak-domain": "file:../oak-domain",
        "oak-common-aspect": "file:../oak-common-aspect",
        "oak-memory-tree-store": "file:../oak-memory-tree-store",
        "@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/fs-extra": "^9.0.13",
        "@types/luxon": "^2.0.9",
        "@types/mocha": "^8.2.0",
        "@types/node": "^20.7.0",
        "@types/node-schedule": "^2.1.0",
        "@types/nprogress": "^0.2.3",
        "@types/react": "^19.2.14",
        "@types/react-dom": "^19.2.3",
        "@types/react-native": "^0.73.0",
        "@types/react-router-dom": "^5.3.3",
        "@types/uuid": "^9.0.6",
        "@types/wechat-miniprogram": "^3.4.5",
        "antd": "^6.3.5",
        "antd-mobile": "^5.42.3",
        "antd-mobile-icons": "^0.3.0",
        "assert": "^2.0.0",
        "copyfiles": "^2.4.1",
        "cross-env": "^7.0.2",
        "fs-extra": "^10.0.0",
        "mocha": "^8.2.1",
        "react": "^19.2.4",
        "react-dom": "^19.2.4",
        "react-native": "^0.84.1",
        "react-router-dom": "^6.23.1",
        "rimraf": "^5.0.5",
        "ts-node": "^10.9.1",
        "tsc-alias": "^1.8.16",
        "tslib": "^2.4.0",
        "typescript": "^5.2.2",
        "uuid": "^8.3.2",
        "xlsx": "^0.18.5"
    }
}
