UNPKG

postcss-calc

Version:
73 lines • 2.21 kB
{ "name": "postcss-calc", "version": "11.2.2", "type": "module", "description": "PostCSS plugin to reduce calc()", "keywords": [ "css", "postcss", "postcss-plugin", "calculation", "calc" ], "homepage": "https://github.com/postcss/postcss-calc", "repository": { "type": "git", "url": "git+https://github.com/postcss/postcss-calc.git" }, "exports": { ".": { "types": "./types/index.d.ts", "default": "./src/index.js" }, "./reduce": { "types": "./types/reduce.d.ts", "default": "./src/reduce.js" } }, "files": [ "src", "types", "LICENSE" ], "author": "Andy Jansson", "license": "MIT", "engines": { "node": "^22.22.3 || ^24.15 || >=26.0" }, "devEngines": { "packageManager": { "name": "pnpm", "version": "12.8.1" } }, "devDependencies": { "@csstools/css-calc": "^3.4.1", "@types/node": "^26.6.3", "fast-check": "^4.10.2", "oxfmt": "^0.71.0", "oxlint": "^1.86.0", "postcss": "^8.5.28", "typescript": "~7.0.2" }, "dependencies": { "@csstools/css-tokenizer": "^4.0.2" }, "peerDependencies": { "postcss": "^8.5.28" }, "scripts": { "lint": "oxlint . && tsc && oxfmt --check", "fmt": "oxfmt", "benchmark:arithmetic-chains": "node scripts/benchmark/benchmark-parser.js arithmetic-chains", "benchmark:nested-fallbacks": "node scripts/benchmark/benchmark-parser.js nested-fallbacks", "benchmark:corpus": "node scripts/benchmark/benchmark-corpus.js", "benchmark:serialization": "node scripts/benchmark/benchmark-serialization.js", "test:benchmark": "node --test 'test/unit/benchmark-*.test.js' test/unit/compare-parser-benchmarks.test.js test/unit/corpus-benchmark.test.js", "test:benchmark:simulation": "node test/benchmark/statistical-simulation.js", "benchmark:reanalyze": "node scripts/benchmark/compare-parser-benchmarks.js", "test": "node --test --test-reporter=dot 'test/**/*.test.js' 'test/**/*.test.cjs'", "test:mutation:corpus": "node test/mutation/corpus-selection.js", "test:corpus:full": "POSTCSS_CALC_FULL_CORPUS=1 node --test test/conformance/corpus.test.js" } }