xianniu-ui 0.8.57 → 0.8.59
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/xianniu-ui.common.js +251 -27
- package/lib/xianniu-ui.umd.js +251 -27
- package/lib/xianniu-ui.umd.min.js +14 -14
- package/package.json +1 -1
- package/packages/style/gulpfile.js +26 -0
- package/src/area/index.js +1 -1
- package/src/utils/dayjs.js +38 -2
- package/packages/style/lib/basic.css +0 -1
- package/packages/style/lib/card.css +0 -1
- package/packages/style/lib/city.css +0 -1
- package/packages/style/lib/date.css +0 -1
- package/packages/style/lib/description.css +0 -1
- package/packages/style/lib/ellipsis.css +0 -1
- package/packages/style/lib/flex.css +0 -1
- package/packages/style/lib/footer.css +0 -1
- package/packages/style/lib/import.css +0 -1
- package/packages/style/lib/index.css +0 -1
- package/packages/style/lib/page.css +0 -1
- package/packages/style/lib/search.css +0 -1
- package/packages/style/lib/table.css +0 -1
- package/packages/style/lib/tag.css +0 -1
- package/packages/style/lib/tip.css +0 -1
- package/packages/style/lib/tree.css +0 -1
- package/packages/style/lib/upload.css +0 -1
- package/src/utils/package-lock.json +0 -61
package/package.json
CHANGED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
// 'use strict';
|
|
2
|
+
// gulp 配置文件
|
|
3
|
+
|
|
4
|
+
const { series, src, dest } = require('gulp');
|
|
5
|
+
const sass = require('gulp-sass')(require('sass'));
|
|
6
|
+
const autoprefixer = require('gulp-autoprefixer');
|
|
7
|
+
const cssmin = require('gulp-cssmin');
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
function compile() {
|
|
11
|
+
return src('./src/*.scss')
|
|
12
|
+
.pipe(sass.sync().on('error', sass.logError))
|
|
13
|
+
.pipe(autoprefixer({
|
|
14
|
+
browsers: ['ie > 9', 'last 2 versions'],
|
|
15
|
+
cascade: false
|
|
16
|
+
}))
|
|
17
|
+
.pipe(cssmin())
|
|
18
|
+
.pipe(dest('./lib'));
|
|
19
|
+
}
|
|
20
|
+
function copyfont() {
|
|
21
|
+
return src('./src/fonts/**')
|
|
22
|
+
.pipe(cssmin())
|
|
23
|
+
.pipe(dest('./lib/fonts'));
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
exports.default = series(compile,copyfont)
|