mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-06 11:23:48 -05:00
Leaflet seems to be the go-to library for rendering maps these days. It will be useful for the broadcast work. This commit add the leaflet Javascript and CSS to our asset pipeline. The Javascript is already minified so all we need to do is copy it. The CSS is uncompressed so we put it through the same pipe as our other stylesheets. I’m keeping these as separate files because they’re quite heavy (or the JS is at least – 38kb minified) so I want them to only be loaded on the pages where they’re used. Most users of Notify will never need to see a map.
62 lines
1.7 KiB
JSON
62 lines
1.7 KiB
JSON
{
|
|
"name": "notifications-admin",
|
|
"version": "0.0.1",
|
|
"description": "Admin front end for GOV.UK Notify",
|
|
"engines": {
|
|
"node": "10.15.3"
|
|
},
|
|
"scripts": {
|
|
"test": "gulp lint && jest --config tests/javascripts/jest.config.js tests/javascripts",
|
|
"test-watch": "jest --watch --config tests/javascripts/jest.config.js tests/javascripts",
|
|
"build": "gulp",
|
|
"watch": "gulp watch"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/alphagov/notifications-admin.git"
|
|
},
|
|
"author": "Government Digital Service",
|
|
"license": "MIT",
|
|
"homepage": "https://github.com/alphagov/notifications-admin#readme",
|
|
"dependencies": {
|
|
"@babel/core": "7.4.0",
|
|
"@babel/preset-env": "7.4.2",
|
|
"del": "5.1.0",
|
|
"diff-dom": "2.5.1",
|
|
"govuk-elements-sass": "3.1.2",
|
|
"govuk-frontend": "2.13.0",
|
|
"govuk_frontend_toolkit": "8.1.0",
|
|
"gulp": "4.0.0",
|
|
"gulp-add-src": "1.0.0",
|
|
"gulp-babel": "8.0.0",
|
|
"gulp-base64-inline": "1.0.4",
|
|
"gulp-better-rollup": "4.0.1",
|
|
"gulp-clean-css": "4.2.0",
|
|
"gulp-concat": "2.6.1",
|
|
"gulp-include": "2.3.1",
|
|
"gulp-sass": "4.0.2",
|
|
"gulp-uglify": "3.0.2",
|
|
"hogan": "1.0.2",
|
|
"jquery": "3.5.0",
|
|
"leaflet": "1.6.0",
|
|
"query-command-supported": "1.0.0",
|
|
"rollup": "1.23.1",
|
|
"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": "1.2.1",
|
|
"gulp-sass-lint": "1.4.0",
|
|
"jest": "24.7.1",
|
|
"jest-date-mock": "^1.0.8",
|
|
"jest-each": "^25.3.0",
|
|
"jshint": "2.10.2",
|
|
"jshint-stylish": "2.2.1",
|
|
"rollup-plugin-commonjs": "10.1.0",
|
|
"rollup-plugin-node-resolve": "5.2.0"
|
|
}
|
|
}
|