The TypeScript library template. Click "Use this template on GitHub".
npm install @my-templates/sample-library
<script src="//my-templates.github.io/TypeScript-Library/dist/library.min.js"></script>
import sampleLibrary from "@my-templates/sample-library";
var sampleLibrary = require("@my-templates/sample-library");
Change variables:
- name
- description
- umdName
- libraryFile
- main
- module
- types
- homepage
- repository
- bugs
- keywords
- npm_token
- github_token
npm run build
npm run watch
npm run test
See, how it's working: https://runkit.com/lopatnov/sample-library
Test it with a runkit: https://npm.runkit.com/@my-templates/sample-library
License Apache-2.0
Copyright 2019–2021 Oleksandr Lopatnov