forked from loafle/openapi-generator-original
Adding build system for poetaster typescript node sample
This commit is contained in:
parent
34b341874c
commit
9fc8c770d3
3
samples/client/petstore/typescript-node/.gitignore
vendored
Normal file
3
samples/client/petstore/typescript-node/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
/node_modules
|
||||
/typings
|
||||
/api.js
|
19
samples/client/petstore/typescript-node/package.json
Normal file
19
samples/client/petstore/typescript-node/package.json
Normal 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"
|
||||
}
|
||||
}
|
21
samples/client/petstore/typescript-node/tsd.json
Normal file
21
samples/client/petstore/typescript-node/tsd.json
Normal 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"
|
||||
}
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user