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 22, 2024
1 parent d5aa232 commit 28440a5
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 52 deletions.
9 changes: 0 additions & 9 deletions .github/workflows/node-esm.yml

This file was deleted.

9 changes: 0 additions & 9 deletions index.mjs

This file was deleted.

12 changes: 2 additions & 10 deletions package.json
Expand Up @@ -4,14 +4,7 @@
"description": "ES spec-compliant shim for Object.hasOwn",
"main": "index.js",
"exports": {
".": [
{
"import": "./index.mjs",
"require": "./index.js",
"default": "./index.js"
},
"./index.js"
],
".": "./index.js",
"./auto": "./auto.js",
"./polyfill": "./polyfill.js",
"./implementation": "./implementation.js",
Expand All @@ -26,8 +19,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
24 changes: 0 additions & 24 deletions test/index.mjs

This file was deleted.

0 comments on commit 28440a5

Please sign in to comment.