blob: 3c8a8067ebec29e7f3205c546df8d2351024f184 [file]
{
"name": "typeorm-adapter",
"version": "1.3.0",
"description": "TypeORM adapter for Casbin",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
"scripts": {
"precommit": "lint-staged",
"prepublish": "yarn run lint && yarn build",
"build": "rimraf lib && tsc",
"coverage": "jest --coverage",
"lint": "tslint \"src/**/*.ts\"",
"fix": "tslint \"src/**/*.ts\" --fix",
"test": "jest --runInBand",
"release": "npx -p semantic-release -p @semantic-release/git -p @semantic-release/changelog semantic-release"
},
"devDependencies": {
"@types/jest": "^23.3.5",
"@types/node": "^10.11.7",
"coveralls": "^3.0.2",
"husky": "^1.1.2",
"jest": "^23.6.0",
"lint-staged": "^7.3.0",
"mysql2": "^2.1.0",
"pg": "^8.4.2",
"rimraf": "^2.6.2",
"ts-jest": "22.4.6",
"tslint": "^5.11.0",
"typescript": "^3.1.3"
},
"dependencies": {
"casbin": "^5.2.0",
"typeorm": "^0.2.29"
},
"files": [
"lib",
"examples"
],
"homepage": "https://casbin.org",
"repository": {
"type": "git",
"url": "https://github.com/node-casbin/typeorm-adapter.git"
},
"keywords": [
"casbin",
"node-casbin",
"adapter",
"typeorm",
"access-control",
"authorization",
"auth",
"authz",
"acl",
"rbac",
"abac",
"orm"
],
"author": "Node-Casbin",
"licenses": [
{
"type": "Apache-2.0",
"url": "http://www.apache.org/licenses/LICENSE-2.0"
}
],
"bugs": {
"url": "https://github.com/node-casbin/typeorm-adapter/issues"
},
"lint-staged": {
"*.{ts,js}": [
"tslint --fix",
"git add"
]
},
"jest": {
"testURL": "http://localhost",
"transform": {
"^.+\\.(ts|tsx)$": "ts-jest"
},
"testMatch": [
"**/test/*.+(ts|tsx)"
],
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
]
}
}