2020-10-24 15:34:43 +08:00
|
|
|
{
|
2021-05-23 08:38:08 +08:00
|
|
|
"name": "nocobase",
|
2020-10-24 15:34:43 +08:00
|
|
|
"private": true,
|
2021-05-23 08:38:08 +08:00
|
|
|
"workspaces": [
|
|
|
|
"packages/*"
|
|
|
|
],
|
2020-10-24 15:34:43 +08:00
|
|
|
"scripts": {
|
2021-05-23 08:38:08 +08:00
|
|
|
"bootstrap": "lerna bootstrap",
|
|
|
|
"clean": "lerna clean",
|
2021-09-16 00:38:48 +08:00
|
|
|
"examples": "ts-node-dev -r dotenv/config ./examples",
|
2021-10-29 13:04:44 +08:00
|
|
|
"start": "concurrently \"npm run start-server\" \"npm run start-docs\"",
|
2021-08-23 12:43:18 +08:00
|
|
|
"start-client": "cd packages/app && npm run start-client",
|
2021-10-10 12:16:28 +08:00
|
|
|
"start-server": "ts-node-dev -r dotenv/config ./packages/app/src/apis/index.ts",
|
|
|
|
"nocobase": "ts-node-dev -r dotenv/config ./packages/app/src/apis/index.ts",
|
2021-04-17 21:33:21 +08:00
|
|
|
"start-docs": "dumi dev",
|
|
|
|
"build-docs": "dumi build",
|
2021-05-23 08:38:08 +08:00
|
|
|
"build2": "lerna run build",
|
|
|
|
"build": "npm run build-father-build && node packages/father-build/bin/father-build.js",
|
|
|
|
"build-father-build": "cd packages/father-build && npm run build",
|
2020-10-24 15:34:43 +08:00
|
|
|
"lint": "eslint --ext .ts,.tsx,.js \"packages/*/src/**.@(ts|tsx|js)\" --fix",
|
2021-09-13 15:04:09 +08:00
|
|
|
"start-prod": "concurrently \"npx pm2-runtime start packages/api/lib/index.js\" \"cd packages/app && npm run start-client\"",
|
|
|
|
"pm2-start": "npx pm2-runtime start packages/api/lib/index.js",
|
2021-10-07 15:25:20 +08:00
|
|
|
"version:alpha": "lerna version prerelease --preid alpha --force-publish=* --no-git-tag-version -m \"chore(versions): publish packages %s\"",
|
|
|
|
"test": "npm run lint && jest",
|
|
|
|
"release:force": "lerna publish from-package --yes",
|
|
|
|
"release": "lerna publish"
|
2020-10-24 15:34:43 +08:00
|
|
|
},
|
2021-05-23 08:38:08 +08:00
|
|
|
"resolutions": {
|
|
|
|
"@types/react": "^17.0.0",
|
|
|
|
"@types/react-dom": "^17.0.0"
|
2021-04-17 21:33:21 +08:00
|
|
|
},
|
2020-10-24 15:34:43 +08:00
|
|
|
"devDependencies": {
|
2021-08-14 23:48:29 +08:00
|
|
|
"@types/file-saver": "^2.0.3",
|
2021-09-23 00:16:04 +08:00
|
|
|
"@types/jest": "^27.0.1",
|
2021-05-23 08:38:08 +08:00
|
|
|
"@types/koa": "^2.13.1",
|
2021-09-14 11:09:26 +08:00
|
|
|
"@types/koa-mount": "^4.0.1",
|
2021-05-23 08:38:08 +08:00
|
|
|
"@types/lodash": "^4.14.169",
|
|
|
|
"@types/mockjs": "^1.0.3",
|
|
|
|
"@types/node": "^12.6.8",
|
|
|
|
"@types/react": "^17.0.0",
|
2021-08-19 17:03:25 +08:00
|
|
|
"@types/react-big-calendar": "^0.33.1",
|
2021-04-17 21:33:21 +08:00
|
|
|
"@types/react-dom": "^17.0.3",
|
2021-05-23 08:38:08 +08:00
|
|
|
"@typescript-eslint/eslint-plugin": "^4.9.1",
|
|
|
|
"@typescript-eslint/parser": "^4.8.2",
|
2021-10-10 12:16:28 +08:00
|
|
|
"@umijs/preset-react": "^1.8.24",
|
2021-08-15 12:16:11 +08:00
|
|
|
"antd": "^4.16.11",
|
2021-09-23 21:52:54 +08:00
|
|
|
"concurrently": "^6.2.1",
|
2020-10-24 15:34:43 +08:00
|
|
|
"dotenv": "^8.2.0",
|
2021-08-16 12:36:17 +08:00
|
|
|
"dumi": "^1.1.25",
|
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",
|
2021-05-23 08:38:08 +08:00
|
|
|
"eslint-plugin-react": "^7.23.2",
|
2020-10-24 15:34:43 +08:00
|
|
|
"eslint-plugin-standard": "^4.0.1",
|
2021-11-08 19:32:59 +08:00
|
|
|
"i18next": "^21.3.2",
|
2021-05-23 08:38:08 +08:00
|
|
|
"jest": "^26.6.3",
|
2020-10-24 15:34:43 +08:00
|
|
|
"koa-bodyparser": "^4.3.0",
|
|
|
|
"lerna": "^3.22.0",
|
2021-05-23 08:38:08 +08:00
|
|
|
"mockjs": "^1.1.0",
|
2021-10-08 23:12:39 +08:00
|
|
|
"nodemailer-mock": "^1.5.11",
|
2021-07-12 22:13:48 +08:00
|
|
|
"nodemon": "^2.0.12",
|
2021-05-23 08:38:08 +08:00
|
|
|
"pg": "^8.6.0",
|
2020-10-24 15:34:43 +08:00
|
|
|
"pg-hstore": "^2.3.3",
|
2021-09-13 15:04:09 +08:00
|
|
|
"pm2": "^5.1.1",
|
2021-05-23 08:38:08 +08:00
|
|
|
"prettier": "^2.3.0",
|
|
|
|
"react": "^17.0.1",
|
|
|
|
"react-dom": "^17.0.2",
|
2021-11-08 19:32:59 +08:00
|
|
|
"react-i18next": "^11.12.0",
|
2021-05-23 08:38:08 +08:00
|
|
|
"react-router-dom": "^5.2.0",
|
|
|
|
"react-test-renderer": "^17.0.2",
|
|
|
|
"rimraf": "^3.0.2",
|
2021-10-18 12:49:37 +08:00
|
|
|
"sqlite3": "^5.0.2",
|
2021-05-23 08:38:08 +08:00
|
|
|
"supertest": "^6.1.3",
|
|
|
|
"ts-jest": "^26.5.6",
|
|
|
|
"ts-node": "^9.1.1",
|
2021-09-23 21:52:54 +08:00
|
|
|
"ts-node-dev": "^1.1.8",
|
2021-05-23 08:38:08 +08:00
|
|
|
"typescript": "4.1.5"
|
2020-10-24 15:34:43 +08:00
|
|
|
}
|
|
|
|
}
|