0.1.1 • Published 3 years ago

scrt-link-module v0.1.1

Weekly downloads
-
License
MIT
Repository
gitlab
Last release
3 years ago

Module for scrt.link

Getting Started

# Install dependencies
yarn install

# Now you can run various yarn commands:
yarn cli
yarn lint
yarn test
yarn build-all
yarn ts-node <filename>
yarn esbuild-browser

esbuild

esbuild is an extremely fast bundler that supports a large part of the TypeScript syntax. This project uses it to bundle for browsers (and Node.js if you want).

# Build for browsers
yarn esbuild-browser:dev
yarn esbuild-browser:watch

# Build the cli for node
yarn esbuild-node:dev
yarn esbuild-node:watch

Documentation

Generate the documentation, using src/main.ts as entrypoint (configured in package.json):

yarn docs

The resulting HTML is saved in docs/.

Credits

Based on https://github.com/metachris/typescript-boilerplate by Chris Hager

0.1.1

3 years ago

0.1.0

3 years ago