Skip to content

Commit

Permalink
feat: emit code in ES Module mode
Browse files Browse the repository at this point in the history
  • Loading branch information
liuyuchenzh committed Mar 27, 2019
1 parent 27cadf9 commit 464642e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"version": "6.1.0",
"description": "Collection of React Hooks",
"main": "lib/index.js",
"module": "lib/es/index.js",
"files": [
"lib/"
],
Expand All @@ -11,7 +12,9 @@
"scripts": {
"start": "yarn storybook",
"test": "echo hmm...",
"build": "tsc",
"build:cjs": "tsc",
"build:es": "tsc -m esNext --outDir lib/es",
"build": "yarn build:cjs && yarn build:es",
"clean": "rimraf lib storybook-static",
"storybook": "start-storybook -p 6008",
"storybook:build": "build-storybook",
Expand Down

0 comments on commit 464642e

Please sign in to comment.