diff --git a/.npmignore b/.npmignore new file mode 100644 index 0000000..85de9cf --- /dev/null +++ b/.npmignore @@ -0,0 +1 @@ +src diff --git a/package.json b/package.json index ea6a859..2efda9d 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,8 @@ "scripts": { "build": "npm run lint && babel src -d lib --ignore \"**/*.test.js\" ", "lint": "standard", - "test": "jest --watch" + "test": "jest --watch", + "prepublish": "npm run build" }, "repository": { "type" : "git",