Copy templates to dist

This commit is contained in:
Thomas E Lackey 2023-09-13 15:00:14 -05:00
parent 0b10b11de1
commit df20dd2ae3

View File

@ -27,7 +27,7 @@
"start": "DEBUG='cerc:keycloak-userreg:*' node dist/userreg.js", "start": "DEBUG='cerc:keycloak-userreg:*' node dist/userreg.js",
"dev": "DEBUG='cerc:keycloak-userreg:*' ts-node src/userreg.ts", "dev": "DEBUG='cerc:keycloak-userreg:*' ts-node src/userreg.ts",
"clean": "rm -rf dist", "clean": "rm -rf dist",
"build": "tsc", "build": "rm -rf dist && tsc && cp -rpf src/template dist",
"lint": "eslint . --ext .ts", "lint": "eslint . --ext .ts",
"lint:fix": "eslint . --ext .ts --fix" "lint:fix": "eslint . --ext .ts --fix"
}, },