mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 13:37:37 +00:00
05ecb25d1b
* feat: create nocobase app with simple & quickstart option * chore: delete template file * create-nocobase-app: add env API_PORT fallback * chore: log * env default fallback * move config dir * change has yarn * chore: prettier * fix: npm running issue * database testing support sqlite * once... * chore: typo * fix: sqlite test * update readme * feat: copy .env.example to .env at create-nocobase-app * create-nocobase-app: change sqlite3 to github master * create-nocobase-app: .env template * create-nocobase-app: update .env * chore: typo * update README * chore: Application constructor * feat: sqlite demo data support * fix test * fix: application error * chore: plugin-client run sql * fix: application createCli * fix: can choose whether to register actions * chore: model compile error * fix: support sqlite * fix: demo data set index sequence on postgresql * chore: code reduce * fix: operators are compatible with sqlite * add impor demo option to init command * update env Co-authored-by: chenos <chenlinxh@gmail.com>
79 lines
2.7 KiB
JSON
79 lines
2.7 KiB
JSON
{
|
|
"name": "nocobase",
|
|
"private": true,
|
|
"workspaces": [
|
|
"packages/*"
|
|
],
|
|
"scripts": {
|
|
"bootstrap": "lerna bootstrap",
|
|
"clean": "lerna clean",
|
|
"examples": "ts-node-dev -r dotenv/config ./examples",
|
|
"start": "concurrently \"npm run start-server\" \"npm run start-client\"",
|
|
"start-client": "cd packages/app && npm run start-client",
|
|
"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",
|
|
"start-docs": "dumi dev",
|
|
"build-docs": "dumi build",
|
|
"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",
|
|
"lint": "eslint --ext .ts,.tsx,.js \"packages/*/src/**.@(ts|tsx|js)\" --fix",
|
|
"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",
|
|
"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"
|
|
},
|
|
"resolutions": {
|
|
"@types/react": "^17.0.0",
|
|
"@types/react-dom": "^17.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/file-saver": "^2.0.3",
|
|
"@types/jest": "^27.0.1",
|
|
"@types/koa": "^2.13.1",
|
|
"@types/koa-mount": "^4.0.1",
|
|
"@types/lodash": "^4.14.169",
|
|
"@types/mockjs": "^1.0.3",
|
|
"@types/node": "^12.6.8",
|
|
"@types/react": "^17.0.0",
|
|
"@types/react-big-calendar": "^0.33.1",
|
|
"@types/react-dom": "^17.0.3",
|
|
"@typescript-eslint/eslint-plugin": "^4.9.1",
|
|
"@typescript-eslint/parser": "^4.8.2",
|
|
"@umijs/preset-react": "^1.8.24",
|
|
"antd": "^4.16.11",
|
|
"concurrently": "^6.2.1",
|
|
"dotenv": "^8.2.0",
|
|
"dumi": "^1.1.25",
|
|
"eslint": "^7.4.0",
|
|
"eslint-plugin-import": "^2.22.0",
|
|
"eslint-plugin-node": "^11.1.0",
|
|
"eslint-plugin-promise": "^4.2.1",
|
|
"eslint-plugin-react": "^7.23.2",
|
|
"eslint-plugin-standard": "^4.0.1",
|
|
"jest": "^26.6.3",
|
|
"koa-bodyparser": "^4.3.0",
|
|
"lerna": "^3.22.0",
|
|
"mockjs": "^1.1.0",
|
|
"nodemailer-mock": "^1.5.11",
|
|
"nodemon": "^2.0.12",
|
|
"pg": "^8.6.0",
|
|
"pg-hstore": "^2.3.3",
|
|
"pm2": "^5.1.1",
|
|
"prettier": "^2.3.0",
|
|
"react": "^17.0.1",
|
|
"react-dom": "^17.0.2",
|
|
"react-router-dom": "^5.2.0",
|
|
"react-test-renderer": "^17.0.2",
|
|
"rimraf": "^3.0.2",
|
|
"sqlite3": "^5.0.2",
|
|
"supertest": "^6.1.3",
|
|
"ts-jest": "^26.5.6",
|
|
"ts-node": "^9.1.1",
|
|
"ts-node-dev": "^1.1.8",
|
|
"typescript": "4.1.5"
|
|
}
|
|
}
|