From 7673d156131a9cfc33c38b55ec0775326bd73524 Mon Sep 17 00:00:00 2001 From: Paul Irish Date: Sun, 14 May 2017 14:09:49 -0700 Subject: [PATCH] prep to publish to npm --- chrome-launcher/.npmignore | 20 ++++++++++++++++++++ chrome-launcher/package.json | 8 ++++++-- 2 files changed, 26 insertions(+), 2 deletions(-) create mode 100644 chrome-launcher/.npmignore diff --git a/chrome-launcher/.npmignore b/chrome-launcher/.npmignore new file mode 100644 index 000000000000..36ec854074c7 --- /dev/null +++ b/chrome-launcher/.npmignore @@ -0,0 +1,20 @@ + +# folders +.vscode/ +test/ +node_modules/ + +# include all compiled JS +!*.js + +# generated files +npm-debug.log + +# dev files +.appveyor.yml +.DS_Store +.editorconfig +.eslintignore +.eslintrc.js +.travis.yml +gulpfile.js diff --git a/chrome-launcher/package.json b/chrome-launcher/package.json index 1a8e6efe249d..20b2f973feaf 100644 --- a/chrome-launcher/package.json +++ b/chrome-launcher/package.json @@ -1,6 +1,5 @@ { "name": "chrome-launcher", - "private": true, "main": "chrome-launcher.js", "scripts": { "build": "tsc", @@ -17,5 +16,10 @@ "dependencies": { "@types/mkdirp": "^0.3.29", "@types/node": "6.0.66" - } + }, + "version": "0.0.1", + "description": "Launch latest Chrome with the devtools-protocol port open", + "repository": "https://github.com/GoogleChrome/lighthouse/tree/master/chrome-launcher", + "author": "The Chromium Authors", + "license": "Apache-2.0" }