Skip to content

Commit

Permalink
Add only dist directory into release
Browse files Browse the repository at this point in the history
  • Loading branch information
denbon05 committed Mar 6, 2023
1 parent 4cdf04c commit 5ba34b3
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 8 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ coverage
.lock-wscript

# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release
lib
dist

# Dependency directories
node_modules
Expand Down
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "docker-api-node",
"version": "1.1.24",
"version": "1.1.25",
"description": "Docker Remote API driver for node",
"main": "./lib/docker",
"typings": "./lib/docker",
Expand All @@ -9,12 +9,15 @@
"lint": "./node_modules/tslint/bin/tslint -c tslint.json 'src/**/*.ts'",
"test": "chmod +x test.sh; ./test.sh",
"gendoc": "typedoc --out docs src",
"build": "tsc --outDir lib"
"build": "tsc"
},
"repository": {
"type": "git",
"url": "git+https://github.com/denbon05/docker-api.git"
},
"files": [
"dist/**"
],
"keywords": [
"docker",
"api",
Expand Down
13 changes: 9 additions & 4 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
{
"compilerOptions": {
"compilerOptions": {
"outDir": "dist",
"module": "commonjs",
"target": "es6",
"sourceMap": true,
"declaration": true,
"types": ["node"],
"types": [
"node"
],
"removeComments": false
},
"include": ["src/**/*.ts"]
}
"include": [
"src/**/*.ts"
]
}

0 comments on commit 5ba34b3

Please sign in to comment.