Fix build steps

This commit is contained in:
PJ Quirk
2020-05-12 15:09:19 -04:00
parent 1bc2687309
commit 05997a2463
3 changed files with 7 additions and 2 deletions

4
.gitignore vendored
View File

@@ -1 +1,3 @@
node_modules .DS_Store
node_modules/
lib/

View File

@@ -37,7 +37,8 @@
"main": "dist/index.js", "main": "dist/index.js",
"private": true, "private": true,
"scripts": { "scripts": {
"build": "ncc build src/main.ts", "build": "tsc",
"pack": "ncc build",
"test": "jest" "test": "jest"
} }
} }

View File

@@ -2,6 +2,8 @@
"compilerOptions": { "compilerOptions": {
"target": "es2018", "target": "es2018",
"moduleResolution": "node", "moduleResolution": "node",
"outDir": "./lib", /* Redirect output structure to the directory. */
"rootDir": "./src", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
"strict": true, "strict": true,
"forceConsistentCasingInFileNames": true "forceConsistentCasingInFileNames": true
}, },