40 lines
955 B
JSON
40 lines
955 B
JSON
{
|
|
"name": "@nocobase/app",
|
|
"version": "0.4.0-alpha.7",
|
|
"scripts": {
|
|
"start": "concurrently \"cd ../../ && nodemon\" \"umi dev\"",
|
|
"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": {
|
|
"@nocobase/client": "^0.4.0-alpha.7",
|
|
"@umijs/preset-react": "1.x",
|
|
"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",
|
|
"mockjs": "^1.1.0",
|
|
"prettier": "^2.2.0",
|
|
"react": "17.x",
|
|
"react-dom": "17.x",
|
|
"yorkie": "^2.0.0"
|
|
}
|
|
}
|