Skip to content

Commit df290a6

Browse files
406 implement logging (#519)
Co-authored-by: Param Siddharth <contact@paramsid.com>
1 parent 7b18169 commit df290a6

18 files changed

Lines changed: 684 additions & 53 deletions

.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ STRIPE_SECRET_KEY=sk_test_51IravfFqipIA40A3FOW6EzlXlJiXjL9V0FXKfb9n7cxh25Ww9QMA9
2828
# To run in single-campaign mode, set the following environment vars
2929
VUE_APP_CAMPAIGN_MODE = "single" # or "default" for normaal operation
3030
VUE_APP_FEATURED_CAMPAIGN = "5" # campaign's id from Postgres
31-
VUE_APP_LETTER_TEMPLATE = "" # the template associated with the featured campaign
31+
VUE_APP_LETTER_TEMPLATE = "" # the template associated with the featured campaign

.eslintrc.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
},
88
"extends": ["eslint:recommended", "prettier"],
99
"parserOptions": {
10-
"ecmaVersion": 12
10+
"ecmaVersion": 13,
11+
"parser": "@babel/eslint-parser"
1112
},
1213
"rules": {},
1314
"ignorePatterns": ["/dist/**/*.js"]

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,12 @@ npm run build
6969
npm run lint
7070
```
7171

72+
### Runs Prettier and fixes files
73+
```shell
74+
npm run format
75+
```
76+
77+
7278
### Build and run as if in prod
7379
```shell
7480
npm start

0 commit comments

Comments
 (0)