99 lines
3.1 KiB
JSON
99 lines
3.1 KiB
JSON
{
|
|
"name": "root",
|
|
"private": true,
|
|
"workspaces": [
|
|
"packages/app/*",
|
|
"packages/core/*",
|
|
"packages/plugins/*"
|
|
],
|
|
"license": "Apache-2.0",
|
|
"licenses": [
|
|
{
|
|
"type": "Apache-2.0",
|
|
"url": "http://www.apache.org/licenses/LICENSE-2.0"
|
|
}
|
|
],
|
|
"scripts": {
|
|
"start": "concurrently --kill-others \"npm run start-server\" \"npm run start-client\"",
|
|
"start-pm2": "yarn pm2-runtime start packages/app/server/lib/index.js",
|
|
"start-docs": "dumi dev",
|
|
"bootstrap": "lerna bootstrap",
|
|
"clean": "rimraf -rf packages/{app,core,plugins}/*/{lib,esm,dist} && lerna clean",
|
|
"nocobase": "cross-env DOTENV_CONFIG_PATH=.env ts-node-dev -r dotenv/config -r tsconfig-paths/register ./packages/app/server/src/index.ts",
|
|
"start-client": "cd packages/app/client && npm run start",
|
|
"start-server": "npm run nocobase start",
|
|
"build": "lerna run build",
|
|
"build-docs": "dumi build",
|
|
"test": "node ./jest.cli.js -i",
|
|
"lint": "eslint .",
|
|
"version:alpha": "lerna version prerelease --preid alpha --force-publish=* --no-git-tag-version -m \"chore(versions): publish packages %s\"",
|
|
"release:force": "lerna publish from-package --yes",
|
|
"release": "lerna publish"
|
|
},
|
|
"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",
|
|
"classnames": "^2.3.1",
|
|
"concurrently": "^7.0.0",
|
|
"cross-env": "^7.0.3",
|
|
"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"
|
|
}
|
|
}
|