Browse Source

Some cleanup

pull/1785/head
jlukic 9 years ago
parent
commit
a2468070ac
2 changed files with 12 additions and 13 deletions
  1. 19
      package.json
  2. 6
      tasks/install.js

19
package.json

@ -16,8 +16,10 @@
"bugs": {
"url": "https://github.com/Semantic-Org/Semantic-UI/issues"
},
"dependencies": {
"jquery" : "x.x.x"
},
"peerDependencies": {
"jquery" : "x.x.x",
"gulp" : "3.x.x",
"better-console" : "0.x.x",
"del" : "1.x.x",
@ -45,17 +47,16 @@
"gulp-uglify" : "1.x.x",
"gulp-util" : "3.x.x",
"gulp-watch" : "2.x.x",
"mkdirp" : "0.x.x",
"require-dot-file" : "0.x.x",
"wrench" : "1.x.x"
},
"devDependencies": {
"github": "^0.2.3",
"gulp-concat-filenames": "^0.0.3",
"gulp-git": "^0.5.5",
"gulp-karma": "0.0.4",
"gulp-tap": "^0.1.3",
"karma": "^0.12.28",
"run-sequence": "^1.0.2"
"github" : "^0.2.3",
"gulp-concat-filenames" : "^0.0.3",
"gulp-git" : "^0.5.5",
"gulp-karma" : "0.0.4",
"gulp-tap" : "^0.1.3",
"karma" : "^0.12.28",
"run-sequence" : "^1.0.2"
}
}

6
tasks/install.js

@ -106,15 +106,15 @@ module.exports = function () {
console.log('Updating Semantic UI from ' + currentConfig.version + ' to ' + release.version);
console.info('Updating ui definitions...');
// fs.renameSync(oldPath, newPath); swap to move before debut
wrench.copyDirSyncRecursive(source.definitions, updatePaths.definition, settings.wrench.update);
console.info('Updating default theme...');
wrench.copyDirSyncRecursive(source.themes, updatePaths.theme, settings.wrench.update);
console.info('Updating gulp tasks...');
wrench.copyDirSyncRecursive(source.modules, updatePaths.modules, settings.wrench.update);
wrench.copyDirSyncRecursive(source.tasks, updatePaths.tasks, settings.wrench.update);
console.info('Adding new site theme files...');
wrench.copyDirSyncRecursive(source.site, updatePaths.site, settings.wrench.site);
console.info('Updating version...');
@ -245,14 +245,12 @@ module.exports = function () {
console.error('NPM does not have permissions to create folders at your specified path. Adjust your folders permissions and run "npm install" again');
}
// fs.renameSync(oldPath, newPath); swap to move before debut
// copy gulp node_modules
console.info('Copying definitions to ', installPaths.definition);
wrench.copyDirSyncRecursive(source.definitions, installPaths.definition, settings.wrench.install);
wrench.copyDirSyncRecursive(source.themes, installPaths.theme, settings.wrench.install);
console.info('Copying build tools', installPaths.tasks);
//wrench.copyDirSyncRecursive(source.modules, installPaths.modules, settings.wrench.install);
wrench.copyDirSyncRecursive(source.tasks, installPaths.tasks, settings.wrench.install);
// copy theme import

Loading…
Cancel
Save