Skip to content

Commit

Permalink
update export of the package and include global-jsdom as dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
ECorreia45 committed Nov 19, 2023
1 parent 9b8e2d2 commit f2938ff
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
1 change: 0 additions & 1 deletion docs-src/documentation/web-components.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ export default DocPageLayout(
' disabled = false;\n' +
' \n' +
' connectedCallback() {\n' +
" console.log('mounted')\n" +
' this.innerHTML = `<input type="text"/>`;\n' +
' \n' +
' this.updateField()\n' +
Expand Down
15 changes: 12 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,18 @@
{
"name": "@beforesemicolon/markup",
"version": "0.5.0",
"version": "0.6.0",
"description": "HTML Templating System",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": "./dist/index.js",
"./to-static": "./dist/to-static.js"
},
"typesVersions": {
"*": {
"*": ["dist/*"]
}
},
"scripts": {
"test": "jest",
"test:watch": "jest --watch",
Expand Down Expand Up @@ -47,7 +56,6 @@
"eslint-plugin-n": "^16.1.0",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-promise": "^6.1.1",
"global-jsdom": "^9.1.0",
"highlight.js": "^11.9.0",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0",
Expand All @@ -62,6 +70,7 @@
"typescript": "^5.0.4"
},
"dependencies": {
"@beforesemicolon/html-parser": "*"
"@beforesemicolon/html-parser": "*",
"global-jsdom": "^9.1.0"
}
}

0 comments on commit f2938ff

Please sign in to comment.