tachybase_todo/packages/app/package.json
2021-09-29 07:38:05 +08:00

60 lines
1.9 KiB
JSON

{
"name": "@nocobase/app",
"version": "0.4.0-alpha.7",
"scripts": {
"start": "concurrently \"cd ../../ && npm run start-server\" \"umi dev\"",
"start-client": "umi dev",
"start-server": "ts-node-dev -r dotenv/config --project tsconfig.apis.json ./src/apis/index.ts",
"build": "npm run build-server && npm run build-client",
"build-client": "umi build",
"build-server": "rimraf -rf lib && tsc --project tsconfig.apis.json",
"postinstall": "umi generate tmp",
"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"
]
},
"dependencies": {
"@nocobase/client": "^0.4.0-alpha.7",
"@nocobase/plugin-action-logs": "^0.4.0-alpha.7",
"@nocobase/plugin-automations": "^0.4.0-alpha.7",
"@nocobase/plugin-china-region": "^0.4.0-alpha.7",
"@nocobase/plugin-collections": "^0.4.0-alpha.7",
"@nocobase/plugin-file-manager": "^0.4.0-alpha.7",
"@nocobase/plugin-pages": "^0.4.0-alpha.7",
"@nocobase/plugin-permissions": "^0.4.0-alpha.7",
"@nocobase/plugin-ui-router": "^0.4.0-alpha.7",
"@nocobase/plugin-ui-schema": "^0.4.0-alpha.7",
"@nocobase/plugin-users": "^0.4.0-alpha.7",
"@nocobase/plugin-multi-apps": "^0.4.0-alpha.7",
"@nocobase/server": "^0.4.0-alpha.7",
"@umijs/preset-react": "1.x",
"koa-mount": "^4.0.0",
"umi": "^3.0.0"
},
"devDependencies": {
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
"@umijs/test": "^3.4.15",
"concurrently": "^5.3.0",
"cross-env": "^7.0.3",
"mockjs": "^1.1.0",
"prettier": "^2.2.0",
"react": "17.x",
"react-dom": "17.x",
"ts-node": "^10.2.1",
"ts-node-dev": "^1.1.8",
"yorkie": "^2.0.0"
}
}