rcs5.0 commit

This commit is contained in:
wangxinfei
2025-05-19 17:29:51 +08:00
commit e8af49b0f5
720 changed files with 175022 additions and 0 deletions
+47
View File
@@ -0,0 +1,47 @@
/*
* @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) {
grunt.initConfig({
meta: {
base: "node_modules/@erayt",
dest: "./temp"
},
copy: {
// basic: {
// expand: true,
// cwd:'<%= meta.base %>/eui3.5-customize-themes/dist',
// src: ['**','!**/css/app.css','!**/css/*.map'],
// dest: '<%= meta.dest %>'
// }, // 3.0的项目需要使用eui3.0-customize-themes
basic: {
expand: true,
cwd:'<%= meta.base %>/eui3.0-customize-themes/dist',
src: ['**','!**/css/app.css','!**/css/*.map'],
dest: '<%= meta.dest %>'
},
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"]);
};
+22
View File
@@ -0,0 +1,22 @@
{
"name": "@erayt/titanOne3.5-package-theme",
"version": "0.3.0",
"description": "titanOne3.5多应用自定义主题打包.",
"scripts": {
"build": "npm run compile:electron && npm run compile:asar",
"compile:asar": "easar pack temp ../../../dist/electron/theme.asar",
"compile:electron": "grunt build --force"
},
"author": "SCM",
"license": "ISC",
"dependencies": {
"@erayt/antd": "~3.19.15",
"@erayt/eui3.0-customize-themes": "^1.0.0",
"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": {}
}