Skip to content

Commit

Permalink
[meta] remove useless ESM
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Mar 17, 2024
1 parent ece7445 commit cc16ab1
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 41 deletions.
7 changes: 0 additions & 7 deletions .github/workflows/node-aught.yml
Expand Up @@ -9,10 +9,3 @@ jobs:
range: '< 10'
type: minors
command: npm run tests-only

node:
name: 'node < 10'
needs: [tests]
runs-on: ubuntu-latest
steps:
- run: 'echo tests completed'
9 changes: 0 additions & 9 deletions .github/workflows/node-esm.yml

This file was deleted.

7 changes: 0 additions & 7 deletions .github/workflows/node-tens.yml
Expand Up @@ -9,10 +9,3 @@ jobs:
range: '>= 10'
type: minors
command: npm run tests-only

node:
name: 'node >= 10'
needs: [tests]
runs-on: ubuntu-latest
steps:
- run: 'echo tests completed'
9 changes: 0 additions & 9 deletions index.mjs

This file was deleted.

11 changes: 2 additions & 9 deletions package.json
Expand Up @@ -5,13 +5,7 @@
"main": "index.js",
"type": "commonjs",
"exports": {
".": [
{
"import": "./index.mjs",
"default": "./index.js"
},
"./index.js"
],
".": "./index.js",
"./auto": "./auto.js",
"./polyfill": "./polyfill.js",
"./implementation": "./implementation.js",
Expand All @@ -27,8 +21,7 @@
"postlint": "es-shim-api --bound",
"pretest": "npm run lint",
"tests-only": "nyc tape 'test/**/*.js'",
"tests-esm": "nyc node test/index.mjs",
"test": "npm run tests-only && npm run tests-esm",
"test": "npm run tests-only",
"posttest": "aud --production",
"version": "auto-changelog && git add CHANGELOG.md",
"postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
Expand Down

0 comments on commit cc16ab1

Please sign in to comment.