-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
38 lines (38 loc) · 1.73 KB
/
package.json
File metadata and controls
38 lines (38 loc) · 1.73 KB
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
{
"name": "dluhc-planning-considerations",
"version": "0.0.1",
"description": "A tool to manage DLUCH planning considerations",
"engines": {
"node": "18.x"
},
"scripts": {
"flask": "flask run",
"watch": "npm-run-all --parallel watch:*",
"watch:assets": "npm run nps watch.assets",
"watch:images": "npx chokidar './assets/images/**/*.{png,ico,svg,jpg,jpeg,webp}' -c 'npm run copy:images'",
"nps": "nps -c ./node_modules/@planning-data/digital-land-frontend/package-scripts.js",
"copy:images_shared": "npm run nps copy.images",
"copy:images_govuk": "npm run nps copy.govukAssets",
"copy:images_local": "npx copyfiles src/images/**/*.{png,ico,svg,jpg,jpeg,webp} application/static -u 2",
"copy:images": "run-s copy:images_*",
"copy:moj-frontend-js": "rsync -ar ./node_modules/@ministryofjustice/frontend/moj/all.bundle.js src/javascripts/vendor/moj-frontend.js",
"copy:moj-frontend-css": "rsync -ar ./node_modules/@ministryofjustice/frontend/moj/moj-frontend.min.css* src/scss/vendor/",
"copy:moj-frontend": "npm run copy:moj-frontend-js && npm run copy:moj-frontend-css",
"copyjs": "rsync -ar src/javascripts/ application/static/javascripts",
"postinstall": "npm run copyjs && npm run nps copy.javascripts && npm run nps build.stylesheets && npm run nps build.javascripts && npm run copy:moj-frontend",
"start": "run-p watch flask"
},
"repository": {
"type": "git",
"url": "git+https://github.com/digital-land/dluhc-planning-considerations.git"
},
"dependencies": {
"@ministryofjustice/frontend": "^5.1.3",
"@planning-data/digital-land-frontend": "^0.7.0",
"govuk-frontend": "5.11.1"
},
"devDependencies": {
"npm-run-all": "^4.1.5",
"standardx": "^7.0.0"
}
}