Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
51 lines (51 loc) · 2.48 KB
/
Copy pathpackage.json
File metadata and controls
51 lines (51 loc) · 2.48 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{
"name": "cssnano-core",
"private": true,
"type": "module",
"scripts": {
"lint": "pnpm types && oxlint . && oxfmt --check",
"fixlint": "oxfmt . && pnpm oxlint --fix .",
"acquire": "pnpm --filter cssnano run acquire",
"build:integration": "node util/buildFrameworks.js",
"bench:profile": "node ./util/benchmark/child.js --profile=bench-results/profile.cpuprofile",
"bench:compare": "node ./util/benchmark/bench.js --corpus",
"bench:check": "node ./util/benchmark/bench.js",
"test:benchmark": "node --test util/benchmark/test/*.js",
"test:benchmark:simulation": "node util/benchmark/simulation.js",
"test:benchmark:e2e": "node --test util/benchmark/e2e/*.e2e.js",
"test": "pnpm lint && pnpm test:unit && pnpm test:util && pnpm test:site && pnpm test:integration",
"test:performance": "node --test --test-concurrency=1 --test-reporter=spec \"packages/postcss-svgo/perf/*.js\" \"packages/cssnano/perf/*/*.js\" \"packages/cssnano/perf/passes/**/*.js\"",
"test:coverage": "cd packages && node --test --experimental-test-coverage --test-reporter=lcov --test-reporter-destination=../lcov.info",
"test:uncovered-branches": "node util/uncoveredBranches.js",
"test:unit": "pnpm --recursive --workspace-concurrency=1 exec node --test --test-reporter=dot --test-skip-pattern=\"framework tests\"",
"test:util": "node --test util/chromium.test.js util/webref/*.test.js util/mutation-testing/*.test.js",
"test:site": "node --test site/test/*.js",
"test:integration": "node --test packages/cssnano/test/presets/default/integrations.test.js packages/cssnano/test/presets/default/pluginIdempotency.test.js packages/cssnano/test/presets/advanced/integrations.test.js packages/cssnano/test/presets/lite/integrations.test.js",
"test:packaging": "node --test util/packaging.test.js",
"test:mutation": "node util/mutation-testing/mutation-runner.js --all",
"test:mutation:oracle": "node util/mutation-testing/mutation-runner.js --all --check oracle --allow-unkilled",
"types": "tsc -b && tsc -p packages/cssnano/test/types"
},
"engines": {
"node": "^22.22.3 || ^24.15.0 || >=26.0"
},
"devDependencies": {
"@types/node": "^26.6.5",
"knip": "^6.43.0",
"oxfmt": "^0.75.0",
"oxlint": "^1.90.0",
"postcss": "catalog:",
"typescript": "~7.0.2"
},
"browserslist": {
"production": [
"IE 11 and last 2 versions"
]
},
"devEngines": {
"packageManager": {
"name": "pnpm",
"version": "12.16.1"
}
}
}