UNPKG

stylelint-scss

Version:

A collection of SCSS specific rules for stylelint

184 lines (183 loc) 4.31 kB
{ "name": "stylelint-scss", "description": "A collection of SCSS specific rules for stylelint", "version": "3.6.0", "author": "Krister Kari", "babel": { "presets": [ "es2015" ] }, "bugs": { "url": "https://github.com/kristerkari/stylelint-scss/issues" }, "dependencies": { "lodash": "^4.17.11", "postcss-media-query-parser": "^0.2.3", "postcss-resolve-nested-selector": "^0.1.1", "postcss-selector-parser": "^6.0.2", "postcss-value-parser": "^3.3.1" }, "devDependencies": { "babel-cli": "^6.26.0", "babel-core": "^6.26.3", "babel-plugin-istanbul": "^5.1.2", "babel-preset-es2015": "^6.24.1", "babel-preset-jest": "^23.2.0", "coveralls": "^3.0.3", "eslint": "^5.16.0", "eslint-config-stylelint": "^11.0.0", "eslint-plugin-lodash": "^5.1.0", "eslint-plugin-sort-requires": "^2.1.0", "github-contributors-list": "^1.2.3", "husky": "^1.3.1", "jest": "^24.7.1", "jest-cli": "^24.7.1", "lint-staged": "^8.1.5", "npmpub": "^4.1.0", "postcss": "^7.0.14", "postcss-scss": "^2.0.0", "prettier": "^1.17.0", "request": "^2.88.0", "rimraf": "^2.6.3", "semver": "^6.0.0", "stylelint": "^10.0.1" }, "peerDependencies": { "stylelint": "^8.0.0 || ^9.0.0 || ^10.0.0" }, "engines": { "node": ">=8" }, "eslintConfig": { "extends": [ "eslint:recommended", "stylelint" ], "parserOptions": { "sourceType": "module", "ecmaVersion": 6 }, "env": { "es6": true, "jest": true, "node": true }, "plugins": [ "sort-requires", "lodash" ], "globals": { "testRule": true }, "rules": { "eqeqeq": "error", "no-use-before-define": [ "error", "nofunc" ], "sort-requires/sort-requires": "error", "strict": [ "error", "global" ], "arrow-spacing": "error", "no-var": "error", "object-shorthand": "error", "prefer-const": "error", "template-curly-spacing": "error", "lodash/callback-binding": "error", "lodash/collection-method-value": "error", "lodash/collection-return": "error", "lodash/no-double-unwrap": "error", "lodash/no-extra-args": "error", "lodash/no-unbound-this": "error", "lodash/unwrap": "error", "lodash/preferred-alias": "error", "node/no-unsupported-features/es-syntax": [ "error", { "version": ">=8.0.0", "ignores": [ "modules" ] } ] } }, "files": [ "dist", "docs", "src/**/README.md", "!**/__tests__" ], "homepage": "https://github.com/kristerkari/stylelint-scss#readme", "keywords": [ "css", "csslint", "lint", "linter", "stylelint", "stylelint-plugin" ], "license": "MIT", "main": "dist/index.js", "repository": { "type": "git", "url": "git+https://github.com/kristerkari/stylelint-scss.git" }, "jest": { "clearMocks": true, "collectCoverage": false, "collectCoverageFrom": [ "src/**/*.js", "!src/testUtils/*.js" ], "coverageDirectory": "./.coverage/", "coverageReporters": [ "lcov", "text" ], "coverageThreshold": { "global": { "branches": 75, "functions": 75, "lines": 75, "statements": 75 } }, "setupFiles": [ "./jest-setup.js" ], "testEnvironment": "node", "roots": [ "src" ], "testRegex": ".*\\.test\\.js$|src/.*/__tests__/.*\\.js$", "transform": { "^.+\\.jsx?$": "./babel-jest.js" } }, "scripts": { "precommit": "lint-staged", "coveralls": "nyc report --reporter=text-lcov | coveralls", "prebuild": "rimraf dist", "build": "babel src --out-dir dist", "lint": "eslint . --ignore-path .gitignore", "prettify": "prettier --write 'src/**/*.js'", "prepublish": "npm run build", "pretest": "npm run lint", "release": "npmpub", "jest": "jest", "test": "jest --coverage", "watch": "jest --watch", "test-rule": "jest", "test-util": "jest" }, "lint-staged": { "**/*.{js,json}": [ "prettier --write", "git add" ] } }