Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 732 Bytes

README.md

File metadata and controls

36 lines (25 loc) · 732 Bytes

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.