Skip to content

Re-Quant/on-field-access

Repository files navigation

Modern Wallaby JS Starter (TypeScript + Babel + Jest)

Notice: If you have any propositions feel free to make an issue or create a pull request.

Features

Ways to use

  1. Clone as is

    1. git clone [email protected]:korniychuk/wallaby-ts-starter.git
    2. cd wallaby-ts-starter
    3. yarn
  2. Fork

    1. Click Fork git button
    2. git clone [email protected]:YOUR_GIT_NAME/wallaby-ts-starter.git
    3. cd wallaby-ts-starter
    4. yarn
  3. Creating from template

    1. Click Fork git button
    2. Create new repository and specify template template
    3. git clone [email protected]:YOUR_GIT_NAME/NEW_REPOSITORY_NAME.git
    4. cd NEW_REPOSITORY_NAME
    5. yarn
  4. Using with already cloned repository as an additional origin for pulling updates

    1. Automatically

      npm run merge-tpl-repo
    2. Manually

      1. git remote add template [email protected]:korniychuk/wallaby-ts-starter.git
      2. git fetch template
      3. git merge --allow-unrelated-histories template/master

How to

How to use NodeJS version from the .nvmrc

  1. Install NVM

  2. Use .nvmrc file one of the next ways:

    • Execute nvm use in the project root directory
    • Install NVM Loader and your .nvmrc will be loaded automatically when you open the terminal. NVM Loader demo

How to make a build

npm run build

How to run lint

  • Just show problems npm run lint
  • Fix problems if it is possible npm run lint:fix

How to run tests

  • All tests

    npm run test
    npm run test:watch

  • Specific tests

    npm run test -- src/my.spec.ts
    npm run test:watch -- src/my.spec.ts

Author


Anton Korniychuk

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published