Created
January 4, 2018 15:02
-
-
Save giltayar/46734d0aa1e8d4a36f284947cdd3c022 to your computer and use it in GitHub Desktop.
This file contains hidden or 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