Doing the seddery in Makefile breaks `npm run build`, webpack watching, and was generally brittle. Revert the sed/make rules, and instead do the font replacement hacking with `string-replace-loader`, which fits into webpack much more nicely. There is still some potential simplification by not duplicating the entire scss loader chain.
55 lines
1.6 KiB
JSON
55 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.0",
|
|
"chrome-remote-interface": "^0.28.0",
|
|
"compression-webpack-plugin": "^1.1.11",
|
|
"copy-webpack-plugin": "^4.5.2",
|
|
"css-loader": "^3.0.0",
|
|
"eslint": "^6.3.0",
|
|
"eslint-config-standard": "^14.1.0",
|
|
"eslint-config-standard-react": "^9.2.0",
|
|
"eslint-loader": "^3.0.0",
|
|
"eslint-plugin-flowtype": "^4.3.0",
|
|
"eslint-plugin-import": "^2.18.2",
|
|
"eslint-plugin-node": "^10.0.0",
|
|
"eslint-plugin-promise": "^4.2.1",
|
|
"eslint-plugin-react": "^7.14.3",
|
|
"eslint-plugin-react-hooks": "^2.1.2",
|
|
"eslint-plugin-standard": "^4.0.1",
|
|
"htmlparser": "^1.7.7",
|
|
"jed": "^1.1.1",
|
|
"mini-css-extract-plugin": "^0.9.0",
|
|
"node-sass": "4.14.1",
|
|
"po2json": "^1.0.0-alpha",
|
|
"sass-loader": "^7.0.3",
|
|
"sizzle": "^2.3.3",
|
|
"stdio": "^0.2.7",
|
|
"string-replace-loader": "^2.3.0",
|
|
"webpack": "^4.17.1",
|
|
"webpack-cli": "^3.1.0"
|
|
},
|
|
"dependencies": {
|
|
"@patternfly/patternfly": "^2.71.6",
|
|
"@patternfly/react-core": "^3.158.1",
|
|
"core-js": "3.6.5",
|
|
"react": "16.13.1",
|
|
"react-dom": "16.13.1"
|
|
}
|
|
}
|