-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
122 lines (122 loc) · 4.37 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
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
{
"name": "dvsa-front-end",
"version": "1.8.5",
"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.babel.js",
"webpack-prod": "cross-env NODE_ENV=production webpack --config ./webpack/webpack.config.production.babel.js",
"clean-production": "rimraf ./dist/assets/javascripts/styles.bundle.js"
},
"repository": {
"type": "git",
"url": "[email protected]:dvsa/front-end.git"
},
"license": "MIT",
"dependencies": {
"@dvsa/cookie-manager": "^1.1.2",
"accessible-autocomplete": "^1.6.2",
"ajv": "^6.12.6",
"axios": "^0.21.1",
"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": "^0.10.0",
"cookie-session": "^2.1.0",
"core-js": "^2.6.12",
"datatables": "^1.10.18",
"datatables.net": "^1.13.11",
"datatables.net-responsive": "^2.5.1",
"document-ready": "^2.0.2",
"element-closest": "^2.0.2",
"errorhandler": "^1.5.1",
"etag": "^1.8.1",
"express": "^4.21.1",
"express-minify-html": "^0.11.6",
"express-session": "^1.18.1",
"express-validator": "^4.3.0",
"express-writer": "0.0.4",
"govuk-frontend": "^3.15.0",
"helmet": "^3.23.3",
"html": "^1.0.0",
"html-minifier": "^3.5.21",
"htmlclean": "^3.0.8",
"jquery": "^3.7.1",
"lodash": "^4.17.20",
"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": "^2.7.1",
"smooth-scroll": "^12.1.5",
"store": "^2.0.12"
},
"devDependencies": {
"autoprefixer": "^7.2.6",
"babel-cli": "^6.26.0",
"babel-core": "^6.26.3",
"babel-loader": "^7.1.4",
"babel-polyfill": "^6.26.0",
"babel-preset-env": "^1.7.0",
"babel-preset-stage-2": "^6.24.1",
"babel-preset-stage-3": "^6.24.1",
"babel-watch": "^7.8.1",
"caw": "^2.0.1",
"chai": "^4.5.0",
"classlist.js": "^1.1.20150312",
"copy-webpack-plugin": "^7.0.0",
"copyfiles": "^2.4.1",
"cpx": "^1.5.0",
"cross-env": "^5.2.1",
"css-loader": "^5.0.1",
"css-mqpacker": "^6.0.2",
"cssnano": "^4.1.10",
"cssnano-preset-advanced": "^4.0.7",
"file-loader": "^1.1.11",
"imagemin-webpack-plugin": "^2.4.2",
"jest": "^26.6.3",
"mini-css-extract-plugin": "^2.9.2",
"mocha": "^8.2.1",
"node-sass": "^7.0.0",
"onchange": "^7.1.0",
"postcss-loader": "^2.1.5",
"prettier": "^1.19.1",
"puppeteer": "^5.5.0",
"recursive-readdir": "^2.2.3",
"run-sequence": "^2.2.1",
"sass-loader": "^6.0.7",
"sass-module-importer": "^1.4.0",
"terser-webpack-plugin": "^5.3.10",
"undertaker-forward-reference": "^1.0.2",
"webpack": "^5.96.1",
"webpack-bundle-analyzer": "^4.10.2",
"webpack-cli": "^4.10.0",
"webpack-concat-plugin": "^2.4.2",
"webpack-merge": "^4.2.2",
"webpack-stream": "^6.1.1"
},
"engines": {
"node": "^12.16.0"
}
}