Add script for downloading base themes

This commit is contained in:
Joseph Garrone
2021-02-21 23:06:42 +01:00
parent 6ef4348c99
commit 0d5462d2f1
8 changed files with 90 additions and 42 deletions

View File

@ -10,12 +10,13 @@
"types": "dist/lib/index.d.ts",
"scripts": {
"build": "tsc && npm run grant-exec-perms",
"grant-exec-perms": "chmod +x dist/bin/build-keycloak-theme/index.js",
"test": "node dist/test/build-keycloak-theme.js",
"grant-exec-perms": "chmod +x dist/bin/{build-keycloak-theme/index,download-sample-keycloak-themes}.js",
"test": "node dist/test/build-keycloak-theme && node dist/test/download-sample-keycloak-themes",
"enable_short_import_path": "npm run build && denoify_enable_short_npm_import_path"
},
"bin": {
"build-keycloak-theme": "dist/bin/build-keycloak-theme"
"build-keycloak-theme": "dist/bin/build-keycloak-theme",
"download-sample-keycloak-themes": "dist/bin/download-sample-keycloak-themes"
},
"author": "u/garronej",
"license": "MIT",
@ -42,4 +43,4 @@
"dependencies": {
"cheerio": "^1.0.0-rc.5"
}
}
}