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