Created
July 28, 2017 04:33
-
-
Save mnicole/882f1a99cbfeabced8c1f985ab32d758 to your computer and use it in GitHub Desktop.
component lib package.json
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
“module”: “dist-es6/index”, | |
“prebuild”: “rimraf dist dist-es6”, // removes the /dist-es6 folder before building | |
“build”: “babel components — out-dir dist-es6 — source-maps inline”, // builds everything in /components/index.js to /dist-es6 | |
“postinstall”: “postinstall-build — only-as-dependency dist” |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment