react-discord-login
Version:
A React component for easy integration of 'Sign in with Discord' functionality into web applications
113 lines (112 loc) • 3.02 kB
JSON
{
"name": "react-discord-login",
"version": "2.1.0",
"description": "A React component for easy integration of 'Sign in with Discord' functionality into web applications",
"keywords": [
"react",
"discord",
"authentication",
"oauth2",
"login"
],
"main": "dist/index.js",
"repository": "git@github.com:angelxmoreno/react-discord-login.git",
"author": "Angel S. Moreno <angelxmoreno@gmail.com>",
"license": "MIT",
"private": false,
"contributors": [],
"files": [
"dist",
"LICENSE",
"README.md"
],
"scripts": {
"clean": "rm -rf node_modules bun.lock && bun install",
"prebuild": "rimraf dist",
"build": "tsc",
"prepublishOnly": "bun run build",
"lint": "eslint . --cache",
"lint:fix": "eslint . --cache --fix",
"prepare": "husky install"
},
"devDependencies": {
"@commitlint/cli": "^18.4.3",
"@commitlint/config-conventional": "^18.4.3",
"@swc/core": "^1.3.100",
"@swc/helpers": "^0.5.3",
"@types/react": "^18.2.44",
"@types/web": "^0.0.127",
"bun-types": "latest",
"eslint": "^8.55.0",
"eslint-config-universe": "^12.0.0",
"eslint-plugin-md": "^1.0.19",
"husky": "^8.0.3",
"lint-staged": "^15.2.0",
"prettier": "^3.1.1",
"release-it": "^17.0.1",
"rimraf": "^5.0.5",
"tslib": "^2.6.2"
},
"peerDependencies": {
"typescript": "^5.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"eslintConfig": {
"root": true,
"ignorePatterns": [
"**/dist/**"
],
"extends": [
"universe/node",
"plugin:md/recommended"
],
"rules": {
"md/remark": [
"error",
{
"plugins": [
[
"lint-maximum-line-length",
false
]
]
}
]
},
"overrides": [
{
"files": [
"*.md"
],
"parser": "markdown-eslint-parser",
"rules": {
"prettier/prettier": [
"error",
{
"parser": "markdown"
}
]
}
}
]
},
"prettier": {
"singleQuote": true,
"trailingComma": "all",
"arrowParens": "avoid",
"semi": true,
"useTabs": false,
"tabWidth": 4,
"printWidth": 120
},
"lint-staged": {
"*.ts": "eslint --fix",
"*.{json,md}": "prettier --write"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
}
}