diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index d6754b4..561d350 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -22,7 +22,7 @@ jobs: - name: Run Tests run: npm test - name: Build - run: npm build + run: npm run build - name: Git config run: | git config --local user.email 'hello@rive.app' diff --git a/package.json b/package.json index 892d236..847957a 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,9 @@ "description": "React wrapper around the rive-js library", "main": "dist/index.js", "typings": "dist/types/index.d.ts", + "files": [ + "./dist/**" + ], "scripts": { "test": "jest", "build": "bunchee src/index.ts -m --no-sourcemap",