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 20, 2024
1 parent 559330d commit 808087d
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 65 deletions.
9 changes: 0 additions & 9 deletions .github/workflows/node-esm.yml

This file was deleted.

15 changes: 0 additions & 15 deletions index.mjs

This file was deleted.

12 changes: 2 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,7 @@
"description": "An ESnext spec-compliant `String.prototype.toWellFormed` shim/polyfill/replacement that works as far down as ES3.",
"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 @@ -29,8 +22,7 @@
"lint": "eslint --ext=js,mjs .",
"postlint": "es-shim-api --bound",
"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
31 changes: 0 additions & 31 deletions test/index.mjs

This file was deleted.

0 comments on commit 808087d

Please sign in to comment.