-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
27 lines (27 loc) · 1.6 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
{
"engines": {
"node": ">20.0.0"
},
"dependencies": {
"@ministryofjustice/frontend": "^1.8.0",
"cytoscape": "^3.19.1",
"cytoscape-dagre": "^2.3.2",
"dagre": "^0.8.5",
"getaddress-autocomplete": "^1.1.7",
"govuk-frontend": "^4.8.0",
"htmx.org": "^1.8.4",
"sass": "^1.62.1"
},
"scripts": {
"css:build": "sass --load-path=./ --quiet-deps --style=compressed core/static/css/styles.scss static/css/styles.css",
"css:watch": "sass --load-path=./ --quiet-deps --style=compressed core/static/css/styles.scss static/css/styles.css --watch",
"assets:cytoscape-dagre": "mkdir -p static/cytoscape-dagre && cp -r node_modules/cytoscape-dagre/* static/cytoscape-dagre",
"assets:cytoscape": "mkdir -p static/cytoscape && cp -r node_modules/cytoscape/* static/cytoscape",
"assets:dagre": "mkdir -p static/dagre && cp -r node_modules/dagre/* static/dagre",
"assets:getaddress-autocomplete": "mkdir -p static/getaddress-autocomplete && cp -r node_modules/getaddress-autocomplete/* static/getaddress-autocomplete",
"assets:govuk-frontend": "mkdir -p static/govuk-frontend && cp -r node_modules/govuk-frontend/* static/govuk-frontend",
"assets:htmx": "mkdir -p static/htmx.org && cp -r node_modules/htmx.org/* static/htmx.org",
"assets:build": "npm run assets:cytoscape-dagre && npm run assets:cytoscape && npm run assets:dagre && npm run assets:getaddress-autocomplete && npm run assets:govuk-frontend && npm run assets:htmx",
"build": "npm run css:build && npm run assets:build"
}
}