acetti-viz
v3.1.0
Published
Some description
Downloads
2
Readme
npm-react-typescript-template
A template for publishing a React + TypeScript package to npm
How to use
Fork this repo, clone it to your local computer, and edit the package.json
along with every other required file to match your project.
Write the code for your package in TypeScript and Sass, compile it, and publish it to npm.
To compile your code once, run
yarn
.
To compile your code once and refresh on file change, run
yarn start
.
To publish your package to npm, make sure you're logged in the correct account by running
npm login
.
Compile your package by running
yarn build
Update the package version accordingly by using
Then publish your package by running
npm publish
Happy Building ♡
yarn link
in consuming repo:
yarn link acetti-viz
Add/remove packages
yarn install
& yarn add/remove...
Tests
yarn test
see https://www.grzegorowski.com/react-typescript-library-rollup-jest-tests-setup