Adding build system for poetaster typescript node sample

This commit is contained in:
Mads Mætzke Tandrup 2015-07-25 13:55:30 +02:00
parent 34b341874c
commit 9fc8c770d3
No known key found for this signature in database
GPG Key ID: 67056F406C84B14B
3 changed files with 43 additions and 0 deletions

View File

@ -0,0 +1,3 @@
/node_modules
/typings
/api.js

View File

@ -0,0 +1,19 @@
{
"name": "petstore-typescript-node-sample",
"version": "1.0.0",
"description": "Sample of generated TypeScript petstore client",
"main": "api.js",
"scripts": {
"postinstall": "tsd reinstall",
"test": "tsc --module commonjs api.ts typings/tsd.d.ts"
},
"author": "Mads M. Tandrup",
"license": "Apache 2.0",
"dependencies": {
"bluebird": "^2.9.34",
"request": "^2.60.0"
},
"devDependencies": {
"tsd": "^0.6.3"
}
}

View File

@ -0,0 +1,21 @@
{
"version": "v4",
"repo": "borisyankov/DefinitelyTyped",
"ref": "master",
"path": "typings",
"bundle": "typings/tsd.d.ts",
"installed": {
"bluebird/bluebird.d.ts": {
"commit": "f6c8ca47193fb67947944a3170912672ac3e908e"
},
"request/request.d.ts": {
"commit": "2cc4331067a81e2ae6bc4590e7b33bf286c8f28f"
},
"form-data/form-data.d.ts": {
"commit": "2cc4331067a81e2ae6bc4590e7b33bf286c8f28f"
},
"node/node.d.ts": {
"commit": "48b4cb54af76f02b33dccaa0fdd2ae97db7cdd1b"
}
}
}