Skip to content

rshaker/smoketest-npm

Repository files navigation

smoketest-npm

A minimal template project demonstrating how to bundle Typescript code for distribution as a nodejs package, and as a umd-compatible download through unpkg.com.

Usage

% git clone https://github.com/rshaker/smoketest-npm
% cd smoketest-npm
% nvm use

Found '/Users/rshaker/smoketest-npm/.nvmrc' with version <v18.12.1>
Now using node v18.12.1 (npm v9.2.0)
% npm install
% npm build
% node test/testNode.js

Node.js test passed successfully.
% open test/testBrowser.html

Browser test passed successfully.

About

A minimal project demonstrating how to bundle Typescript code for distribution as a node package.

Resources

License

Stars

Watchers

Forks

Packages

No packages published