-
-
Save ravinggenius/8111b216a25f23c6628589d4f86e5919 to your computer and use it in GitHub Desktop.
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
{ | |
"name": "dual-cjs-mjs-package", | |
"version": "1.0.0", | |
"description": "A package that can be both imported as esm and as cjs", | |
"main": "entry", | |
"scripts": { | |
"build": "babel *.mjs **/*.mjs --out-dir ." | |
}, | |
"devDependencies": { | |
"babel-cli": "^6.26.0", | |
"babel-eslint": "^8.0.1", | |
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.0", | |
"babel-plugin-dynamic-import-node": "^1.1.0" | |
}, | |
"keywords": [], | |
"author": "", | |
"license": "ISC" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment