diff --git a/ui/package-lock.json b/ui/package-lock.json index 6791f32e0..77fd5a08a 100644 --- a/ui/package-lock.json +++ b/ui/package-lock.json @@ -1404,6 +1404,11 @@ "resolved": "https://registry.npmjs.org/@fortawesome/fontawesome-common-types/-/fontawesome-common-types-0.2.35.tgz", "integrity": "sha512-IHUfxSEDS9dDGqYwIW7wTN6tn/O8E0n5PcAHz9cAaBoZw6UpG20IG/YM3NNLaGPwPqgjBAFjIURzqoQs3rrtuw==" }, + "@fortawesome/fontawesome-free": { + "version": "5.15.3", + "resolved": "https://registry.npmjs.org/@fortawesome/fontawesome-free/-/fontawesome-free-5.15.3.tgz", + "integrity": "sha512-rFnSUN/QOtnOAgqFRooTA3H57JLDm0QEG/jPdk+tLQNL/eWd+Aok8g3qCI+Q1xuDPWpGW/i9JySpJVsq8Q0s9w==" + }, "@fortawesome/fontawesome-svg-core": { "version": "1.2.35", "resolved": "https://registry.npmjs.org/@fortawesome/fontawesome-svg-core/-/fontawesome-svg-core-1.2.35.tgz", diff --git a/ui/package.json b/ui/package.json index 7d1d7b0f3..45deba74d 100644 --- a/ui/package.json +++ b/ui/package.json @@ -3,6 +3,7 @@ "version": "0.1.0", "private": true, "dependencies": { + "@fortawesome/fontawesome-free": "^5.15.3", "@fortawesome/fontawesome-svg-core": "^1.2.35", "@fortawesome/free-regular-svg-icons": "^5.15.3", "@fortawesome/free-solid-svg-icons": "^5.15.3", @@ -40,9 +41,12 @@ "scripts": { "start": "react-scripts start", "build": "GENERATE_SOURCEMAP=true react-scripts build", - "buildProd": "react-scripts build", + "buildProd": "react-scripts build && npm run copy", "test": "react-scripts test", - "eject": "react-scripts eject" + "eject": "react-scripts eject", + "build:static": "sass src/static.scss ./build/unsecured/static.css", + "copy:static": "node ./build", + "copy": "npm run copy:static && npm run build:static" }, "eslintConfig": { "extends": [