@betha-plataforma/oauth
Version:
Biblioteca JavaScript para lidar com o fluxo do OAuth 2.0 em aplicações Web, com suporte a TypeScript.
99 lines (98 loc) • 3.11 kB
JSON
{
"name": "@betha-plataforma/oauth",
"version": "1.1.7",
"description": "Biblioteca JavaScript para lidar com o fluxo do OAuth 2.0 em aplicações Web, com suporte a TypeScript.",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"browser": "dist/umd/oauth.js",
"unpkg": "dist/umd/oauth.js",
"types": "dist/esm/index.d.ts",
"files": [
"dist/"
],
"dependencies": {
"js-cookie": "^2.2.0",
"qs": "6.5.2",
"superagent": "^3.6.0"
},
"devDependencies": {
"@types/js-cookie": "^2.2.2",
"@types/qs": "6.5.2",
"@types/sinon": "^7.0.11",
"@types/superagent": "^3.8.6",
"@typescript-eslint/eslint-plugin": "^4.1.0",
"@typescript-eslint/parser": "^4.1.0",
"ava": "^3.12.1",
"codecov": "^3.1.0",
"eslint": "^7.8.1",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-import-helpers": "^1.1.0",
"npm-run-all": "^4.1.5",
"nyc": "^15.0.0",
"open-cli": "^6.0.1",
"prettier": "^1.15.2",
"rimraf": "^3.0.2",
"sinon": "^7.2.3",
"superagent-mock": "^3.7.0",
"tscpaths": "^0.0.9",
"typedoc": "^0.19.1",
"typescript": "^4.0.2",
"webpack": "^4.44.2",
"webpack-cli": "^3.3.12"
},
"scripts": {
"build": "run-s clean && run-p build:*",
"build:cjs": "tsc && tscpaths -p tsconfig.json -s ./src -o ./dist/cjs",
"build:esm": "tsc --outDir dist/esm --module ES2020 && tscpaths -p tsconfig.json -s ./src -o ./dist/esm",
"postbuild": "webpack",
"test": "run-s build test:*",
"test:unit": "nyc --silent ava",
"posttest": "run-s cov:check",
"watch": "run-s clean build:cjs && run-p \"build:cjs -- -w\" \"test:unit -- --watch\"",
"cov": "run-s build test:unit cov:html && open-cli coverage/index.html",
"cov:html": "nyc report --reporter=html",
"cov:check": "nyc report && nyc check-coverage --lines 10 --functions 10 --branches 10",
"doc": "run-s doc:html && open-cli dist/docs/index.html",
"doc:html": "typedoc src/ --exclude **/*.spec.ts --target ES6 --mode file --out dist/docs",
"doc:json": "typedoc src/ --exclude **/*.spec.ts --target ES6 --mode file --json dist/docs/typedoc.json",
"clean": "rimraf dist test",
"lint": "eslint . --cache --ext .js,.ts",
"lint:fix": "eslint . --cache --fix --ext .js,.ts",
"format": "prettier --check '**/*.{ts,tsx,js,jsx,json,md}'",
"format:fix": "prettier --write '**/*.{ts,tsx,js,jsx,json,md}'"
},
"license": "MIT",
"keywords": [
"oauth 2",
"oidc",
"typescript",
"plataforma",
"betha cloud"
],
"author": {
"name": "Plataforma Betha Sistemas",
"email": "grupo.ped.plataforma@betha.com.br",
"url": "http://www.betha.com.br/"
},
"repository": {
"type": "git",
"url": "git+https://gitlab.services.betha.cloud/ped/plataforma/aplicacoes/oauth/components/oauth.git"
},
"ava": {
"failFast": true,
"files": [
"dist/cjs/**/*.spec.js"
],
"ignoredByWatcher": [
"dist/cjs/**/*.js"
]
},
"nyc": {
"exclude": [
"**/*.spec.js"
]
},
"publishConfig": {
"access": "public"
}
}