From 5cac6ed7ee36e9b18a38fb62455e523667afc8bb Mon Sep 17 00:00:00 2001 From: Matt Bierner Date: Thu, 28 Sep 2017 18:35:14 -0700 Subject: [PATCH] Exclude some folders from npm and git --- .gitignore | 1 + .npmignore | 4 ---- package.json | 5 ++++- 3 files changed, 5 insertions(+), 5 deletions(-) delete mode 100644 .npmignore diff --git a/.gitignore b/.gitignore index f2afff6..1354d42 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ node_modules/ log.txt test-workspace +lib \ No newline at end of file diff --git a/.npmignore b/.npmignore deleted file mode 100644 index a9cf117..0000000 --- a/.npmignore +++ /dev/null @@ -1,4 +0,0 @@ -src/ -typedef/ -e2e/ -*.test.js diff --git a/package.json b/package.json index 3f52c54..31d3e1b 100644 --- a/package.json +++ b/package.json @@ -22,6 +22,9 @@ "dependencies": { "vscode-css-languageservice": "^2.1.4" }, + "files": [ + "lib" + ], "devDependencies": { "@types/node": "^7.0.22", "chai": "^4.1.2", @@ -36,6 +39,6 @@ "scripts": { "compile": "tsc -p .", "watch:compile": "tsc --watch -p .", - "e2e": "node e2e/run.js" + "e2e": "./node_modules/.bin/mocha e2e/tests" } }