mirror of
https://gitee.com/nocobase/nocobase.git
synced 2024-11-30 03:08:31 +08:00
88 lines
2.7 KiB
JSON
88 lines
2.7 KiB
JSON
{
|
|
"name": "root",
|
|
"private": true,
|
|
"workspaces": [
|
|
"packages/*"
|
|
],
|
|
"scripts": {
|
|
"start": "concurrently \"npm run start-server\" \"npm run start-client\"",
|
|
"start-pm2": "yarn pm2-runtime start packages/api/lib/index.js",
|
|
"start-docs": "dumi dev",
|
|
"bootstrap": "lerna bootstrap",
|
|
"clean": "rimraf -rf packages/*/{lib,esm,dist} && lerna clean",
|
|
"nocobase": "ts-node-dev -r dotenv/config -r tsconfig-paths/register ./packages/api/src/index.ts",
|
|
"start-client": "cd packages/app && npm run start",
|
|
"start-server": "ts-node-dev -r dotenv/config -r tsconfig-paths/register ./packages/api/src/index.ts",
|
|
"build": "lerna run build",
|
|
"build-docs": "dumi build",
|
|
"test": "node ./jest.cli.js -i",
|
|
"lint": "eslint ."
|
|
},
|
|
"resolutions": {
|
|
"@types/react": "^17.0.0",
|
|
"@types/react-dom": "^17.0.0"
|
|
},
|
|
"config": {
|
|
"ghooks": {
|
|
"commit-msg": "commitlint --edit"
|
|
}
|
|
},
|
|
"devDependencies": {
|
|
"@commitlint/cli": "^16.1.0",
|
|
"@commitlint/config-conventional": "^16.0.0",
|
|
"@commitlint/prompt-cli": "^16.1.0",
|
|
"@testing-library/react": "^12.1.2",
|
|
"@types/jest": "^26.0.0",
|
|
"@types/koa": "^2.13.4",
|
|
"@types/koa-bodyparser": "^4.3.4",
|
|
"@types/lodash": "^4.14.177",
|
|
"@types/node": "^12.6.8",
|
|
"@types/react": "^17.0.0",
|
|
"@types/react-dom": "^17.0.0",
|
|
"@typescript-eslint/eslint-plugin": "^4.9.1",
|
|
"@typescript-eslint/parser": "^4.8.2",
|
|
"antd": "^4.18.9",
|
|
"classnames": "^2.3.1",
|
|
"concurrently": "^7.0.0",
|
|
"cross-env": "^5.2.0",
|
|
"dotenv": "^10.0.0",
|
|
"dumi": "^1.1.33",
|
|
"eslint": "^7.14.0",
|
|
"eslint-config-prettier": "^7.0.0",
|
|
"eslint-plugin-import": "^2.13.0",
|
|
"eslint-plugin-markdown": "^2.0.1",
|
|
"eslint-plugin-node": "^11.1.0",
|
|
"eslint-plugin-prettier": "^3.1.0",
|
|
"eslint-plugin-promise": "^4.0.0",
|
|
"eslint-plugin-react": "^7.14.2",
|
|
"eslint-plugin-react-hooks": "^4.2.0",
|
|
"eslint-plugin-vue": "^7.0.1",
|
|
"ghooks": "^2.0.4",
|
|
"glob": "^7.1.3",
|
|
"jest": "^26.0.0",
|
|
"jest-codemods": "^0.19.1",
|
|
"jest-dom": "^3.1.2",
|
|
"jest-localstorage-mock": "^2.3.0",
|
|
"jest-styled-components": "6.3.3",
|
|
"jest-watch-lerna-packages": "^1.1.0",
|
|
"koa": "^2.13.4",
|
|
"koa-bodyparser": "^4.3.0",
|
|
"lerna": "^4.0.0",
|
|
"pm2": "^5.2.0",
|
|
"prettier": "^2.2.1",
|
|
"pretty-format": "^24.0.0",
|
|
"pretty-quick": "^3.1.0",
|
|
"react": "^17.0.1",
|
|
"react-dom": "^17.0.1",
|
|
"rimraf": "^3.0.0",
|
|
"sqlite3": "^5.0.2",
|
|
"supertest": "^6.1.6",
|
|
"ts-jest": "^26.0.0",
|
|
"ts-loader": "^7.0.4",
|
|
"ts-node": "^9.1.1",
|
|
"ts-node-dev": "^1.1.8",
|
|
"tsconfig-paths": "^3.12.0",
|
|
"typescript": "^4.1.5"
|
|
}
|
|
}
|