UNPKG

casdoor-nodejs-sdk

Version:
96 lines (95 loc) 2.49 kB
{ "name": "casdoor-nodejs-sdk", "version": "1.28.0", "description": "Node.js client SDK for Casdoor", "main": "lib/cjs/index.js", "typings": "lib/cjs/index.d.ts", "module": "lib/esm/index.js", "license": "Apache-2.0", "scripts": { "prepare": "husky install", "prepack": "run-s build", "postpack": "run-s clean", "test": "jest", "build": "run-s clean && run-p build:*", "build:cjs": "tsc -p tsconfig.cjs.json", "build:esm": "tsc -p tsconfig.esm.json", "semantic-release": "semantic-release", "clean": "rimraf lib", "format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"", "lint": "eslint \"{src,apps,libs,test}/**/*.ts\"", "coverage": "jest --coverage" }, "dependencies": { "axios": "^1.8.4", "form-data": "^4.0.0", "jsonwebtoken": "9.0.2", "node-fetch": "^3.3.2" }, "devDependencies": { "@semantic-release/changelog": "^5.0.1", "@semantic-release/commit-analyzer": "^8.0.1", "@semantic-release/git": "^9.0.0", "@semantic-release/github": "^7.2.3", "@semantic-release/npm": "^7.1.3", "@semantic-release/release-notes-generator": "^9.0.3", "@types/jest": "29.5.12", "@types/jsonwebtoken": "9.0.5", "@typescript-eslint/eslint-plugin": "^4.31.2", "@typescript-eslint/parser": "^5.11.0", "eslint": "^7.32.0", "eslint-config-prettier": "^8.3.0", "eslint-plugin-prettier": "^4.0.0", "husky": "^7.0.2", "jest": "29.7.0", "npm-run-all": "^4.1.5", "prettier": "^2.4.1", "rimraf": "^3.0.2", "semantic-release": "19.0.5", "ts-jest": "29.1.2", "typescript": "^4.5.5" }, "files": [ "lib" ], "keywords": [ "auth", "authn", "authentication", "sso", "oauth", "oidc", "casbin", "casdoor" ], "repository": { "type": "git", "url": "https://github.com/casdoor/casdoor-nodejs-sdk.git" }, "author": { "name": "anxing", "email": "anxing131@gmail.com" }, "bugs": { "url": "https://github.com/casdoor/casdoor-nodejs-sdk/issues" }, "homepage": "https://github.com/casdoor/casdoor-nodejs-sdk", "jest": { "maxConcurrency": 1, "maxWorkers": 1, "testTimeout": 30000, "testEnvironment": "node", "transform": { "^.+\\.(t|j)sx?$": "ts-jest" }, "testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$", "moduleFileExtensions": [ "ts", "tsx", "js", "jsx", "json", "node" ] } }