Add command to fix templates (#21)
* add command to fix templates * replaceAll and lint fixes * fixed menu * fix lint command and run it * add basic error handling for listing of templates * CR suggestions --------- Co-authored-by: Arwid Thornström <arwidt@gmail.com>
This commit is contained in:
co-authored by
Arwid Thornström
parent
bc9ba08e76
commit
724f3905ab
+6
-5
@@ -8,7 +8,7 @@
|
||||
"pwcli": "bin/pwcli"
|
||||
},
|
||||
"scripts": {
|
||||
"format": "prettier --write **/*.{js,ts,tsx,json}",
|
||||
"format": "prettier --write './**/*.{js,ts,json}'",
|
||||
"clean-build": "rm -rf ./build",
|
||||
"compile": "tsc -p .",
|
||||
"copy-templates": "if [ -e ./src/templates ]; then cp -a ./src/templates ./build/; fi",
|
||||
@@ -31,6 +31,7 @@
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@lenne.tech/gluegun-menu": "^0.0.5",
|
||||
"@mailchimp/mailchimp_transactional": "^1.0.59",
|
||||
"@octokit/core": "^3.5.1",
|
||||
"chalk": "^4.1.2",
|
||||
"cli-select": "^1.1.2",
|
||||
@@ -43,15 +44,15 @@
|
||||
"devDependencies": {
|
||||
"@types/jest": "^24.0.18",
|
||||
"@types/node": "^12.7.11",
|
||||
"jest": "^24.1.0",
|
||||
"prettier": "^1.12.1",
|
||||
"ts-jest": "^24.1.0",
|
||||
"ts-node": "^8.4.1",
|
||||
"@typescript-eslint/eslint-plugin": "^5.44.0",
|
||||
"@typescript-eslint/parser": "^5.44.0",
|
||||
"eslint": "^8.28.0",
|
||||
"eslint-config-prettier": "^8.5.0",
|
||||
"eslint-plugin-prettier": "^4.2.1",
|
||||
"jest": "^24.1.0",
|
||||
"prettier": "^2.0.0",
|
||||
"ts-jest": "^24.1.0",
|
||||
"ts-node": "^8.4.1",
|
||||
"typescript": "^3.6.3"
|
||||
},
|
||||
"jest": {
|
||||
|
||||
Reference in New Issue
Block a user