@t7/npm-example

0.0.1 • Public • Published

@t7/npm-example

This is a dummy repo, to explain how to publish T7's React packages to NPM.

# Install via NPM.
npm install @t7/npm-example --save

To use the CSS, be sure to import it into your project.

// Example: In a root JS file.
import '@t7/npm-example/dist/index.css'
/* Example: In a root CSS file. */
@import "./node_modules/@t7/npm-example/dist/index.css";

View on NPM:

https://www.npmjs.com/package/@t7/npm-example


Demo page:

https://t7-components.github.io/npm-example/build/


Test coverage:

https://t7-components.github.io/npm-example/coverage/lcov-report/


Component documentation:


▲ NOTE:

All the lines above are typical of what we would expect to have within our "root level" README.md file. This includes:

  • NPM install
  • CSS usage
  • Demo page link
  • Test coverage link
  • Individual component docs

For this repo specifically, here are further instructions on how to publish to NPM, and which steps to take in order to run unit tests and generate the demo page…

Package Sidebar

Install

npm i @t7/npm-example

Weekly Downloads

1

Version

0.0.1

License

MIT

Unpacked Size

340 kB

Total Files

55

Last publish

Collaborators

  • jed-t7
  • coreyleelarson
  • johnrjenson
  • danfusaro
  • deanjennings
  • mundizzle