Node.js最佳实践

参考:

https://blog.heroku.com/archives/2014/3/11/node-habits

最佳实践:

  • Start new projects with npm init
  • Declare all dependencies
  • Specify a start script
  • Specify a test script
  • Keep dependencies out of source control
  • Use environment variables to configure npm
  • Bring your own npm registry
  • Keep track of outdated dependencies( or use david )
  • Use npm scripts to run custom build steps
  • Try new things
  • Browserify( Client-side JavaScript )
2014-04-29 16:12