newjs: JavaScript Project Creation
Written by on February 15th, 2008 in Ajax News.
When you start a new JavaScript library, how do you layout the source files, the tests, the distribution files? Do you have support scripts to generate distributions from source files? Run your JavaScript unit tests? Generators to create new unit test HTML files?
This is why Dr. Nic created newjs, a Ruby script that sets you up to do the right thing by your pet project. No longer will you crack open a .js file and slice and dice your JavaScript willy nilly. Instead, you will use newjs to:
- Setup your directory structure for src, tests, documentation, distribution
- Start building unit tests using unittest.js
- Generate test files
- Run unit tests and get nice HTML output
- Package up your src for distribution
- Create a website for your project (wait. is this maven????
Source: Ajaxian
Original Article: http://feeds.feedburner.com/~r/ajaxian/~3/235534080/newjs-javascript-project-creation