UNPKG

find-unused-sass-variables

Version:
93 lines (92 loc) 2.33 kB
{ "name": "find-unused-sass-variables", "version": "6.1.0", "description": "A small tool to find unused Sass variables", "author": "XhmikosR <xhmikosr@gmail.com>", "funding": "https://github.com/sponsors/XhmikosR", "contributors": [ "Johann-S <johann.servoire@gmail.com>", "GeoSot <geo.sotis@gmail.com>" ], "license": "MIT", "main": "index.js", "type": "module", "exports": { ".": "./index.js" }, "bin": { "find-unused-sass-variables": "./bin/cli.js", "fusv": "./bin/cli.js" }, "scripts": { "xo": "xo", "lint": "xo", "fix": "xo --fix", "test": "npm-run-all --aggregate-output --continue-on-error --parallel --parallel test:*", "test:cli": "node ./bin/cli.js tests/ --ignore=\"$a,$b\" --ignoreFiles=\"**/ignored-file*.scss\"", "test:integration": "node tests/integration.js", "test:options": "node tests/options.js", "test-ci": "npm-run-all --aggregate-output --continue-on-error --parallel test:integration test:options" }, "repository": { "type": "git", "url": "git+https://github.com/XhmikosR/find-unused-sass-variables.git" }, "bugs": { "url": "https://github.com/XhmikosR/find-unused-sass-variables/issues" }, "homepage": "https://github.com/XhmikosR/find-unused-sass-variables#readme", "dependencies": { "commander": "^12.1.0", "escape-string-regexp": "^5.0.0", "picocolors": "^1.1.1", "postcss": "^8.5.3", "postcss-scss": "^4.0.9", "slash": "^5.1.0", "strip-bom": "^5.0.0", "tinyglobby": "^0.2.12" }, "devDependencies": { "npm-run-all2": "^7.0.2", "xo": "^0.60.0" }, "files": [ "bin/cli.js", "lib/parse-variable.js", "index.js" ], "engines": { "node": ">=18" }, "keywords": [ "sass", "unused", "variables", "scss" ], "xo": { "space": true, "rules": { "arrow-body-style": "off", "capitalized-comments": "off", "comma-dangle": [ "error", "never" ], "operator-linebreak": [ "error", "after" ], "object-curly-spacing": [ "error", "always" ], "space-before-function-paren": [ "error", "never" ], "unicorn/prefer-top-level-await": "off", "unicorn/prevent-abbreviations": "off" } } }