@cmmn/tools
TypeScript icon, indicating that this package has built-in type declarations

2.2.3 • Public • Published

Builder and bundler for your projects

Use cases:

  • cmmn compile [target] [-b] [--watch]

    Runs typescript compiler

  • cmmn bundle [target] [-b] [--watch] [--run] [--prod]

    Runs rollup bundler

  • cmmn gen name directory [-n]

    Generates component with template at directory

  • default jest.config.js:

    import config from "@cmmn/tools/test/config";
    export default config;
  • tests: some.spec.ts

      import {suite, test, expect} from "@cmmn/tools/test";
      
      @suite
      export class SomeSpec {
      
          @test
          equalsTest() {
              expect(1).toEqual(2);
          }
      }
  • cmmn serve [-b] serves bundled website (-b serves all websites in monorepo)

Readme

Keywords

none

Package Sidebar

Install

npm i @cmmn/tools

Weekly Downloads

52

Version

2.2.3

License

ISC

Unpacked Size

40.5 kB

Total Files

23

Last publish

Collaborators

  • fransua.ne