futurebrand / tools

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FutureBrand

FutureBrand Tools

Commands

To run TSDX, use:

npm start

This builds to /dist and runs the project in watch mode so any edits you save inside src causes a rebuild to /dist.

To do a one-off build, use npm run build.

To run tests, use npm test.

Configuration

Code quality is set up for you with prettier, husky, and lint-staged. Adjust the respective fields in package.json accordingly.

Jest

Jest tests are set up to run with npm test.

Continuous Integration

GitHub Actions

Two actions are added by default:

  • main which installs deps w/ cache, lints, tests, and builds on all pushes against a Node and OS matrix
  • size which comments cost comparison of your library on every pull request using size-limit

Publishing to NPM

We are using np and to release a new npm package version, use:

npm run release

About

License:MIT License


Languages

Language:TypeScript 100.0%