Skip to content

Commit

Permalink
release 0.1.0
Browse files Browse the repository at this point in the history
* remove coffee-script as a dependency, make a devDependency
* added some npm scripts entries:
  * `npm run test`
  * `npm run test:watch`
  * `npm run build`
  • Loading branch information
natlownes committed Nov 27, 2013
1 parent c542e7c commit 45ba9e1
Show file tree
Hide file tree
Showing 9 changed files with 19 additions and 8 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
node_modules
tmp/*
npm-debug.log
lib/*


4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 0.1.0 2013-11-26

* move coffee-script from being a dependency into devDependencies

# 0.0.3 2013-05-29

* better cookie expiry and value on HTTP DELETE (thanks @tracker1)
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ You can set the apiRoot like:
```coffeescript
headrest = require('headrest')(apiRoot: '/apis/', dbPath: '/tmp/gruntest.json')
# headrest is an express app
headrest.listen(5001)
```

#### Resources
Expand Down
1 change: 0 additions & 1 deletion index.coffee

This file was deleted.

Empty file added lib/.gitkeep
Empty file.
17 changes: 11 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@
"name": "headrest",
"author": "Nat Lownes <[email protected]>",
"description": "A restful, CORS enabled development server - for clicking around front end Javascript projects.",
"main": "./index.coffee",
"version": "0.0.3",
"main": "./lib/index.js",
"version": "0.1.0",
"dependencies": {
"coffee-script": "~1.6.0",
"express": "~3.1.0",
"whoadb": "~0.1.x",
"headrest-middleware": "~0.0.x",
"moment": "~2.0.x"
},
"devDependencies": {
"honk-cake": "git://github.com/natlownes/honk-cake.git#develop",
"coffee-script": "~1.6.0",
"honk-cake": ">=0.0.5",
"grunt": "~0.4.0",
"mocha": "~1.8.1",
"superagent": "~0.14.x",
Expand All @@ -21,25 +21,30 @@
},
"directories": {
"test": "test",
"src": "src",
"lib": "lib"
},
"scripts": {
"test": "cake test"
"test": "cake test",
"test:watch": "cake test:watch",
"build": "find ./src -iname '*.coffee' | xargs coffee -c -o lib"
},
"readmeFilename": "README.md",
"repository": {
"type": "git",
"url": "git://github.com/natlownes/headrest.git"
},
"keywords": [
"rest",
"REST",
"api",
"webserver",
"server",
"http",
"test",
"testing",
"js",
"frontend",
"ui",
"clicking"
],
"license": "BSD",
Expand Down
File renamed without changes.
1 change: 1 addition & 0 deletions src/index.coffee
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require('./headrest')
2 changes: 1 addition & 1 deletion test/headrest_spec.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ expect = require('chai').expect
request = require('superagent')
WhoaDB = require('whoadb')
helpers = require('./helpers')
headrest = require('../index')
headrest = require('../src/index')
fs = require('fs')
moment = require('moment')

Expand Down

0 comments on commit 45ba9e1

Please sign in to comment.