Skip to content

Commit 138b4cb

Browse files
committed
move sources into src
1 parent 7cc0da1 commit 138b4cb

File tree

4 files changed

+12
-2
lines changed

4 files changed

+12
-2
lines changed

.npmignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
*.ts
22
!*.d.ts
33
*.js.map
4+
src
45

56
.gitignore
67
.npmignore

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"main": "index.js",
66
"typings": "index.d.ts",
77
"scripts": {
8+
"build": "tsc -p src",
89
"test": "echo \"Error: no test specified\" && exit 1"
910
},
1011
"repository": {

index.ts renamed to src/index.ts

File renamed without changes.

tsconfig.json renamed to src/tsconfig.json

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,14 @@
2626
"noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */
2727

2828
/* Module Resolution Options */
29-
"moduleResolution": "node" /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */
30-
}
29+
"moduleResolution": "node", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */
30+
"baseUrl": "..",
31+
"outDir": ".."
32+
},
33+
"include": [
34+
"./*.ts"
35+
],
36+
"exclude": [
37+
"../*.*"
38+
]
3139
}

0 commit comments

Comments
 (0)