node-sass is a compiled ELF module, which is problematic for distributions that want to rebuild everything from source. The sassc CLI program is packaged everywhere, and both use the same libsass library. So drop node-sass and sass-loader, and replace it with a simple loader wrapper around sassc. This also saves 122 npm packages (16 MB in node_modules/). Closes #382
54 lines
1.6 KiB
JSON
54 lines
1.6 KiB
JSON
{
|
|
"name": "starter-kit",
|
|
"version": "0.1.0",
|
|
"description": "Scaffolding for a cockpit module",
|
|
"main": "index.js",
|
|
"repository": "git@github.com:cockpit/starter-kit.git",
|
|
"author": "",
|
|
"license": "LGPL-2.1",
|
|
"scripts": {
|
|
"watch": "webpack --watch",
|
|
"build": "webpack",
|
|
"eslint": "eslint --ext .js --ext .jsx src/",
|
|
"eslint:fix": "eslint --fix --ext .js --ext .jsx src/"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.5.4",
|
|
"@babel/preset-env": "^7.5.4",
|
|
"@babel/preset-react": "^7.0.0",
|
|
"babel-eslint": "^10.0.3",
|
|
"babel-loader": "^8.0.6",
|
|
"chrome-remote-interface": "^0.28.0",
|
|
"compression-webpack-plugin": "^6.0.0",
|
|
"copy-webpack-plugin": "^6.1.0",
|
|
"css-loader": "^4.3.0",
|
|
"eslint": "^7.10.0",
|
|
"eslint-config-standard": "^14.1.1",
|
|
"eslint-config-standard-react": "^9.2.0",
|
|
"eslint-loader": "^4.0.2",
|
|
"eslint-plugin-flowtype": "^5.2.0",
|
|
"eslint-plugin-import": "^2.22.1",
|
|
"eslint-plugin-node": "^11.1.0",
|
|
"eslint-plugin-promise": "^4.2.1",
|
|
"eslint-plugin-react": "^7.21.2",
|
|
"eslint-plugin-react-hooks": "^4.1.2",
|
|
"eslint-plugin-standard": "^4.0.1",
|
|
"htmlparser": "^1.7.7",
|
|
"jed": "^1.1.1",
|
|
"mini-css-extract-plugin": "^0.11.0",
|
|
"po2json": "^1.0.0-alpha",
|
|
"qunit": "^2.9.3",
|
|
"sizzle": "^2.3.3",
|
|
"stdio": "^2.1.0",
|
|
"string-replace-loader": "^2.3.0",
|
|
"webpack": "^4.35.3",
|
|
"webpack-cli": "^3.3.5"
|
|
},
|
|
"dependencies": {
|
|
"@patternfly/patternfly": "4.50.4",
|
|
"@patternfly/react-core": "4.63.3",
|
|
"core-js": "3.6.5",
|
|
"react": "16.14.0",
|
|
"react-dom": "16.14.0"
|
|
}
|
|
}
|