Skip to content

Commit

Permalink
feat: use lib directory instead of dist
Browse files Browse the repository at this point in the history
  • Loading branch information
glebbash committed Jan 15, 2022
1 parent 92a31a8 commit 66a98f8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ node_modules
*.log
.vscode
.idea
dist
lib
compiled
.awcache
.rpt2_cache
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
"typed",
"typesafe"
],
"main": "dist/typed-http-decorators.js",
"types": "dist/typed-http-decorators.d.ts",
"main": "lib/typed-http-decorators.js",
"types": "lib/typed-http-decorators.d.ts",
"files": [
"dist"
"lib"
],
"author": "glebbash <glebbash@gmail.com>",
"repository": {
Expand All @@ -24,7 +24,7 @@
},
"scripts": {
"lint": "eslint --fix 'src/**/*.ts'",
"prebuild": "rimraf dist",
"prebuild": "rimraf lib",
"build": "tsc --project tsconfig.build.json",
"build:docs": "typedoc --out docs src/typed-http-decorators.ts",
"test": "jest --config jest.config.ts --coverage",
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"allowSyntheticDefaultImports": true,
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"outDir": "dist",
"outDir": "lib",
"esModuleInterop": true,
},
"include": [
Expand Down

0 comments on commit 66a98f8

Please sign in to comment.