Skip to content

Latest commit

 

History

History
33 lines (26 loc) · 756 Bytes

readme.md

File metadata and controls

33 lines (26 loc) · 756 Bytes

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)