@huz-com/boilerplate-component

Boilerplate template for component creation

Usage no npm install needed!

<script type="module">
  import huzComBoilerplateComponent from 'https://cdn.skypack.dev/@huz-com/boilerplate-component';
</script>

README

Huz.Com > Component > Boilerplate

Boiler plate template for component creation

Standards

  • Language: TS
  • Eslint: Yes
  • Static Code Analysis: Yes IntelliJ Code Inspections
  • DDD - Document Driven: Yes
  • EDD - Exception Driven: Yes
  • TDD - Test Driven: Yes go to test folder
  • Standards Complied: Huz Standards

Commands

  • npm run clear // clears "dist" folder
  • npm run lint // runs eslint for static code analysis
  • npm run test // runs test files in "test" folder
  • npm run build // builds JS files at "dist" folder
  • npm publish or npm run publix // publishes "dist" folder to npm

Install

npm i @huz-com/boilerplate-component

Sample

/*
    Type your sample codes
*/