Skip to content

Instantly share code, notes, and snippets.

@ewingson
Created May 17, 2019 14:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ewingson/fec6813068653ba92d0b50545b269866 to your computer and use it in GitHub Desktop.
Save ewingson/fec6813068653ba92d0b50545b269866 to your computer and use it in GitHub Desktop.
node_project_anatomy
lib/ is intended for code that can run as-is
src/ is intended for code that needs to be manipulated before it can be used
build/ is for any scripts or tooling needed to build your project
dist/ is for compiled modules that can be used with other systems.
bin/ is for any executable scripts, or compiled binaries used with, or built from your module.
test/ is for all of your project/module's test scripts
unit/ is a sub-directory for unit tests
integration/ is a sub-directory for integration tests
env/ is for any environment that's needed for testing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment