Skip to content

Commit

Permalink
Update dependencies and add exports field (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
fregante authored Apr 22, 2023
1 parent bc232e6 commit a968bc3
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 11 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,22 @@ jobs:
Lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- run: npm install
- run: npx xo

Build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- run: npm install
- run: npm run build

Test:
runs-on: ubuntu-latest
container: node:latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- run: npm install
- run: npm run build
- run: npx ava
18 changes: 10 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,13 @@
"event"
],
"repository": "fregante/delegate-it",
"funding": "https://github.com/sponsors/fregante",
"license": "MIT",
"author": "Federico Brigante <[email protected]> (https://fregante.com)",
"type": "module",
"main": "index.js",
"module": "index.js",
"exports": "./index.js",
"main": "./index.js",
"types": "./index.d.ts",
"files": [
"index.js",
"index.d.ts"
Expand All @@ -43,15 +45,15 @@
}
},
"dependencies": {
"typed-query-selector": "^2.6.1"
"typed-query-selector": "^2.10.0"
},
"devDependencies": {
"@sindresorhus/tsconfig": "^3.0.1",
"ava": "^4.3.0",
"jsdom": "^20.0.0",
"ava": "^5.2.0",
"jsdom": "^21.1.1",
"npm-run-all": "^4.1.5",
"sinon": "^14.0.0",
"typescript": "^4.7.4",
"xo": "^0.50.0"
"sinon": "^15.0.4",
"typescript": "^5.0.4",
"xo": "^0.54.1"
}
}

0 comments on commit a968bc3

Please sign in to comment.