2020-11-11 07:23:39 +00:00
|
|
|
{
|
|
|
|
"name": "@nocobase/app",
|
2021-04-18 01:44:18 +00:00
|
|
|
"version": "0.4.0-alpha.7",
|
2020-11-11 07:23:39 +00:00
|
|
|
"scripts": {
|
2021-05-23 00:38:08 +00:00
|
|
|
"start": "umi dev",
|
2021-03-16 06:31:54 +00:00
|
|
|
"build": "umi build",
|
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-04-18 01:44:18 +00:00
|
|
|
"@nocobase/client": "^0.4.0-alpha.7",
|
2020-11-11 07:23:39 +00:00
|
|
|
"@umijs/preset-react": "1.x",
|
2021-05-23 00:38:08 +00:00
|
|
|
"umi": "^3.0.0"
|
2021-04-07 02:41:06 +00:00
|
|
|
},
|
2021-05-23 00:38:08 +00:00
|
|
|
"devDependencies": {
|
|
|
|
"@types/react": "^17.0.0",
|
|
|
|
"@types/react-dom": "^17.0.0",
|
|
|
|
"@umijs/test": "^3.4.15",
|
|
|
|
"mockjs": "^1.1.0",
|
|
|
|
"prettier": "^2.2.0",
|
|
|
|
"react": "17.x",
|
|
|
|
"react-dom": "17.x",
|
|
|
|
"yorkie": "^2.0.0"
|
|
|
|
}
|
2020-11-11 07:23:39 +00:00
|
|
|
}
|