laf/packages/database-proxy/package.json
0fatal fcab6067cf
chore: harmonise lint configuration (#1688)
* chore: harmonise eslint configuration

* chore: add husky,stylelint,editorconfig

---------

Co-authored-by: maslow <wangfugen@126.com>
2023-11-16 14:50:15 +08:00

45 lines
1.1 KiB
JSON

{
"name": "database-proxy",
"version": "1.0.0-beta.12",
"description": "通过一套「访问控制规则」配置数据库访问,用一个 API 替代服务端 90% 的数据访问 APIs。",
"main": "./dist",
"scripts": {
"test-all": "mocha tests/**/*test.js",
"test-units": "mocha tests/units/**",
"test": "npm run test-units",
"build": "tsc -p tsconfig.json",
"watch": "tsc -w",
"prepublishOnly": "npm run build",
"lint": "eslint . --fix --ext .ts --ext .js"
},
"keywords": [
"BaaS",
"cloud",
"mongo",
"mysql",
"acl",
"serverless"
],
"repository": {
"type": "git",
"url": "git+https://github.com/labring/laf.git"
},
"author": "maslow(wangfugen@126.com)",
"license": "ISC",
"dependencies": {
"database-ql": "^1.0.0-beta.12",
"lodash": "^4.17.21",
"mongodb": "^4.1.1",
"mysql2": "^2.2.5",
"validator": "^13.7.0"
},
"devDependencies": {
"@types/node": "^12.12.5",
"@types/validator": "^10.11.3",
"mocha": "^9.0.2",
"typescript": "^3.6.4"
},
"lint-staged": {
"*.{ts,js}": "eslint --fix"
}
}