├── .editorconfig ├── .gitignore ├── .jshintrc ├── .travis.yml ├── CHANGELOG.md ├── LICENSE ├── bin └── sassgraph ├── package.json ├── parse-imports.js ├── readme.md ├── sass-graph.js └── test ├── fixtures ├── exclusion-pattern │ ├── also-exclude-me.scss │ ├── dont-exclude.scss │ ├── exclude-me.scss │ └── index.scss ├── folder-with-extension │ ├── _nested.scss │ │ └── _leaf.scss │ └── index.scss ├── indented-syntax │ ├── _c.sass │ ├── b.sass │ ├── index.sass │ └── nested │ │ ├── _d.sass │ │ └── _e.sass ├── load-path-cwd │ ├── _b.scss │ ├── index.scss │ ├── inside-load-path │ │ ├── _b.scss │ │ └── _c.scss │ └── outside-load-path │ │ ├── _b.scss │ │ └── _c.scss ├── load-path │ ├── _d.scss │ ├── index.scss │ ├── inside-load-path │ │ ├── _b.scss │ │ └── _c.scss │ └── outside-load-path │ │ ├── _b.scss │ │ └── _c.scss ├── mutliple-ancestors │ ├── _leaf.scss │ ├── entry_a.scss │ ├── entry_b.scss │ ├── entry_c.scss │ └── entry_d.scss ├── no-imports │ └── index.scss └── simple │ ├── _c.scss │ ├── b.scss │ ├── index.scss │ └── nested │ ├── _d.scss │ └── _e.scss ├── parse-directory.js ├── parse-file.js ├── parse-imports.js └── util.js /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xzyfer/sass-graph/HEAD/.editorconfig -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xzyfer/sass-graph/HEAD/.gitignore -------------------------------------------------------------------------------- /.jshintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xzyfer/sass-graph/HEAD/.jshintrc -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xzyfer/sass-graph/HEAD/.travis.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xzyfer/sass-graph/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xzyfer/sass-graph/HEAD/LICENSE -------------------------------------------------------------------------------- /bin/sassgraph: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xzyfer/sass-graph/HEAD/bin/sassgraph -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xzyfer/sass-graph/HEAD/package.json -------------------------------------------------------------------------------- /parse-imports.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xzyfer/sass-graph/HEAD/parse-imports.js -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xzyfer/sass-graph/HEAD/readme.md -------------------------------------------------------------------------------- /sass-graph.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xzyfer/sass-graph/HEAD/sass-graph.js -------------------------------------------------------------------------------- /test/fixtures/exclusion-pattern/also-exclude-me.scss: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /test/fixtures/exclusion-pattern/dont-exclude.scss: -------------------------------------------------------------------------------- 1 | @import 'also-exclude-me'; 2 | 3 | -------------------------------------------------------------------------------- /test/fixtures/exclusion-pattern/exclude-me.scss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/exclusion-pattern/index.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xzyfer/sass-graph/HEAD/test/fixtures/exclusion-pattern/index.scss -------------------------------------------------------------------------------- /test/fixtures/folder-with-extension/_nested.scss/_leaf.scss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/folder-with-extension/index.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xzyfer/sass-graph/HEAD/test/fixtures/folder-with-extension/index.scss -------------------------------------------------------------------------------- /test/fixtures/indented-syntax/_c.sass: -------------------------------------------------------------------------------- 1 | @import nested/d 2 | -------------------------------------------------------------------------------- /test/fixtures/indented-syntax/b.sass: -------------------------------------------------------------------------------- 1 | @import c.sass 2 | -------------------------------------------------------------------------------- /test/fixtures/indented-syntax/index.sass: -------------------------------------------------------------------------------- 1 | @import b 2 | -------------------------------------------------------------------------------- /test/fixtures/indented-syntax/nested/_d.sass: -------------------------------------------------------------------------------- 1 | @import e 2 | -------------------------------------------------------------------------------- /test/fixtures/indented-syntax/nested/_e.sass: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/load-path-cwd/_b.scss: -------------------------------------------------------------------------------- 1 | @import 'c'; 2 | -------------------------------------------------------------------------------- /test/fixtures/load-path-cwd/index.scss: -------------------------------------------------------------------------------- 1 | @import "b"; 2 | -------------------------------------------------------------------------------- /test/fixtures/load-path-cwd/inside-load-path/_b.scss: -------------------------------------------------------------------------------- 1 | // Should not be loaded 2 | @import 'c'; 3 | -------------------------------------------------------------------------------- /test/fixtures/load-path-cwd/inside-load-path/_c.scss: -------------------------------------------------------------------------------- 1 | // Should not be loaded 2 | @import 'd'; 3 | -------------------------------------------------------------------------------- /test/fixtures/load-path-cwd/outside-load-path/_b.scss: -------------------------------------------------------------------------------- 1 | // Should not be loaded 2 | @import 'c'; 3 | -------------------------------------------------------------------------------- /test/fixtures/load-path-cwd/outside-load-path/_c.scss: -------------------------------------------------------------------------------- 1 | // Should not be loaded 2 | @import 'd'; 3 | -------------------------------------------------------------------------------- /test/fixtures/load-path/_d.scss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/load-path/index.scss: -------------------------------------------------------------------------------- 1 | @import "b"; 2 | -------------------------------------------------------------------------------- /test/fixtures/load-path/inside-load-path/_b.scss: -------------------------------------------------------------------------------- 1 | @import 'c'; 2 | -------------------------------------------------------------------------------- /test/fixtures/load-path/inside-load-path/_c.scss: -------------------------------------------------------------------------------- 1 | @import 'd'; 2 | -------------------------------------------------------------------------------- /test/fixtures/load-path/outside-load-path/_b.scss: -------------------------------------------------------------------------------- 1 | // Should not be loaded 2 | @import 'c'; 3 | -------------------------------------------------------------------------------- /test/fixtures/load-path/outside-load-path/_c.scss: -------------------------------------------------------------------------------- 1 | // Should not be loaded 2 | @import 'd'; 3 | -------------------------------------------------------------------------------- /test/fixtures/mutliple-ancestors/_leaf.scss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/mutliple-ancestors/entry_a.scss: -------------------------------------------------------------------------------- 1 | @import 'leaf.scss'; 2 | -------------------------------------------------------------------------------- /test/fixtures/mutliple-ancestors/entry_b.scss: -------------------------------------------------------------------------------- 1 | @import 'leaf'; 2 | -------------------------------------------------------------------------------- /test/fixtures/mutliple-ancestors/entry_c.scss: -------------------------------------------------------------------------------- 1 | @import '_leaf'; 2 | -------------------------------------------------------------------------------- /test/fixtures/mutliple-ancestors/entry_d.scss: -------------------------------------------------------------------------------- 1 | @import '_leaf.scss'; 2 | -------------------------------------------------------------------------------- /test/fixtures/no-imports/index.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xzyfer/sass-graph/HEAD/test/fixtures/no-imports/index.scss -------------------------------------------------------------------------------- /test/fixtures/simple/_c.scss: -------------------------------------------------------------------------------- 1 | @import 'nested/d'; 2 | -------------------------------------------------------------------------------- /test/fixtures/simple/b.scss: -------------------------------------------------------------------------------- 1 | @import 'c.scss'; 2 | -------------------------------------------------------------------------------- /test/fixtures/simple/index.scss: -------------------------------------------------------------------------------- 1 | @import "b"; 2 | -------------------------------------------------------------------------------- /test/fixtures/simple/nested/_d.scss: -------------------------------------------------------------------------------- 1 | @import 'e'; 2 | -------------------------------------------------------------------------------- /test/fixtures/simple/nested/_e.scss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/parse-directory.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xzyfer/sass-graph/HEAD/test/parse-directory.js -------------------------------------------------------------------------------- /test/parse-file.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xzyfer/sass-graph/HEAD/test/parse-file.js -------------------------------------------------------------------------------- /test/parse-imports.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xzyfer/sass-graph/HEAD/test/parse-imports.js -------------------------------------------------------------------------------- /test/util.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xzyfer/sass-graph/HEAD/test/util.js --------------------------------------------------------------------------------