Skip to content

Commit

Permalink
Added typescript types
Browse files Browse the repository at this point in the history
  • Loading branch information
JulianFun123 committed Mar 6, 2024
1 parent 6574d18 commit 1572092
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# JDOM `3.1.3`
# JDOM `3.1.4`
## A wrapper for query selector and html elements + templating & reactivity framework

- [Installation or embedding](#install)
Expand Down Expand Up @@ -28,12 +28,12 @@ npm install jdomjs

### Module
```js
import { $, $n, $c, $r, $h, JDOM } from 'https://cdn.jsdelivr.net/npm/[email protected].3'
import { $, $n, $c, $r, $h, JDOM } from 'https://cdn.jsdelivr.net/npm/[email protected].4'
```

### HTML import
```js
<script src="https://cdn.jsdelivr.net/npm/[email protected].3/dist/jdom.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected].4/dist/jdom.js"></script>
```

## DOM Manipulation
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jdomjs",
"version": "3.1.3",
"version": "3.1.4",
"description": "A wrapper for query selector and html elements",
"main": "./index.js",

Expand All @@ -18,7 +18,7 @@
},

"scripts": {
"build": "webpack --config webpack.config.js"
"build": "npx -p typescript tsc src/**/*.js --declaration --allowJs --emitDeclarationOnly --outDir types && webpack --config webpack.config.js"
},
"repository": {
"type": "git",
Expand Down
3 changes: 0 additions & 3 deletions publish.sh

This file was deleted.

0 comments on commit 1572092

Please sign in to comment.