Skip to content

Commit d69b1d9

Browse files
committed
Support package release to NPM
1 parent 90e9f3f commit d69b1d9

File tree

6 files changed

+2125
-0
lines changed

6 files changed

+2125
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/node_modules

.node/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/dist

.node/node.t.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
// https://github.com/microsoft/TypeScript/issues/3926
2+
interface ErrorConstructor {
3+
captureStackTrace(thisArg: any, func: any): void;
4+
}

.node/tsconfig.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"files": ["./node.t.ts"],
3+
"include": ["../**/*.ts"],
4+
"exclude": [".", "../**/*_test.ts"],
5+
"compilerOptions": {
6+
"allowSyntheticDefaultImports": true,
7+
"declaration": true,
8+
"declarationMap": true,
9+
"module": "commonjs",
10+
"moduleResolution": "node",
11+
"noEmitOnError": true,
12+
"outDir": "./dist",
13+
"target": "ES2019"
14+
}
15+
}

0 commit comments

Comments
 (0)