-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
35 lines (35 loc) · 2.02 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
{
"name": "schemes",
"version": "1.0.0",
"description": "",
"main": "index.js",
"directories": {
"test": "tests"
},
"scripts": {
"application:build-css": "sass --style compressed schemes/views/assets/application.scss schemes/views/static/application.min.css",
"application:build": "npm run application:build-css",
"govuk-frontend:build-css": "sass --style compressed schemes/views/assets/govuk-frontend.scss schemes/views/static/govuk-frontend/govuk-frontend.min.css",
"govuk-frontend:copy-js": "cp node_modules/govuk-frontend/dist/govuk/govuk-frontend.min.js schemes/views/static/govuk-frontend/govuk-frontend.min.js",
"govuk-frontend:copy-assets": "cp -rT node_modules/govuk-frontend/dist/govuk/assets schemes/views/static/govuk-frontend/assets",
"govuk-frontend:build": "npm run govuk-frontend:build-css && npm run govuk-frontend:copy-js && npm run govuk-frontend:copy-assets",
"govuk-one-login-service-header:build-css": "sass --style compressed --load-path=node_modules/govuk-frontend/dist schemes/views/assets/govuk-one-login-service-header.scss schemes/views/static/govuk-one-login-service-header/govuk-one-login-service-header.min.css",
"govuk-one-login-service-header:build-js": "terser node_modules/govuk-one-login-service-header/dist/scripts/service-header-with-init.js --source-map includeSources --output schemes/views/static/govuk-one-login-service-header/govuk-one-login-service-header.min.js",
"govuk-one-login-service-header:build": "npm run govuk-one-login-service-header:build-css && npm run govuk-one-login-service-header:build-js",
"build": "npm run application:build && npm run govuk-frontend:build && npm run govuk-one-login-service-header:build"
},
"author": "",
"license": "ISC",
"dependencies": {
"govuk-frontend": "~5.4.0",
"govuk-one-login-service-header": "govuk-one-login/service-header#a823f1a5ddc2879945f7d4f2cce889d100d3441c"
},
"devDependencies": {
"sass": "^1.69.0",
"terser": "^5.26.0"
},
"engines": {
"node": "20",
"npm": "10"
}
}