nocobase/packages/app/package.json

51 lines
1.4 KiB
JSON
Raw Normal View History

{
"name": "@nocobase/app",
"version": "0.4.0-alpha.7",
"scripts": {
2021-07-23 10:26:05 +00:00
"start": "concurrently \"cd ../../ && nodemon\" \"umi dev\"",
2021-08-23 04:43:18 +00:00
"start-client": "umi dev",
"start-server": "nodemon",
"build": "npm run build-server && npm run build-client",
"build-client": "umi build",
"nocobase": "cross-env TS_NODE_PROJECT=\"tsconfig.api.json\" ts-node ./src/api/index.ts",
"build-server": "rimraf -rf lib && tsc --project tsconfig.api.json",
2021-05-23 00:38:08 +00:00
"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"
]
},
2021-05-23 00:38:08 +00:00
"dependencies": {
"@nocobase/client": "^0.4.0-alpha.7",
2021-09-06 08:00:38 +00:00
"@nocobase/preset-nocobase": "^0.4.0-alpha.7",
"@umijs/preset-react": "1.x",
2021-09-14 03:09:26 +00:00
"koa-mount": "^4.0.0",
"ts-node-dev": "^1.1.8",
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",
2021-07-23 10:26:05 +00:00
"concurrently": "^5.3.0",
"cross-env": "^7.0.3",
2021-05-23 00:38:08 +00:00
"mockjs": "^1.1.0",
"nodemon": "^2.0.12",
2021-05-23 00:38:08 +00:00
"prettier": "^2.2.0",
"react": "17.x",
"react-dom": "17.x",
"ts-node": "^10.2.1",
2021-05-23 00:38:08 +00:00
"yorkie": "^2.0.0"
}
}