From 1eb8220b2d0f659b12216c8e99bdd44427e54ffd Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Wed, 25 Oct 2017 05:02:45 -0700 Subject: [PATCH] Use slightly more "normal" npm directory names ;P. --- .gitignore | 2 +- .npmignore | 2 +- package.json5 | 4 ++-- {lib => src}/index.ts | 0 tsconfig.json | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) rename {lib => src}/index.ts (100%) diff --git a/.gitignore b/.gitignore index 0b40c0f..2716eb6 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ -/dist +/lib /node_modules /npm-debug.log /package.json diff --git a/.npmignore b/.npmignore index ecf783f..2035d15 100644 --- a/.npmignore +++ b/.npmignore @@ -1,4 +1,4 @@ -/lib /make /package.json5 /publish +/src diff --git a/package.json5 b/package.json5 index d71d031..bff000c 100644 --- a/package.json5 +++ b/package.json5 @@ -17,8 +17,8 @@ "lint": "tslint --project .", "prepublishOnly": "npm run build && npm run lint", }, - "main": "dist/index.js", - "types": "dist/index.d.ts", + "main": "lib/index.js", + "types": "lib/index.d.ts", "devDependencies": { "@types/node": "8.0.15", "browserify": "14.4.0", diff --git a/lib/index.ts b/src/index.ts similarity index 100% rename from lib/index.ts rename to src/index.ts diff --git a/tsconfig.json b/tsconfig.json index 73f1865..ec5260f 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,12 +1,12 @@ { - "include": [ "lib/*.ts" ], + "include": [ "src/*.ts" ], "compilerOptions": { "experimentalDecorators": true, "target": "es6", "module": "commonjs", "declaration": true, - "outDir": "dist", + "outDir": "lib", "strict": true } } -- 2.50.0