122 lines
5.8 KiB
JSON
122 lines
5.8 KiB
JSON
{
|
|
"_args": [
|
|
[
|
|
{
|
|
"raw": "sass-graph@^2.1.1",
|
|
"scope": null,
|
|
"escapedName": "sass-graph",
|
|
"name": "sass-graph",
|
|
"rawSpec": "^2.1.1",
|
|
"spec": ">=2.1.1 <3.0.0",
|
|
"type": "range"
|
|
},
|
|
"/mnt/Data/bach/Documents/ola/OLA#4/OLA#4DOC/sys/node_modules/node-sass"
|
|
]
|
|
],
|
|
"_from": "sass-graph@>=2.1.1 <3.0.0",
|
|
"_id": "sass-graph@2.2.4",
|
|
"_inCache": true,
|
|
"_location": "/sass-graph",
|
|
"_nodeVersion": "7.6.0",
|
|
"_npmOperationalInternal": {
|
|
"host": "packages-12-west.internal.npmjs.com",
|
|
"tmp": "tmp/sass-graph-2.2.4.tgz_1495012724834_0.36490066698752344"
|
|
},
|
|
"_npmUser": {
|
|
"name": "xzyfer",
|
|
"email": "xzyfer@gmail.com"
|
|
},
|
|
"_npmVersion": "4.1.2",
|
|
"_phantomChildren": {
|
|
"concat-map": "0.0.1",
|
|
"fs.realpath": "1.0.0",
|
|
"inflight": "1.0.6",
|
|
"inherits": "2.0.3",
|
|
"once": "1.3.3",
|
|
"path-is-absolute": "1.0.1"
|
|
},
|
|
"_requested": {
|
|
"raw": "sass-graph@^2.1.1",
|
|
"scope": null,
|
|
"escapedName": "sass-graph",
|
|
"name": "sass-graph",
|
|
"rawSpec": "^2.1.1",
|
|
"spec": ">=2.1.1 <3.0.0",
|
|
"type": "range"
|
|
},
|
|
"_requiredBy": [
|
|
"/node-sass"
|
|
],
|
|
"_resolved": "https://registry.npmjs.org/sass-graph/-/sass-graph-2.2.4.tgz",
|
|
"_shasum": "13fbd63cd1caf0908b9fd93476ad43a51d1e0b49",
|
|
"_shrinkwrap": null,
|
|
"_spec": "sass-graph@^2.1.1",
|
|
"_where": "/mnt/Data/bach/Documents/ola/OLA#4/OLA#4DOC/sys/node_modules/node-sass",
|
|
"author": {
|
|
"name": "xzyfer"
|
|
},
|
|
"bin": {
|
|
"sassgraph": "bin/sassgraph"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/xzyfer/sass-graph/issues"
|
|
},
|
|
"dependencies": {
|
|
"glob": "^7.0.0",
|
|
"lodash": "^4.0.0",
|
|
"scss-tokenizer": "^0.2.3",
|
|
"yargs": "^7.0.0"
|
|
},
|
|
"description": "Parse sass files and extract a graph of imports",
|
|
"devDependencies": {
|
|
"assert": "^1.3.0",
|
|
"chai": "^3.5.0",
|
|
"coveralls": "^2.13.0",
|
|
"mocha": "^3.2.0",
|
|
"nyc": "^10.2.0"
|
|
},
|
|
"directories": {
|
|
"bin": "./bin"
|
|
},
|
|
"dist": {
|
|
"shasum": "13fbd63cd1caf0908b9fd93476ad43a51d1e0b49",
|
|
"tarball": "https://registry.npmjs.org/sass-graph/-/sass-graph-2.2.4.tgz"
|
|
},
|
|
"files": [
|
|
"bin",
|
|
"parse-imports.js",
|
|
"sass-graph.js"
|
|
],
|
|
"gitHead": "f6aa19580600d9245516e20d588339824dacdb95",
|
|
"homepage": "https://github.com/xzyfer/sass-graph#readme",
|
|
"keywords": [
|
|
"sass",
|
|
"graph"
|
|
],
|
|
"license": "MIT",
|
|
"main": "sass-graph.js",
|
|
"maintainers": [
|
|
{
|
|
"name": "lox",
|
|
"email": "lachlan@ljd.cc"
|
|
},
|
|
{
|
|
"name": "xzyfer",
|
|
"email": "xzyfer@gmail.com"
|
|
}
|
|
],
|
|
"name": "sass-graph",
|
|
"optionalDependencies": {},
|
|
"readme": "# Sass Graph\n\nParses Sass files in a directory and exposes a graph of dependencies\n\n[](https://travis-ci.org/xzyfer/sass-graph)\n[](https://coveralls.io/github/xzyfer/sass-graph?branch=master)\n[](http://badge.fury.io/js/sass-graph)\n[](https://david-dm.org/xzyfer/sass-graph)\n[](https://david-dm.org/xzyfer/sass-graph#info=devDependencies)\n\n## Install\n\nInstall with [npm](https://npmjs.org/package/sass-graph)\n\n```\nnpm install --save-dev sass-graph\n```\n\n## Usage\n\nUsage as a Node library:\n\n```js\nvar sassGraph = require('./sass-graph');\n```\n\nUsage as a command line tool:\n\nThe command line tool will parse a graph and then either display ancestors, descendents or both.\n\n```\n$ ./bin/sassgraph --help\nUsage: bin/sassgraph <command> [options] <dir> [file]\n\nCommands:\n ancestors Output the ancestors\n descendents Output the descendents\n\nOptions:\n -I, --load-path Add directories to the sass load path\n -e, --extensions File extensions to include in the graph\n -j, --json Output the index in json\n -h, --help Show help\n -v, --version Show version number\n\nExamples:\n ./bin/sassgraph descendents test/fixtures test/fixtures/a.scss\n /path/to/test/fixtures/b.scss\n /path/to/test/fixtures/_c.scss\n```\n\n## API\n\n#### parseDir\n\nParses a directory and builds a dependency graph of all requested file extensions.\n\n#### parseFile\n\nParses a file and builds its dependency graph.\n\n## Options\n\n#### loadPaths\n\nType: `Array`\nDefault: `[process.cwd]`\n\nDirectories to use when resolved `@import` directives.\n\n#### extensions\n\nType: `Array`\nDefault: `['scss', 'css', 'sass']`\n\nFile types to be parsed.\n\n#### follow\n\nType: `Boolean`\nDefault: `false`\n\nFollow symbolic links.\n\n## Example\n\n```js\nvar sassGraph = require('./sass-graph');\nconsole.log(sassGraph.parseDir('test/fixtures'));\n\n//{ index: {,\n// '/path/to/test/fixtures/a.scss': {\n// imports: ['b.scss'],\n// importedBy: [],\n// },\n// '/path/to/test/fixtures/b.scss': {\n// imports: ['_c.scss'],\n// importedBy: ['a.scss'],\n// },\n// '/path/to/test/fixtures/_c.scss': {\n// imports: [],\n// importedBy: ['b/scss'],\n// },\n//}}\n```\n\n## Running Mocha tests\n\nYou can run the tests by executing the following commands:\n\n```\nnpm install\nnpm test\n```\n\n## Authors\n\nSass graph was originally written by [Lachlan Donald](http://lachlan.me).\nIt is now maintained by [Michael Mifsud](http://twitter.com/xzyfer).\n\n## License\n\nMIT\n",
|
|
"readmeFilename": "readme.md",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/xzyfer/sass-graph.git"
|
|
},
|
|
"scripts": {
|
|
"coverage": "nyc report --reporter=text-lcov | coveralls",
|
|
"test": "nyc mocha"
|
|
},
|
|
"version": "2.2.4"
|
|
}
|