0.0.5 • Published 2 years ago
@discretegames/npm-test-package v0.0.5
NPM Test Package
Just a test NPM TypeScript package to learn how things work, following these instructions.
Install the package with:
npm install @discretegames/npm-test-package
or
yarn add @discretegames/npm-test-package
Use the package like:
import TestPackage, { var1, var2, var3, func1, func2 } from "@discretegames/npm-test-package";
func1("Hello, World!");
Run npm run deploy
to publish the package to NPM (this does npm publish --access=public
).
Run npm version <update_type>
with patch
, minor
, or major
to advance the version. Do this before a new deploy.
Run npm run build
to turn the TS in /src into JS in /dist (publish does this automatically).