nocobase2/package.json
chenos 479f64f197
feat: support i18n (#99)
* feat: i18next

* multi language data

* feat(client): locale support

* en-US for collections

* us-EN for routes

* en-US for routes

* en-US for attachments

* feat: partial translations

* translation

* add AntdConfigProvider

* translation

* translation

* feat: translation

* feat: add translation

* fix: improve translation

* feat: improve translation

* fix: SyntaxError: Unexpected token ) in JSON at position

* typo

* feat: improve translation

* feat: improve translation

* feat: language settings can be saved on the server

* feat: lang option of init cli

* demo translation

* typo

* change address field to textarea

* address data

* feat: chart translation

* feat: chart translation

* improve translation

* signin,signup,signout...

Co-authored-by: Zhou <zhou.working@gmail.com>
2021-11-08 19:32:59 +08:00

81 lines
2.8 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-docs\"",
"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",
"i18next": "^21.3.2",
"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-i18next": "^11.12.0",
"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"
}
}