nocobase2/package.json
Junyi c5f089d7b7
feat: add permissions plugin (#53)
* test: skip bug test cases for ci passing

* feat: add base structure of plugin-permissions

* fix: user token parsing

* Refactor action parameter for better mergeParams (#55)

* refactor: add parameter types to handle parameters in action [WIP]

* fix: action parameter

* fix: test cases

* test: try to fix build error

* remove unused packages

* fix: revert compatibility back

Co-authored-by: chenos <chenlinxh@gmail.com>

* 补充权限界面相关功能

* bugfix

* fix: developer mode does not work

* feat: add action scope and fields limitation in permission

* 改进权限配置表单

* feat: get/update action for role.collection

* add scope select component

* add role users tabs

* typings

* test: temp skip

Co-authored-by: chenos <chenlinxh@gmail.com>
2021-01-13 16:23:15 +08:00

55 lines
1.8 KiB
JSON

{
"name": "root",
"private": true,
"scripts": {
"start": "cd packages/app && npm start",
"db-migrate": "cd packages/app && npm run db-migrate",
"start-server": "yarn nodemon",
"bootstrap": "lerna bootstrap --no-ci",
"build": "npm run build-father-build && node packages/father-build/bin/father-build.js",
"build-father-build": "cd packages/father-build && npm run build",
"clean": "lerna clean",
"db:start": "docker-compose up -d",
"lint": "eslint --ext .ts,.tsx,.js \"packages/*/src/**.@(ts|tsx|js)\" --fix",
"test": "npm run lint && jest",
"debug": "node --inspect-brk node_modules/.bin/jest --runInBand",
"release": "npm run build && lerna publish --yes --registry https://npm.pkg.github.com"
},
"devDependencies": {
"@koa/router": "^9.3.1",
"@types/jest": "^26.0.4",
"@types/koa": "^2.11.6",
"@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",
"@types/react": "16.14.0",
"@types/supertest": "^2.0.10",
"@typescript-eslint/eslint-plugin": "^3.6.1",
"@typescript-eslint/parser": "^3.6.1",
"cross-env": "^7.0.2",
"dotenv": "^8.2.0",
"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",
"father-build": "^1.18.5",
"jest": "^26.1.0",
"koa": "^2.13.0",
"koa-bodyparser": "^4.3.0",
"lerna": "^3.22.0",
"mysql2": "^2.1.0",
"nodemon": "^2.0.4",
"path-to-regexp": "^6.1.0",
"pg": "^8.3.0",
"pg-hstore": "^2.3.3",
"sequelize": "^6.3.4",
"supertest": "^4.0.2",
"ts-jest": "^26.1.2",
"ts-node": "^8.10.2",
"typescript": "^3.9.6"
}
}