Code Monkey home page Code Monkey logo

node-simple-file-bisync's Introduction

Template-Node-TS-Jest

This is a template project for a faster start on a NodeJS Typescript project using Jest to test. Code samples, vscode launch configs, example tests etc are included.

Steps to use

  1. Clone/fork repo
  2. npm install
  3. package.json - replace all TODO with relevant info
  4. __tests__/ - add your tests
  5. index.ts - add your code
  6. delete irrelevant examples (src/core/, src/utils/, config/)
  7. Run/Test: npm start / npm test! (Or with vscode launch configs)

Fork Changes from original [Jon]

Original repo - see it for steps used to create this project template. https://github.com/mtiller/ts-jest-sample

Changes:

  • launch.json
    • Didn't work on windows, seems like assums mac/linux?
    • Used this launch.json instead: (master | actual commit taken)
    • Added ts-node launch configs (debugger)
  • tsconfig.json
    • Changed target to es2017 + include "lib": ["es2017"]
    • Removed strict + noImplicitAny restrictions
    • Added ts-node section (transpileOnly - doesn't type check)
  • Package.json
    • added ts-node
  • .gitignore
  • Readme
    • Added this section
  • Source code
    • Various minor changes to example code
  • Updated packages to latest [17/Feb/23]

node-simple-file-bisync's People

Contributors

jonlevin25 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.