From f6dd102a146e0b2a7b943a233322d896c24ff860 Mon Sep 17 00:00:00 2001 From: Solly Ross Date: Tue, 3 Oct 2017 19:36:36 -0400 Subject: [infra] updated packaging config This updates the .npmignore file to ignore some new files that were recently added, and to keep the `core` directory, so that noVNC can be used as an ES6 module from NPM. This also updates package.json to clean when generating lib files in the `prepare` phase (which has replaced the `prepublish` phase). --- package.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'package.json') diff --git a/package.json b/package.json index 41f9504..8e62db6 100644 --- a/package.json +++ b/package.json @@ -2,14 +2,13 @@ "name": "noVNC", "version": "0.6.1", "description": "An HTML5 VNC client", - "main": "karma.conf.js", "directories": { "doc": "docs", "test": "tests" }, "scripts": { "test": "PATH=$PATH:node_modules/karma/bin karma start karma.conf.js", - "prepublish": "node ./utils/use_require.js --as commonjs" + "prepare": "node ./utils/use_require.js --as commonjs --clean" }, "repository": { "type": "git", -- cgit v1.2.1