starter-kit/package.json
Martin Pitt 526f206a9f package.json: Downgrade sass to 1.79
sass 1.80 (and 2.x) introduces tons of "@import rules are deprecated".
These are unfixable on our side due to PatternFly using them
extensively.

We don't need any new sass features, so stick to 1.79.x. Explicitly not
ignore 3.x (which will drop @import) to get a reminder in the future to
try and clean this up again.

Same as https://github.com/cockpit-project/cockpit/pull/21155

The dependabot change from commit 6cc062f76f will prevent updates
in the future, but it landed when package.json already had 1.80.
2024-11-16 20:31:10 +01:00

60 lines
1.8 KiB
JSON

{
"name": "starter-kit",
"description": "Scaffolding for a cockpit module",
"type": "module",
"main": "index.js",
"repository": "git@github.com:cockpit/starter-kit.git",
"author": "",
"license": "LGPL-2.1",
"engines": {
"node": ">= 16"
},
"scripts": {
"watch": "ESBUILD_WATCH='true' ./build.js",
"build": "./build.js",
"eslint": "eslint src/",
"eslint:fix": "eslint --fix src/",
"stylelint": "stylelint src/*{.css,scss}",
"stylelint:fix": "stylelint --fix src/*{.css,scss}"
},
"devDependencies": {
"@types/react": "18.3.12",
"@types/react-dom": "18.3.1",
"@typescript-eslint/eslint-plugin": "8.14.0",
"argparse": "2.0.1",
"esbuild": "0.24.0",
"esbuild-plugin-copy": "2.1.1",
"esbuild-plugin-replace": "1.4.0",
"esbuild-sass-plugin": "3.3.1",
"esbuild-wasm": "0.24.0",
"eslint": "8.57.1",
"eslint-config-standard": "17.1.0",
"eslint-config-standard-jsx": "11.0.0",
"eslint-config-standard-react": "13.0.0",
"eslint-plugin-import": "2.31.0",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-promise": "6.6.0",
"eslint-plugin-react": "7.37.2",
"eslint-plugin-react-hooks": "4.6.2",
"gettext-parser": "8.0.0",
"glob": "11.0.0",
"htmlparser": "1.7.7",
"jed": "1.1.1",
"qunit": "2.22.0",
"sass": "1.79.6",
"stylelint": "16.10.0",
"stylelint-config-recommended-scss": "14.0.0",
"stylelint-config-standard": "36.0.1",
"stylelint-config-standard-scss": "13.1.0",
"stylelint-formatter-pretty": "4.0.1",
"typescript": "5.6.3"
},
"dependencies": {
"@patternfly/patternfly": "5.4.2",
"@patternfly/react-core": "5.4.8",
"@patternfly/react-icons": "5.4.2",
"@patternfly/react-styles": "5.4.1",
"react": "18.3.1",
"react-dom": "18.3.1"
}
}