stylelint-high-performance-animation
Version:
Stylelint rule for preventing the use of low performance animation and transition properties.
102 lines (101 loc) • 2.48 kB
JSON
{
"name": "stylelint-high-performance-animation",
"version": "2.0.0",
"description": "Stylelint rule for preventing the use of low performance animation and transition properties.",
"main": "index.js",
"license": "MIT",
"author": {
"name": "Krister Kari",
"url": "https://github.com/kristerkari/"
},
"repository": {
"type": "git",
"url": "git+https://github.com/kristerkari/stylelint-high-performance-animation.git"
},
"bugs": {
"url": "https://github.com/kristerkari/stylelint-high-performance-animation/issues"
},
"homepage": "https://github.com/kristerkari/stylelint-high-performance-animation#readme",
"files": [
"index.js",
"utils",
"CHANGELOG.md",
"README.md"
],
"keywords": [
"css",
"less",
"lint",
"linter",
"scss",
"stylelint",
"stylelint-plugin",
"sugarss",
"performance",
"animation",
"transition"
],
"type": "module",
"scripts": {
"jest": "cross-env NODE_OPTIONS=\"--experimental-vm-modules --no-warnings\" jest",
"lint": "eslint .",
"precommit": "lint-staged",
"pretest": "npm run lint",
"prettify": "prettier --write '**/*.{js,json}'",
"release": "npx np",
"test": "cross-env NODE_OPTIONS=\"--experimental-vm-modules --no-warnings\" jest --coverage"
},
"peerDependencies": {
"stylelint": "^17.0.0"
},
"jest": {
"clearMocks": true,
"collectCoverage": false,
"collectCoverageFrom": [
"index.js"
],
"coverageDirectory": "./coverage/",
"coverageReporters": [
"lcov",
"text"
],
"coverageThreshold": {
"global": {
"branches": 75,
"functions": 75,
"lines": 75,
"statements": 75
}
},
"testEnvironment": "node",
"setupFiles": [
"./jest-setup.js"
]
},
"lint-staged": {
"**/*.{js,json}": [
"prettier --write",
"git add"
]
},
"devDependencies": {
"babel-eslint": "^10.1.0",
"cross-env": "^10.1.0",
"eslint": "^9.0.0",
"eslint-config-stylelint": "^26.1.0",
"eslint-plugin-jest": "^29.12.1",
"eslint-plugin-sort-requires": "^2.1.0",
"husky": "^9.1.7",
"jest": "^30.2.0",
"jest-preset-stylelint": "^9.0.0",
"lint-staged": "^16.1.2",
"postcss": "^8.5.6",
"postcss-less": "^6.0.0",
"postcss-scss": "^4.0.9",
"prettier": "^3.8.1",
"stylelint": "^17.0.0"
},
"dependencies": {
"postcss-value-parser": "^4.2.0"
}
}