Fix code quality violations and exclude Manifest from checks
Document application modes (development/debug/production) Add global file drop handler, order column normalization, SPA hash fix Serve CDN assets via /_vendor/ URLs instead of merging into bundles Add production minification with license preservation Improve JSON formatting for debugging and production optimization Add CDN asset caching with CSS URL inlining for production builds Add three-mode system (development, debug, production) Update Manifest CLAUDE.md to reflect helper class architecture Refactor Manifest.php into helper classes for better organization Pre-manifest-refactor checkpoint: Add app_mode documentation 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
77
node_modules/csso/package.json
generated
vendored
77
node_modules/csso/package.json
generated
vendored
@@ -1,8 +1,7 @@
|
||||
{
|
||||
"name": "csso",
|
||||
"version": "4.2.0",
|
||||
"version": "5.0.5",
|
||||
"description": "CSS minifier with structural optimisations",
|
||||
"homepage": "https://github.com/css/csso",
|
||||
"author": "Sergey Kryzhanovsky <skryzhanovsky@ya.ru> (https://github.com/afelix)",
|
||||
"maintainers": [
|
||||
{
|
||||
@@ -11,11 +10,8 @@
|
||||
"github-username": "lahmatiy"
|
||||
}
|
||||
],
|
||||
"license": "MIT",
|
||||
"repository": "css/csso",
|
||||
"bugs": {
|
||||
"url": "https://github.com/css/csso/issues"
|
||||
},
|
||||
"license": "MIT",
|
||||
"keywords": [
|
||||
"css",
|
||||
"compress",
|
||||
@@ -25,41 +21,62 @@
|
||||
"optimisation",
|
||||
"csstree"
|
||||
],
|
||||
"main": "./lib/index",
|
||||
"type": "module",
|
||||
"unpkg": "dist/csso.esm.js",
|
||||
"jsdelivr": "dist/csso.esm.js",
|
||||
"browser": {
|
||||
"./cjs/version.cjs": "./dist/version.cjs",
|
||||
"./lib/version.js": "./dist/version.js"
|
||||
},
|
||||
"main": "./cjs/index.cjs",
|
||||
"module": "./lib/index.js",
|
||||
"exports": {
|
||||
".": {
|
||||
"import": "./lib/index.js",
|
||||
"require": "./cjs/index.cjs"
|
||||
},
|
||||
"./syntax": {
|
||||
"import": "./lib/syntax.js",
|
||||
"require": "./cjs/syntax.cjs"
|
||||
},
|
||||
"./dist/*": "./dist/*.js",
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "mocha --reporter dot",
|
||||
"lint": "eslint lib test",
|
||||
"test": "mocha test --reporter ${REPORTER:-progress}",
|
||||
"test:cjs": "mocha cjs-test --reporter ${REPORTER:-progress}",
|
||||
"test:dist": "mocha dist/test --reporter ${REPORTER:-progress}",
|
||||
"lint": "eslint lib scripts test",
|
||||
"lint-and-test": "npm run lint && npm test",
|
||||
"build": "rollup --config && terser dist/csso.js --compress --mangle -o dist/csso.min.js",
|
||||
"coverage": "nyc npm test",
|
||||
"coveralls": "nyc report --reporter=text-lcov | coveralls",
|
||||
"travis": "nyc npm run lint-and-test && npm run coveralls",
|
||||
"hydrogen": "node --trace-hydrogen --trace-phase=Z --trace-deopt --code-comments --hydrogen-track-positions --redirect-code-traces --redirect-code-traces-to=code.asm --trace_hydrogen_file=code.cfg --print-opt-code bin/csso --stat -o /dev/null",
|
||||
"prepublishOnly": "npm run build"
|
||||
"build": "npm run bundle && npm run esm-to-cjs",
|
||||
"build-and-test": "npm run build && npm run test:dist && npm run test:cjs",
|
||||
"bundle": "node scripts/bundle",
|
||||
"bundle-and-test": "npm run bundle && npm run test:dist",
|
||||
"esm-to-cjs": "node scripts/esm-to-cjs.cjs",
|
||||
"esm-to-cjs-and-test": "npm run esm-to-cjs && npm run test:cjs",
|
||||
"coverage": "c8 --reporter=lcovonly npm test",
|
||||
"prepublishOnly": "npm run lint-and-test && npm run build-and-test",
|
||||
"hydrogen": "node --trace-hydrogen --trace-phase=Z --trace-deopt --code-comments --hydrogen-track-positions --redirect-code-traces --redirect-code-traces-to=code.asm --trace_hydrogen_file=code.cfg --print-opt-code bin/csso --stat -o /dev/null"
|
||||
},
|
||||
"dependencies": {
|
||||
"css-tree": "^1.1.2"
|
||||
},
|
||||
"browser": {
|
||||
"css-tree": "css-tree/dist/csstree.min.js"
|
||||
"css-tree": "~2.2.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@rollup/plugin-commonjs": "^11.0.1",
|
||||
"@rollup/plugin-json": "^4.0.1",
|
||||
"@rollup/plugin-node-resolve": "^7.0.0",
|
||||
"coveralls": "^3.0.11",
|
||||
"eslint": "^6.8.0",
|
||||
"mocha": "^7.1.1",
|
||||
"nyc": "^15.0.0",
|
||||
"rollup": "^1.29.0",
|
||||
"source-map": "^0.6.1",
|
||||
"terser": "^4.6.3"
|
||||
"c8": "^7.10.0",
|
||||
"esbuild": "^0.14.54",
|
||||
"eslint": "^7.24.0",
|
||||
"mocha": "^9.2.2",
|
||||
"rollup": "^2.60.2",
|
||||
"source-map-js": "^1.0.1"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=8.0.0"
|
||||
"node": "^10 || ^12.20.0 || ^14.13.0 || >=15.0.0",
|
||||
"npm": ">=7.0.0"
|
||||
},
|
||||
"files": [
|
||||
"dist",
|
||||
"!dist/test",
|
||||
"cjs",
|
||||
"lib"
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user