Skip to content

@my-templates/sample-library

Compare
Choose a tag to compare
@lopatnov lopatnov released this 09 Aug 13:31
· 23 commits to master since this release

@my-templates/sample-library

NPM version
GitHub issues
GitHub forks
GitHub stars
License

build-and-test-package
publish-npm-package

Patreon
Twitter

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

Install

https://nodei.co/npm/@my-templates/sample-library.png?downloads=true&downloadRank=true&stars=true

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

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 2020 Oleksandr Lopatnov