Skip to content

Commit

Permalink
Merge pull request #174 from swellstores/fix/rollup-umd
Browse files Browse the repository at this point in the history
fix: building swell-js module in umd format
  • Loading branch information
awwit authored Apr 24, 2024
2 parents c82c5d9 + e297027 commit fd51c50
Show file tree
Hide file tree
Showing 39 changed files with 3,671 additions and 21,192 deletions.
2 changes: 1 addition & 1 deletion .git-hooks/pre-commit
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/bin/sh
npm run lint && npm test
npm run lint && npm run build && npm test
1 change: 1 addition & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,5 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run build
- run: npm test
3 changes: 3 additions & 0 deletions jest.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,8 @@
"testEnvironment": "node",
"moduleNameMapper": {
"^lodash-es/(.*)$": "<rootDir>/node_modules/lodash/$1"
},
"transform": {
"^.+\\.m?js$": "babel-jest"
}
}
Loading

0 comments on commit fd51c50

Please sign in to comment.