-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(esm): upgrade to be a pure ESM package
BREAKING CHANGE: This package is now only available via ESM. This means it only supports Node 12+ too. + Updated dependancies to use ESM versions + Various changes for ESM
- Loading branch information
1 parent
5215362
commit c1077b2
Showing
9 changed files
with
1,793 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
node_modules/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"env": { | ||
"node": true, | ||
"es2021": true, | ||
"jest/globals": true | ||
}, | ||
"extends": ["eslint:recommended", "prettier", "plugin:node/recommended"], | ||
"plugins": ["prettier", "jest"], | ||
"parserOptions": { | ||
"ecmaVersion": 12 | ||
}, | ||
"rules": { | ||
"prettier/prettier": ["error"], | ||
"no-console": ["error"] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
test/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
const letterboxd = require("./src/letterboxd"); | ||
import letterboxd from "./src/letterboxd.js"; | ||
|
||
module.exports = letterboxd; | ||
export default letterboxd; |
Oops, something went wrong.