package.json 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. {
  2. "_args": [
  3. [
  4. {
  5. "raw": "sass-graph@^2.1.1",
  6. "scope": null,
  7. "escapedName": "sass-graph",
  8. "name": "sass-graph",
  9. "rawSpec": "^2.1.1",
  10. "spec": ">=2.1.1 <3.0.0",
  11. "type": "range"
  12. },
  13. "/mnt/Data/bach/Documents/ola/OLA#4/OLA#4DOC/sys/node_modules/node-sass"
  14. ]
  15. ],
  16. "_from": "sass-graph@>=2.1.1 <3.0.0",
  17. "_id": "sass-graph@2.2.4",
  18. "_inCache": true,
  19. "_location": "/sass-graph",
  20. "_nodeVersion": "7.6.0",
  21. "_npmOperationalInternal": {
  22. "host": "packages-12-west.internal.npmjs.com",
  23. "tmp": "tmp/sass-graph-2.2.4.tgz_1495012724834_0.36490066698752344"
  24. },
  25. "_npmUser": {
  26. "name": "xzyfer",
  27. "email": "xzyfer@gmail.com"
  28. },
  29. "_npmVersion": "4.1.2",
  30. "_phantomChildren": {
  31. "concat-map": "0.0.1",
  32. "fs.realpath": "1.0.0",
  33. "inflight": "1.0.6",
  34. "inherits": "2.0.3",
  35. "once": "1.3.3",
  36. "path-is-absolute": "1.0.1"
  37. },
  38. "_requested": {
  39. "raw": "sass-graph@^2.1.1",
  40. "scope": null,
  41. "escapedName": "sass-graph",
  42. "name": "sass-graph",
  43. "rawSpec": "^2.1.1",
  44. "spec": ">=2.1.1 <3.0.0",
  45. "type": "range"
  46. },
  47. "_requiredBy": [
  48. "/node-sass"
  49. ],
  50. "_resolved": "https://registry.npmjs.org/sass-graph/-/sass-graph-2.2.4.tgz",
  51. "_shasum": "13fbd63cd1caf0908b9fd93476ad43a51d1e0b49",
  52. "_shrinkwrap": null,
  53. "_spec": "sass-graph@^2.1.1",
  54. "_where": "/mnt/Data/bach/Documents/ola/OLA#4/OLA#4DOC/sys/node_modules/node-sass",
  55. "author": {
  56. "name": "xzyfer"
  57. },
  58. "bin": {
  59. "sassgraph": "bin/sassgraph"
  60. },
  61. "bugs": {
  62. "url": "https://github.com/xzyfer/sass-graph/issues"
  63. },
  64. "dependencies": {
  65. "glob": "^7.0.0",
  66. "lodash": "^4.0.0",
  67. "scss-tokenizer": "^0.2.3",
  68. "yargs": "^7.0.0"
  69. },
  70. "description": "Parse sass files and extract a graph of imports",
  71. "devDependencies": {
  72. "assert": "^1.3.0",
  73. "chai": "^3.5.0",
  74. "coveralls": "^2.13.0",
  75. "mocha": "^3.2.0",
  76. "nyc": "^10.2.0"
  77. },
  78. "directories": {
  79. "bin": "./bin"
  80. },
  81. "dist": {
  82. "shasum": "13fbd63cd1caf0908b9fd93476ad43a51d1e0b49",
  83. "tarball": "https://registry.npmjs.org/sass-graph/-/sass-graph-2.2.4.tgz"
  84. },
  85. "files": [
  86. "bin",
  87. "parse-imports.js",
  88. "sass-graph.js"
  89. ],
  90. "gitHead": "f6aa19580600d9245516e20d588339824dacdb95",
  91. "homepage": "https://github.com/xzyfer/sass-graph#readme",
  92. "keywords": [
  93. "sass",
  94. "graph"
  95. ],
  96. "license": "MIT",
  97. "main": "sass-graph.js",
  98. "maintainers": [
  99. {
  100. "name": "lox",
  101. "email": "lachlan@ljd.cc"
  102. },
  103. {
  104. "name": "xzyfer",
  105. "email": "xzyfer@gmail.com"
  106. }
  107. ],
  108. "name": "sass-graph",
  109. "optionalDependencies": {},
  110. "readme": "# Sass Graph\n\nParses Sass files in a directory and exposes a graph of dependencies\n\n[![Build Status](https://travis-ci.org/xzyfer/sass-graph.svg?branch=master)](https://travis-ci.org/xzyfer/sass-graph)\n[![Coverage Status](https://coveralls.io/repos/github/xzyfer/sass-graph/badge.svg?branch=master)](https://coveralls.io/github/xzyfer/sass-graph?branch=master)\n[![npm version](https://badge.fury.io/js/sass-graph.svg)](http://badge.fury.io/js/sass-graph)\n[![Dependency Status](https://david-dm.org/xzyfer/sass-graph.svg?theme=shields.io)](https://david-dm.org/xzyfer/sass-graph)\n[![devDependency Status](https://david-dm.org/xzyfer/sass-graph/dev-status.svg?theme=shields.io)](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",
  111. "readmeFilename": "readme.md",
  112. "repository": {
  113. "type": "git",
  114. "url": "git+https://github.com/xzyfer/sass-graph.git"
  115. },
  116. "scripts": {
  117. "coverage": "nyc report --reporter=text-lcov | coveralls",
  118. "test": "nyc mocha"
  119. },
  120. "version": "2.2.4"
  121. }