-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.js
51 lines (41 loc) · 1.36 KB
/
config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
// Use this file to change prototype configuration.
// Note: prototype config can be overridden using environment variables (eg on heroku)
const srcPath = './assets/'
const destPath = './public/'
module.exports = {
app: {
// Default port that prototype runs on
port: '3000',
// Enable or disable password protection on production
useAuth: 'true',
// Force HTTP to redirect to HTTPs on production
useHttps: 'true',
// Enable or disable Browser Sync
useBrowserSync: 'true',
// Automatically stores form data, and send to all views
useAutoStoreData: 'true',
// Enable or disable built-in docs and examples.
useDocumentation: 'false',
// Cookie warning - update link to service's cookie page.
cookieText: 'GOV.UK uses cookies to make the site simpler. <a href="#">Find out more about cookies</a>',
},
gulp: {
paths: {
public: destPath,
assets: srcPath,
docsAssets: 'docs/assets/',
// nhsukAssets: 'govuk_modules/',
nodeModules: 'node_modules/',
lib: 'lib/'
},
css: {
// src: srcPath + 'scss/**/[!_]*.scss',
src: [srcPath + 'scss/app/**/*.scss', srcPath + 'scss/nhsuk/**/*.scss', srcPath + 'scss/onfido/**/*'],
dest: destPath
},
scripts: {
src: [srcPath + 'scripts/app/**/*.js', srcPath + 'scripts/nhsuk/**/*.js'],
dest: destPath
}
}
}