720297d8da
* Reorganize documentation styles so they all live in doc_site/components directory. (#12809) - Remove global styles, e.g. body and html element selectors. * Create global_styles dir with sub-directories. (#12833) * Add SCSS style guide. (#12850) * Refactor UI Framework directory structure to house everything in a src directory. (#12880) - Add components/index.js and services/index.js files to continue to export JS modules from the root. * Add KUI Yeoman generator. * Support creation of components. * Add documentation generator for main page, demo, and sandbox. - Add additional documentation snippets to KUI generator. (#13076) - Fix incorrect use of double quotes in KUI generator snippet. (#13086) - Remove infrequently used imports from the KUI generator test template. (#13110) * Mock assets files for Jest. (#13060) * Fix broken coverage report paths in Jest config. (#13082) * Update eslint config to lint the new UI Framework directory structure. (#13102) * Fix positioning of doc site pagination buttons. (#13203) * Support hasReact prop for sandboxes. (#13270) * Remove deprecated used of component mixin from KUI generator's SCSS template. (#13377) * Fix rebasing errors. - Add dashboard back to Jest config. - Add missing form and tool_bar variables. * Rename tasks to createComponent and documentComponent. * Reference correct src paths in README. * Add children and className to templates' propTypes. * Add default folder name for page demo. * Add suffix to sandbox routes. * Specify testPathIgnorePatterns more clearly. * Rename component.test.js to test.js so that Jenkins won't try to run it. * Update npm scripts to depend on local yo dependency, not global. * Add ui_framework/src to copy task. * Simplify npm scripts and remove requirement for installing Yeoman from README. * Add services to moduleNameMapper in jest config. * Clean up Button and Gallery examples.
39 lines
689 B
JavaScript
39 lines
689 B
JavaScript
import { resolve } from 'path';
|
|
export default grunt => ({
|
|
options: {
|
|
paths: [
|
|
'Gruntfile.js',
|
|
'bin',
|
|
'config',
|
|
'src',
|
|
'scripts',
|
|
'tasks',
|
|
'test',
|
|
'ui_framework/src',
|
|
'ui_framework/doc_site/src',
|
|
'ui_framework/generator_kui',
|
|
'utilities',
|
|
'webpackShims',
|
|
],
|
|
},
|
|
|
|
source: {
|
|
options: {
|
|
cache: resolve(grunt.config.get('root'), '.eslint.fixSource.cache')
|
|
}
|
|
},
|
|
|
|
fixSource: {
|
|
options: {
|
|
cache: resolve(grunt.config.get('root'), '.eslint.fixSource.cache'),
|
|
fix: true
|
|
}
|
|
},
|
|
|
|
staged: {
|
|
options: {
|
|
paths: null // overridden by lintStagedFiles task
|
|
}
|
|
}
|
|
});
|