-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpackage.json
More file actions
132 lines (132 loc) · 4.59 KB
/
package.json
File metadata and controls
132 lines (132 loc) · 4.59 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
{
"name": "dvsa-front-end",
"version": "1.8.6",
"description": "Front-end assets built on Node/Express to be used for public-facing DVSA sites and applications. Based on GOV UK prototype kit, but highly modified. It uses SCSS, Nunjucks, ES6, Webpack 3, Babel, Mocha, Chai, Puppeteer, and NPM libraries.",
"main": "index.js",
"scripts": {
"start-heroku": "node ./dist/server/index.js",
"start-dev": "cross-env NODE_ENV=development npm run pretty-js && concurrently \"npm run webpack-dev\" \"cross-env NODE_ENV=development npm run start-dev-server\"",
"start-dev:copy-to-mts": "cross-env COPY_TO_MTS=true npm run start-dev",
"start-dev:copy-to-moth": "cross-env COPY_TO_MOTH=true npm run start-dev",
"start-dev:copy-to-manuals": "cross-env COPY_TO_MANUALS=true npm run start-dev",
"start-dev-server": "SESSION_SECRET=secret babel-watch ./src/server",
"build-server": "babel ./src/server --out-dir ./dist/server",
"build-production": "cross-env NODE_ENV=production concurrently \"npm run pretty-js\" \"npm run build-server\" \"npm run webpack-prod\" && npm run clean-production",
"pretty-js": "prettier --print-width 140 --single-quote --trailing-comma es5 --write \"src/**/*.js\"",
"test": "cross-env NODE_ENV=testing jest",
"webpack-dev": "cross-env NODE_ENV=development webpack --config ./webpack/webpack.config.development.js",
"webpack-prod": "cross-env NODE_ENV=production webpack --config ./webpack/webpack.config.production.js",
"clean-production": "rimraf ./dist/assets/javascripts/styles.bundle.js"
},
"repository": {
"type": "git",
"url": "git@github.com:dvsa/front-end.git"
},
"license": "MIT",
"dependencies": {
"@dvsa/cookie-manager": "^1.1.2",
"accessible-autocomplete": "^1.6.2",
"ajv": "^8.17.1",
"axios": "1.8.2",
"basic-auth": "^2.0.0",
"body-parser": "^1.20.3",
"clean-html": "^1.5.0",
"clipboard": "^1.7.1",
"compression": "^1.7.5",
"concurrently": "^3.6.0",
"connect-flash": "^0.1.1",
"consolidate": "^1.0.4",
"cookie-session": "^2.1.0",
"core-js": "^3.44.0",
"datatables.net": "^1.13.11",
"datatables.net-responsive": "^2.5.1",
"document-ready": "^2.0.2",
"dompurify": "^3.2.6",
"element-closest": "^2.0.2",
"errorhandler": "^1.5.1",
"etag": "^1.8.1",
"express": "^4.21.1",
"express-session": "^1.17.2",
"express-validator": "^6.14.0",
"express-writer": "^0.0.4",
"govuk-frontend": "^3.15.0",
"helmet": "^3.23.3",
"html": "^1.0.0",
"html-minifier-terser": "^7.2.0",
"htmlclean": "^3.0.8",
"imagemin": "^9.0.1",
"jquery": "^3.7.1",
"jsdom": "^26.1.0",
"lodash": "^4.17.21",
"md5": "^2.3.0",
"memorystore": "^1.6.7",
"moment": "^2.30.1",
"morgan": "^1.10.0",
"node-dir": "^0.1.17",
"nunjucks": "^3.2.4",
"pretty": "^2.0.0",
"prismjs": "^1.29.0",
"readdir": "0.0.6",
"regenerator-runtime": "^0.13.11",
"require-dir": "^0.3.2",
"rimraf": "^6.0.1",
"smooth-scroll": "^12.1.5",
"store": "^2.0.12",
"sanitize-html": "^2.17.0"
},
"devDependencies": {
"@babel/cli": "^7.28.0",
"@babel/core": "^7.28.0",
"@babel/preset-env": "^7.28.0",
"@babel/register": "^7.27.1",
"autoprefixer": "^10.4.14",
"babel-loader": "^9.2.1",
"babel-watch": "^7.8.1",
"caw": "^2.0.1",
"chai": "^4.5.0",
"classlist.js": "^1.1.20150312",
"copy-webpack-plugin": "^13.0.0",
"copyfiles": "^2.4.1",
"cross-env": "^5.2.1",
"css-loader": "^6.8.1",
"cssnano": "^5.0.15",
"cssnano-preset-advanced": "^5.0.15",
"file-loader": "^6.2.0",
"image-minimizer-webpack-plugin": "^4.1.3",
"imagemin-svgo": "^11.0.1",
"jest": "^29.7.0",
"mini-css-extract-plugin": "^2.9.2",
"mocha": "^11.7.1",
"onchange": "^7.1.0",
"postcss-loader": "^7.3.1",
"postinstall-postinstall": "^2.1.0",
"prettier": "^1.19.1",
"puppeteer": "^22.15.0",
"recursive-readdir": "^2.2.3",
"run-sequence": "^2.2.1",
"sass": "^1.62.1",
"sass-loader": "^16.0.5",
"sass-module-importer": "^1.4.0",
"terser-webpack-plugin": "^5.3.10",
"undertaker-forward-reference": "^1.0.2",
"webpack": "^5.100.2",
"webpack-bundle-analyzer": "^4.10.2",
"webpack-cli": "^5.1.4",
"webpack-merge": "^5.10.0"
},
"overrides": {
"semver-regex": "^3.1.3",
"find-versions": "^3.2.0",
"bin-version": "^4.0.0",
"bin-version-check": "^4.0.0",
"got": "^12.0.0",
"cacheable-request": "^6.0.0",
"cross-spawn": "^7.0.3",
"braces": "^3.0.3",
"cookie": "^1.0.1",
"glob": "^9.0.0"
},
"engines": {
"node": "^22.0.0"
}
}