diff --git a/Makefile b/Makefile index 3babe87a2..ac8f893ad 100644 --- a/Makefile +++ b/Makefile @@ -62,10 +62,6 @@ serve: stamp-npm serve_bg: stamp-npm $(HTTPSERVE) -p $(HTTPSERVE_PORT) -c-1 -s & -.PHONY: notemps -notemps: - find -name "*~" -exec rm {} \; - ######################################################################## ## Translation machinery @@ -102,7 +98,6 @@ release: make pot make po make build - make notemps npm pack .PHONY: postrelease diff --git a/package.json b/package.json index 18aa30db9..e586e6812 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,11 @@ "locale/", "sass/", "sounds/", - "src/" + "src/*.js", + "src/utils/*.js", + "src/templates/*.html", + "src/templates/*.svg", + "src/headless/" ], "scripts": { "serve": "webpack-dev-server --config webpack.serve.js", diff --git a/src/headless/package.json b/src/headless/package.json index f6b299d6f..aacb0980d 100644 --- a/src/headless/package.json +++ b/src/headless/package.json @@ -7,8 +7,12 @@ "license": "MPL-2.0", "main": "dist/converse-headless.min.js", "files": [ - "**/*.js", - "templates/*" + "*.js", + "*.json", + "README.md", + "utils/*.js", + "templates/*.html", + "templates/*.svg" ], "repository": { "type": "git",