FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

My-Templates/TypeScript-Library: The TypeScript library template · GitHub

@my-templates/sample-library

The TypeScript library template. Click "Use this template on GitHub".

Install

npm install @my-templates/sample-library

Browser

<script src="//my-templates.github.io/TypeScript-Library/dist/library.min.js"></script>

Import package to the project

TypeScript

import sampleLibrary from "@my-templates/sample-library";

JavaScript

var sampleLibrary = require("@my-templates/sample-library");

package.json

Change variables:

  • name
  • description
  • umdName
  • libraryFile
  • main
  • module
  • types
  • homepage
  • repository
  • bugs
  • keywords

GitHub publish configurations

  • npm_token
  • github_token

Configure commands

npm run build

npm run watch

npm run test

Demo

See, how it's working: https://runkit.com/lopatnov/sample-library

Test it with a runkit: https://npm.runkit.com/@my-templates/sample-library

Rights and Agreements

License Apache-2.0

Copyright 2019–2021 Oleksandr Lopatnov

Releases

Sponsor this project

Packages

Used by

Contributors

Languages


Back | FazBrowse Home | New Git URL