From 2f9836e771af50a294cf6a00089581d90255c97f Mon Sep 17 00:00:00 2001 From: Jordi Sala Morales Date: Mon, 23 Jan 2023 11:36:47 +0100 Subject: [PATCH] Fix build asset generation --- .changeset/strong-bugs-walk.md | 5 +++++ package.json | 9 +++++++++ 2 files changed, 14 insertions(+) create mode 100644 .changeset/strong-bugs-walk.md diff --git a/.changeset/strong-bugs-walk.md b/.changeset/strong-bugs-walk.md new file mode 100644 index 0000000..3bc42f0 --- /dev/null +++ b/.changeset/strong-bugs-walk.md @@ -0,0 +1,5 @@ +--- +"@runroom/purejs": patch +--- + +Generate build previous to release diff --git a/package.json b/package.json index d2444f7..3c35066 100644 --- a/package.json +++ b/package.json @@ -14,6 +14,14 @@ "library", "no-jquery" ], + "files": [ + "lib", + "index.d.ts", + "purejs.js", + "purejs.js.map", + "index.js", + "index.js.map" + ], "main": "purejs.js", "typings": "index.d.ts", "engines": { @@ -29,6 +37,7 @@ "lint:prettier": "prettier --check .github src test .eslintrc.js jest.config.ts webpack.config.babel.js", "lint:tsc": "tsc --noEmit --pretty false", "pretest": "run-p build:*", + "prerelease": "run-p build:*", "release": "changeset publish", "test": "jest" },