keycloak_theme/package.json

66 lines
2.1 KiB
JSON
Raw Normal View History

2021-02-20 11:51:44 +01:00
{
2021-02-20 10:53:26 +00:00
"name": "keycloak-react-theming",
2021-02-20 11:51:44 +01:00
"version": "0.0.0",
2021-02-20 10:53:26 +00:00
"description": "Provides a way to customise Keycloak login and register pages with React",
2021-02-20 11:51:44 +01:00
"repository": {
"type": "git",
2021-02-20 10:53:26 +00:00
"url": "git://github.com/garronej/keycloak-react-theming.git"
2021-02-20 11:51:44 +01:00
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"test": "node dist/test/",
2021-02-20 10:53:26 +00:00
"cdn:bundle:.js": "simplifyify dist/index.js -s keycloak_react_theming -o dist/bundle.js --debug --bundle",
2021-02-20 11:51:44 +01:00
"cdn:bundle:.min.js": "terser dist/bundle.js -cmo dist/bundle.min.js",
"cdn:bundle": "npm run cdn:bundle:.js && npm run cdn:bundle:.min.js",
"cdn:esm": "tsc -p tsconfig.esm.json",
"cdn": "npm run cdn:bundle && npm run cdn:esm",
"build": "tsc && npm run cdn",
"enable_short_import_path": "npm run build && denoify_enable_short_npm_import_path",
"lint:check": "eslint . --ext .ts,.tsx",
"lint": "npm run lint:check -- --fix",
"_format": "prettier '**/*.{ts,tsx,json,md}'",
"format": "npm run _format -- --write",
"format:check": "npm run _format -- --list-different"
},
"lint-staged": {
"*.{ts,tsx}": [
"eslint --fix"
],
"*.{ts,tsx,json,md}": [
"prettier --write"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged -v"
}
},
2021-02-20 10:53:26 +00:00
"author": "u/garronej",
2021-02-20 11:51:44 +01:00
"license": "MIT",
"files": [
"src/",
"!src/test/",
"dist/",
"!dist/test/",
"!dist/tsconfig.tsbuildinfo"
],
"keywords": [],
2021-02-20 10:53:26 +00:00
"homepage": "https://github.com/garronej/keycloak-react-theming",
2021-02-20 11:51:44 +01:00
"devDependencies": {
"typescript": "^4.1.5",
"@types/node": "^10.0.0",
"denoify": "^0.5.10",
"evt": "^1.8.11",
"simplifyify": "^8.0.3",
"terser": "^5.3.8",
"husky": "^4.3.0",
"prettier": "^2.0.5",
"eslint": "^7.7.0",
"@typescript-eslint/parser": "^4.5.0",
"@typescript-eslint/eslint-plugin": "^4.5.0",
"eslint-config-prettier": "^6.14.0",
"lint-staged": "^10.4.2"
}
}