mirror of
https://github.com/nocobase/nocobase
synced 2024-11-16 01:57:16 +00:00
dcdb21d398
* api/ui 改名为 server/client * 微调 * 继续完善 pages * Fix env file and file mode. (#1) * Fix: ignore .env file and environment variable names. * Fix: correct file mode. * fix: put environment variables together * fix: separate data and ui resourcer * feat: collection loader * feat: redirectTo * feat: fields & actions & views * feat: fields & actions * feat: app & pages & collections... * feat: collections & pages & permissions... * Doc: add readme (#2) * Doc: add README.md. * Util: add .editorconfig. * Fix: use glob ignore option instead of additional checking. (#3) * Fix: typo. (#4) * feat: permissions * feat: getCollection & getView actions * refactor: code cleanup Co-authored-by: Junyi <mytharcher@users.noreply.github.com>
40 lines
1.0 KiB
Smarty
Executable File
40 lines
1.0 KiB
Smarty
Executable File
{
|
|
"private": true,
|
|
"scripts": {
|
|
"start": "concurrently \"nodemon\" \"umi dev\"",
|
|
"build": "father-build && umi build",
|
|
"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": {
|
|
"@ant-design/pro-layout": "^5.0.12",
|
|
"@umijs/preset-react": "1.x",
|
|
"@umijs/test": "^3.2.23",
|
|
"@nocobase/server": "^{{{ version }}}",
|
|
"@nocobase/client": "^{{{ version }}}",
|
|
"@nocobase/father-build": "^{{{ version }}}",
|
|
"@nocobase/plugin-collections": "^{{{ version }}}",
|
|
"concurrently": "^5.3.0",
|
|
"lint-staged": "^10.0.7",
|
|
"nodemon": "^2.0.6",
|
|
"prettier": "^1.19.1",
|
|
"react": "^16.12.0",
|
|
"react-dom": "^16.12.0",
|
|
"umi": "^3.2.23",
|
|
"yorkie": "^2.0.0"
|
|
}
|
|
}
|