2020-10-24 15:34:43 +08:00
|
|
|
{
|
|
|
|
"name": "root",
|
|
|
|
"private": true,
|
|
|
|
"scripts": {
|
2020-11-11 15:23:39 +08:00
|
|
|
"start": "cd packages/app && npm start",
|
2021-04-07 09:50:00 +08:00
|
|
|
"start-server": "nodemon",
|
2021-04-04 23:33:06 +08:00
|
|
|
"start-client": "cd packages/app && npx umi dev",
|
2021-04-17 21:33:21 +08:00
|
|
|
"start-docs": "dumi dev",
|
|
|
|
"build-docs": "dumi build",
|
2021-04-06 20:05:56 +08:00
|
|
|
"pm2-start": "npx pm2 start packages/api/lib/index.js",
|
|
|
|
"build-app": "cd packages/app && npm run build",
|
2020-10-24 15:34:43 +08:00
|
|
|
"bootstrap": "lerna bootstrap --no-ci",
|
2021-03-16 14:31:54 +08:00
|
|
|
"build": "father-build",
|
2020-10-24 15:34:43 +08:00
|
|
|
"clean": "lerna clean",
|
2021-04-07 17:10:52 +08:00
|
|
|
"db-migrate": "ts-node -r dotenv/config ./packages/api/src/migrate.ts",
|
2020-10-24 15:34:43 +08:00
|
|
|
"lint": "eslint --ext .ts,.tsx,.js \"packages/*/src/**.@(ts|tsx|js)\" --fix",
|
2020-11-16 20:38:56 +08:00
|
|
|
"test": "npm run lint && jest",
|
2021-01-13 16:23:15 +08:00
|
|
|
"debug": "node --inspect-brk node_modules/.bin/jest --runInBand",
|
2021-04-07 09:50:00 +08:00
|
|
|
"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"
|
2020-10-24 15:34:43 +08:00
|
|
|
},
|
2021-04-17 21:33:21 +08:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "git+https://github.com/nocobase/nocobase.git",
|
|
|
|
"branch": "master",
|
|
|
|
"platform": "github"
|
|
|
|
},
|
2020-10-24 15:34:43 +08:00
|
|
|
"devDependencies": {
|
|
|
|
"@koa/router": "^9.3.1",
|
2021-03-30 06:12:08 +08:00
|
|
|
"@types/bcrypt": "^3.0.0",
|
2020-10-24 15:34:43 +08:00
|
|
|
"@types/jest": "^26.0.4",
|
2020-11-11 15:23:39 +08:00
|
|
|
"@types/koa": "^2.11.6",
|
2020-10-24 15:34:43 +08:00
|
|
|
"@types/koa-bodyparser": "^4.3.0",
|
|
|
|
"@types/koa-mount": "^4.0.0",
|
|
|
|
"@types/koa__router": "^8.0.2",
|
|
|
|
"@types/lodash": "^4.14.158",
|
|
|
|
"@types/node": "^14.0.23",
|
2021-04-17 21:33:21 +08:00
|
|
|
"@types/react": "^17.0.3",
|
|
|
|
"@types/react-dom": "^17.0.3",
|
2020-10-24 15:34:43 +08:00
|
|
|
"@types/supertest": "^2.0.10",
|
|
|
|
"@typescript-eslint/eslint-plugin": "^3.6.1",
|
|
|
|
"@typescript-eslint/parser": "^3.6.1",
|
2021-04-17 21:33:21 +08:00
|
|
|
"@umijs/plugin-antd": "^0.9.1",
|
|
|
|
"antd": "^4.15.0",
|
2020-10-24 15:34:43 +08:00
|
|
|
"cross-env": "^7.0.2",
|
|
|
|
"dotenv": "^8.2.0",
|
2021-04-17 21:33:21 +08:00
|
|
|
"dumi": "^1.0.12",
|
2020-10-24 15:34:43 +08:00
|
|
|
"eslint": "^7.4.0",
|
|
|
|
"eslint-plugin-import": "^2.22.0",
|
|
|
|
"eslint-plugin-node": "^11.1.0",
|
|
|
|
"eslint-plugin-promise": "^4.2.1",
|
|
|
|
"eslint-plugin-standard": "^4.0.1",
|
2021-03-16 14:31:54 +08:00
|
|
|
"father-build": "^1.19.2",
|
2020-10-24 15:34:43 +08:00
|
|
|
"jest": "^26.1.0",
|
|
|
|
"koa": "^2.13.0",
|
|
|
|
"koa-bodyparser": "^4.3.0",
|
|
|
|
"lerna": "^3.22.0",
|
2021-04-17 21:33:21 +08:00
|
|
|
"lint-staged": "^10.0.7",
|
2020-10-24 15:34:43 +08:00
|
|
|
"mysql2": "^2.1.0",
|
|
|
|
"nodemon": "^2.0.4",
|
|
|
|
"path-to-regexp": "^6.1.0",
|
|
|
|
"pg": "^8.3.0",
|
|
|
|
"pg-hstore": "^2.3.3",
|
2021-04-06 20:05:56 +08:00
|
|
|
"pm2": "^4.5.6",
|
2021-04-17 21:33:21 +08:00
|
|
|
"prettier": "^1.19.1",
|
2020-10-24 15:34:43 +08:00
|
|
|
"sequelize": "^6.3.4",
|
|
|
|
"supertest": "^4.0.2",
|
|
|
|
"ts-jest": "^26.1.2",
|
|
|
|
"ts-node": "^8.10.2",
|
2021-04-17 21:33:21 +08:00
|
|
|
"typescript": "^3.9.6",
|
|
|
|
"yorkie": "^2.0.0"
|
2020-10-24 15:34:43 +08:00
|
|
|
}
|
|
|
|
}
|