-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
17 changed files
with
110 additions
and
95 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
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
"extends": "stylelint-config-suitcss" | ||
"extends": "stylelint-config-standard" | ||
} |
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
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
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
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
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,5 @@ | ||
{ | ||
"url": "/", | ||
"jsVersion": "0.1", | ||
"cssVersion": "0.1" | ||
} |
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
|
||
<script src="/assets/js/commons.js"></script> | ||
<script src="/assets/js/{{jsBundle}}.bundle.js"></script> | ||
<script src="{{site.url}}assets/js/commons.js?v={{site.jsVersion}}"></script> | ||
<script src="{{site.url}}assets/js/{{jsBundle}}.bundle.js?v={{site.jsVersion}}"></script> | ||
</body> | ||
</html> |
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
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 |
---|---|---|
@@ -1 +1 @@ | ||
<svg class="svg-{{name}}-dims {{class}}"><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="/assets/svgsprite.svg#{{name}}"></use></svg> | ||
<svg class="svg-{{name}}-dims {{class}}"><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="{{site.url}}assets/svgsprite.svg#{{name}}"></use></svg> |
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
This file was deleted.
Oops, something went wrong.
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
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,24 @@ | ||
// Load global config and gulp | ||
import config from '../foley.json' | ||
import gulp from 'gulp' | ||
|
||
// Specific task modules | ||
import standard from 'gulp-standard' | ||
|
||
// Linting task | ||
gulp.task('standardlint', () => { | ||
return gulp.src(config.paths.js + '**/*.js') | ||
.pipe(standard()) | ||
.pipe(standard.reporter('default', { | ||
breakOnError: false | ||
})) | ||
}) | ||
|
||
// Linting task | ||
gulp.task('specsstandardlint', () => { | ||
return gulp.src(config.paths.spec + '**/*.js') | ||
.pipe(standard()) | ||
.pipe(standard.reporter('default', { | ||
breakOnError: false | ||
})) | ||
}) |
Empty file.
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
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,25 @@ | ||
// Load global config and gulp | ||
// import config from '../foley.json' | ||
import gulp from 'gulp' | ||
|
||
// Specific task modules | ||
import gutil from 'gulp-util' | ||
import browserSync from 'browser-sync' | ||
import webpack from 'webpack' | ||
import webpackConfig from '../webpack.config.js' | ||
|
||
// Webpack build task | ||
gulp.task('webpack', (callback) => { | ||
webpack(webpackConfig, function (err, stats) { | ||
if (err) { | ||
throw new gutil.PluginError('webpack', err) | ||
} | ||
|
||
gutil.log('webpack', stats.toString({ | ||
colors: true | ||
})) | ||
|
||
browserSync.reload() | ||
callback() | ||
}) | ||
}) |