mirror of https://github.com/layui/layer
pull/62/head
parent
56006aee51
commit
c568876741
|
@ -0,0 +1,23 @@
|
||||||
|
1.8.5/
|
||||||
|
*.iml
|
||||||
|
.idea/
|
||||||
|
.ipr
|
||||||
|
.iws
|
||||||
|
*~
|
||||||
|
~*
|
||||||
|
*.diff
|
||||||
|
*.patch
|
||||||
|
*.bak
|
||||||
|
.DS_Store
|
||||||
|
Thumbs.db
|
||||||
|
.svn/
|
||||||
|
*.swp
|
||||||
|
.nojekyll
|
||||||
|
.project
|
||||||
|
.settings/
|
||||||
|
node_modules/
|
||||||
|
_site/
|
||||||
|
.npmignore
|
||||||
|
release/
|
||||||
|
skin/moon/
|
||||||
|
src/skin/moon/
|
|
@ -20,13 +20,13 @@ var task = {
|
||||||
.pipe(gulp.dest('./dist'));
|
.pipe(gulp.dest('./dist'));
|
||||||
|
|
||||||
return gulp.src('./src/layer.js').pipe(uglify())
|
return gulp.src('./src/layer.js').pipe(uglify())
|
||||||
.pipe(header('/*! <%= pkg.name %>-v<%= pkg.version %> <%= pkg.description %> <%= pkg.license %> License <%= pkg.homepage %> By <%= pkg.author %> */\n ;', {pkg: pkg}))
|
.pipe(header('/*! <%= pkg.realname %>-v<%= pkg.version %> <%= pkg.description %> <%= pkg.license %> License <%= pkg.homepage %> By <%= pkg.author %> */\n ;', {pkg: pkg}))
|
||||||
.pipe(gulp.dest('./dist'));
|
.pipe(gulp.dest('./dist'));
|
||||||
|
|
||||||
}
|
}
|
||||||
,mobile: function() {
|
,mobile: function() {
|
||||||
return gulp.src('./src/mobile/layer.js').pipe(uglify())
|
return gulp.src('./src/mobile/layer.js').pipe(uglify())
|
||||||
.pipe(header('/*! <%= pkg.name %> mobile-v<%= pkg.mobile %> <%= pkg.description %> <%= pkg.license %> License <%= pkg.homepage %>mobile By <%= pkg.author %> */\n ;', {pkg: pkg}))
|
.pipe(header('/*! <%= pkg.realname %> mobile-v<%= pkg.mobile %> <%= pkg.description %> <%= pkg.license %> License <%= pkg.homepage %>mobile By <%= pkg.author %> */\n ;', {pkg: pkg}))
|
||||||
.pipe(gulp.dest('./dist/mobile'));
|
.pipe(gulp.dest('./dist/mobile'));
|
||||||
}
|
}
|
||||||
,other: function(){
|
,other: function(){
|
||||||
|
|
22
package.json
22
package.json
|
@ -1,5 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "layer",
|
"name": "layui-layer",
|
||||||
|
"realname": "layer",
|
||||||
"version": "3.1.0",
|
"version": "3.1.0",
|
||||||
"mobile": "2.0.0",
|
"mobile": "2.0.0",
|
||||||
"description": "Web弹层组件",
|
"description": "Web弹层组件",
|
||||||
|
@ -10,7 +11,7 @@
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "https",
|
"type": "https",
|
||||||
"url": "https://github.com/sentsin/layer.git"
|
"url": "git+https://github.com/sentsin/layer.git"
|
||||||
},
|
},
|
||||||
"author": "贤心",
|
"author": "贤心",
|
||||||
"homepage": "http://layer.layui.com/",
|
"homepage": "http://layer.layui.com/",
|
||||||
|
@ -21,5 +22,20 @@
|
||||||
"gulp-rename": "^1.2.2",
|
"gulp-rename": "^1.2.2",
|
||||||
"gulp-header": "^1.8.8",
|
"gulp-header": "^1.8.8",
|
||||||
"del": "^2.2.2"
|
"del": "^2.2.2"
|
||||||
}
|
},
|
||||||
|
"bugs": {
|
||||||
|
"url": "https://github.com/sentsin/layer/issues"
|
||||||
|
},
|
||||||
|
"directories": {
|
||||||
|
"test": "test"
|
||||||
|
},
|
||||||
|
"dependencies": {},
|
||||||
|
"keywords": [
|
||||||
|
"layer",
|
||||||
|
"dialog",
|
||||||
|
"tips",
|
||||||
|
"alert",
|
||||||
|
"confirm",
|
||||||
|
"window"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue