Fixes #257 Use make-fetch-happen for the download step. This lib will use `PROXY` and `HTTPS_PROXY` and `NO_PROXY` env vars out of the box. Additionally we'll try and get proxy config from npm. Unfortunately, the most straightforward options is to call npm config to do this, since npm config is not easily extracted as a lib and we don't want to replicate the resolution mechanisms.
96 lines
3.1 KiB
JSON
96 lines
3.1 KiB
JSON
{
|
|
"name": "keycloakify",
|
|
"version": "6.12.5",
|
|
"description": "Keycloak theme generator for Reacts app",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git://github.com/garronej/keycloakify.git"
|
|
},
|
|
"main": "dist/lib/index.js",
|
|
"types": "dist/lib/index.d.ts",
|
|
"scripts": {
|
|
"build": "rimraf dist/ && tsc -p src/bin && tsc -p src/lib && yarn grant-exec-perms && yarn copy-files dist/",
|
|
"build:test": "rimraf dist_test/ && tsc -p src/test && yarn copy-files dist_test/",
|
|
"grant-exec-perms": "node dist/bin/tools/grant-exec-perms.js",
|
|
"copy-files": "copyfiles -u 1 src/**/*.ftl",
|
|
"pretest": "yarn build:test",
|
|
"test": "node dist_test/test/bin && node dist_test/test/lib",
|
|
"_format": "prettier '**/*.{ts,tsx,json,md}'",
|
|
"format": "yarn _format --write",
|
|
"format:check": "yarn _format --list-different",
|
|
"generate-messages": "ts-node --skipProject src/scripts/generate-i18n-messages.ts",
|
|
"link-in-app": "ts-node --skipProject src/scripts/link-in-app.ts",
|
|
"link-in-starter": "yarn link-in-app keycloakify-advanced-starter",
|
|
"tsc-watch": "tsc -p src/bin -w & tsc -p src/lib -w "
|
|
},
|
|
"bin": {
|
|
"keycloakify": "dist/bin/keycloakify/index.js",
|
|
"create-keycloak-email-directory": "dist/bin/create-keycloak-email-directory.js",
|
|
"download-builtin-keycloak-theme": "dist/bin/download-builtin-keycloak-theme.js"
|
|
},
|
|
"lint-staged": {
|
|
"*.{ts,tsx,json,md}": [
|
|
"prettier --write"
|
|
]
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged -v"
|
|
}
|
|
},
|
|
"author": "u/garronej",
|
|
"license": "MIT",
|
|
"files": [
|
|
"src/",
|
|
"!src/scripts",
|
|
"dist/",
|
|
"!dist/tsconfig.tsbuildinfo"
|
|
],
|
|
"keywords": [
|
|
"bluehats",
|
|
"keycloak",
|
|
"react",
|
|
"theme",
|
|
"FreeMarker",
|
|
"ftl",
|
|
"login",
|
|
"register"
|
|
],
|
|
"homepage": "https://github.com/garronej/keycloakify",
|
|
"peerDependencies": {
|
|
"react": "^16.8.0 || ^17.0.0 || ^18.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.0.0",
|
|
"@types/make-fetch-happen": "^10.0.1",
|
|
"@types/memoizee": "^0.4.7",
|
|
"@types/minimist": "^1.2.2",
|
|
"@types/node": "^18.14.1",
|
|
"@types/react": "18.0.9",
|
|
"copyfiles": "^2.4.1",
|
|
"husky": "^4.3.8",
|
|
"lint-staged": "^11.0.0",
|
|
"prettier": "^2.3.0",
|
|
"properties-parser": "^0.3.1",
|
|
"react": "18.1.0",
|
|
"rimraf": "^3.0.2",
|
|
"scripting-tools": "^0.19.13",
|
|
"ts-node": "^10.9.1",
|
|
"typescript": "^4.9.5"
|
|
},
|
|
"dependencies": {
|
|
"@octokit/rest": "^18.12.0",
|
|
"cheerio": "^1.0.0-rc.5",
|
|
"cli-select": "^1.1.2",
|
|
"evt": "^2.4.15",
|
|
"make-fetch-happen": "^11.0.3",
|
|
"minimal-polyfills": "^2.2.2",
|
|
"minimist": "^1.2.6",
|
|
"path-browserify": "^1.0.1",
|
|
"react-markdown": "^5.0.3",
|
|
"rfc4648": "^1.5.2",
|
|
"tsafe": "^1.4.3",
|
|
"zod": "^3.17.10"
|
|
}
|
|
}
|