add umd library build
This commit is contained in:
parent
343abe50e7
commit
5e8a2915a1
8 changed files with 20605 additions and 21 deletions
11
package.json
11
package.json
|
@ -13,10 +13,13 @@
|
|||
"ui",
|
||||
"framework"
|
||||
],
|
||||
"main": "src/index.js",
|
||||
"main": "dist/iview.js",
|
||||
"scripts": {
|
||||
"dev": "webpack-dev-server --content-base test/ --open --inline --hot --compress --history-api-fallback --port 8081 --config build/webpack.config.js",
|
||||
"build": "gulp --gulpfile build/build-style.js"
|
||||
"dev": "webpack-dev-server --content-base test/ --open --inline --hot --compress --history-api-fallback --port 8081 --config build/webpack.dev.config.js",
|
||||
"build": "gulp --gulpfile build/build-style.js",
|
||||
"dist:dev": "webpack --config build/webpack.dist.dev.config.js",
|
||||
"dist:prod": "webpack --config build/webpack.dist.prod.config.js",
|
||||
"dist": "npm run dist:dev && npm run dist:prod"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -31,7 +34,7 @@
|
|||
"popper.js": "^0.6.4"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"vue": "^1.0.26"
|
||||
"vue": "^1.0.17"
|
||||
},
|
||||
"devDependencies": {
|
||||
"autoprefixer-loader": "^2.0.0",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue