Fix incorrect group for NPM dependencies

This means we can use tools like "npm audit" to look for security
vulnerabilities we definitely need to fix as they could pose a
direct risk to users. I've checked each of them with @tombye and
also against an external set of principles [^1].

Note: I've skimmed through the package-lock.json to check the only
changes are to add "dev: true", as well as a few integrity hashes.

[^1]: https://betterprogramming.pub/is-this-a-dependency-or-a-devdependency-678e04a55a5c
This commit is contained in:
Ben Thorner
2022-05-05 14:52:32 +01:00
parent b6321ef4ae
commit da7dd3a852
2 changed files with 1433 additions and 295 deletions

View File

@@ -19,12 +19,21 @@
"license": "MIT",
"homepage": "https://github.com/alphagov/notifications-admin#readme",
"dependencies": {
"@babel/core": "7.4.0",
"@babel/preset-env": "7.4.2",
"cbor-js": "0.1.0",
"govuk_frontend_toolkit": "8.1.0",
"govuk-elements-sass": "3.1.2",
"govuk-frontend": "2.13.0",
"hogan": "1.0.2",
"jquery": "3.5.0",
"leaflet": "1.6.0",
"morphdom": "2.6.1",
"query-command-supported": "1.0.0",
"textarea-caret": "3.1.0",
"timeago": "1.6.5"
},
"devDependencies": {
"@babel/core": "7.4.0",
"@babel/preset-env": "7.4.2",
"gulp": "4.0.2",
"gulp-add-src": "1.0.0",
"gulp-babel": "8.0.0",
@@ -34,18 +43,6 @@
"gulp-include": "2.4.1",
"gulp-sass": "5.0.0",
"gulp-uglify": "3.0.2",
"hogan": "1.0.2",
"jquery": "3.5.0",
"leaflet": "1.6.0",
"morphdom": "2.6.1",
"query-command-supported": "1.0.0",
"rollup": "1.23.1",
"sass": "1.32.7",
"streamqueue": "1.1.2",
"textarea-caret": "3.1.0",
"timeago": "1.6.5"
},
"devDependencies": {
"gulp-css-url-adjuster": "0.2.3",
"gulp-jshint": "2.1.0",
"gulp-prettyerror": "2.0.0",
@@ -55,7 +52,10 @@
"jest-each": "^25.3.0",
"jshint": "2.10.2",
"jshint-stylish": "2.2.1",
"rollup": "1.23.1",
"rollup-plugin-commonjs": "10.1.0",
"rollup-plugin-node-resolve": "5.2.0"
"rollup-plugin-node-resolve": "5.2.0",
"sass": "1.32.7",
"streamqueue": "1.1.2"
}
}