| { |
| "name": "casbin-basic-adapter", |
| "version": "0.1.0", |
| "description": "A basic adapter supports pg, sqlite3, mysql, mysql2, oracledb and mssql", |
| "main": "lib/adapter.js", |
| "typings": "lib/adapter.d.ts", |
| "scripts": { |
| "build": "rimraf lib && tsc", |
| "lint": "eslint --ext .ts src/ test/", |
| "format": "npm run format:check -- --write", |
| "format:check": "prettier --check \"**/*.{md,json}\" \"{src,test}/**/*.ts\"", |
| "test": "jest --forceExit" |
| }, |
| "dependencies": { |
| "knex": "^0.21.1" |
| }, |
| "devDependencies": { |
| "@semantic-release/git": "^9.0.0", |
| "@types/jest": "^26.0.0", |
| "@types/mssql": "^6.0.2", |
| "@types/mysql": "^2.15.14", |
| "@types/mysql2": "git+https://git@github.com/types/mysql2.git", |
| "@types/node": "^14.0.13", |
| "@types/oracledb": "^4.2.2", |
| "@types/pg": "^7.14.3", |
| "@types/sqlite3": "^3.1.6", |
| "@typescript-eslint/eslint-plugin": "^3.4.0", |
| "@typescript-eslint/parser": "^3.4.0", |
| "casbin": "^5.1.2", |
| "eslint": "^7.3.1", |
| "eslint-config-prettier": "^6.11.0", |
| "jest": "^26.1.0", |
| "mssql": "^6.2.0", |
| "mysql": "^2.18.1", |
| "mysql2": "^2.1.0", |
| "oracledb": "^5.0.0", |
| "pg": "^8.2.1", |
| "prettier": "^2.0.5", |
| "rimraf": "^3.0.2", |
| "semantic-release": "^17.1.1", |
| "sqlite3": "^5.0.0", |
| "ts-jest": "^26.1.1", |
| "ts-node": "^8.10.2", |
| "typescript": "^3.9.6" |
| }, |
| "peerDependencies": { |
| "casbin": "^5.1.2" |
| }, |
| "files": [ |
| "lib", |
| "test", |
| "examples" |
| ], |
| "jest": { |
| "testURL": "http://localhost", |
| "transform": { |
| "^.+\\.(ts|tsx)$": "ts-jest" |
| }, |
| "testMatch": [ |
| "**/test/*.+(ts|tsx)" |
| ], |
| "moduleFileExtensions": [ |
| "ts", |
| "tsx", |
| "js", |
| "jsx", |
| "json", |
| "node" |
| ] |
| } |
| } |