From f053c738b8708d8efc8879902ffedc28ff9ef161 Mon Sep 17 00:00:00 2001 From: David Humphrey Date: Fri, 21 Dec 2018 14:15:45 -0500 Subject: [PATCH] Fixes to release-it config and npm files --- .npmignore | 9 --------- .release-it.json | 9 +++++---- package.json | 3 +++ 3 files changed, 8 insertions(+), 13 deletions(-) delete mode 100644 .npmignore diff --git a/.npmignore b/.npmignore deleted file mode 100644 index efc7089..0000000 --- a/.npmignore +++ /dev/null @@ -1,9 +0,0 @@ -* -*/ -!README.md -!package.json -!LICENSE -!dist/filer.js -!dist/filer.map -!dist/filer.min.js -!dist/filer.min.map diff --git a/.release-it.json b/.release-it.json index 2519d3c..0172e94 100644 --- a/.release-it.json +++ b/.release-it.json @@ -1,17 +1,18 @@ { "scripts": { "beforeStart": "npm run test", - "beforeBump": "npm run build" + "beforeBump": "npm run build", + "changelogCommand": "git log --pretty=format:'* %s (%h)' [REV_RANGE]" }, "git": { - "pushRepo": "git@github.com:filerjs/filer.git" + "pushRepo": "git@github.com:filerjs/filer.git", + "tagName": "v%s" }, "npm": { "publish": true }, "github": { "release": true, - "releaseName": "Filer.js %s Released", - "assets": [ "dist/*.zip" ] + "releaseName": "Filer.js %s Released" } } diff --git a/package.json b/package.json index f2aeb52..7b8210a 100644 --- a/package.json +++ b/package.json @@ -70,6 +70,9 @@ }, "main": "./src/index.js", "browser": "./dist/filer.min.js", + "files": [ + "dist" + ], "nyc": { "exclude": [ "tests/**/*.js",