Skip to content

Latest commit

 

History

30 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotfiles

Dot files and other defaults.

Available Defaults

Project Structures

Node related project folder structure for web apps and libraries.

Web Application

project-root/
|_ client/
|_ server/
|_ static/
|_ dist/
|_ test/
|_ node_modules/
|_ package.json
|_ README.md
|_ .gitignore
|_ ..
  • client - where client-side source code resides
  • server - server source code (run from here)
  • static - static assets served to the public
  • dist - processed/compiled client-side code (can be wiped and rebuilt)
  • test - unit/integration test source

Note: node_modules and dist should NOT be checked into source control.

Library

project-root/
|_ bin/
|_ lib/
|_ dist/
|_ test/
|_ node_modules/
|_ index.js
|_ package.json
|_ README.md
|_ LICENSE.md
|_ .gitignore
|_ ..
  • bin - optional, used if writing cli library
  • lib - library source code
  • dist - processed/compiled library code (can be wiped and rebuilt)
  • test - unit/integration test source
  • index.js - entry point to library

Note: node_modules should NOT be checked into source control.

About

dot files that we can agree on

Resources

Stars

1 star

Watchers

6 watching

Forks

Releases

Packages

Contributors