hof 20.2.0-sass-config-additions → 20.2.1
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +4 -0
- package/package.json +3 -3
- package/sandbox/README.md +3 -3
- package/.nyc_output/594bd7df-0d9b-4e59-9b57-90c46c8350ec.json +0 -1
- package/.nyc_output/processinfo/594bd7df-0d9b-4e59-9b57-90c46c8350ec.json +0 -1
- package/.nyc_output/processinfo/index.json +0 -1
- package/.vscode/settings.json +0 -6
- package/frontend/govuk-template/govuk_template_generated.html +0 -104
- package/sandbox/.env +0 -1
- package/sandbox/apps/sandbox/translations/en/default.json +0 -203
- package/sandbox/public/css/app.css +0 -9387
- package/sandbox/public/images/icons/icon-caret-left.png +0 -0
- package/sandbox/public/images/icons/icon-complete.png +0 -0
- package/sandbox/public/images/icons/icon-cross-remove-sign.png +0 -0
- package/sandbox/public/js/bundle.js +0 -35660
package/README.md
CHANGED
@@ -65,6 +65,10 @@ It is recommended to alias `hof-build` to an npm script in your package.json.
|
|
65
65
|
- `images` - copies images from ./assets/images directory to ./public/images
|
66
66
|
- `translate` - compiles translation files
|
67
67
|
|
68
|
+
Note: For SASS compilation it's possible to additionally configure the following options via the hof.settings file (see the configuration section below)
|
69
|
+
- `outputStyle` - Controls whether the CSS output is compressed or not, expanded (default) = non compressed and compressed = compressed CSS output.
|
70
|
+
- `quietDeps` - This controls whether you get deprecation warning shown in the console output, if set to false (default) SASS deprecation warnings will be shown in the console, if set to true then deprecation warnings will not be shown in the console output.
|
71
|
+
|
68
72
|
## Watch
|
69
73
|
|
70
74
|
You can additionally run a `watch` task to start a server instance, which will automatically restart based on changes to files. This will also re-perform the tasks above when relevant files change.
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "hof",
|
3
3
|
"description": "A bootstrap for HOF projects",
|
4
|
-
"version": "20.2.
|
4
|
+
"version": "20.2.1",
|
5
5
|
"license": "MIT",
|
6
6
|
"main": "index.js",
|
7
7
|
"author": "HomeOffice",
|
@@ -79,12 +79,12 @@
|
|
79
79
|
"nodemailer-ses-transport": "^1.5.0",
|
80
80
|
"nodemailer-smtp-transport": "^2.7.4",
|
81
81
|
"nodemailer-stub-transport": "^1.1.0",
|
82
|
-
"notifications-node-client": "^
|
82
|
+
"notifications-node-client": "^6.0.0",
|
83
83
|
"redis": "^3.1.2",
|
84
84
|
"reqres": "^3.0.1",
|
85
85
|
"request": "^2.79.0",
|
86
86
|
"rimraf": "^3.0.2",
|
87
|
-
"sass": "^1.
|
87
|
+
"sass": "^1.56.2",
|
88
88
|
"serve-static": "^1.14.1",
|
89
89
|
"uglify-js": "^3.14.3",
|
90
90
|
"underscore": "^1.12.1",
|
package/sandbox/README.md
CHANGED
@@ -45,10 +45,10 @@ Install the dependencies
|
|
45
45
|
yarn
|
46
46
|
```
|
47
47
|
|
48
|
-
Move into the
|
48
|
+
Move into the sandbox folder
|
49
49
|
|
50
50
|
```bash
|
51
|
-
cd
|
51
|
+
cd sandbox
|
52
52
|
```
|
53
53
|
|
54
54
|
Install any example app specific dependencies
|
@@ -63,4 +63,4 @@ Run in development mode
|
|
63
63
|
yarn start:dev
|
64
64
|
```
|
65
65
|
|
66
|
-
go to http://localhost:
|
66
|
+
go to http://localhost:8082/
|