First commit

This commit is contained in:
SukantGujar 2019-03-07 17:19:23 +05:30
commit 9a3d218c6e
7 changed files with 63 additions and 0 deletions

4
.gitignore vendored Normal file
View File

@ -0,0 +1,4 @@
*.log
.env
node_modules
dist

5
.prettierrc.json Normal file
View File

@ -0,0 +1,5 @@
{
"printWidth": 120,
"semi": true,
"bracketSpacing": true
}

3
.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,3 @@
{
"editor.formatOnSave": true
}

15
package.json Normal file
View File

@ -0,0 +1,15 @@
{
"name": "node-partial-stream",
"version": "0.1.0",
"main": "dist/index.js",
"repository": "ssh://git@github.com-sukantgujar/SukantGujar/node-partial-stream",
"author": "sukantgujar <sukantgujar@yahoo.com>",
"license": "MIT",
"scripts": {
"build-watch": "npx tsc -w"
},
"devDependencies": {
"@types/node": "^11.10.5",
"typescript": "^3.3.3333"
}
}

2
src/index.ts Normal file
View File

@ -0,0 +1,2 @@
import { Request } from "node";
export function handler(req: Request) {}

21
tsconfig.json Normal file
View File

@ -0,0 +1,21 @@
{
"compilerOptions": {
"module": "commonjs",
"esModuleInterop": true,
"target": "es6",
"noImplicitAny": true,
"moduleResolution": "node",
"sourceMap": true,
"outDir": "dist",
"baseUrl": ".",
"paths": {
"*": [
"node_modules/*",
"src/types/*"
]
}
},
"include": [
"src/**/*"
]
}

13
yarn.lock Normal file
View File

@ -0,0 +1,13 @@
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
# yarn lockfile v1
"@types/node@^11.10.5":
version "11.10.5"
resolved "https://registry.yarnpkg.com/@types/node/-/node-11.10.5.tgz#fbaca34086bdc118011e1f05c47688d432f2d571"
integrity sha512-DuIRlQbX4K+d5I+GMnv+UfnGh+ist0RdlvOp+JZ7ePJ6KQONCFQv/gKYSU1ZzbVdFSUCKZOltjmpFAGGv5MdYA==
typescript@^3.3.3333:
version "3.3.3333"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.3.3333.tgz#171b2c5af66c59e9431199117a3bcadc66fdcfd6"
integrity sha512-JjSKsAfuHBE/fB2oZ8NxtRTk5iGcg6hkYXMnZ3Wc+b2RSqejEqTaem11mHASMnFilHrax3sLK0GDzcJrekZYLw==