Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 05997a2

Browse filesBrowse files
committed
Fix build steps
1 parent 1bc2687 commit 05997a2
Copy full SHA for 05997a2

File tree

Expand file treeCollapse file tree

3 files changed

+7
-2
lines changed
Filter options
Expand file treeCollapse file tree

3 files changed

+7
-2
lines changed

‎.gitignore

Copy file name to clipboard
+3-1Lines 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

Copy file name to clipboardExpand all lines: package.json
+2-1Lines 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

Copy file name to clipboardExpand all lines: tsconfig.json
+2Lines 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+
"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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.