-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
initial commit, cleaned up file org, new grunt and json files, remove…
…d depr items
- Loading branch information
Joseph Knox
committed
Sep 27, 2017
1 parent
d586b2e
commit bf13ac4
Showing
246 changed files
with
14,087 additions
and
377 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 |
---|---|---|
@@ -1,64 +1,26 @@ | ||
/** | ||
* @file | ||
*/ | ||
module.exports = function(grunt) { | ||
|
||
// This is where we configure each task that we'd like to run. | ||
grunt.initConfig({ | ||
pkg: grunt.file.readJSON('package.json'), | ||
availabletasks: { | ||
tasks: {} | ||
}, | ||
sasslint: { | ||
options: { | ||
configFile: '.sass-lint.yml' | ||
}, | ||
target: ['core/\*\*/\*.scss'] | ||
}, | ||
sass: { | ||
// This will compile all of our sass files | ||
// Additional configuration options can be found at https://github.com/sindresorhus/grunt-sass | ||
options: { | ||
includePaths: [ | ||
"node_modules/bourbon/core", | ||
"node_modules/bourbon-neat/core", | ||
"node_modules/font-awesome/scss", | ||
"node_modules/normalize.css", | ||
"node_modules/neat-omega/core", | ||
"node_modules", | ||
"core" | ||
], | ||
sourceMap: true, | ||
// This controls the compiled css and can be changed to nested, compact or compressed. | ||
outputStyle: 'expanded', | ||
precision: 10, | ||
lineNumbers: true, | ||
sourcemap: 'none' | ||
}, | ||
dist: { | ||
files: { | ||
// 'examples/mixins/color-system/css/style.css': 'examples/mixins/color-system/scss/style.scss' | ||
'css/decanter.css': 'scss/decanter.scss', | ||
} | ||
} | ||
}, | ||
watch: { | ||
css: { | ||
files: [ | ||
'core/**/*.scss' | ||
], | ||
tasks: ['sass', 'sassdoc'], | ||
options: { | ||
interrupt: true | ||
} | ||
files: '**/*.scss', | ||
tasks: ['sass'] | ||
} | ||
} | ||
}); | ||
|
||
// This is where we tell Grunt we plan to use this plug-in. | ||
grunt.loadNpmTasks('grunt-available-tasks'); | ||
grunt.loadNpmTasks('grunt-sassdoc'); | ||
grunt.loadNpmTasks('grunt-sass-lint'); | ||
grunt.loadNpmTasks('grunt-sass'); | ||
grunt.loadNpmTasks('grunt-contrib-sass'); | ||
grunt.loadNpmTasks('grunt-contrib-watch'); | ||
|
||
// This is where we tell Grunt what to do when we type "grunt" into the terminal. | ||
grunt.registerTask('default', ['availabletasks']); | ||
}; | ||
grunt.registerTask('default', ['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
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.