diff --git a/.gitignore b/.gitignore index 1e8f221..25188b2 100644 --- a/.gitignore +++ b/.gitignore @@ -24,8 +24,7 @@ coverage .lock-wscript # Compiled binary addons (http://nodejs.org/api/addons.html) -build/Release -lib +dist # Dependency directories node_modules diff --git a/package.json b/package.json index bd75a80..9cba6a8 100644 --- a/package.json +++ b/package.json @@ -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", @@ -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", diff --git a/tsconfig.json b/tsconfig.json index 8b3f2dc..c9310c2 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -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" + ] +} \ No newline at end of file