A TypeScript-native, 0-dependency iCalendar encoder.
to-ical turns your calendar data into an RFC5545-compliant format.
This project uses Yarn. Make sure you have it installed before continuing.
Set up the repository locally
git clone https://github.com/opensourceryclub/to-ical.git
cd to-ical
yarn
Compile the source code
# Make a production build, ready for use in your application
yarn build:prod
# Watch source files and rebuild on changes in test mode
yarn watch:test
# Start up a development server that hot reloads on file changes
yarn serve:dev
All yarn
commands (except test
) follow the following definition:
yarn <cmd>:<env?>
where cmd
is
build
- Compiles the TypeScript into a browser-consumable formwatch
- Same asbuild
, but watches for changes to source files and re-builds on changes.serve
- Same aswatch
, but also starts a development server at port9000
and env
is dev
, test
, prod
, or omitted.
Copyright © 2020 Open Sourcery. Licensed under the MIT license.