Skip to content

Commit

Permalink
Merge pull request #22 from rive-app/build-fix
Browse files Browse the repository at this point in the history
Fix build automation and only include dist files
  • Loading branch information
avivian committed Jun 28, 2021
2 parents b4bbc9f + 35bf459 commit 4285908
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 4285908

Please sign in to comment.