-
Notifications
You must be signed in to change notification settings - Fork 45
/
package.json
36 lines (36 loc) · 3.15 KB
/
package.json
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
{
"name": "keycloak-theme-govuk",
"version": "2.0.9",
"devDependencies": {
"govuk_template_jinja": "0.22.1",
"govuk-elements-sass": "3.1.0",
"npm-run-all": "^4.0.2",
"npm-sass": "^2.2.1"
},
"scripts": {
"build": "npm-run-all build:assets build:sass",
"build:assets": "npm-run-all build:assets:govuk_template build:assets:govuk_frontend_toolkit build:sass",
"build:assets:govuk_template": "mkdir -p govuk/login/resources/vendor && cp -R node_modules/govuk_template_jinja/assets/ govuk/login/resources/vendor/govuk_template",
"build:assets:govuk_frontend_toolkit": "mkdir -p govuk/login/resources/vendor/govuk_frontend_toolkit/javascripts && npm-run-all build:assets:govuk_frontend_toolkit:images build:assets:govuk_frontend_toolkit:js",
"build:assets:govuk_frontend_toolkit:images": "cp -R node_modules/govuk_frontend_toolkit/images/ govuk/login/resources/vendor/govuk_frontend_toolkit/",
"build:assets:govuk_frontend_toolkit:js": "cp -R node_modules/govuk_frontend_toolkit/javascripts/govuk/ govuk/login/resources/vendor/govuk_frontend_toolkit/javascripts/",
"build:sass": "mkdir -p govuk/login/resources/css && mkdir -p govuk-internal/login/resources/css && mkdir -p govuk-cop/login/resources/css && npm-run-all build:sass:govuk_elements build:sass:govuk_elements-ie6 build:sass:govuk_elements-ie7 build:sass:govuk_elements-ie8 build:sass:govuk-internal build:sass:govuk-cop",
"build:sass:govuk_elements": "npm-sass sass/govuk_elements.scss > govuk/login/resources/css/govuk_elements.css",
"build:sass:govuk_elements-ie6": "npm-sass sass/govuk_elements-ie6.scss > govuk/login/resources/css/govuk_elements-ie6.css",
"build:sass:govuk_elements-ie7": "npm-sass sass/govuk_elements-ie7.scss > govuk/login/resources/css/govuk_elements-ie7.css",
"build:sass:govuk_elements-ie8": "npm-sass sass/govuk_elements-ie8.scss > govuk/login/resources/css/govuk_elements-ie8.css",
"build:sass:govuk-internal": "npm-sass sass/govuk-internal/govuk-internal.scss > govuk-internal/login/resources/css/govuk-internal.css",
"build:sass:govuk-cop": "npm-sass sass/govuk-cop/govuk-cop.scss > govuk-cop/login/resources/css/govuk-cop.css",
"dist": "mkdir -p dist && npm-run-all dist:govuk dist:govuk-social-providers dist:govuk-internal dist:govuk-cop dist:hmpo-lev dist:govuk-drt dist:govuk-internal-dq dist:govuk-internal-cba dist:govuk-rscas",
"dist:govuk": "tar -czf dist/govuk.tar.gz govuk/",
"dist:govuk-social-providers": "tar -czf dist/govuk-social-providers.tar.gz govuk-social-providers/",
"dist:govuk-internal": "tar -czf dist/govuk-internal.tar.gz govuk-internal/",
"dist:govuk-cop": "tar -czf dist/govuk-cop.tar.gz govuk-cop/",
"dist:hmpo-lev": "tar -czf dist/hmpo-lev.tar.gz hmpo-lev/",
"dist:govuk-drt": "tar -czf dist/govuk-drt.tar.gz govuk-drt/",
"dist:govuk-internal-dq": "tar -czf dist/govuk-internal-dq.tar.gz govuk-internal-dq/",
"dist:govuk-rscas": "tar -czf dist/govuk-rscas.tar.gz govuk-rscas/",
"dist:govuk-internal-cba": "tar -czf dist/govuk-internal-cba.tar.gz govuk-internal-cba/",
"clean": "rm -rf govuk/login/resources/ govuk-internal/login/resources govuk-cop/login/resources/css dist/"
}
}