Skip to content

Commit 60e2e6e

Browse files
committed
feat(common): Prepare common package build.
1 parent 8a9ee0d commit 60e2e6e

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

packages/common/package.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,12 @@
44
"description": "Common components, helpers and other pieces of code",
55
"license": "Apache-2.0",
66
"main": "index.js",
7-
"scripts": {},
8-
"private": true,
7+
"module": "esm/index.js",
8+
"scripts": {
9+
"build": "yarn build:cjs && yarn build:esm",
10+
"build:cjs": "BABEL_ENV=cjs babel src --out-dir ./",
11+
"build:esm": "BABEL_ENV=esm babel src --out-dir ./esm"
12+
},
913
"repository": "[email protected]:data-driven-forms/react-forms.git",
1014
"devDependencies": {
1115
"@babel/core": "^7.2.2",

0 commit comments

Comments
 (0)