Skip to content

Commit 783e541

Browse files
added: types
1 parent b802318 commit 783e541

File tree

4 files changed

+32
-20
lines changed

4 files changed

+32
-20
lines changed

.github/workflows/test.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: test
2+
3+
on:
4+
push:
5+
branches: [ main, dev ]
6+
pull_request:
7+
branches: [ main, dev ]
8+
9+
jobs:
10+
build:
11+
12+
runs-on: ubuntu-latest
13+
14+
strategy:
15+
matrix:
16+
node-version: [12.x, 14.x, 15.x, 16.x]
17+
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
18+
19+
steps:
20+
- uses: actions/checkout@v2
21+
- name: Local Unit Test ${{ matrix.node-version }}
22+
uses: actions/setup-node@v1
23+
with:
24+
node-version: ${{ matrix.node-version }}
25+
- run: npm ci
26+
- run: npm test

.travis.yml

Lines changed: 0 additions & 15 deletions
This file was deleted.

index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export function forceReflow<T extends Element>(el: T | T[]): typeof el

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,14 @@
3232
"homepage": "https://github.com/biancojs/force-reflow#readme",
3333
"devDependencies": {
3434
"@gianlucaguarini/eslint-config": "^2.0.0",
35-
"eslint": "^5.8.0",
36-
"jsdom": "12.2.0",
35+
"eslint": "^8.10.0",
36+
"jsdom": "19.0.0",
3737
"jsdom-global": "3.0.2",
38-
"mocha": "^5.2.0",
39-
"rollup": "^0.66.6",
38+
"mocha": "^9.2.1",
39+
"rollup": "^2.70.0",
4040
"rollup-plugin-node-resolve": "^3.4.0"
4141
},
4242
"dependencies": {
43-
"bianco.dom-to-array": "0.0.10"
43+
"bianco.dom-to-array": "1.1.0"
4444
}
4545
}

0 commit comments

Comments
 (0)