-
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)
@cmmn/tools
2.2.3 • Public • PublishedReadme
Keywords
nonePackage Sidebar
Install
npm i @cmmn/tools
Repository
Weekly Downloads
52
Version
2.2.3
License
ISC
Unpacked Size
40.5 kB
Total Files
23