UNPKG

analyze-css

Version:

CSS selectors complexity and performance analyzer

83 lines (82 loc) 2.08 kB
{ "name": "analyze-css", "version": "2.1.81", "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": "^14.0.0 || >=16.0.0" }, "dependencies": { "cli": "^1.0.1", "commander": "^10.0.0", "css": "^3.0.0", "css-shorthand-properties": "^1.1.1", "css-what": "^6.0.1", "debug": "^4.1.1", "fast-stats": "0.0.6", "glob": "^8.0.1", "http-proxy-agent": "^5.0.0", "node-fetch": "^3.0.0", "onecolor": "^3.1.0", "specificity": "^0.4.1" }, "devDependencies": { "@types/css": "0.0.33", "autoprefixer": "^10.2.4", "browserslist": "^4.11.1", "check-dts": "^0.6.1", "eslint": "^8.0.0", "eslint-config-prettier": "8.6.0", "eslint-plugin-node": "^11.1.0", "jest": "^29.0.0", "postcss": "^8.3.6", "prettier": "2.8.3" }, "optionalDependencies": { "sass": "^1.34.1" }, "bin": "./bin/analyze-css.js", "preferGlobal": true, "scripts": { "test": "jest test/ --coverage --detectOpenHandles", "lint": "eslint .", "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 } } } }