Skip to content
/ nofat Public

Set of tools to kick start server side ES2016 development

Notifications You must be signed in to change notification settings

kadirahq/nofat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nofat

NoFat is an attempt to cure js-fatigue by providing the user a set of default configurations. After setting up nofat, developers can start working on their application instead of messing around with boilerplates.

setup

  • Install nofat
npm install -D nofat
  • Configure npm scripts (add to package.json)
"scripts": {
  "prepublish": "nofat make",
  "test": "nofat test && nofat lint"
}
  • Place all your source code in the src directory.
src/
  hello.js
  index.js
  __tests__/
    hello.js

daFAQ?

why nofat?

The main reason is that it doesn't require any additional runtime dependencies except babel-polyfill and source-map-support so your finished module will be lightweight.

ignore files

You may add the lib directory to your .gitignore file and src directory to your .npmignore file. Note that having a .npmignore file is important because otherwise npm will use your .gitignore file as your .npmignore file which is not what we want.

writing tests

The bundle includes Mocha, Chai and Sinon for tests. You can import these modules from your test files. Nofat also includes ESLint to check code style.

About

Set of tools to kick start server side ES2016 development

Resources

Stars

Watchers

Forks

Packages

No packages published