Skip to content

Commit 96580e2

Browse files
committed
Update build commands
1 parent 9b8834f commit 96580e2

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

package.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,12 @@
77
"exports": "./dist/react-json-form.modern.js",
88
"main": "./dist/react-json-form.js",
99
"module": "./dist/react-json-form.module.js",
10-
"unpkg": "./dist/react-json-form.min.js",
10+
"unpkg": "./dist/react-json-form.js",
1111
"scripts": {
12-
"build": "microbundle --format umd,cjs",
13-
"dev": "microbundle watch --format umd,cjs --no-compress --jsx React.createElement --output ./dev/dist/",
12+
"build": "npm run build:uncompressed && npm run build:compressed",
13+
"build:uncompressed": "microbundle --format umd --no-compress",
14+
"build:compressed": "microbundle --format umd -o ./dist/react-json-form.min.js",
15+
"dev": "microbundle watch --format umd --no-compress --jsx React.createElement --output ./dev/dist/",
1416
"lint": "eslint src"
1517
},
1618
"keywords": [],

0 commit comments

Comments
 (0)