2020-11-11 15:23:39 +08:00
|
|
|
{
|
|
|
|
"name": "@nocobase/app",
|
|
|
|
"version": "0.3.0-alpha.0",
|
|
|
|
"private": true,
|
|
|
|
"scripts": {
|
|
|
|
"start": "concurrently \"nodemon\" \"umi dev\"",
|
2020-11-11 20:57:18 +08:00
|
|
|
"start-api": "nodemon",
|
2020-11-11 15:23:39 +08:00
|
|
|
"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",
|
|
|
|
"@formily/antd-components": "^1.3.6",
|
|
|
|
"@nocobase/client": "^0.3.0-alpha.0",
|
|
|
|
"@nocobase/database": "^0.3.0-alpha.0",
|
|
|
|
"@nocobase/father-build": "^0.3.0-alpha.0",
|
|
|
|
"@nocobase/plugin-collections": "^0.3.0-alpha.0",
|
|
|
|
"@nocobase/plugin-pages": "^0.3.0-alpha.0",
|
|
|
|
"@nocobase/server": "^0.3.0-alpha.0",
|
|
|
|
"@umijs/preset-react": "1.x",
|
|
|
|
"@umijs/test": "^3.2.23",
|
|
|
|
"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",
|
|
|
|
"styled-components": "^5.2.1",
|
|
|
|
"umi": "^3.2.23",
|
|
|
|
"yorkie": "^2.0.0"
|
|
|
|
}
|
|
|
|
}
|