2020-11-11 07:23:39 +00:00
|
|
|
{
|
|
|
|
"name": "@nocobase/app",
|
2021-10-07 07:25:20 +00:00
|
|
|
"private": true,
|
2021-10-07 10:02:32 +00:00
|
|
|
"version": "0.5.0-alpha.10",
|
2020-11-11 07:23:39 +00:00
|
|
|
"scripts": {
|
2021-09-23 13:52:54 +00:00
|
|
|
"start": "concurrently \"cd ../../ && npm run start-server\" \"umi dev\"",
|
2021-08-23 04:43:18 +00:00
|
|
|
"start-client": "umi dev",
|
2021-09-28 01:33:38 +00:00
|
|
|
"start-server": "ts-node-dev -r dotenv/config --project tsconfig.apis.json ./src/apis/index.ts",
|
2021-09-05 15:59:38 +00:00
|
|
|
"build": "npm run build-server && npm run build-client",
|
|
|
|
"build-client": "umi build",
|
2021-09-28 01:33:38 +00:00
|
|
|
"build-server": "rimraf -rf lib && tsc --project tsconfig.apis.json",
|
2021-05-23 00:38:08 +00:00
|
|
|
"postinstall": "umi generate tmp",
|
2020-11-11 07:23:39 +00:00
|
|
|
"prettier": "prettier --write '**/*.{js,jsx,tsx,ts,less,md,json}'",
|
|
|
|
"test": "umi-test",
|
|
|
|
"test:coverage": "umi-test --coverage"
|
|
|
|
},
|
|
|
|
"gitHooks": {
|
|
|
|
"pre-commit": "lint-staged"
|
|
|
|
},
|
|
|
|
"lint-staged": {
|
|
|
|
"*.{js,jsx,less,md,json}": [
|
|
|
|
"prettier --write"
|
|
|
|
],
|
|
|
|
"*.ts?(x)": [
|
|
|
|
"prettier --parser=typescript --write"
|
|
|
|
]
|
|
|
|
},
|
2021-05-23 00:38:08 +00:00
|
|
|
"dependencies": {
|
2021-10-07 10:02:32 +00:00
|
|
|
"@nocobase/plugin-action-logs": "^0.5.0-alpha.10",
|
|
|
|
"@nocobase/plugin-china-region": "^0.5.0-alpha.10",
|
|
|
|
"@nocobase/plugin-client": "^0.5.0-alpha.10",
|
|
|
|
"@nocobase/plugin-collections": "^0.5.0-alpha.10",
|
|
|
|
"@nocobase/plugin-file-manager": "^0.5.0-alpha.10",
|
|
|
|
"@nocobase/plugin-multi-apps": "^0.5.0-alpha.10",
|
|
|
|
"@nocobase/plugin-permissions": "^0.5.0-alpha.10",
|
|
|
|
"@nocobase/plugin-ui-router": "^0.5.0-alpha.10",
|
|
|
|
"@nocobase/plugin-ui-schema": "^0.5.0-alpha.10",
|
|
|
|
"@nocobase/plugin-users": "^0.5.0-alpha.10",
|
|
|
|
"@nocobase/server": "^0.5.0-alpha.10"
|
2021-04-07 02:41:06 +00:00
|
|
|
},
|
2021-05-23 00:38:08 +00:00
|
|
|
"devDependencies": {
|
2021-10-07 10:02:32 +00:00
|
|
|
"@nocobase/client": "^0.5.0-alpha.10",
|
2021-05-23 00:38:08 +00:00
|
|
|
"@types/react": "^17.0.0",
|
|
|
|
"@types/react-dom": "^17.0.0",
|
2021-10-07 07:25:20 +00:00
|
|
|
"@umijs/preset-react": "1.x",
|
2021-05-23 00:38:08 +00:00
|
|
|
"@umijs/test": "^3.4.15",
|
2021-07-23 10:26:05 +00:00
|
|
|
"concurrently": "^5.3.0",
|
2021-09-05 15:59:38 +00:00
|
|
|
"cross-env": "^7.0.3",
|
2021-05-23 00:38:08 +00:00
|
|
|
"mockjs": "^1.1.0",
|
|
|
|
"prettier": "^2.2.0",
|
|
|
|
"react": "17.x",
|
|
|
|
"react-dom": "17.x",
|
2021-09-28 01:33:38 +00:00
|
|
|
"ts-node-dev": "^1.1.8",
|
2021-10-07 07:25:20 +00:00
|
|
|
"umi": "^3.0.0",
|
2021-05-23 00:38:08 +00:00
|
|
|
"yorkie": "^2.0.0"
|
|
|
|
}
|
2020-11-11 07:23:39 +00:00
|
|
|
}
|