-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
initial commit for showcasing Semantic-Org/Semantic-UI#2653
possible fix is Semantic-Org/Semantic-UI#2668
- Loading branch information
0 parents
commit b08d5e8
Showing
415 changed files
with
64,833 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
node_modules | ||
semantic/dist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
var gulp = require('gulp'); | ||
var console = require('better-console'); | ||
var watch = require('./semantic/tasks/watch'); | ||
var build = require('./semantic/tasks/build'); | ||
|
||
gulp.task('default', function(done) { | ||
console.log("Run run gulp build and watch tasks to showcase the issue."); | ||
done(); | ||
}); | ||
|
||
gulp.task('build', build); | ||
gulp.task('watch', watch); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
{ | ||
"name": "semantic-ui-showcase-2653", | ||
"version": "1.0.0", | ||
"description": "", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
}, | ||
"author": "", | ||
"license": "ISC", | ||
"devDependencies": { | ||
"better-console": "0.2.4", | ||
"del": "1.2.0", | ||
"extend": "3.0.0", | ||
"gulp": "3.9.0", | ||
"gulp-autoprefixer": "2.3.1", | ||
"gulp-chmod": "1.2.0", | ||
"gulp-clone": "1.0.0", | ||
"gulp-concat": "2.6.0", | ||
"gulp-concat-css": "2.2.0", | ||
"gulp-copy": "0.0.2", | ||
"gulp-flatten": "0.1.0", | ||
"gulp-header": "1.2.2", | ||
"gulp-help": "1.6.0", | ||
"gulp-if": "1.2.5", | ||
"gulp-less": "3.0.3", | ||
"gulp-minify-css": "1.2.0", | ||
"gulp-notify": "2.2.0", | ||
"gulp-plumber": "1.0.1", | ||
"gulp-print": "1.1.0", | ||
"gulp-rename": "1.2.2", | ||
"gulp-replace": "0.5.3", | ||
"gulp-rtlcss": "0.1.4", | ||
"gulp-uglify": "1.2.0", | ||
"gulp-util": "3.0.6", | ||
"gulp-watch": "4.3.3", | ||
"map-stream": "0.0.6", | ||
"require-dot-file": "0.4.0", | ||
"semantic-ui": "2.0.5", | ||
"yamljs": "0.2.3" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"base": "semantic\\", | ||
"paths": { | ||
"source": { | ||
"config": "src/theme.config", | ||
"definitions": "src/definitions/", | ||
"site": "src/site/", | ||
"themes": "src/themes/" | ||
}, | ||
"output": { | ||
"packaged": "dist/", | ||
"uncompressed": "dist/components/", | ||
"compressed": "dist/components/", | ||
"themes": "dist/themes/" | ||
}, | ||
"clean": "dist/" | ||
}, | ||
"permission": false, | ||
"rtl": false, | ||
"version": "2.0.5" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
/******************************* | ||
Set-up | ||
*******************************/ | ||
|
||
var | ||
gulp = require('gulp-help')(require('gulp')), | ||
|
||
// read user config to know what task to load | ||
config = require('./tasks/config/user'), | ||
|
||
// watch changes | ||
watch = require('./tasks/watch'), | ||
|
||
// build all files | ||
build = require('./tasks/build'), | ||
buildJS = require('./tasks/build/javascript'), | ||
buildCSS = require('./tasks/build/css'), | ||
buildAssets = require('./tasks/build/assets'), | ||
|
||
// utility | ||
clean = require('./tasks/clean'), | ||
version = require('./tasks/version'), | ||
|
||
// docs tasks | ||
serveDocs = require('./tasks/docs/serve'), | ||
buildDocs = require('./tasks/docs/build'), | ||
|
||
// rtl | ||
buildRTL = require('./tasks/rtl/build'), | ||
watchRTL = require('./tasks/rtl/watch') | ||
; | ||
|
||
|
||
/******************************* | ||
Tasks | ||
*******************************/ | ||
|
||
gulp.task('default', false, [ | ||
'watch' | ||
]); | ||
|
||
gulp.task('watch', 'Watch for site/theme changes', watch); | ||
|
||
gulp.task('build', 'Builds all files from source', build); | ||
gulp.task('build-javascript', 'Builds all javascript from source', buildJS); | ||
gulp.task('build-css', 'Builds all css from source', buildCSS); | ||
gulp.task('build-assets', 'Copies all assets from source', buildAssets); | ||
|
||
gulp.task('clean', 'Clean dist folder', clean); | ||
gulp.task('version', 'Displays current version of Semantic', version); | ||
|
||
/*-------------- | ||
Docs | ||
---------------*/ | ||
|
||
/* | ||
Lets you serve files to a local documentation instance | ||
https://github.com/Semantic-Org/Semantic-UI-Docs/ | ||
*/ | ||
|
||
gulp.task('serve-docs', 'Serve file changes to SUI Docs', serveDocs); | ||
gulp.task('build-docs', 'Build all files and add to SUI Docs', buildDocs); | ||
|
||
|
||
/*-------------- | ||
RTL | ||
---------------*/ | ||
|
||
if(config.rtl) { | ||
gulp.task('watch-rtl', 'Build all files as RTL', watchRTL); | ||
gulp.task('build-rtl', 'Watch files as RTL ', buildRTL); | ||
} |
Oops, something went wrong.