Skip to content

Commit

Permalink
ts: rewrite declaration type file
Browse files Browse the repository at this point in the history
  • Loading branch information
wdavidw committed Nov 13, 2018
1 parent 9d585b1 commit ae4b2d6
Show file tree
Hide file tree
Showing 8 changed files with 1,007 additions and 291 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
@@ -1,5 +1,10 @@
# Changelog: HTTP Status

## Trunk

* ts: rewrite declaration type file
* ts: mocha integration

## Version 1.2.0

* typescript: use primitives
Expand Down
21 changes: 0 additions & 21 deletions lib/build-typescript.js

This file was deleted.

711 changes: 464 additions & 247 deletions lib/index.d.ts

Large diffs are not rendered by default.

14 changes: 9 additions & 5 deletions package.json
Expand Up @@ -19,9 +19,14 @@
"url": "http://github.com/adaltas/node-http-status/issues"
},
"devDependencies": {
"@types/mocha": "^5.2.5",
"@types/node": "^10.12.6",
"@types/should": "^13.0.0",
"coffeescript": "2.3.0",
"mocha": "5.1.1",
"should": "13.2.1"
"should": "13.2.1",
"ts-node": "^7.0.1",
"typescript": "^3.1.6"
},
"contributors": [
{
Expand All @@ -45,9 +50,8 @@
"patch": "npm version patch -m 'Bump to version %s'",
"minor": "npm version minor -m 'Bump to version %s'",
"major": "npm version major -m 'Bump to version %s'",
"coffee": "coffee -b -o lib src && coffee src/build-typescript.coffee",
"pretest": "coffee -b -o lib src",
"test": "mocha test/**/*.coffee",
"posttest": "coffee src/build-typescript.coffee"
"coffee": "coffee -b -o lib src",
"pretest": "coffee -b -o lib src && cp src/index.d.ts lib",
"test": "mocha test/**/*.coffee"
}
}
18 changes: 0 additions & 18 deletions src/build-typescript.coffee

This file was deleted.

0 comments on commit ae4b2d6

Please sign in to comment.