Skip to content
This repository was archived by the owner on Apr 5, 2022. It is now read-only.

Commit dbf005d

Browse files
author
Franklin Henderson
committed
change npm build task to build umd bundle
1 parent 548eea0 commit dbf005d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@
66
"lib",
77
"src"
88
],
9+
"main": "lib/index.js",
910
"scripts": {
10-
"build": "gulp build",
11+
"build": "gulp build && npm run dist",
1112
"dist": "npm run dist:umd && npm run dist:min",
1213
"dist:umd": "NODE_ENV=dev webpack src/index.js dist/visual-stack.js",
1314
"dist:min": "NODE_ENV=production webpack src/index.js dist/visual-stack.min.js",
@@ -18,7 +19,6 @@
1819
"watch": "gulp watch"
1920
},
2021
"peerDependencies": {
21-
"css-loader": ">=0.23.1",
2222
"react": ">=0.14.7"
2323
},
2424
"dependencies": {

0 commit comments

Comments
 (0)