rcs5.0 commit
This commit is contained in:
@@ -0,0 +1 @@
|
||||
registry=http://192.168.10.78:7001/
|
||||
@@ -0,0 +1,61 @@
|
||||
/*
|
||||
* @Date: 2019-12-30 11:24:58
|
||||
* @Author: Scm <chengqiuhua@erayt.com>
|
||||
* @Copyright: 2015-2019 Erayt, Inc.
|
||||
* @Description: If you have some questions, please contact: chengqiuhua@erayt.com.
|
||||
*/
|
||||
module.exports = function (grunt) {
|
||||
const config = require('../../utils/config')(grunt);
|
||||
grunt.initConfig({
|
||||
config: config,
|
||||
meta: {
|
||||
base: "node_modules/@erayt",
|
||||
dest: "../../../dist/static/theme"
|
||||
},
|
||||
copy: {
|
||||
// vendor_antd: {
|
||||
// expand: true,
|
||||
// cwd: '<%= meta.base %>/antd/dist/@erayt',
|
||||
// src: ['**', '!*.js', '!**/*.map', '!**/antd.css'],
|
||||
// dest: '<%= meta.dest %>/vendor/css'
|
||||
// },
|
||||
basic: {
|
||||
expand: true,
|
||||
cwd: '<%= meta.base %>/eui3.5-customize-themes/dist',
|
||||
src: ['**', '!**/css/app.css', '!**/css/*.map'],
|
||||
dest: '<%= meta.dest %>'
|
||||
},
|
||||
vendor: {
|
||||
expand: true,
|
||||
cwd: '<%= meta.base %>/eui2-themes/dist/<%= config.theme %>',
|
||||
src: '**',
|
||||
dest: '<%= meta.dest %>/vendor',
|
||||
},
|
||||
login: {
|
||||
expand: true,
|
||||
cwd: '<%= meta.base %>/titanOne3.0-theme-login/dist/<%= config.theme %>',
|
||||
src: '**',
|
||||
dest: '<%= meta.dest %>/login/static',
|
||||
},
|
||||
resources: {
|
||||
expand: true,
|
||||
cwd: './asserts',
|
||||
src: '**',
|
||||
dest: '<%= meta.dest %>'
|
||||
}
|
||||
},
|
||||
clean: {
|
||||
cache: ["package-lock.json", "yarn.lock", "<%= meta.dest %>"]
|
||||
}
|
||||
});
|
||||
|
||||
require("time-grunt")(grunt);
|
||||
// grunt plugins
|
||||
require("load-grunt-tasks")(grunt);
|
||||
|
||||
// Full distribution task.
|
||||
grunt.registerTask("default", ["copy"]);
|
||||
|
||||
grunt.registerTask("build", ["clean", "copy"]);
|
||||
};
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"name": "@erayt/titanOne3.5-package-theme",
|
||||
"version": "0.3.0",
|
||||
"description": "titanOne3.5多应用自定义主题打包.",
|
||||
"scripts": {
|
||||
"build": "grunt build --force"
|
||||
},
|
||||
"author": "SCM",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"@erayt/eui2-themes": "^3.2.28",
|
||||
"@erayt/eui3.5-customize-themes": "^1.0.0",
|
||||
"@erayt/titanOne3.0-theme-login": "^4.0.4",
|
||||
"grunt": "^1.0.3",
|
||||
"grunt-contrib-clean": "^1.1.0",
|
||||
"grunt-contrib-copy": "^0.8.2",
|
||||
"load-grunt-tasks": "^4.0.0",
|
||||
"time-grunt": "^1.4.0"
|
||||
},
|
||||
"devDependencies": {}
|
||||
}
|
||||
Reference in New Issue
Block a user