8000 Fix build steps · rxmarbles/github-script@05997a2 · GitHub
[go: up one dir, main page]

Skip to content

Commit 05997a2

Browse files
committed
Fix build steps
1 parent 1bc2687 commit 05997a2

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
node_modules
1+
.DS_Store
2+
node_modules/
3+
lib/

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@
3737
"main": "dist/index.js",
3838
"private": true,
3939
"scripts": {
40-
"build": "ncc build src/main.ts",
40+
"build": "tsc",
41+
"pack": "ncc build",
4142
"test": "jest"
4243
}
4344
}

tsconfig.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
"compilerOptions": {
33
"target": "es2018",
44
"moduleResolution": "node",
5+
"outDir": "./lib", /* Redirect output structure to the directory. */
6 4A27 +
"rootDir": "./src", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
57
"strict": true,
68
"forceConsistentCasingInFileNames": true
79
},

0 commit comments

Comments
 (0)
0