Skip to content

Commit

Permalink
Update adds dist for codepen
Browse files Browse the repository at this point in the history
  • Loading branch information
kj committed Oct 5, 2023
1 parent 023489a commit c0267bd
Show file tree
Hide file tree
Showing 4 changed files with 142 additions and 59 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ jobs:
env:
CI: true

- name: Dist
run: npm run dist

# Publish to npm
- name: Publish @RC to npm
if: contains(github.ref, 'RC')
Expand All @@ -69,3 +72,4 @@ jobs:
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}


173 changes: 118 additions & 55 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 10 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,16 @@
"name": "@enhance/morphdom-mixin",
"version": "1.0.0",
"description": "Enhance mixin to add Morphdom DOM diffing to a Custom Element",
"type": "module",
"module": "/dist/index.js",
"main": "index.mjs",
"scripts": {
"test": "run-s test:setup test:ci",
"test": "run-s test:install test:setup test:ci",
"test:install": "npx playwright install",
"test:setup": "npx playwright install-deps",
"test:ci": "web-test-runner \"test/*-test.html\" --node-resolve --playwright --browsers chromium firefox webkit",
"watch": "web-test-runner \"test/*-test.html\" --node-resolve --watch --playwright --browsers chromium firefox webkit"
"watch": "web-test-runner \"test/*-test.html\" --node-resolve --watch --playwright --browsers chromium firefox webkit",
"dist": "rollup --config ./rollup.config.js"
},
"repository": {
"type": "git",
Expand All @@ -21,13 +25,15 @@
},
"homepage": "https://github.com/enhance-dev/enhance-morphdom-mixin#readme",
"devDependencies": {
"@enhance/custom-element": "^1.0.1",
"@enhance/custom-element": "^1.0.2",
"@enhance/store": "^1.0.1",
"@esm-bundle/chai": "^4.3.4-fix.0",
"@rollup/plugin-node-resolve": "^15.2.2",
"@web/test-runner": "^0.17.0",
"@web/test-runner-playwright": "^0.10.1",
"npm-run-all": "^4.1.5",
"playwright": "^1.37.0"
"playwright": "^1.37.0",
"rollup": "^4.0.0"
},
"dependencies": {
"morphdom": "^2.7.0"
Expand Down
Loading

0 comments on commit c0267bd

Please sign in to comment.