mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 22:36:32 +00:00
61 lines
2.1 KiB
JSON
61 lines
2.1 KiB
JSON
{
|
|
"name": "nocobase-app",
|
|
"private": true,
|
|
"scripts": {
|
|
"start": "concurrently \"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",
|
|
"nocobase": "ts-node-dev -r dotenv/config --project tsconfig.apis.json ./src/apis/index.ts",
|
|
"serve": "node -r dotenv/config ./lib/apis/index.js",
|
|
"build": "npm run build-server && npm run build-client",
|
|
"build-client": "umi build",
|
|
"build-server": "rimraf -rf lib && tsc --project tsconfig.apis.json",
|
|
"postinstall": "node ./umi.js 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/plugin-action-logs": "^0.5.0-alpha.16",
|
|
"@nocobase/plugin-china-region": "^0.5.0-alpha.16",
|
|
"@nocobase/plugin-client": "^0.5.0-alpha.16",
|
|
"@nocobase/plugin-collections": "^0.5.0-alpha.16",
|
|
"@nocobase/plugin-export": "^0.5.0-alpha.16",
|
|
"@nocobase/plugin-file-manager": "^0.5.0-alpha.16",
|
|
"@nocobase/plugin-multi-apps": "^0.5.0-alpha.16",
|
|
"@nocobase/plugin-permissions": "^0.5.0-alpha.16",
|
|
"@nocobase/plugin-system-settings": "^0.5.0-alpha.16",
|
|
"@nocobase/plugin-ui-router": "^0.5.0-alpha.16",
|
|
"@nocobase/plugin-ui-schema": "^0.5.0-alpha.16",
|
|
"@nocobase/plugin-users": "^0.5.0-alpha.16",
|
|
"@nocobase/server": "^0.5.0-alpha.16"
|
|
},
|
|
"devDependencies": {
|
|
"@nocobase/client": "^0.5.0-alpha.16",
|
|
"@types/react": "^17.0.0",
|
|
"@types/react-dom": "^17.0.0",
|
|
"@umijs/preset-react": "1.x",
|
|
"@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-dev": "^1.1.8",
|
|
"umi": "^3.0.0",
|
|
"yorkie": "^2.0.0"
|
|
}
|
|
}
|