analyze-css
Version:
CSS selectors complexity and performance analyzer
86 lines (85 loc) • 2.17 kB
JSON
{
"name": "analyze-css",
"version": "2.4.2",
"author": "Maciej Brencz <maciej.brencz@gmail.com> (https://github.com/macbre)",
"description": "CSS selectors complexity and performance analyzer",
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
"repository": {
"type": "git",
"url": "git://github.com/macbre/analyze-css.git"
},
"keywords": [
"analysis",
"complexity",
"css",
"stylesheet",
"webperf"
],
"license": "BSD-2-Clause",
"engines": {
"node": ">18"
},
"dependencies": {
"@adobe/css-tools": "^4.4.2",
"cli": "^1.0.1",
"commander": "^13.1.0",
"css-shorthand-properties": "^1.1.1",
"css-what": "^6.0.1",
"debug": "^4.1.1",
"fast-stats": "0.0.7",
"glob": "^11.0.0",
"http-proxy-agent": "^7.0.0",
"node-fetch": "^3.0.0",
"onecolor": "^4.0.0",
"specificity": "^1.0.0"
},
"devDependencies": {
"@eslint/js": "^9.1.1",
"@types/css": "0.0.38",
"autoprefixer": "^10.2.4",
"browserslist": "^4.11.1",
"check-dts": "^0.9.0",
"eslint": "^9.1.0",
"eslint-config-prettier": "10.1.1",
"eslint-plugin-node": "^11.1.0",
"globals": "^16.0.0",
"jest": "^29.0.0",
"postcss": "^8.3.6",
"prettier": "3.5.3"
},
"optionalDependencies": {
"sass": "^1.34.1"
},
"bin": "./bin/analyze-css.js",
"preferGlobal": true,
"scripts": {
"test": "jest test/ --coverage --detectOpenHandles",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"prettier": "npx prettier --write .",
"prefixes": "npx browserslist@latest --update-db; DEBUG=* node data/prefixes.js",
"bump-version-patch": "npm version patch && git add -A . && git push origin master && git push --tags && ./create-gh-release.sh",
"check-dts": "check-dts lib/*.d.ts"
},
"jshintConfig": {
"esversion": 6,
"node": true,
"strict": true,
"validthis": true
},
"jest": {
"verbose": true,
"coveragePathIgnorePatterns": [
"test/"
],
"coverageThreshold": {
"global": {
"statements": 100,
"branches": 100,
"functions": 100,
"lines": 100
}
}
}
}