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",