Skip to content

Commit

Permalink
Set ECMAScript module fields and entry point
Browse files Browse the repository at this point in the history
Also remove unofficial fields that mark a package as 'ES' and bump build
related tooling dependencies to ensure compatibility with the new
standard. Since the package scope is now set to module change config
files to use ESM or run with CommonJS using the `cjs` extension.

Closes zspecza#201
  • Loading branch information
Siilwyn committed Jan 30, 2021
1 parent d3f7042 commit 68adc67
Show file tree
Hide file tree
Showing 5 changed files with 2,683 additions and 967 deletions.
File renamed without changes.
2 changes: 0 additions & 2 deletions .eslintrc.js → .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict';

module.exports = {
root: true,
extends: ['eslint:recommended', 'plugin:prettier/recommended'],
Expand Down
4 changes: 1 addition & 3 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
'use strict';

module.exports = {
export default {
collectCoverage: true,
coverageDirectory: './coverage/',
testEnvironment: 'node',
Expand Down
Loading

0 comments on commit 68adc67

Please sign in to comment.