| { |
| "name": "casbin-basic-adapter", |
| "version": "1.3.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": "^2.5.1" |
| }, |
| "devDependencies": { |
| "@semantic-release/git": "^10.0.1", |
| "@types/jest": "^29.5.3", |
| "@types/mssql": "^8.1.2", |
| "@types/mysql": "^2.15.21", |
| "@types/mysql2": "git+https://git@github.com/types/mysql2.git", |
| "@types/node": "^20.5.0", |
| "@types/oracledb": "^5.3.0", |
| "@types/pg": "^8.10.2", |
| "@types/sqlite3": "^3.1.8", |
| "@typescript-eslint/eslint-plugin": "^6.4.0", |
| "@typescript-eslint/parser": "^6.4.0", |
| "casbin": "^5.26.2", |
| "eslint": "^8.47.0", |
| "eslint-config-prettier": "^9.0.0", |
| "eslint-plugin-prettier": "^5.0.0", |
| "jest": "^29.6.2", |
| "mssql": "^9.1.3", |
| "mysql": "^2.18.1", |
| "mysql2": "^3.6.0", |
| "oracledb": "^6.0.3", |
| "pg": "^8.11.2", |
| "prettier": "^3.0.1", |
| "rimraf": "^5.0.1", |
| "semantic-release": "^21.0.7", |
| "sqlite3": "^5.1.6", |
| "ts-jest": "^29.1.1", |
| "ts-node": "^10.9.1", |
| "typescript": "^5.1.6" |
| }, |
| "peerDependencies": { |
| "casbin": "^5.1.2" |
| }, |
| "files": [ |
| "lib", |
| "test", |
| "examples" |
| ], |
| "jest": { |
| "transform": { |
| "^.+\\.(ts|tsx)$": "ts-jest" |
| }, |
| "testMatch": [ |
| "**/test/*test.+(ts|tsx)" |
| ], |
| "testEnvironmentOptions": { |
| "url": "http://localhost" |
| }, |
| "moduleFileExtensions": [ |
| "ts", |
| "tsx", |
| "js", |
| "jsx", |
| "json", |
| "node" |
| ] |
| } |
| } |