Skip to content
This repository has been archived by the owner on Sep 13, 2024. It is now read-only.

Commit

Permalink
Fix publish output
Browse files Browse the repository at this point in the history
  • Loading branch information
tuliren committed Aug 24, 2020
1 parent b61c385 commit 5ba91de
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 17 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
node_modules/
dist
*.tgz
14 changes: 1 addition & 13 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "mongoose-safe-query",
"version": "0.1.0",
"version": "0.2.0",
"description": "A mongoose plugin that verifies the fields in a query",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist/**/src/*"
"dist/**/*"
],
"scripts": {
"tsc": "tsc -p tsconfig.json",
Expand Down
4 changes: 2 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"sourceMap": true, /* Generates corresponding '.map' file. */
// "outFile": "./", /* Concatenate and emit output to single file. */
"outDir": "dist", /* Redirect output structure to the directory. */
"rootDir": "../", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
"rootDir": "src", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
// "composite": true, /* Enable project compilation */
// "tsBuildInfoFile": "./", /* Specify file to store incremental compilation information */
// "removeComments": true, /* Do not emit comments to output. */
Expand Down Expand Up @@ -66,6 +66,6 @@
"skipLibCheck": true, /* Skip type checking of declaration files. */
"forceConsistentCasingInFileNames": true /* Disallow inconsistently-cased references to the same file. */
},
"include": ["src/**/*.ts", "test/**/*.ts"],
"include": ["src/**/*.ts"],
"exclude": ["node_modules", "dist"]
}

0 comments on commit 5ba91de

Please sign in to comment.