Skip to content

Commit

Permalink
Trying to get gatsby preview working
Browse files Browse the repository at this point in the history
  • Loading branch information
robmoffat committed Dec 12, 2024
1 parent 9552bc4 commit 11aba63
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,16 @@
"npm": "^10.3.0"
},
"scripts": {
"build": "gatsby build",
"build": "npm run setup-environment && npm run download-ics && npm run get-events && gatsby build",
"develop": "npm run get-mock-events && gatsby develop",
"start": "gatsby develop",
"serve": "gatsby serve",
"clean": "gatsby clean",
"lint": "eslint ./src --ext js,jsx --report-unused-disable-directives --max-warnings 0",
"lint-fix": "npm run lint -- --fix",
"get-mock-events": "node ./scripts/setMock.js",
"setup-environment": "run: gpg --quiet --batch --yes --decrypt --passphrase=${secrets.GOOGLE_SERVICE_ACCOUNT_PASSPHRASE} --output calendar-service-account.json calendar-service-account.json.gpg",
"download-ics": "curl -o dist/basic.ics https: //calendar.google.com/calendar/ical/finos.org_fac8mo1rfc6ehscg0d80fi8jig%40group.calendar.google.com/public/basic.ics",
"get-events": "node ./scripts/googleapi2events.js",
"getEvents": "npm run get-events",
"test": "vitest"
Expand All @@ -34,9 +36,10 @@
"googleapis": "^144.0.0",
"html-react-parser": "^5.0.7",
"react": "^18.2.0",
"react-dom": "^18.2.0" },
"react-dom": "^18.2.0"
},
"devDependencies": {
"html-to-text": "^9.0.5",
"ical-generator": "^8.0.0"
"html-to-text": "^9.0.5",
"ical-generator": "^8.0.0"
}
}
}

0 comments on commit 11aba63

Please sign in to comment.