{"_id":"wdfn-viz","_rev":"154-96309ff14c6c0ee09c3453745b06a057","name":"wdfn-viz","dist-tags":{"latest":"3.6.0","snapshot":"3.7.0-snapshot.b8f6ac5"},"versions":{"0.1.0":{"name":"wdfn-viz","version":"0.1.0","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"node-sass src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css --no-map --use autoprefixer postcss-flexbugs-fixes -o dist/wdfnviz.css && uglifycss --output dist/wdfnviz.min.css dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist --unsafe index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","clean":"rm -rf dist && mkdir dist","prepublish":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"karma start","test:watch":"karma start --debug --no-single-run --browsers Chrome","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nunjucks --watch --path src --out dist --unsafe index.html","watch:images":"npm run build:images","watch:js":"rollup -c --watch"},"repository":{"type":"git","url":"git+https://github.com/usgs/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://github.com/usgs/wdfn-viz/issues"},"homepage":"https://github.com/usgs/wdfn-viz","engines":{"node":">= 8"},"sass":"src/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"^2.0.0-beta"},"devDependencies":{"ajv":"^6.5.4","codacy-coverage":"^3.1.0","eslint":"^5.6.1","eslint-plugin-jasmine":"^2.10.1","jasmine-core":"^3.2.1","karma":"^3.0.0","karma-chrome-launcher":"^2.2.0","karma-firefox-launcher":"^1.1.0","karma-jasmine":"^1.1.2","karma-js-coverage":"^0.4.0","karma-rollup-preprocessor":"^6.0.1","live-server":"^1.2.0","node-sass":"^4.9.3","nodemon":"^1.18.4","npm-run-all":"^4.1.3","nunjucks":"^3.1.3","nunjucks-cli":"^0.5.1","postcss-cli":"^6.0.0","postcss-flexbugs-fixes":"^4.1.0","rollup":"^0.66.2","rollup-plugin-buble":"^0.19.2","rollup-plugin-commonjs":"^9.1.8","rollup-plugin-istanbul":"^2.0.1","rollup-plugin-node-resolve":"^3.4.0","stylelint":"^9.6.0","stylelint-config-recommended-scss":"^3.2.0","stylelint-scss":"^3.3.1","uglifycss":"0.0.29"},"gitHead":"d2bf3609cfbbd9cc64f1700310e9a7c71a30f573","_id":"wdfn-viz@0.1.0","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},"dist":{"integrity":"sha512-z/+iY/bvJ4tRE1Ef+flEMwj8HY8WHvvxztqXRhFtgYmC1Az25EFcNJF+8pvJJ8m/xJmSaiyObpPabbnvKz64mQ==","shasum":"9531bf4844d8a8e831b1276d58854750e64f8e96","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-0.1.0.tgz","fileCount":272,"unpackedSize":8217906,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbtTH1CRA9TVsSAnZWagAAg8AP/jV3yJPjMu9yYc6GcbQb\nEri9vKhQCYtJkOBQDGTaTtaY/NBLdoIU2cZtpM+ufWt/biKBo/4m9DsAXeL+\nohUlY0p3pfuJ12vkXSLw+DajlNAh4N7t1PIMQcpwUxajBDJOBKw1PSJ7phS+\nn1rCcsJA+V27FytlK1z/bbtHW8UVhJkZWOtaavrqha+3UtXTzErJsNVflRzb\nwV+FbokbNGVEjPxq1TZ3C5uHo+x9VIluuY98ue7D8eIAfNCyZusZ8sSobgqQ\n8coR6RCKM1g3NecSKipWt3/vZcma+nPBxFSO7ZD6UJI7TfGQaUfNpOL+ucn9\nNXyrHdgytHLZNFedZMNojTUy6anzeDahk4JKLZfekpXPd5vfbylKP4S8r1Sk\ne6yuLZilrPS8mmZxYQnOGje7269Pje4HJUZuMDMhQPvIFnwpBVbwY8g8Tbe+\noTlSWmhILxKO58v1cuaTs/J1m2JIrmLWWf4G2y2nqWRF1nPa9EuhWBbVR6WV\na+MBASYh0wpZMUjbAmKRAwlnXaayBKBGU5WRiP19uJFqUTnqpToJ9tYvjkiD\n1KEE90u//6JcsGN1lNF0vuQCmMmR7Iqvrm2YU1JrFjFmkxrqiCw7mgr7rkCw\nGbgyXeg+ssQx+HPb38Z3L68zJxf+zaeDmQAlhh0IglWlCbBRp6k5/qGRNLMC\n3sk/\r\n=6SSX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDQ4KvQmiSJ5qFre/o8Iz1CIjwLw3iVouSNiA16clUzCwIgcaBl8bMK1JkIbq224JmxZY9aG9TxvtV7dKNZWmPLm4E="}]},"maintainers":[{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_0.1.0_1538601460007_0.8691284464299796"},"_hasShrinkwrap":false},"0.1.1":{"name":"wdfn-viz","version":"0.1.1","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"node-sass src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css --no-map --use autoprefixer postcss-flexbugs-fixes -o dist/wdfnviz.css && uglifycss --output dist/wdfnviz.min.css dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist --unsafe index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","clean":"rm -rf dist && mkdir dist","prepublish":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"karma start","test:watch":"karma start --debug --no-single-run --browsers Chrome","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nunjucks --watch --path src --out dist --unsafe index.html","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://github.com/usgs/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://github.com/usgs/wdfn-viz/issues"},"homepage":"https://github.com/usgs/wdfn-viz","engines":{"node":">= 8"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"^2.0.0-beta"},"devDependencies":{"ajv":"^6.5.4","codacy-coverage":"^3.1.0","eslint":"^5.6.1","eslint-plugin-jasmine":"^2.10.1","jasmine-core":"^3.2.1","karma":"^3.0.0","karma-chrome-launcher":"^2.2.0","karma-firefox-launcher":"^1.1.0","karma-jasmine":"^1.1.2","karma-js-coverage":"^0.4.0","karma-rollup-preprocessor":"^6.0.1","live-server":"^1.2.0","node-sass":"^4.9.3","nodemon":"^1.18.4","npm-run-all":"^4.1.3","nunjucks":"^3.1.3","nunjucks-cli":"^0.5.1","postcss-cli":"^6.0.0","postcss-flexbugs-fixes":"^4.1.0","rollup":"^0.66.2","rollup-plugin-buble":"^0.19.2","rollup-plugin-commonjs":"^9.1.8","rollup-plugin-istanbul":"^2.0.1","rollup-plugin-node-resolve":"^3.4.0","stylelint":"^9.6.0","stylelint-config-recommended-scss":"^3.2.0","stylelint-scss":"^3.3.1","uglifycss":"0.0.29"},"gitHead":"120138b3567efdf13cb8a0064966cb2b79fe6208","_id":"wdfn-viz@0.1.1","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},"dist":{"integrity":"sha512-5XI3ta0IAHITzAfE+HYl6ctki1rtTPlFXsbFxSOcG93ljOYkk34SVBTVSAWrn8l95dpiWMbN+tggu4FAU32nOQ==","shasum":"74e06509ab903962a019d639a5f5ca9e82c6328c","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-0.1.1.tgz","fileCount":586,"unpackedSize":8809311,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbtkVoCRA9TVsSAnZWagAAzk0P/1h46QljikXEnm8zN/2U\nVHlLEW6RLybKyrt9lVZ70NUewWBB39FKlSTLmrev4VRKYRpdNWGQBhzYf/f7\n15cQBjYPVss3pjeukQFJAA/iRcIlOC8wP66OQTaGTO40RK0r9aI3kdeT1hWA\nd6jh/TaMtOPWs7NnGWGxxuBwUq/epq6iAVfOnzBdKsa1xY0yoKqouVtUQh03\n0+YXsTwSovBeiKBj8BWB0+Q21d8ZRJi2S661+a96oDYkEaVJnqK0CJFb8eDz\ndUzLXVoQjRS/EwrcXku3SzO8pQ7IAh04oGHF1H5UujNQ1+fIJ1z/usv6OJau\n6DBfBMmrnqZrRlWCEk12EF/mzFyYwVMyrFTEIJHkb0GrHr3aC9vFrqLgFlD3\nFKs+MiQQcDt/pBMuDWKgyxH+Q/UTZHnfV1yBBHeBed4NJkiazsxVinXYtu6y\n1bFpq4oE+JR+03LWpHOQVcwtfark6y2uKeBmt63rkBFU1glkluf16bWHvdIb\n8gM/xJLC+s28LB2I0Co3VENWY1AquVbQKDAzP4Njg5IpJ42uA0YBYiXhXUVk\n3a0xSpaiPGuBpNSk5PPa9Bt9GaG332hmmoUbT+E3psVox7zmwzlCW9Ri3rK+\ntjyROqq80O7WDyosv3knBlZLhIJmdLw8KW4NVDZz1t/Qmui0bra1WOd3wXvH\nHN9+\r\n=8JHR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCuivEjydrhd3X7Ep5BXkRJ3+DY/g3KrLZkd7ysu1adyQIhAN6HJaVqKZO2kA3GSW+J9596rMMe9Wl44xlvNaWSdcTr"}]},"maintainers":[{"email":"dnaab@contractor.usgs.gov","name":"danielnaab-usgs"},{"email":"drsteini@contractor.usgs.gov","name":"drsteini-usgs"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_0.1.1_1538671975516_0.3196336939128537"},"_hasShrinkwrap":false},"0.1.2":{"name":"wdfn-viz","version":"0.1.2","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"node-sass --include-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css --no-map --use autoprefixer postcss-flexbugs-fixes -o dist/wdfnviz.css && uglifycss --output dist/wdfnviz.min.css dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist --unsafe index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","clean":"rm -rf dist && mkdir dist","prepublish":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"karma start","test:watch":"karma start --debug --no-single-run --browsers Chrome","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nunjucks --watch --path src --out dist --unsafe index.html","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://github.com/usgs/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://github.com/usgs/wdfn-viz/issues"},"homepage":"https://github.com/usgs/wdfn-viz","engines":{"node":">= 8"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"^2.0.0-beta"},"devDependencies":{"ajv":"^6.5.4","codacy-coverage":"^3.1.0","eslint":"^5.6.1","eslint-plugin-jasmine":"^2.10.1","jasmine-core":"^3.2.1","karma":"^3.0.0","karma-chrome-launcher":"^2.2.0","karma-firefox-launcher":"^1.1.0","karma-jasmine":"^1.1.2","karma-js-coverage":"^0.4.0","karma-rollup-preprocessor":"^6.0.1","live-server":"^1.2.0","node-sass":"^4.9.3","nodemon":"^1.18.4","npm-run-all":"^4.1.3","nunjucks":"^3.1.3","nunjucks-cli":"^0.5.1","postcss-cli":"^6.0.0","postcss-flexbugs-fixes":"^4.1.0","rollup":"^0.66.2","rollup-plugin-buble":"^0.19.2","rollup-plugin-commonjs":"^9.1.8","rollup-plugin-istanbul":"^2.0.1","rollup-plugin-node-resolve":"^3.4.0","stylelint":"^9.6.0","stylelint-config-recommended-scss":"^3.2.0","stylelint-scss":"^3.3.1","uglifycss":"0.0.29"},"gitHead":"120138b3567efdf13cb8a0064966cb2b79fe6208","_id":"wdfn-viz@0.1.2","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},"dist":{"integrity":"sha512-B0USsAZV50LJGCLK88m9e29af2sJa/TFsKuMcdPb5/VDdlJvC4WZls6YKE0GOUFp3AjjTCsqHiLP8d2y/BEQbQ==","shasum":"2da91143088cc63133c97a8a2d894e39ae9a3c96","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-0.1.2.tgz","fileCount":586,"unpackedSize":8809279,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbtkahCRA9TVsSAnZWagAAQFoP/RqhuBHMNhU5wDhCymHA\nPiTBv7TTosgVjJQW5LfNW2EwUIuh+ua+kMi9ZmAyB4k25XirVkt+89a/dgNU\njP8soM2NkvtFq7gfRdAFq/bO8sT27kcLRPLNTCWzAZtc96Ch+Jz9X/i16syv\nzN2YYczM02WisHZsUE9MwKh+dKUPvggiL9vOVky8hqgGvSmyIV09BUNMPCyC\nIljIO0s2Q5dW5E0Eg8H8R9EiOkGV/fxRGnQzcwSO5sqD6lkdGyxEylEYJh9T\nLPzY5xT5gEX2dktl/EY+5Lt/o/czb3rw7dUG4uBF1Uw/eUBW7QMQ21KLAwzU\ntavYb4RFKTWuqPDXY6EpWxkGmaSsCvThWO5E1REHU7iQoll6l6ymHL9r46ps\nM3maN5XMPBqT8rEsnt7IRx8LsPHE1ALnsMxDPESb6Srqk0GoZ0dr61Ped7Ij\niDXWvHRBSMJdxaogQWosfxjCV10C4eqUCOxZwgGx1Ug/1sU/rWCxK7z88QR3\nSP3LDTMOoqPYr2g9zjK+wMlnEbSH+r2XEyu5qzViaG7NSX7UQqJxWiyHKyse\nFY79Y9HtAwvZ+5C7P3hD8iYesWc2tSAInfTqeY7qoaftgOkE7R+lPpM7t3EW\nMuV0tO2xVy7MC4BPO7Vm8fz6kzCZh7w0P7vLfKYZKltDmNabgW7ykP9O+5Fw\n/IjS\r\n=Q0wR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG7jGD9u1VDA0gg0n+0Z13W5K5DNchnvBkqBlObREQ/IAiAjICM1gKGXL+5VU3PZGC1j3AIE1icpWqRYWuPkd+CQ/g=="}]},"maintainers":[{"email":"dnaab@contractor.usgs.gov","name":"danielnaab-usgs"},{"email":"drsteini@contractor.usgs.gov","name":"drsteini-usgs"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_0.1.2_1538672288412_0.3473663088616974"},"_hasShrinkwrap":false},"0.1.3":{"name":"wdfn-viz","version":"0.1.3","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"node-sass --include-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist --unsafe index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","clean":"rm -rf dist && mkdir dist","prepublish":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"karma start","test:watch":"karma start --debug --no-single-run --browsers Chrome","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nunjucks --watch --path src --out dist --unsafe index.html","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://github.com/usgs/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://github.com/usgs/wdfn-viz/issues"},"homepage":"https://github.com/usgs/wdfn-viz","engines":{"node":">= 8"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"^2.0.0-beta"},"devDependencies":{"ajv":"^6.5.4","codacy-coverage":"^3.1.0","css-mqpacker":"^7.0.0","cssnano":"^4.1.4","eslint":"^5.6.1","eslint-plugin-jasmine":"^2.10.1","jasmine-core":"^3.2.1","karma":"^3.0.0","karma-chrome-launcher":"^2.2.0","karma-firefox-launcher":"^1.1.0","karma-jasmine":"^1.1.2","karma-js-coverage":"^0.4.0","karma-rollup-preprocessor":"^6.0.1","live-server":"^1.2.0","node-sass":"^4.9.3","nodemon":"^1.18.4","npm-run-all":"^4.1.3","nunjucks":"^3.1.3","nunjucks-cli":"^0.5.1","postcss-cli":"^6.0.0","postcss-flexbugs-fixes":"^4.1.0","rollup":"^0.66.2","rollup-plugin-buble":"^0.19.2","rollup-plugin-commonjs":"^9.1.8","rollup-plugin-istanbul":"^2.0.1","rollup-plugin-node-resolve":"^3.4.0","stylelint":"^9.6.0","stylelint-config-recommended-scss":"^3.2.0","stylelint-scss":"^3.3.1"},"gitHead":"120138b3567efdf13cb8a0064966cb2b79fe6208","_id":"wdfn-viz@0.1.3","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},"dist":{"integrity":"sha512-9ZhU1ytQ9R2kanSRND4La+Uyi6f2Bh/1rcLUchIv2kpFtusfgPAapkjH/u81/J2Mt9RE3OdwSQ5g3FzplJ10cg==","shasum":"80b635ab0e15f51dd788b15d8ae47267da7a91b8","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-0.1.3.tgz","fileCount":586,"unpackedSize":8871118,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbtlPECRA9TVsSAnZWagAAxSMQAILerBV7cfnV/xCdCVH6\n7DF3zAF6Xn9UtLw4YRk0PMbb7+Fk1Kjl65ppHCutIfx5u1MxsApDu/T3dg44\nfs/arZyfWE9arVntAJJ6Jn/YS/aLfL3kYgZsKH/M6J9YJxgVRJhjMqj3RH33\nqwqJ0QlyXyuXDxOL83mm/JeEJgMbmGuVjKaJbmR15P7+OtK9rw4WfPodWPCT\nXioZlK+WG6AbmHpOsqgjbsSG+1oyn8uittpHHF4yA5H5/LUk03cPvAlruixc\nM0Dn5P4sdsLyRCiFTBWXN41QwDcHCYzzeqBS9jKybK+MTAE+Fx2eyPbTtXd3\nvGVdbrV77PlpbIvP2NV4lhjCJluEeu3kLO6cyLe+P9cP7gRw1zYpOEbl5cHj\n9bgIdqBYaGRkPMOhMyuk6ysNZpizfV6j4yRSZnnGjzZuJFoEUa2jpB8ex8c4\nCZEh8Fx7BUe4ybqiJdoOTOofH/SIWltD5OC+Ysv9KxJmjSzb+akJk7QgUWw2\nvvTwcQPZjCicUmtSzzZDWRROJl3SlT1LmNXGHRoBc2UEjA7cPzixlIQfSCLc\nQMMnI1I1FznO340IMwFuHGQrD5GCiJYozTcDnE6ik+d4UF5OJhMIC5JOpru+\nqU7oQVoQyboNSb7/x4Tdv7SH7YuL0wT61JYwJGNBHNaNUqikaVXjifsPEiPa\nMXbs\r\n=TGNj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHqMVt8IF5KNGatVUD19Ma2hgWOk4RTCc2JSUh/k5mqfAiEAhy/zNJILOlEgrX9Q4QEwqmi93jzr0JMuZ3U45lFluok="}]},"maintainers":[{"email":"dnaab@contractor.usgs.gov","name":"danielnaab-usgs"},{"email":"drsteini@contractor.usgs.gov","name":"drsteini-usgs"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_0.1.3_1538675651104_0.7073230073215335"},"_hasShrinkwrap":false},"0.1.4":{"name":"wdfn-viz","version":"0.1.4","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"node-sass --include-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist --unsafe index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","clean":"rm -rf dist && mkdir dist","prepublish":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"karma start","test:watch":"karma start --debug --no-single-run --browsers Chrome","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist --unsafe index.html\"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://github.com/usgs/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://github.com/usgs/wdfn-viz/issues"},"homepage":"https://github.com/usgs/wdfn-viz","engines":{"node":">= 8"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"^2.0.0-beta"},"devDependencies":{"ajv":"^6.5.4","codacy-coverage":"^3.1.0","css-mqpacker":"^7.0.0","cssnano":"^4.1.4","eslint":"^5.6.1","eslint-plugin-jasmine":"^2.10.1","jasmine-core":"^3.2.1","karma":"^3.0.0","karma-chrome-launcher":"^2.2.0","karma-firefox-launcher":"^1.1.0","karma-jasmine":"^1.1.2","karma-js-coverage":"^0.4.0","karma-rollup-preprocessor":"^6.0.1","live-server":"^1.2.0","node-sass":"^4.9.3","nodemon":"^1.18.4","npm-run-all":"^4.1.3","nunjucks":"^3.1.3","nunjucks-cli":"^0.5.1","postcss-cli":"^6.0.0","postcss-flexbugs-fixes":"^4.1.0","rollup":"^0.66.2","rollup-plugin-buble":"^0.19.2","rollup-plugin-commonjs":"^9.1.8","rollup-plugin-istanbul":"^2.0.1","rollup-plugin-node-resolve":"^3.4.0","stylelint":"^9.6.0","stylelint-config-recommended-scss":"^3.2.0","stylelint-scss":"^3.3.1"},"gitHead":"57e0ec73a0d333378dcc8b5de16b573c7fc91473","_id":"wdfn-viz@0.1.4","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},"dist":{"integrity":"sha512-hcf8cmQZC3QH/o8VnLIFkDbsdMEt7PrujkabwLnEm1gJYjdRzsYKL5q3X8lEOisGyjDgdj1L/Lz3TehqeqSV3A==","shasum":"280b7b5ecbcf06c371a9f35c434cfa490d05b139","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-0.1.4.tgz","fileCount":586,"unpackedSize":8869878,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbyhDHCRA9TVsSAnZWagAAOiYP/2OWJCRLodwozzXXkAYv\nbmPE/j/ibUgmqYXk8m34Brcvkf1JqBIdtAm6o5HvdhIktHd+ETTv97SIEAnP\n4EY0yCQ/KbNr7i/88G/FN1eYNkpo8wLP/j8yD82pttRwBFbgWA5pM5+osSLI\n5lkA2PO/VuVKTxdbdcrtOj/J0xC1N5+zMQCTASJpSoGsEE23VMLQN5PI8WO7\n18OCVTSeuSJiafi47mCYVUJ00M3bDBbMTkSkLOuXPg7yJqlZYzWCrP7xNIrh\nlKHIUmQhNKhUIvWep3JYrMlCDsGssz/uEyKun0O66yqWwbn6aIUTQJzr53Kg\naJwOzTg1+L1Vc5hrEn5Act/0dMcNdBJGzVNymk1UVfrJ2yJSi7g24yDbpu4v\nWv7tUyynClFKKexRflCd4PRrlOoyWFm+B01I4lzdKxc+7aV6NoD4l8rDiuWp\nsdLUAjEUtgignzMb2LoBvGfnCJhECnPuxOY2uZzvjt1StvMc47BI0XvZ39e/\nu07z218ZTesl7EQkNcqGlCTQZKqW/+vphpIrXn5MtkXZ5m5mf3U9tGa1kjMA\n7lUGAKXDVOeegXW1RKMIkBbU5AjztGUKIvYFY2zGVBYSESQo65bUFbUlhiMA\nfIVAiOx5+TaZgqLRkzp0x+JY9gwt8zV3hA0Svttmp6v0Wte4+4UOxlSCXZy9\n2WAM\r\n=lU+I\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFMn9PXA9/EXS4wR8713uUgPyiyamg58vA6sXDcN/Ek1AiAoFCZKYmJdsa4v3evbBqn/8TWWCrnD9rrEQrYxbOcQHA=="}]},"maintainers":[{"email":"dnaab@contractor.usgs.gov","name":"danielnaab-usgs"},{"email":"drsteini@contractor.usgs.gov","name":"drsteini-usgs"},{"email":"mbucknell@usgs.gov","name":"mbucknell-usgs"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_0.1.4_1539969222639_0.4566854739441508"},"_hasShrinkwrap":false},"0.1.5":{"name":"wdfn-viz","version":"0.1.5","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"node-sass --include-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist --unsafe index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","clean":"rm -rf dist && mkdir dist","prepublish":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"karma start","test:watch":"karma start --debug --no-single-run --browsers Chrome","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist --unsafe index.html\"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://github.com/usgs/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://github.com/usgs/wdfn-viz/issues"},"homepage":"https://github.com/usgs/wdfn-viz","engines":{"node":">= 8"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"^2.0.0-beta"},"devDependencies":{"ajv":"^6.5.4","codacy-coverage":"^3.1.0","css-mqpacker":"^7.0.0","cssnano":"^4.1.4","eslint":"^5.6.1","eslint-plugin-jasmine":"^2.10.1","jasmine-core":"^3.2.1","karma":"^3.0.0","karma-chrome-launcher":"^2.2.0","karma-firefox-launcher":"^1.1.0","karma-jasmine":"^1.1.2","karma-js-coverage":"^0.4.0","karma-rollup-preprocessor":"^6.0.1","live-server":"^1.2.0","node-sass":"^4.9.3","nodemon":"^1.18.4","npm-run-all":"^4.1.3","nunjucks":"^3.1.3","nunjucks-cli":"^0.5.1","postcss-cli":"^6.0.0","postcss-flexbugs-fixes":"^4.1.0","rollup":"^0.66.2","rollup-plugin-buble":"^0.19.2","rollup-plugin-commonjs":"^9.1.8","rollup-plugin-istanbul":"^2.0.1","rollup-plugin-node-resolve":"^3.4.0","stylelint":"^9.6.0","stylelint-config-recommended-scss":"^3.2.0","stylelint-scss":"^3.3.1"},"gitHead":"93780c4534c4091db393af3e509219ed05ced0a9","_id":"wdfn-viz@0.1.5","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},"dist":{"integrity":"sha512-kPHwTt45AMaqETiZGebnY3j5Nvby0ZD1syjPubprg1+kMvyl9qZwiUB9g9gsXeRPDSXrnX0OXbMBbE75xTb5og==","shasum":"91623cbca7ba7b599311f47db81eb38f2c06dafb","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-0.1.5.tgz","fileCount":586,"unpackedSize":8870174,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbyjjoCRA9TVsSAnZWagAAC3AP/iqWPO6sufOm+BsxLtYv\njZotdsgqJXxlmex0ec5SyakCTzb5/cjJtl00xbGWk/4eM2xPjV819xYCWYd8\ns9drZLhjgGQdd384hDwoW1jvt9v0XDch0RrgJH+CL4pDV1ZVbuTKerpcLXpt\nIiCa+Cm4BUoFeSe0ZgaBJ2AbaJDu77/XW65SQaCSZNDFE5+lzvCEVP6m1wmZ\nhg7x+zS1dACV3zRCbrSyGmg2Y3vO2JRVJyQ+tExiLDcqHaNK8hyAPgf9Uztm\nnE1yBo/bHA6CVvWSMWW8LcpyyzqiOVj8rrvht+/A+UC0ozICJioc+G5nZLXM\nSb2rj1i9T0tBmb24tHXVjuBJnXR2XRYNtLHFfcbzmSYM7EB585gUuoWfKWZk\nepqybQGcUCq+zU0e99JlUN8rEAvZiDkFJXPD0FmRl0NtwvDf5Sqf7KcItAlz\nZ4uSIRwiPFYAuWIpYFdcecZC7lmdt3uTNQY7F2ZJUpIgYrMiWrx0tSPMN0UU\ncNidd7BUfrAnFg4B811FGYvyIQXbVaEUxVjpK8lUDzTR8ekelOHbq1t7FXnW\n0l8XlQJi+UgWVRu3aF+DB2T4mDx7mXNW3I9Iy9ZdmrXGEVey84MrQ1oJOSM2\nfwF/bREx3mSYtCPCWVyN3HUTG+SzpePIqSOw7/TLxtioh8WhNBiidTgQrqmP\nBN6b\r\n=sQBp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG+xQH0r4y1v9SNN9o+2cgUMVy0wCairTpSQBCfT2RL2AiEAnjvZ4OoDryWF5ncIcEHSAjHGBLVniDDpnyNW4e1KGCU="}]},"maintainers":[{"email":"dnaab@contractor.usgs.gov","name":"danielnaab-usgs"},{"email":"drsteini@contractor.usgs.gov","name":"drsteini-usgs"},{"email":"mbucknell@usgs.gov","name":"mbucknell-usgs"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_0.1.5_1539979495574_0.37197659730850074"},"_hasShrinkwrap":false},"0.1.6":{"name":"wdfn-viz","version":"0.1.6","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"node-sass --include-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist --unsafe index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","clean":"rm -rf dist && mkdir dist","prepublish":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"karma start","test:watch":"karma start --debug --no-single-run --browsers Chrome","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist --unsafe index.html\"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://github.com/usgs/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://github.com/usgs/wdfn-viz/issues"},"homepage":"https://github.com/usgs/wdfn-viz","engines":{"node":">= 8"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"^2.0.0-beta"},"devDependencies":{"ajv":"^6.5.4","codacy-coverage":"^3.1.0","css-mqpacker":"^7.0.0","cssnano":"^4.1.4","eslint":"^5.6.1","eslint-plugin-jasmine":"^2.10.1","jasmine-core":"^3.2.1","karma":"^3.0.0","karma-chrome-launcher":"^2.2.0","karma-firefox-launcher":"^1.1.0","karma-jasmine":"^1.1.2","karma-js-coverage":"^0.4.0","karma-rollup-preprocessor":"^6.0.1","live-server":"^1.2.0","node-sass":"^4.9.3","nodemon":"^1.18.4","npm-run-all":"^4.1.3","nunjucks":"^3.1.3","nunjucks-cli":"^0.5.1","postcss-cli":"^6.0.0","postcss-flexbugs-fixes":"^4.1.0","rollup":"^0.66.2","rollup-plugin-buble":"^0.19.2","rollup-plugin-commonjs":"^9.1.8","rollup-plugin-istanbul":"^2.0.1","rollup-plugin-node-resolve":"^3.4.0","stylelint":"^9.6.0","stylelint-config-recommended-scss":"^3.2.0","stylelint-scss":"^3.3.1"},"gitHead":"5bcbbe040ec466f83b2d8be615bae97f7e7e337d","_id":"wdfn-viz@0.1.6","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},"dist":{"integrity":"sha512-fNeJFWDe/2QBzqO60GjyhHY2E+/jhcjmPzIiU05WEtTfA9U6TgspuMyS/1xXRsiHkZV4Th5pooU8vHuryRgY4A==","shasum":"ee1e963936a73b96cc94f277a12eb704a1aa84e8","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-0.1.6.tgz","fileCount":592,"unpackedSize":8907536,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb0JXFCRA9TVsSAnZWagAAArgP/jS38zlHqoiBTwTNshL9\nHbryWdwM2eCgjSHBiYQRd/w2cvNPKHFlcsGdAwM8S1qEcCrPiFAE4ozqqTmH\ngbqtiSRtTPZcyi3T8w4WxvL/GNhaYhgSuQ7h2ydajzvfjZhy/px/4JP2e+jE\nQmBqNRHCf8DE2L0/uvLLRpjA0HiWfDCIFTkBrVqbAxsundNgjmSRTzvrFhyI\nQZQbny4tP+OEmWFpn8jv/DSSkw9NFcHgHK38MoBOsVg1d8OASaqkLZZlnvvc\nkdoZFcvYzUbxI0IuyyGHfpNW2Xy3Do1f16rjs2ADptTNah4wJDAgy2IrJ3W8\ndIZ5MMfA9spivWiSvCaEkGFgCV2TtG/DDdYjYCTQWg0bHYabRF9e7Ro6WK5Z\nXLlrHjnKxui70ghH3dCzQSHne9a5VUfpuMYKojU4VUP2+LqfAxTrJZCUd1Ul\nkuF8hXvTv9Afnn5ZpfI3aX657YHhLeV408qsejw0dih0J+yr4oc5JFdkEVPo\njQoF30Sidv8hfAieX3EXYnZLvOwXGzjz4GqFAllEdqUVfXk99stBceCF2y1r\nq8oe98Ya4EHTGhTpNBF6hHmbaodaBdiFTAXRzdnQj9Wp44fX5F9oJXC0+cp1\nuSbuX5Itzl2vHknxE7L8vpitxn5cz3+AnjL9S/5HT2lRg+5GzDlZ0iyi4+N5\nZXbN\r\n=3mPM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCj09lrvaPe4q9pnmd0SoS44dNOw27t47HLTvANNxzpmAIgC7K4FxLp4CIlJf9d/moS+EV6984cOrihRS1YRA2vdcU="}]},"maintainers":[{"email":"dnaab@contractor.usgs.gov","name":"danielnaab-usgs"},{"email":"drsteini@contractor.usgs.gov","name":"drsteini-usgs"},{"email":"mbucknell@usgs.gov","name":"mbucknell-usgs"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_0.1.6_1540396484527_0.1218637788637964"},"_hasShrinkwrap":false},"0.1.7":{"name":"wdfn-viz","version":"0.1.7","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"node-sass --include-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist --unsafe index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","clean":"rm -rf dist && mkdir dist","prepublish":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"karma start","test:watch":"karma start --debug --no-single-run --browsers Chrome","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist --unsafe index.html\"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://github.com/usgs/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://github.com/usgs/wdfn-viz/issues"},"homepage":"https://github.com/usgs/wdfn-viz","engines":{"node":">= 8"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"^2.0.0-beta"},"devDependencies":{"ajv":"^6.5.4","codacy-coverage":"^3.1.0","css-mqpacker":"^7.0.0","cssnano":"^4.1.4","eslint":"^5.6.1","eslint-plugin-jasmine":"^2.10.1","jasmine-core":"^3.2.1","karma":"^3.0.0","karma-chrome-launcher":"^2.2.0","karma-firefox-launcher":"^1.1.0","karma-jasmine":"^1.1.2","karma-js-coverage":"^0.4.0","karma-rollup-preprocessor":"^6.0.1","live-server":"^1.2.0","node-sass":"^4.9.3","nodemon":"^1.18.4","npm-run-all":"^4.1.3","nunjucks":"^3.1.3","nunjucks-cli":"^0.5.1","postcss-cli":"^6.0.0","postcss-flexbugs-fixes":"^4.1.0","rollup":"^0.66.2","rollup-plugin-buble":"^0.19.2","rollup-plugin-commonjs":"^9.1.8","rollup-plugin-istanbul":"^2.0.1","rollup-plugin-node-resolve":"^3.4.0","stylelint":"^9.6.0","stylelint-config-recommended-scss":"^3.2.0","stylelint-scss":"^3.3.1"},"gitHead":"a40a415208f5daef5889c5ad41e8f5cb7728eb36","_id":"wdfn-viz@0.1.7","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},"dist":{"integrity":"sha512-rDN5vNtdVevG2Q7zw5fredCljXkh4AtDYOHKGpxVz3kprjmkb0Es82ykd02FG8dL1zitE73D/lTfXl3Q09C4QQ==","shasum":"b482dc29e80ef021d77a4c10fe5c737774f7b7e1","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-0.1.7.tgz","fileCount":592,"unpackedSize":8907522,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb0KWoCRA9TVsSAnZWagAAM2MP/0cUwyovV3HbFTLGx3XD\nNVpGrycTwnNze/IP6X5/ixfqzDLvhLLDxp2ywr3+qatrWGm16G0ue6sN8s6I\n/AUZNSvAwAczyDmHpkzmiF5gB3FL+V0Ib0/wDsgBZ7US+IPCOkgNF4VVBi8R\nYmGIWwskpLFhZUplB2bTyEjk2TfxxxZsqgRTlTLHBeEnpEaeM3q0XNeeEvy/\nZt+cq9uoIKpErzyRGSHqrSmXANNAc4gJElPmSqISyWSsaNPnyYtypVL+kpsV\nJwcjQn0xVxBQmwW7/SlBrIQc2XsD0A9QSrvGvRPESwgy5HCoZJyxSRnsjgrn\nKv1ftns8g+XpgDveQidjY5YRBiV+0HsmWEWmEk28isNwwFtoDCecYQJYNLve\nsdccBEHX3x5umo4DFNs0neSr5XSLbjAJZSF/x3NFW+8hZRj3scOYwAM31I4t\nQ8L4sjmuX+2RevmiKb/vodGO2w6TtTBWH89AZ0CUdS4n2miGDFCtjoa/AEKA\nDf+ondmxJ90DdVRsmiNl2t35vJdsxb9tV3/fmWhOdtlOci5PTc3ugwnBAiVJ\nDxpSyg6WB7aTlhvpUEVULpDN5LOvxcL+J+IHQc99MxZZTyASKEQ41fJ9PgtU\n/2uVXTYPLucMMPspOiED6KXZeZcfc4U3TljIVncPx3r3oW85r5CNcmoWsz9s\nyJSD\r\n=0wu+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCVid+CHqqj9lyqGeLcjlK1EqNEZbvrhGdSltStCvDAPgIhANoPuVF9ZcmvRLY5z9xT47Ih2tOlBOLttltaEQmk2KQM"}]},"maintainers":[{"email":"dnaab@contractor.usgs.gov","name":"danielnaab-usgs"},{"email":"drsteini@contractor.usgs.gov","name":"drsteini-usgs"},{"email":"mbucknell@usgs.gov","name":"mbucknell-usgs"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_0.1.7_1540400551871_0.17810631879337424"},"_hasShrinkwrap":false},"0.1.8":{"name":"wdfn-viz","version":"0.1.8","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"node-sass --include-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist --unsafe index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","clean":"rm -rf dist && mkdir dist","prepublish":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"karma start","test:watch":"karma start --debug --no-single-run --browsers Chrome","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist --unsafe index.html\"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://github.com/usgs/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://github.com/usgs/wdfn-viz/issues"},"homepage":"https://github.com/usgs/wdfn-viz","engines":{"node":">= 8"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"^2.0.0-beta"},"devDependencies":{"ajv":"^6.5.4","codacy-coverage":"^3.1.0","css-mqpacker":"^7.0.0","cssnano":"^4.1.4","eslint":"^5.6.1","eslint-plugin-jasmine":"^2.10.1","jasmine-core":"^3.2.1","karma":"^3.0.0","karma-chrome-launcher":"^2.2.0","karma-firefox-launcher":"^1.1.0","karma-jasmine":"^1.1.2","karma-js-coverage":"^0.4.0","karma-rollup-preprocessor":"^6.0.1","live-server":"^1.2.0","node-sass":"^4.9.3","nodemon":"^1.18.4","npm-run-all":"^4.1.3","nunjucks":"^3.1.3","nunjucks-cli":"^0.5.1","postcss-cli":"^6.0.0","postcss-flexbugs-fixes":"^4.1.0","rollup":"^0.66.2","rollup-plugin-buble":"^0.19.2","rollup-plugin-commonjs":"^9.1.8","rollup-plugin-istanbul":"^2.0.1","rollup-plugin-node-resolve":"^3.4.0","stylelint":"^9.6.0","stylelint-config-recommended-scss":"^3.2.0","stylelint-scss":"^3.3.1"},"gitHead":"fb224e6e4b44ad0e0192b128f19cb18eaec7a314","_id":"wdfn-viz@0.1.8","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},"dist":{"integrity":"sha512-f3DpTh0+T7n9NvAVqEUCXmCnGpdVV/yMEhU8imVXSLw9sGbkYfQZX1Q7+1OhWyc1T1X1qR14zdeoBq9/XICMjw==","shasum":"c9e137c2e02b9ca5fea7d3833fab36e5057e2dd1","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-0.1.8.tgz","fileCount":592,"unpackedSize":8901343,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb0L0cCRA9TVsSAnZWagAAhmUP+wZ4V1y9sZZkbciFnYmH\nRxkTuescRcWmbL8wgPxswGEquF0FQnj2n6p1oPKDS7eDtI3idBB6l7ZCUhUm\nvfxqU2rbUBWI5OMLFsFTF8yUfe1Nm21tOWBdzWxFNTS2sO/8OwFmyzEQnVOf\nibECEyA5r5KwlPdOznTeUYI3oP8P+izOU4LrMpnchczHC71FK3A1AuSr+Gqw\nh2rKoErFy0hA6ThS/mDK6CJnjSoWA3bLN4pAGGBAUinaGGDKnm1rdMqCOjB7\nRSJVl0K64B9DTRAcrgBghKpjJ0fcE8ilXg9uwlJklq9G2bK6qqZ/OQ6zvVwx\n6oTHiK2nVsiC0e02tCndKykarckvpAi0sOeeeLbuo8uxTuRmDrVaqI+nDsx3\nIGKm4zH55qsiQWoUVSxPw/OTfDMfRF1iLjBnAQeoLc9x0YJHHrZgNlXjozTC\nVx7hlRB6j6nvwr8b7nzTdQhHbD9+va+D4jvx81cguW51He0RqKBxXEJvOjbW\nmtEwoPPGm7sHSuY71d6bscAZ0c/Y89yk27jccfd802DrJQEgAPBCAeDt+Hot\nF64t5FfBDJwgQUnYb1H9bA2+w/QDU7HOPBRbkWZPALuDRPQi9kD42O5BXKH4\n/EOQBTzHceTY0RFo9Np3mDyd85Fjzkp3bKQVmilTwUY6m+qplcYkO8fNMPzB\nLIlz\r\n=+uXz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCLFyE3ArZG6ZWXnX8tptzmmSKnoYcn7PEQ4/AoQUOMOQIgD7ISYjFfuD3YFRdrauhbaljbDEdY9eZFlTDrlfGBRUc="}]},"maintainers":[{"email":"dnaab@contractor.usgs.gov","name":"danielnaab-usgs"},{"email":"drsteini@contractor.usgs.gov","name":"drsteini-usgs"},{"email":"mbucknell@usgs.gov","name":"mbucknell-usgs"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_0.1.8_1540406555785_0.1878199541373875"},"_hasShrinkwrap":false},"0.1.9":{"name":"wdfn-viz","version":"0.1.9","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"node-sass --include-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist --unsafe index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","clean":"rm -rf dist && mkdir dist","prepublish":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"karma start","test:watch":"karma start --debug --no-single-run --browsers Chrome","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist --unsafe index.html\"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://github.com/usgs/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://github.com/usgs/wdfn-viz/issues"},"homepage":"https://github.com/usgs/wdfn-viz","engines":{"node":">= 8"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"^2.0.0-beta.3"},"devDependencies":{"ajv":"^6.5.4","codacy-coverage":"^3.1.0","css-mqpacker":"^7.0.0","cssnano":"^4.1.4","eslint":"^5.6.1","eslint-plugin-jasmine":"^2.10.1","jasmine-core":"^3.2.1","karma":"^3.0.0","karma-chrome-launcher":"^2.2.0","karma-firefox-launcher":"^1.1.0","karma-jasmine":"^1.1.2","karma-js-coverage":"^0.4.0","karma-rollup-preprocessor":"^6.0.1","live-server":"^1.2.0","node-sass":"^4.10.0","nodemon":"^1.18.4","npm-run-all":"^4.1.3","nunjucks":"^3.1.3","nunjucks-cli":"^0.5.1","postcss-cli":"^6.0.0","postcss-flexbugs-fixes":"^4.1.0","rollup":"^0.66.2","rollup-plugin-buble":"^0.19.2","rollup-plugin-commonjs":"^9.1.8","rollup-plugin-istanbul":"^2.0.1","rollup-plugin-node-resolve":"^3.4.0","stylelint":"^9.6.0","stylelint-config-recommended-scss":"^3.2.0","stylelint-scss":"^3.3.1"},"gitHead":"24e435f2080a14b0107eb0d0a2540cdf4729168e","_id":"wdfn-viz@0.1.9","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},"dist":{"integrity":"sha512-kZ1cpwhUW4S2/+6bo4E3gm0/YLsuVLi2TNRrw6Q3qTxqFbaxtdIY5hvfssAp/ffE6eIQQs3yyZBLSVgqXzSf1g==","shasum":"4846d7e5d777c9c8423341b4962d4da022359ca0","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-0.1.9.tgz","fileCount":624,"unpackedSize":8904608,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb5IFnCRA9TVsSAnZWagAAnlsP/0tGDsJMYzPCe9H2bva6\n+BT3zyKbo32GCGsDt42qRDSkf/VxnZ3cKS8UIFdJidvodmI428Kml4vRPUIL\nGu6YaZUvfrW8QLZQzBXPMEI1f5GvVEBSJxjW5Up7HHYnIm6Z3s8zOyEFq5fs\nB9hlhMYIxYmGfh+4iNzLQkA3zS+Fm4+KhWxRR/HO+5lJ7TkTJ76Osp9otu6k\n4OdMUt7VWsAlNtnt9HiBibaA7ytqAu9xJNo7rR6q3BlyF2Y+Lqxz7XC57DLl\ne0THzbhP48Aum42S6hqEQlsJHKVhzH2wFqITG9KVKmRAck15lkP7FuRRytaV\nJMOj76wfk8UWQ3xXhm6xOxbtJmOIXgZ67qCcPrr9D7t2ur8fkyVedgkuV5u6\nTB5m68HUzDbBJfbF3H0G5RE4YVcnbj5Emlcy4KULF50eodAk6njKXdQHhuZd\n4fQxg6R1yT/DF9p5nhtmvIsuHt+GkauedhBEIiZALZqV8fcvN+t0zzHal8Lw\nx5ysKvaSlbZkZJDd6vFgqY0DYcrL8B041ybVYRjJMU2qsKPJdUleHSf4z61y\nGg/8clx3VrL2ho1WvQEtvq/QBah0SVerJbzzVb0X12/R8G2f8zUiTeDH5OTQ\nv0FMZkE8kVHC1qaFnqG+fU97AzD2HJpVGXX0FK1S6t87HVwQ9GgPiqLU+1Ds\n+fBV\r\n=x5/z\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQChxgyYmGkqPS2AvM4RWVVHvylgE1xGRZonaWkJCv3yjwIgKnjrzn+MH8aPol5C+iMzIsXl1CvGOVz9lr4HWLcpBPs="}]},"maintainers":[{"email":"dnaab@contractor.usgs.gov","name":"danielnaab-usgs"},{"email":"drsteini@contractor.usgs.gov","name":"drsteini-usgs"},{"email":"mbucknell@usgs.gov","name":"mbucknell-usgs"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_0.1.9_1541701990518_0.2831590114980356"},"_hasShrinkwrap":false},"0.1.10-snapshot.6738b77":{"name":"wdfn-viz","version":"0.1.10-snapshot.6738b77","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"node-sass --include-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist --unsafe index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","clean":"rm -rf dist && mkdir dist","prepublish":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"karma start","test:watch":"karma start --debug --no-single-run --browsers Chrome","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist --unsafe index.html\"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://github.com/usgs/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://github.com/usgs/wdfn-viz/issues"},"homepage":"https://github.com/usgs/wdfn-viz","engines":{"node":">= 8"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"^2.0.0-beta.3"},"devDependencies":{"ajv":"^6.5.4","codacy-coverage":"^3.2.0","css-mqpacker":"^7.0.0","cssnano":"^4.1.4","eslint":"^5.9.0","eslint-plugin-jasmine":"^2.10.1","jasmine-core":"^3.2.1","karma":"^3.1.1","karma-chrome-launcher":"^2.2.0","karma-firefox-launcher":"^1.1.0","karma-jasmine":"^1.1.2","karma-js-coverage":"^0.4.0","karma-rollup-preprocessor":"^6.1.0","live-server":"^1.2.1","node-sass":"^4.10.0","nodemon":"^1.18.4","npm-run-all":"^4.1.3","nunjucks":"^3.1.3","nunjucks-cli":"^0.5.1","postcss-cli":"^6.0.1","postcss-flexbugs-fixes":"^4.1.0","rollup":"^0.66.2","rollup-plugin-buble":"^0.19.4","rollup-plugin-commonjs":"^9.2.0","rollup-plugin-istanbul":"^2.0.1","rollup-plugin-node-resolve":"^3.4.0","stylelint":"^9.6.0","stylelint-config-recommended-scss":"^3.2.0","stylelint-scss":"^3.3.1"},"gitHead":"6738b77158631f3d5c9d87de761839ce8b71b32f","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![Build Status](https://travis-ci.org/usgs/wdfn-viz.svg?branch=master)](https://travis-ci.org/usgs/wdfn-viz)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/6faaca8b97f34929b141c4444d919e4e)](https://www.codacy.com/app/usgs_wma_dev/wdfn-viz?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=usgs/wdfn-viz&amp;utm_campaign=Badge_Grade)\n\nProvides Sass stylesheets and images that can be used when creating web pages that need to\nmeet USGS visual identity standards. The stylesheets use USWDS (https://designsystem.digital.gov/)\nas the basis so all USWDS components are available.\n\nThe repo can be installed in an existing project by installing directly from github:\n```\n% npm install git://github.com/usgs/wdfn-viz.git\n```\n\nThe main Sass stylesheet that should be imported into a web page's Sass file and is at /src/stylesheets/wdfnviz.scss. \nThis directory should be specified on the --include-path option when the site's Sass is built. This will also include \nthe USWDS style sheets so a separate import is not required. When building the style sheets the css should also be \nprocessed by postcss as follows:\n\n```\n% node-sass --include-path node_modules/wdfn-via/src/stylesheets src/styles.main.css dist/main.css\n% postcss dist/main.css --no-map --use autoprefixer -o dist/main.css\n```\n\nWhen building the assets, the images should be collected in a common directory and specified in the project's Sass \nfiles using the $image-path variable. This should include the images in src/img that provide the USGS favicon and \nlogos. If using USWDS images those will also need to be collected. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nBelow are examples of commands that could be used to collect the assets.\n```\n% mkdir -p dist/img && cp -r node_modules/uswds/src/img/* dist/img && cp -r node_modules/wdfn-viz/src/img/* dist/img\n% mkdir -p dist/fonts && cp node_modules/uswds/src/fonts/* dist/fonts \n```\n\nThe javascript can be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined.\n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template \nas needed for the USGS logo and federal government logos.\n\n","readmeFilename":"README.md","_id":"wdfn-viz@0.1.10-snapshot.6738b77","_npmVersion":"6.4.1","_nodeVersion":"10.14.2","_npmUser":{"name":"usgs-wma","email":"owi_delivery@usgs.gov"},"dist":{"integrity":"sha512-AaYgvFVgQd8F+/qaQDPIVp+ySWz1/ckXK1+uismFFbInTTjCfUEof81XArmOMp4ZNL+HNJWn9PS0LIN+PKT3Yg==","shasum":"c2d18a7b314abbcc24b26b6692cc5cb6c2eed34e","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-0.1.10-snapshot.6738b77.tgz","fileCount":523,"unpackedSize":8824254,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcF/AzCRA9TVsSAnZWagAARi0P/2GZMxWUdB1jU33wY/yb\nwL6eSfmDjtUfjSqgnGFLybstluVnXAcdcH+LYzjT6qCbGQ6h44nbdsxALXbe\nhnjyZ5NZEojApYK3ASrRjF2ynYAVmKpZXO2scQXajE/dFy6fvzza3xMwS7A4\njMzzsEjhgukYaJFVIhYMn4mw3lAX+7wTJe+Y7yqMuZx/OS9q7xDxwg6oFw0R\n2yZfGdcKUj+VDtUHE+eSXDPRS0tCXgvccZuoTEAiJ1hsKy2cYnb+GDehgbo2\nrxPHxGC12xcq4Mk/u6X5ovSayWv/u2LOpUo7o48xFpIBVssMrrNaJWwxoq1v\nINoU6CcbxJJduhaRrCD8Xigike0jw5G0gyVFPJmMoEV0zmxmDMuBD3FzN6+9\nxvaS4huga73BzU69VkP5in9YxKhHmyvdttmfRVkUrDx2efucM+o5XQJ2XjNZ\nV0Fca97/8HOSq/7idYbF5YFPxmpotHBuQnhCcD6qRdH/KxpricK9HjJmeY62\nRHewnWmXsObZbQFiBGjP6xrijMrNFngU/iTGGQq0DOIgVbCxTykrwlpgeLHY\nGuVaRF2tLVWmQZUM8V3l0NMWr3lDlqg4mEebS/BirXXBHOfkAaf27V8jji+2\nqWqS+ZX+OdLkskpR9Ir5No4rQtjNDVpgqjWweZkNLQZ+DM8ziap2ZUnlxA0L\nBbag\r\n=/zXn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDvH9FzhYKJouFFbixyRV6jfu91Iu/eUsJCKwgx6rUAPAiEA7L4SeR7Hehxpadrn4XLPdS3WHeMCrybJmt95IRpqbsw="}]},"maintainers":[{"email":"dnaab@contractor.usgs.gov","name":"danielnaab-usgs"},{"email":"drsteini@contractor.usgs.gov","name":"drsteini-usgs"},{"email":"mbucknell@usgs.gov","name":"mbucknell-usgs"},{"email":"owi_delivery@usgs.gov","name":"usgs-wma"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_0.1.10-snapshot.6738b77_1545072687970_0.32560265723831816"},"_hasShrinkwrap":false},"0.1.10":{"name":"wdfn-viz","version":"0.1.10","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"node-sass --include-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist --unsafe index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","clean":"rm -rf dist && mkdir dist","prepublish":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"karma start","test:watch":"karma start --debug --no-single-run --browsers Chrome","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist --unsafe index.html\"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://github.com/usgs/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://github.com/usgs/wdfn-viz/issues"},"homepage":"https://github.com/usgs/wdfn-viz","engines":{"node":">= 8"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"^2.0.0-beta.3"},"devDependencies":{"ajv":"^6.5.4","codacy-coverage":"^3.2.0","css-mqpacker":"^7.0.0","cssnano":"^4.1.4","eslint":"^5.9.0","eslint-plugin-jasmine":"^2.10.1","jasmine-core":"^3.2.1","karma":"^3.1.1","karma-chrome-launcher":"^2.2.0","karma-firefox-launcher":"^1.1.0","karma-jasmine":"^1.1.2","karma-js-coverage":"^0.4.0","karma-rollup-preprocessor":"^6.1.0","live-server":"^1.2.1","node-sass":"^4.10.0","nodemon":"^1.18.4","npm-run-all":"^4.1.3","nunjucks":"^3.1.3","nunjucks-cli":"^0.5.1","postcss-cli":"^6.0.1","postcss-flexbugs-fixes":"^4.1.0","rollup":"^0.66.2","rollup-plugin-buble":"^0.19.4","rollup-plugin-commonjs":"^9.2.0","rollup-plugin-istanbul":"^2.0.1","rollup-plugin-node-resolve":"^3.4.0","stylelint":"^9.6.0","stylelint-config-recommended-scss":"^3.2.0","stylelint-scss":"^3.3.1"},"gitHead":"445011d6852ad12d6e3b415d20f664a5f0e7809f","_id":"wdfn-viz@0.1.10","_npmVersion":"6.4.1","_nodeVersion":"10.14.2","_npmUser":{"name":"usgs-wma","email":"owi_delivery@usgs.gov"},"dist":{"integrity":"sha512-/CS4tKXZjE55Zbi2qodcaLM2rkD3C551ESYcMyUHjqbhECVgBdZvviSVQatEX6dpAtrSuIsSo8eETgxR1fDO2w==","shasum":"e85c6056921aff67defa292a9c4e493820295bc1","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-0.1.10.tgz","fileCount":523,"unpackedSize":8824904,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcGWAfCRA9TVsSAnZWagAA8sQP/17VsVaWYFSjvvT84LZh\nEn7Q33+DBNSD2yGPjFPiI7suK5yEuUT9bsCYxLODUTX/w9d+pIb85LWu6iK/\nNhs2jAGvKtDWC4GisvgTVt9WM1f9LmJKje7CUFjaJ9CaqES7cni+C0H8c98h\n2O0zIQxBdt4BobAFa1D6uYGW2hsD/5TVxiAoDlQr6cIkg8VOLmpqsBZzuUr8\nzwz7kTMIRFru4szykUYTd8HzqlqC3pIJzEOWpc4U1LKeixqLqFIcX3OxSIcu\nc1zXmKFHTOk7XUGtf3/xhFuNsNt8qtceZ74/0AORVkWjMQdVEhAuoE7C2KU9\n/RCcraTcro6kqtpJUYIuyOm1iIC6Rsr1kSCO58zR33l3ePwiUoPYXmAj0y5T\nnebUP2UPkQhagUMLmagjcGalb4oQviaJZshiay0LnR9TAX/Wyt3dbCINDOz8\nMgAII5TCjSgKCO17wP51BcSHd/Ov/lAWPTAj7m0bsi/VqCTgBEUIW4HpvxMF\n63IuorxOJ2gANgZ64VJZgBe3efwTxERv+X6AOo71JnihDikCKViToLGsNy2u\nw991mLzxEmLOjEAxX2HO1gObgqwccjShew85qEeFhJA3j77O6rB6LMy//u9e\nWje9E8ZQv8utz9Z/eOa60234CEJTgyZAL+qnr2YQLG64JIjieyDU6ZsYGzaZ\n4TSo\r\n=hoiT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCSbhxLTYg1vN5W35mjBDJn6TdTqh43T2IIAOHGlGoB5wIhAOOk7QeNVwlnk1r2DR6YE91VxUKSqGOPpre4wY1jc7+g"}]},"maintainers":[{"email":"dnaab@contractor.usgs.gov","name":"danielnaab-usgs"},{"email":"drsteini@contractor.usgs.gov","name":"drsteini-usgs"},{"email":"mbucknell@usgs.gov","name":"mbucknell-usgs"},{"email":"owi_delivery@usgs.gov","name":"usgs-wma"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_0.1.10_1545166878955_0.06633299204391108"},"_hasShrinkwrap":false},"0.1.11-snapshot.1b5a2c1":{"name":"wdfn-viz","version":"0.1.11-snapshot.1b5a2c1","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"node-sass --include-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist --unsafe index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","clean":"rm -rf dist && mkdir dist","prepublish":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"karma start","test:watch":"karma start --debug --no-single-run --browsers Chrome","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist --unsafe index.html\"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://github.com/usgs/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://github.com/usgs/wdfn-viz/issues"},"homepage":"https://github.com/usgs/wdfn-viz","engines":{"node":">= 8"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"^2.0.0-beta.4"},"devDependencies":{"ajv":"^6.5.4","codacy-coverage":"^3.4.0","css-mqpacker":"^7.0.0","cssnano":"^4.1.5","eslint":"^5.12.0","eslint-plugin-jasmine":"^2.10.1","jasmine-core":"^3.2.1","karma":"^3.1.4","karma-chrome-launcher":"^2.2.0","karma-firefox-launcher":"^1.1.0","karma-jasmine":"^1.1.2","karma-js-coverage":"^0.4.0","karma-rollup-preprocessor":"^6.1.2","live-server":"^1.2.1","node-sass":"^4.10.0","nodemon":"^1.18.4","npm-run-all":"^4.1.3","nunjucks":"^3.1.3","nunjucks-cli":"^0.5.1","postcss-cli":"^6.1.1","postcss-flexbugs-fixes":"^4.1.0","rollup":"^0.68.2","rollup-plugin-buble":"^0.19.4","rollup-plugin-commonjs":"^9.2.0","rollup-plugin-istanbul":"^2.0.1","rollup-plugin-node-resolve":"^4.0.0","stylelint":"^9.6.0","stylelint-config-recommended-scss":"^3.2.0","stylelint-scss":"^3.3.4"},"gitHead":"1b5a2c13fa95434f18f3105fbbeccee824851125","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![Build Status](https://travis-ci.org/usgs/wdfn-viz.svg?branch=master)](https://travis-ci.org/usgs/wdfn-viz)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/6faaca8b97f34929b141c4444d919e4e)](https://www.codacy.com/app/usgs_wma_dev/wdfn-viz?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=usgs/wdfn-viz&amp;utm_campaign=Badge_Grade)\n\nProvides Sass stylesheets and images that can be used when creating web pages that need to\nmeet USGS visual identity standards. The stylesheets use USWDS (https://designsystem.digital.gov/)\nas the basis so all USWDS components are available.\n\n## Usage\n\nThe repo can be installed in an existing project by installing via npm.\n\n```bash\nnpm install wdfn-viz\n```\n\nTo install the latest development snapshot (containing the current state of the master branch):\n\n```bash\nnpm install wdfn-viz@snapshot\n```\n\nThe main Sass stylesheet that should be imported into a web page's Sass file and is at /src/stylesheets/wdfnviz.scss.\nThis directory should be specified on the --include-path option when the site's Sass is built. This will also include\nthe USWDS style sheets so a separate import is not required. When building the style sheets the css should also be\nprocessed by postcss as follows:\n\n```\n% node-sass --include-path node_modules/wdfn-via/src/stylesheets src/styles.main.css dist/main.css\n% postcss dist/main.css --no-map --use autoprefixer -o dist/main.css\n```\n\nWhen building the assets, the images should be collected in a common directory and specified in the project's Sass\nfiles using the $image-path variable. This should include the images in src/img that provide the USGS favicon and\nlogos. If using USWDS images those will also need to be collected. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nBelow are examples of commands that could be used to collect the assets.\n```\n% mkdir -p dist/img && cp -r node_modules/uswds/src/img/* dist/img && cp -r node_modules/wdfn-viz/src/img/* dist/img\n% mkdir -p dist/fonts && cp node_modules/uswds/src/fonts/* dist/fonts\n```\n\nThe javascript can be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined.\n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos.\n\n## Publishing to npm\n\nTravisCI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when commits are made to the master branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://github.com/usgs/wdfn-viz/blob/master/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit.\n","readmeFilename":"README.md","_id":"wdfn-viz@0.1.11-snapshot.1b5a2c1","_npmVersion":"6.4.1","_nodeVersion":"10.15.1","_npmUser":{"name":"usgs-wma","email":"owi_delivery@usgs.gov"},"dist":{"integrity":"sha512-zO/gFhaWyWglllhTMGwPhHsLMB8IX8YpLyGtGh/3iMymSsAXhAYPIgCnGQLoE6XEPNSkft31cSDiQQgxgSdXCg==","shasum":"63b87cd62689f132feb2c59cf2d6c1add47f5555","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-0.1.11-snapshot.1b5a2c1.tgz","fileCount":524,"unpackedSize":8804482,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcUzVDCRA9TVsSAnZWagAAJzAP+wWtSoz6ol6WR/5a29+1\nJRThKFjSmwX7f9S8tWghUIZlfH4CQMaFyN2Qwi6yOkZXX/rCjXebb7fwdS0L\n1bHVsSggb2+ifWlWpcsqIduhdpc2bviXK2hsuotJdhI0RgN2Xh/a7B8PJP9a\n3NzU1E0lUWJqDJQnJ9i0VxZdOi1Ba2OYODgTTgh7gsc29DHFy8kGIX+pP+xK\nkKm1TLsCCOo2FRp7ipbEGw+2rFh5oP45fGRBqlYJzPpdphbkTpd7rX+virmd\nr2xFG8VKJqu89mdfrSbXmCth/gWer6J/Esu1BzWXxVtQoqKYh9AyJhPi/Z3Y\nASc7QrttZDnMvAuzERTnTwCWnJcklgzu09iq+IAhMdWF4J+K59Ek5ALQ7ypS\nC1aZ9BuqHjgStNQJx/a1tclzpVWOS43ElulxgUkLaLPgIaPcN1pOSXsHTkeE\nksBRhAxreo/kxgRuqLZciXwaYjXHtrhgcpOppSs7iLbaUPNyG4IqKp2F06iI\nwhvgu1wr9f8A5auTbuLePerKVnvxkeCga01pQ9+Oxhl6zOzhuGVOtFlvZzYe\n32XtbOmUEvOkoTFdC3GnpCKDJmeLRJs60hOjuL89Hym3ld2QNg2/woEPGBOL\nVmueqJrVSZHitotIV6wwC8Z9tb0SPAP2f3BKhd86Qa8905Ve6D7FMS7Kqu2a\nG8WZ\r\n=pgwc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB11OU39joXCgLgnHYkwGPq4dXPptDfwW8rF5pMLyWR+AiEA2v198eZIpEEm1POBjCalcooJKARMLRRAG3RV3Jgl7JM="}]},"maintainers":[{"email":"dnaab@contractor.usgs.gov","name":"danielnaab-usgs"},{"email":"drsteini@contractor.usgs.gov","name":"drsteini-usgs"},{"email":"mbucknell@usgs.gov","name":"mbucknell-usgs"},{"email":"owi_delivery@usgs.gov","name":"usgs-wma"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_0.1.11-snapshot.1b5a2c1_1548956994464_0.6158771634074549"},"_hasShrinkwrap":false},"0.1.11-snapshot.7226d17":{"name":"wdfn-viz","version":"0.1.11-snapshot.7226d17","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"node-sass --include-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist --unsafe index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","clean":"rm -rf dist && mkdir dist","prepublish":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"karma start","test:watch":"karma start --debug --no-single-run --browsers Chrome","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist --unsafe index.html\"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://github.com/usgs/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://github.com/usgs/wdfn-viz/issues"},"homepage":"https://github.com/usgs/wdfn-viz","engines":{"node":">= 8"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"^2.0.0-beta.4"},"devDependencies":{"ajv":"^6.5.4","codacy-coverage":"^3.4.0","css-mqpacker":"^7.0.0","cssnano":"^4.1.8","eslint":"^5.12.0","eslint-plugin-jasmine":"^2.10.1","jasmine-core":"^3.2.1","karma":"^4.0.0","karma-chrome-launcher":"^2.2.0","karma-firefox-launcher":"^1.1.0","karma-jasmine":"^2.0.1","karma-js-coverage":"^0.4.0","karma-rollup-preprocessor":"^6.1.2","live-server":"^1.2.1","node-sass":"^4.10.0","nodemon":"^1.18.4","npm-run-all":"^4.1.3","nunjucks":"^3.1.3","nunjucks-cli":"^0.5.1","postcss-cli":"^6.1.1","postcss-flexbugs-fixes":"^4.1.0","rollup":"^0.68.2","rollup-plugin-buble":"^0.19.4","rollup-plugin-commonjs":"^9.2.0","rollup-plugin-istanbul":"^2.0.1","rollup-plugin-node-resolve":"^4.0.0","stylelint":"^9.6.0","stylelint-config-recommended-scss":"^3.2.0","stylelint-scss":"^3.5.1"},"gitHead":"7226d17eb0a58ed972bf2023fbfe032b81120207","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![Build Status](https://travis-ci.org/usgs/wdfn-viz.svg?branch=master)](https://travis-ci.org/usgs/wdfn-viz)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/6faaca8b97f34929b141c4444d919e4e)](https://www.codacy.com/app/usgs_wma_dev/wdfn-viz?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=usgs/wdfn-viz&amp;utm_campaign=Badge_Grade)\n\nProvides Sass stylesheets and images that can be used when creating web pages that need to\nmeet USGS visual identity standards. The stylesheets use USWDS (https://designsystem.digital.gov/)\nas the basis so all USWDS components are available.\n\n## Usage\n\nThe repo can be installed in an existing project by installing via npm.\n\n```bash\nnpm install wdfn-viz\n```\n\nTo install the latest development snapshot (containing the current state of the master branch):\n\n```bash\nnpm install wdfn-viz@snapshot\n```\n\nThe main Sass stylesheet that should be imported into a web page's Sass file and is at /src/stylesheets/wdfnviz.scss.\nThis directory should be specified on the --include-path option when the site's Sass is built. This will also include\nthe USWDS style sheets so a separate import is not required. When building the style sheets the css should also be\nprocessed by postcss as follows:\n\n```\n% node-sass --include-path node_modules/wdfn-via/src/stylesheets src/styles.main.css dist/main.css\n% postcss dist/main.css --no-map --use autoprefixer -o dist/main.css\n```\n\nWhen building the assets, the images should be collected in a common directory and specified in the project's Sass\nfiles using the $image-path variable. This should include the images in src/img that provide the USGS favicon and\nlogos. If using USWDS images those will also need to be collected. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nBelow are examples of commands that could be used to collect the assets.\n```\n% mkdir -p dist/img && cp -r node_modules/uswds/src/img/* dist/img && cp -r node_modules/wdfn-viz/src/img/* dist/img\n% mkdir -p dist/fonts && cp node_modules/uswds/src/fonts/* dist/fonts\n```\n\nThe javascript can be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined.\n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos.\n\n## Publishing to npm\n\nTravisCI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when commits are made to the master branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://github.com/usgs/wdfn-viz/blob/master/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit.\n","readmeFilename":"README.md","_id":"wdfn-viz@0.1.11-snapshot.7226d17","_npmVersion":"6.4.1","_nodeVersion":"10.15.1","_npmUser":{"name":"usgs-wma","email":"owi_delivery@usgs.gov"},"dist":{"integrity":"sha512-3/JGC50rRZXDSWD5sWHXsKULd82HmNLxcafkBKdF72T6+Z88nrLfIgg64mdnD2GUi87NG2+NacC2d7LSnJCPtg==","shasum":"e7ecc818a20a940820c4caf12f357dd05877515d","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-0.1.11-snapshot.7226d17.tgz","fileCount":524,"unpackedSize":8804482,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcU1B6CRA9TVsSAnZWagAAeDsQAJrpKxZ10kOb7AQiwCpq\noU022IO0bIiEBt7mb0BzP/itGCM87LOKY0rM4EU3rgS2vw1hJ50ugSVACS9j\nTp+dFYKyuRyiwen8FxU6hiGhIvZdYgeOArtqVIFtce1vdfT5Gks83nK/Kees\nrGoDAYYP/BdolA8T3BBWFr73UB5VNYLTNxaajcrvk1lxoXEP5sXFhtKo4BoG\nb8GgNdxG5gML6rgJtz0zrK+pA+bkoBG6m7HlkgJMLeNTkYfK1mYfn1x+otul\nRZQUojQr/mh8hUBYKleRI9vWObiMw0zb6iglqdCkx3zbMEpPAfI2J6sZNFqw\nZJVqTbNyBZRn8PjDHLPxbc/RdYsX8/e9y2kwk3Fg+Pew0SLq0KSb4rpwxrFy\nO0zU8S/pmH6S15MxZDnj30dr5MAwWg1+mFEN8JKUEkzWI4VZ0RPPPiBlJ5Ls\nDDyoHl9ZU3yS2y22wfuGQ4uwY8hCJXd2OUSiHL+RXdjcULv+Sy34S/QKPMfR\nOPa+vZDkBF+xJiBnMpfmxRm9G5ZEUSDOR4HztTLUBRewSUGgxqk5s/efsKkg\nUQVHynhqfPIjocQbiWRK6whxrdj2Lg2q466hGLYVcYthAmfIPHwbYHoHxcnf\nFwKV/d2KvXqCQEgoVNmg5dnZUpV0KnP7FfSWOFTCb/ad1/XpHwZusggsy2gN\nmkIc\r\n=HLBb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH5cRNYM+TdpTieigmJgY7wLz8qOHWH33ze/+UsnQvkDAiEA2HWpgCZKdmkGAQGICh4/Mf6S8OYOnn4xAC/mmQk4iVs="}]},"maintainers":[{"email":"dnaab@contractor.usgs.gov","name":"danielnaab-usgs"},{"email":"drsteini@contractor.usgs.gov","name":"drsteini-usgs"},{"email":"mbucknell@usgs.gov","name":"mbucknell-usgs"},{"email":"owi_delivery@usgs.gov","name":"usgs-wma"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_0.1.11-snapshot.7226d17_1548963961832_0.024332832627725454"},"_hasShrinkwrap":false},"0.1.11-snapshot.f02cb8e":{"name":"wdfn-viz","version":"0.1.11-snapshot.f02cb8e","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"node-sass --include-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist --unsafe index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","clean":"rm -rf dist && mkdir dist","prepublish":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"karma start","test:watch":"karma start --debug --no-single-run --browsers Chrome","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist --unsafe index.html\"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://github.com/usgs/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://github.com/usgs/wdfn-viz/issues"},"homepage":"https://github.com/usgs/wdfn-viz","engines":{"node":">= 8"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"^2.0.0-beta.4"},"devDependencies":{"ajv":"^6.9.1","codacy-coverage":"^3.4.0","css-mqpacker":"^7.0.0","cssnano":"^4.1.8","eslint":"^5.13.0","eslint-plugin-jasmine":"^2.10.1","jasmine-core":"^3.2.1","karma":"^4.0.0","karma-chrome-launcher":"^2.2.0","karma-firefox-launcher":"^1.1.0","karma-jasmine":"^2.0.1","karma-js-coverage":"^0.4.0","karma-rollup-preprocessor":"^7.0.0","live-server":"^1.2.1","node-sass":"^4.10.0","nodemon":"^1.18.10","npm-run-all":"^4.1.3","nunjucks":"^3.1.7","nunjucks-cli":"^0.5.1","postcss-cli":"^6.1.1","postcss-flexbugs-fixes":"^4.1.0","rollup":"^1.1.2","rollup-plugin-buble":"^0.19.4","rollup-plugin-commonjs":"^9.2.0","rollup-plugin-istanbul":"^2.0.1","rollup-plugin-node-resolve":"^4.0.0","stylelint":"^9.10.1","stylelint-config-recommended-scss":"^3.2.0","stylelint-scss":"^3.5.3"},"gitHead":"f02cb8e4a750c8cbd90f4e6c40a172982657b5a9","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![Build Status](https://travis-ci.org/usgs/wdfn-viz.svg?branch=master)](https://travis-ci.org/usgs/wdfn-viz)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/6faaca8b97f34929b141c4444d919e4e)](https://www.codacy.com/app/usgs_wma_dev/wdfn-viz?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=usgs/wdfn-viz&amp;utm_campaign=Badge_Grade)\n\nProvides Sass stylesheets and images that can be used when creating web pages that need to\nmeet USGS visual identity standards. The stylesheets use USWDS (https://designsystem.digital.gov/)\nas the basis so all USWDS components are available.\n\n## Usage\n\nThe repo can be installed in an existing project by installing via npm.\n\n```bash\nnpm install wdfn-viz\n```\n\nTo install the latest development snapshot (containing the current state of the master branch):\n\n```bash\nnpm install wdfn-viz@snapshot\n```\n\nThe main Sass stylesheet that should be imported into a web page's Sass file and is at /src/stylesheets/wdfnviz.scss.\nThis directory should be specified on the --include-path option when the site's Sass is built. This will also include\nthe USWDS style sheets so a separate import is not required. When building the style sheets the css should also be\nprocessed by postcss as follows:\n\n```\n% node-sass --include-path node_modules/wdfn-via/src/stylesheets src/styles.main.css dist/main.css\n% postcss dist/main.css --no-map --use autoprefixer -o dist/main.css\n```\n\nWhen building the assets, the images should be collected in a common directory and specified in the project's Sass\nfiles using the $image-path variable. This should include the images in src/img that provide the USGS favicon and\nlogos. If using USWDS images those will also need to be collected. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nBelow are examples of commands that could be used to collect the assets.\n```\n% mkdir -p dist/img && cp -r node_modules/uswds/src/img/* dist/img && cp -r node_modules/wdfn-viz/src/img/* dist/img\n% mkdir -p dist/fonts && cp node_modules/uswds/src/fonts/* dist/fonts\n```\n\nThe javascript can be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined.\n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos.\n\n## Publishing to npm\n\nTravisCI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when commits are made to the master branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://github.com/usgs/wdfn-viz/blob/master/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit.\n","readmeFilename":"README.md","_id":"wdfn-viz@0.1.11-snapshot.f02cb8e","_npmVersion":"6.4.1","_nodeVersion":"10.15.1","_npmUser":{"name":"usgs-wma","email":"owi_delivery@usgs.gov"},"dist":{"integrity":"sha512-GqbAjc62/9L0ETSRcO9WIlkv+AknEkzZQHRDuU5w9CFK+TXV4/AZsEkcgqm4KPq4w8cCTA/BHyHkNLcBxsKreQ==","shasum":"c107a476324834269d2a2a2024738ca0c9cdfc78","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-0.1.11-snapshot.f02cb8e.tgz","fileCount":524,"unpackedSize":8804483,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcZvVICRA9TVsSAnZWagAA1X8P/2H1gtXRy0mUaQQEkmsr\nTZ+LhJFM9TRTU3ZrnK+gM5bvJkItn6JFU6ZUhymxgp3vPEXZZXgGi058ieo3\nTPknYRmaUCdwzc3RjBHtgvLfKC+R0zOU07XARhlONk5gZA1FwZTsNBdCVL/G\nDwnhKhIvThJgAxDBb5qNqURlfxL+h6wvcVICatmxAx8qiIN6WdFsX6/xYdB+\nOMUiXr50bOuKupYSaVGrEzQN2XcPjTvnn0CTjZ4bY2lN4bYXqqUIwJ6BgHmT\nsZgO1uLCA44yVSUqaBZAHkW8se6z4lSl27oSsmwShElgsdetMW6w726L6Wxk\ntiBTdXVmgFzNn9oEm84ByjWLjbG+wE2o7vqbozDRGTlIoen/VJ2Ztlk8Cug7\neX4g+tNmc2ELp/0CmnlWTxIa+tgt/Mvk9w3iz2NI8PAT8t5QMELogwikA00C\nYMgK7vVtOdgGllPFiTu6fHmNmB47PpejK9BXBTGFCvrbyaChKMW45eXSgAdi\ns9dz/IEuPhRcobkxDkowOTWFlqmOd9Ay7gMTxMMAFGbMeNn1NDBPgZt6x3X/\n7KOCGXyWVZjHzTBXc3kHxnxcOE+u96QzvDiBUgujXBJ90f/A1FqcA1fAy0KA\nyjIPmL3Xf3DmZEFS0np8hLT/ITPays+6P3stKCZ+QlNO2ahJ/pwTnXDSxGNI\n3RNK\r\n=oX4D\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDhE8ye18N9XipV03inEquOlcZImgvfWY4voUPI5LdzkgIge+QTjZKnnMMzvgNQ4aALceOpoUErzkqg5352DM2fEbU="}]},"maintainers":[{"email":"dnaab@contractor.usgs.gov","name":"danielnaab-usgs"},{"email":"drsteini@contractor.usgs.gov","name":"drsteini-usgs"},{"email":"mbucknell@usgs.gov","name":"mbucknell-usgs"},{"email":"owi_delivery@usgs.gov","name":"usgs-wma"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_0.1.11-snapshot.f02cb8e_1550251335087_0.05978805201239168"},"_hasShrinkwrap":false},"0.1.11-snapshot.ede975b":{"name":"wdfn-viz","version":"0.1.11-snapshot.ede975b","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"node-sass --include-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist --unsafe index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","clean":"rm -rf dist && mkdir dist","prepublish":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"karma start","test:watch":"karma start --debug --no-single-run --browsers Chrome","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist --unsafe index.html\"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://github.com/usgs/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://github.com/usgs/wdfn-viz/issues"},"homepage":"https://github.com/usgs/wdfn-viz","engines":{"node":">= 8"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"^2.0.0-beta.5"},"devDependencies":{"ajv":"^6.9.2","codacy-coverage":"^3.4.0","css-mqpacker":"^7.0.0","cssnano":"^4.1.10","eslint":"^5.14.1","eslint-plugin-jasmine":"^2.10.1","jasmine-core":"^3.2.1","karma":"^4.0.0","karma-chrome-launcher":"^2.2.0","karma-firefox-launcher":"^1.1.0","karma-jasmine":"^2.0.1","karma-js-coverage":"^0.4.0","karma-rollup-preprocessor":"^7.0.0","live-server":"^1.2.1","node-sass":"^4.10.0","nodemon":"^1.18.10","npm-run-all":"^4.1.3","nunjucks":"^3.1.7","nunjucks-cli":"^0.5.1","postcss-cli":"^6.1.2","postcss-flexbugs-fixes":"^4.1.0","rollup":"^1.2.3","rollup-plugin-buble":"^0.19.4","rollup-plugin-commonjs":"^9.2.1","rollup-plugin-istanbul":"^2.0.1","rollup-plugin-node-resolve":"^4.0.1","stylelint":"^9.10.1","stylelint-config-recommended-scss":"^3.2.0","stylelint-scss":"^3.5.4"},"gitHead":"ede975b0496c36fa93e6e07ca47dbf66ccafdcc1","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![Build Status](https://travis-ci.org/usgs/wdfn-viz.svg?branch=master)](https://travis-ci.org/usgs/wdfn-viz)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/6faaca8b97f34929b141c4444d919e4e)](https://www.codacy.com/app/usgs_wma_dev/wdfn-viz?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=usgs/wdfn-viz&amp;utm_campaign=Badge_Grade)\n\nProvides Sass stylesheets and images that can be used when creating web pages that need to\nmeet USGS visual identity standards. The stylesheets use USWDS (https://designsystem.digital.gov/)\nas the basis so all USWDS components are available.\n\n## Usage\n\nThe repo can be installed in an existing project by installing via npm.\n\n```bash\nnpm install wdfn-viz\n```\n\nTo install the latest development snapshot (containing the current state of the master branch):\n\n```bash\nnpm install wdfn-viz@snapshot\n```\n\nThe main Sass stylesheet that should be imported into a web page's Sass file and is at /src/stylesheets/wdfnviz.scss.\nThis directory should be specified on the --include-path option when the site's Sass is built. This will also include\nthe USWDS style sheets so a separate import is not required. When building the style sheets the css should also be\nprocessed by postcss as follows:\n\n```\n% node-sass --include-path node_modules/wdfn-via/src/stylesheets src/styles.main.css dist/main.css\n% postcss dist/main.css --no-map --use autoprefixer -o dist/main.css\n```\n\nWhen building the assets, the images should be collected in a common directory and specified in the project's Sass\nfiles using the $image-path variable. This should include the images in src/img that provide the USGS favicon and\nlogos. If using USWDS images those will also need to be collected. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nBelow are examples of commands that could be used to collect the assets.\n```\n% mkdir -p dist/img && cp -r node_modules/uswds/src/img/* dist/img && cp -r node_modules/wdfn-viz/src/img/* dist/img\n% mkdir -p dist/fonts && cp node_modules/uswds/src/fonts/* dist/fonts\n```\n\nThe javascript can be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined.\n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos.\n\n## Publishing to npm\n\nTravisCI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when commits are made to the master branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://github.com/usgs/wdfn-viz/blob/master/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit.\n","readmeFilename":"README.md","_id":"wdfn-viz@0.1.11-snapshot.ede975b","_npmVersion":"6.4.1","_nodeVersion":"10.15.1","_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"dist":{"integrity":"sha512-iIC+ZfwMNUr6fK12rhytB6JtXEnRJhPQiBbg/atyzgd109Dxik/NVVuye+33SEhMd8iJdRMo3Mnc8KKsA9ndFg==","shasum":"93c3e1a12e8fe5de3729f1692c165bd23edc91a1","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-0.1.11-snapshot.ede975b.tgz","fileCount":528,"unpackedSize":8808846,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcdbB0CRA9TVsSAnZWagAAtJcP+weFsZPEQ1kqGzY2onpq\nL4dhaHt1M243VNzolGdrl5JNoC0rPCqzJNolueroelhrk2GI/DDjFfspVz4Q\nKMG3fTR1EL4Rc6qHTci5TsuzolaiDdGC1YKxkcGHbk868A3jHjQsCC7WIOyF\nFpa26Kcq6+ajKn266I4ugRXNWyV5MCJ25wuWIOCHEqmVKmjkk++B94WNu8Sz\n3w523lFnxUzpuvX63DFKi+md/eIL1fWvM2E/m6Lu3ZXbTPVJ6hZIuOv340GF\nkgb++0hKiyreFFAXuxsS6CPXrHUk7STXvG0OtL8ubZygxMuL18G4teI9BCZY\n8bojmWT2NCFM0I/SqmHqKqE3l47f1uFSWwZ3zQnoGB02iDeVSTXMIsyYzsPr\nGVrbT6R7xvlx1Wa0Dw1mbMUUxp/nDC8/PZYtxV++7QerBypEIWewSI4lqtlQ\nBmhN0EE0Q0czcBKFg4vskkG1IhLBiHH6RO9jp4N6hE7fmpQYp5aeuh9G9KUe\nKuXWZNWj8aSa7pkUDO/L7mYMfNZY25i/pGYHsvOklI5/IaCZGixG+Aingq5O\nwiY5TRKxBmtrAWn4RZyd9ekuOpUI5qiHyaRdJTvjah0Z+kbHAbHocf68ea0j\nhxtP/DMCGSc4MolUyjRHQF0/TD7bl6ke3ZPAn/Rs1WcWBK4IXMgfjtBnrdCZ\nZRvR\r\n=kEiv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDAVzc2Zwx2ypq2qVr0uVRZt9S58nqqftYlB4VpwGMobgIgGcFHUH9jCLJbcwD0222THG13gNCc6Z+/8bcX4e75C2Q="}]},"maintainers":[{"email":"dnaab@contractor.usgs.gov","name":"danielnaab-usgs"},{"email":"drsteini@contractor.usgs.gov","name":"drsteini-usgs"},{"email":"mbucknell@usgs.gov","name":"mbucknell-usgs"},{"email":"owi_delivery@usgs.gov","name":"usgs-wma"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_0.1.11-snapshot.ede975b_1551216756178_0.8400175262566982"},"_hasShrinkwrap":false},"0.1.11-snapshot.7240d32":{"name":"wdfn-viz","version":"0.1.11-snapshot.7240d32","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"node-sass --include-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist --unsafe index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","clean":"rm -rf dist && mkdir dist","prepublish":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"karma start","test:watch":"karma start --debug --no-single-run --browsers Chrome","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist --unsafe index.html\"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://github.com/usgs/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://github.com/usgs/wdfn-viz/issues"},"homepage":"https://github.com/usgs/wdfn-viz","engines":{"node":">= 8"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"^2.0.0-beta.5"},"devDependencies":{"ajv":"^6.9.2","codacy-coverage":"^3.4.0","css-mqpacker":"^7.0.0","cssnano":"^4.1.10","eslint":"^5.14.1","eslint-plugin-jasmine":"^2.10.1","jasmine-core":"^3.2.1","karma":"^4.0.0","karma-chrome-launcher":"^2.2.0","karma-firefox-launcher":"^1.1.0","karma-jasmine":"^2.0.1","karma-js-coverage":"^0.4.0","karma-rollup-preprocessor":"^7.0.0","live-server":"^1.2.1","node-sass":"^4.10.0","nodemon":"^1.18.10","npm-run-all":"^4.1.3","nunjucks":"^3.1.7","nunjucks-cli":"^0.5.1","postcss-cli":"^6.1.2","postcss-flexbugs-fixes":"^4.1.0","rollup":"^1.2.3","rollup-plugin-buble":"^0.19.4","rollup-plugin-commonjs":"^9.2.1","rollup-plugin-istanbul":"^2.0.1","rollup-plugin-node-resolve":"^4.0.1","stylelint":"^9.10.1","stylelint-config-recommended-scss":"^3.2.0","stylelint-scss":"^3.5.4"},"gitHead":"7240d32c8344f3f6b91041645ed9e494f728990c","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![Build Status](https://travis-ci.org/usgs/wdfn-viz.svg?branch=master)](https://travis-ci.org/usgs/wdfn-viz)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/6faaca8b97f34929b141c4444d919e4e)](https://www.codacy.com/app/usgs_wma_dev/wdfn-viz?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=usgs/wdfn-viz&amp;utm_campaign=Badge_Grade)\n\nProvides Sass stylesheets and images that can be used when creating web pages that need to\nmeet USGS visual identity standards. The stylesheets use USWDS (https://designsystem.digital.gov/)\nas the basis so all USWDS components are available.\n\n## Usage\n\nThe repo can be installed in an existing project by installing via npm.\n\n```bash\nnpm install wdfn-viz\n```\n\nTo install the latest development snapshot (containing the current state of the master branch):\n\n```bash\nnpm install wdfn-viz@snapshot\n```\n\nThe main Sass stylesheet that should be imported into a web page's Sass file and is at /src/stylesheets/wdfnviz.scss.\nThis directory should be specified on the --include-path option when the site's Sass is built. This will also include\nthe USWDS style sheets so a separate import is not required. When building the style sheets the css should also be\nprocessed by postcss as follows:\n\n```\n% node-sass --include-path node_modules/wdfn-via/src/stylesheets src/styles.main.css dist/main.css\n% postcss dist/main.css --no-map --use autoprefixer -o dist/main.css\n```\n\nWhen building the assets, the images should be collected in a common directory and specified in the project's Sass\nfiles using the $image-path variable. This should include the images in src/img that provide the USGS favicon and\nlogos. If using USWDS images those will also need to be collected. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nBelow are examples of commands that could be used to collect the assets.\n```\n% mkdir -p dist/img && cp -r node_modules/uswds/src/img/* dist/img && cp -r node_modules/wdfn-viz/src/img/* dist/img\n% mkdir -p dist/fonts && cp node_modules/uswds/src/fonts/* dist/fonts\n```\n\nThe javascript can be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined.\n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos.\n\n## Publishing to npm\n\nTravisCI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when commits are made to the master branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://github.com/usgs/wdfn-viz/blob/master/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit.\n","readmeFilename":"README.md","_id":"wdfn-viz@0.1.11-snapshot.7240d32","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"dist":{"integrity":"sha512-3H3IlMp7qTrQWe7eoqCSMRPVm1VfX8o71qg9hd14zm9nya+AoWGRK7wZLhphezUlHVA+OATFrilpTZA5sGcVAw==","shasum":"3e806740bf0df7a9ddd33261c89ef5885a2cbb70","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-0.1.11-snapshot.7240d32.tgz","fileCount":528,"unpackedSize":8808887,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcgtkuCRA9TVsSAnZWagAAubQQAKR8IVaggIyxHqMihslL\nDWE/BRSyZuz9dMd9ou1v7UhlHEYmH5yWU26eTp8cHGsTX+eEK8wqk6HJCd1j\nCpx99c8zcja8du8QTNoXUqbyuLlMgMI3q23cti55hgdYbwCzqfMx7fvzqtur\nWGnN6WofZa9xzRRYfdOaDZa/+yyFVqd01t2XiJDjBGHtnS9zdY4UBLn3tHQB\nTdne6bqzIYO9vbYYabLSUA0hBDNrBQXKpZwsJEaqBshowqAf9qPwf8C6NeyN\nW/fpOsP9BxT7uBpj7UmTV7jmzPeKrVgtgdiqKDJDAnapTvFAeuHPrjkubUz+\nB9M99xcfcSUUjN07hROnBUNBU0M/MUykxzticJPRXzwliiXcNo3TbJm24dav\nBCy9Iu0LOF1W4hF8VHrIwI1tgnxDMzICdHZyg/gQAA12IbC+p2LSMqUbzb4i\nAzzhOmMl5QbXdFNrt6uMmR5iZxhXAcZrwE2KqBFM6x4F6tA0wBTMA8213ZU6\nhs9ivJpIuOGFaa2k0IYfFeV3Ten+TkyxbrwwF8BNt5wgZFYogtTnGr5VzMyU\nut9gXj9KY5GT6BenI7wZOTOWxrvrI2P0NiAryISsOL/y60v1Uq7XF1M+SPyj\n1+CexSBiMZhlKV1deZDCN8a9o5AajappWLH1iMYdw7rdF3xFwbsH40jN6/sS\ncBKH\r\n=JCKA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDTn41y8OH0kkzerlHejidqrBhGJ1q0ZcW7DTMuqdCzQAiEAhkiJSwS+eApWD59X84loX1713la3NQXCv8ur9FKmGNY="}]},"maintainers":[{"email":"dnaab@contractor.usgs.gov","name":"danielnaab-usgs"},{"email":"drsteini@contractor.usgs.gov","name":"drsteini-usgs"},{"email":"mbucknell@usgs.gov","name":"mbucknell-usgs"},{"email":"owi_delivery@usgs.gov","name":"usgs-wma"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_0.1.11-snapshot.7240d32_1552079149235_0.4514946009847802"},"_hasShrinkwrap":false},"0.1.11-snapshot.f7c0500":{"name":"wdfn-viz","version":"0.1.11-snapshot.f7c0500","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"node-sass --include-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist --unsafe index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","clean":"rm -rf dist && mkdir dist","prepublish":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"karma start","test:watch":"karma start --debug --no-single-run --browsers Chrome","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist --unsafe index.html\"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://github.com/usgs/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://github.com/usgs/wdfn-viz/issues"},"homepage":"https://github.com/usgs/wdfn-viz","engines":{"node":">= 8"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"^2.0.0-beta.5"},"devDependencies":{"ajv":"^6.9.2","codacy-coverage":"^3.4.0","css-mqpacker":"^7.0.0","cssnano":"^4.1.10","eslint":"^5.14.1","eslint-plugin-jasmine":"^2.10.1","jasmine-core":"^3.2.1","karma":"^4.0.0","karma-chrome-launcher":"^2.2.0","karma-firefox-launcher":"^1.1.0","karma-jasmine":"^2.0.1","karma-js-coverage":"^0.4.0","karma-rollup-preprocessor":"^7.0.0","live-server":"^1.2.1","node-sass":"^4.10.0","nodemon":"^1.18.10","npm-run-all":"^4.1.3","nunjucks":"^3.1.7","nunjucks-cli":"^0.5.1","postcss-cli":"^6.1.2","postcss-flexbugs-fixes":"^4.1.0","rollup":"^1.2.3","rollup-plugin-buble":"^0.19.4","rollup-plugin-commonjs":"^9.2.1","rollup-plugin-istanbul":"^2.0.1","rollup-plugin-node-resolve":"^4.0.1","stylelint":"^9.10.1","stylelint-config-recommended-scss":"^3.2.0","stylelint-scss":"^3.5.4"},"gitHead":"f7c050087e220d28358e649ad7371868b8d1c326","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![Build Status](https://travis-ci.org/usgs/wdfn-viz.svg?branch=master)](https://travis-ci.org/usgs/wdfn-viz)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/6faaca8b97f34929b141c4444d919e4e)](https://www.codacy.com/app/usgs_wma_dev/wdfn-viz?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=usgs/wdfn-viz&amp;utm_campaign=Badge_Grade)\n\nProvides Sass stylesheets and images that can be used when creating web pages that need to\nmeet USGS visual identity standards. The stylesheets use USWDS (https://designsystem.digital.gov/)\nas the basis so all USWDS components are available.\n\n## Usage\n\nThe repo can be installed in an existing project by installing via npm.\n\n```bash\nnpm install wdfn-viz\n```\n\nTo install the latest development snapshot (containing the current state of the master branch):\n\n```bash\nnpm install wdfn-viz@snapshot\n```\n\nThe main Sass stylesheet that should be imported into a web page's Sass file and is at /src/stylesheets/wdfnviz.scss.\nThis directory should be specified on the --include-path option when the site's Sass is built. This will also include\nthe USWDS style sheets so a separate import is not required. When building the style sheets the css should also be\nprocessed by postcss as follows:\n\n```\n% node-sass --include-path node_modules/wdfn-via/src/stylesheets src/styles.main.css dist/main.css\n% postcss dist/main.css --no-map --use autoprefixer -o dist/main.css\n```\n\nWhen building the assets, the images should be collected in a common directory and specified in the project's Sass\nfiles using the $image-path variable. This should include the images in src/img that provide the USGS favicon and\nlogos. If using USWDS images those will also need to be collected. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nBelow are examples of commands that could be used to collect the assets.\n```\n% mkdir -p dist/img && cp -r node_modules/uswds/src/img/* dist/img && cp -r node_modules/wdfn-viz/src/img/* dist/img\n% mkdir -p dist/fonts && cp node_modules/uswds/src/fonts/* dist/fonts\n```\n\nThe javascript can be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined.\n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos.\n\n## Publishing to npm\n\nTravisCI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when commits are made to the master branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://github.com/usgs/wdfn-viz/blob/master/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit.\n","readmeFilename":"README.md","_id":"wdfn-viz@0.1.11-snapshot.f7c0500","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"dist":{"integrity":"sha512-njW3y36QalMshzDeDIhGuxv+uBTr4lRiIFCW1HOHOmAfVQvRv719MP4M2rzYAW6PZrKF1SPu4eDunyrIeX1QMA==","shasum":"9e4b9f7b94331d14b56a93436bd05e74cc8a27e4","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-0.1.11-snapshot.f7c0500.tgz","fileCount":528,"unpackedSize":8808887,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcgt0aCRA9TVsSAnZWagAAjaIP/jBzQ7G4BX1Lax4y3Fb4\n3PS/uyMuEUihsLMgWV+B7aA8ie1b1aRp1e1XL4g8PHlZT7tSCcnBKbLNcT0g\nimrirqZhgfkc46aD6s0GNzSl2Yv7AOT2jM0dxWlNkkT7b8tw8XG3JJdn+IjE\nmnODkAi5JXE6YxuUfJNuE2nYOMPUIKLe1LQp258IB1mchP9qxmPcwACNyBI3\n4FFBMlJlXASTuwrPaQXvqEeuMSQeiQR0yjHShWj8n8L+tE15ePCFu+bg+gjO\nkod4g0+Ast5ITGPsdFcI3N/nnuPacOdinDr02isu6UMBsxZBzKNFzaZiN3y9\nMmp2eJgNO6kl7URWn1Xnf6750z6e6Cqpzf2l/e8VL79rVgKaq+qF5zLxkH88\nctuRpojhSFaI9DNh2QV6DOfl0Y4wn9gPZNesKTPj3rsyhLS/R8q5mVRUXs/t\n2BEFt/lInMACYlkSoR8XbTivm9TrPf0VL3a73hI11ht0cn2uuYEYBIr+jvvS\naaQ9h4o4hYoGZbTjAichsk71CVl8PLXCerg1Dfn6VBlVykryNYDFA97F9VX+\n4mQdh3/z8di9bn6jSxdGTTkmV4U9aC31n/3G0yMVIJfo0iB8evBBZEtIM83Z\nMpnzFvXRUm2gC09/nuseOyp4tsisZ2rbxDKJo0BN2YQELCL0tEOiMY6s6M/K\nApNK\r\n=wUHD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIArELXezCihma+HIaDktsJZF5xFG82dWgr7TR7x4m3tCAiAMY72SHWi+YwuRKPzgIFHYmufmeO9pDliEyo4uU7Hwtg=="}]},"maintainers":[{"email":"dnaab@contractor.usgs.gov","name":"danielnaab-usgs"},{"email":"drsteini@contractor.usgs.gov","name":"drsteini-usgs"},{"email":"mbucknell@usgs.gov","name":"mbucknell-usgs"},{"email":"owi_delivery@usgs.gov","name":"usgs-wma"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_0.1.11-snapshot.f7c0500_1552080153512_0.27645092545324346"},"_hasShrinkwrap":false},"1.0.0-snapshot.cbd739d":{"name":"wdfn-viz","version":"1.0.0-snapshot.cbd739d","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"node-sass --include-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist --unsafe index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","clean":"rm -rf dist && mkdir dist","prepublish":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"karma start","test:watch":"karma start --debug --no-single-run --browsers Chrome","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist --unsafe index.html\"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://github.com/usgs/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://github.com/usgs/wdfn-viz/issues"},"homepage":"https://github.com/usgs/wdfn-viz","engines":{"node":">= 8"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"^2.0.1"},"devDependencies":{"ajv":"^6.10.0","codacy-coverage":"^3.4.0","css-mqpacker":"^7.0.0","cssnano":"^4.1.10","eslint":"^5.16.0","eslint-plugin-jasmine":"^2.10.1","jasmine-core":"^3.4.0","karma":"^4.0.1","karma-chrome-launcher":"^2.2.0","karma-firefox-launcher":"^1.1.0","karma-jasmine":"^2.0.1","karma-js-coverage":"^0.4.0","karma-rollup-preprocessor":"^7.0.0","live-server":"^1.2.1","node-sass":"^4.10.0","nodemon":"^1.18.11","npm-run-all":"^4.1.3","nunjucks":"^3.2.0","nunjucks-cli":"^0.5.1","postcss-cli":"^6.1.2","postcss-flexbugs-fixes":"^4.1.0","rollup":"^1.10.0","rollup-plugin-buble":"^0.19.4","rollup-plugin-commonjs":"^9.3.4","rollup-plugin-istanbul":"^2.0.1","rollup-plugin-node-resolve":"^4.2.3","stylelint":"^9.10.1","stylelint-config-recommended-scss":"^3.2.0","stylelint-scss":"^3.5.4"},"gitHead":"cbd739dd231e98127849c21a118fa7c60536afb8","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![Build Status](https://travis-ci.org/usgs/wdfn-viz.svg?branch=master)](https://travis-ci.org/usgs/wdfn-viz)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/6faaca8b97f34929b141c4444d919e4e)](https://www.codacy.com/app/usgs_wma_dev/wdfn-viz?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=usgs/wdfn-viz&amp;utm_campaign=Badge_Grade)\n\nProvides Sass stylesheets and images that can be used when creating web pages that need to\nmeet USGS visual identity standards. The stylesheets use USWDS (https://designsystem.digital.gov/)\nas the basis so all USWDS components are available.\n\n## Usage\n\nThe repo can be installed in an existing project by installing via npm.\n\n```bash\nnpm install wdfn-viz\n```\n\nTo install the latest development snapshot (containing the current state of the master branch):\n\n```bash\nnpm install wdfn-viz@snapshot\n```\n\nThe main Sass stylesheet that should be imported into a web page's Sass file and is at /src/stylesheets/wdfnviz.scss.\nThis directory should be specified on the --include-path option when the site's Sass is built. This will also include\nthe USWDS style sheets so a separate import is not required. When building the style sheets the css should also be\nprocessed by postcss as follows:\n\n```\n% node-sass --include-path node_modules/wdfn-via/src/stylesheets src/styles.main.css dist/main.css\n% postcss dist/main.css --no-map --use autoprefixer -o dist/main.css\n```\n\nWhen building the assets, the images should be collected in a common directory and specified in the project's Sass\nfiles using the $image-path variable. This should include the images in src/img that provide the USGS favicon and\nlogos. If using USWDS images those will also need to be collected. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nBelow are examples of commands that could be used to collect the assets.\n```\n% mkdir -p dist/img && cp -r node_modules/uswds/src/img/* dist/img && cp -r node_modules/wdfn-viz/src/img/* dist/img\n% mkdir -p dist/fonts && cp node_modules/uswds/src/fonts/* dist/fonts\n```\n\nThe javascript can be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined.\n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos.\n\n## Publishing to npm\n\nTravisCI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when commits are made to the master branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://github.com/usgs/wdfn-viz/blob/master/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit.\n","readmeFilename":"README.md","_id":"wdfn-viz@1.0.0-snapshot.cbd739d","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"dist":{"integrity":"sha512-P92+n1PQoK8GjOAtF56Pv8/fBVIlJi94tjbwl/jxju2u7yBvo4xviejpC//+qPMSJGUZgn47vd+s6LILtZwWng==","shasum":"18034f409d9e44389513a5a578a8cb2b4b7a1e5d","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-1.0.0-snapshot.cbd739d.tgz","fileCount":483,"unpackedSize":7062615,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcueaECRA9TVsSAnZWagAANHIP/A+TGwJoUNqx3MMtPmkM\nXa12iYzkowJKr5jJ/AbOg2USsIT7qOWO+GPxziEG8rLJfLR3sB/dA6qM49Pq\n5v5LmC1iUkVNSfpXVdn7gRDQDon7PYmzNyQxtRus6dspFY1Hzzmq6G9RuPvN\nQbHgdzj+nFH4igg5J8HHeSmPOY9tshVMyEovvFu4sx7gbMQ/9KgPwaCYkuRV\nAYzI1KK5qse+Fl2s5EqmCC5eQhtFla9WVNrvbP+2tuKmewUn4H0Dqe6NwN+G\nKT1OP78yMNexR+aSaBzKz2LKvOCwz93Uz/2yA56XzN3ngL2xLgD32wND+g5o\nHKwoyZFa1DmFmDnG1uf0N1gzbnNMX/7W7qix59Fxgh60YCxzF0yW0k3rbFfh\n+SUOBGU1WPNbwq24HDHw9uQWwttB1xDsIBc+aoDkNhjhUKxPDWEGuxbz/8bw\n2bvwAoNPKWwMqZJ+E40fHnCqe9Sm9Vgc0mmSpTc0uQuDqtkq5AUc7u3mB71z\nc/VslKH80Xo1mKtXeBmvQ7cjeb3Mq8P5R2PYudMQxTEi+X+vvVwSyW3hfzRw\n7wpNlZJkIpUsQaIy4zumpli875fbYQMjqZmfRhCZZ6w+ROVh56F3RB9L8I7W\nBoc+s6zph1qISxGvUW84s5nz3Q4YZ0J3U+AbelLGB0nJwRr887gzyNjVDf16\nyeQn\r\n=A8C2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDxg6+NTvAeOH/Y30wioZ8SbpzKMyiVKbtdYkQRNld3ngIhAIXxv59wcS7PmaRWOuW7CM8a1o1SaZqh4xksrQyaPDGN"}]},"maintainers":[{"email":"dnaab@contractor.usgs.gov","name":"danielnaab-usgs"},{"email":"drsteini@contractor.usgs.gov","name":"drsteini-usgs"},{"email":"mbucknell@usgs.gov","name":"mbucknell-usgs"},{"email":"owi_delivery@usgs.gov","name":"usgs-wma"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_1.0.0-snapshot.cbd739d_1555687043990_0.6650166615321806"},"_hasShrinkwrap":false},"1.0.0-snapshot.b3ef411":{"name":"wdfn-viz","version":"1.0.0-snapshot.b3ef411","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"node-sass --include-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist --unsafe index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","clean":"rm -rf dist && mkdir dist","prepublish":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"karma start","test:watch":"karma start --debug --no-single-run --browsers Chrome","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist --unsafe index.html\"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://github.com/usgs/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://github.com/usgs/wdfn-viz/issues"},"homepage":"https://github.com/usgs/wdfn-viz","engines":{"node":">= 8"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"^2.0.1"},"devDependencies":{"ajv":"^6.10.0","codacy-coverage":"^3.4.0","css-mqpacker":"^7.0.0","cssnano":"^4.1.10","eslint":"^5.16.0","eslint-plugin-jasmine":"^2.10.1","jasmine-core":"^3.4.0","karma":"^4.0.1","karma-chrome-launcher":"^2.2.0","karma-firefox-launcher":"^1.1.0","karma-jasmine":"^2.0.1","karma-js-coverage":"^0.4.0","karma-rollup-preprocessor":"^7.0.0","live-server":"^1.2.1","node-sass":"^4.10.0","nodemon":"^1.18.11","npm-run-all":"^4.1.3","nunjucks":"^3.2.0","nunjucks-cli":"^0.5.1","postcss-cli":"^6.1.2","postcss-flexbugs-fixes":"^4.1.0","rollup":"^1.10.0","rollup-plugin-buble":"^0.19.4","rollup-plugin-commonjs":"^9.3.4","rollup-plugin-istanbul":"^2.0.1","rollup-plugin-node-resolve":"^4.2.3","stylelint":"^9.10.1","stylelint-config-recommended-scss":"^3.2.0","stylelint-scss":"^3.5.4"},"gitHead":"b3ef4113857a7640252aeae5581725ed9aa07725","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![Build Status](https://travis-ci.org/usgs/wdfn-viz.svg?branch=master)](https://travis-ci.org/usgs/wdfn-viz)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/6faaca8b97f34929b141c4444d919e4e)](https://www.codacy.com/app/usgs_wma_dev/wdfn-viz?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=usgs/wdfn-viz&amp;utm_campaign=Badge_Grade)\n\nProvides Sass stylesheets and images that can be used when creating web pages that need to\nmeet USGS visual identity standards. The stylesheets use USWDS (https://designsystem.digital.gov/)\nas the basis so all USWDS components are available.\n\n## Usage\n\nThe repo can be installed in an existing project by installing via npm.\n\n```bash\nnpm install wdfn-viz\n```\n\nTo install the latest development snapshot (containing the current state of the master branch):\n\n```bash\nnpm install wdfn-viz@snapshot\n```\n\nThe main Sass stylesheet that should be imported into a web page's Sass file and is at /src/stylesheets/wdfnviz.scss.\nThis directory should be specified on the --include-path option when the site's Sass is built. This will also include\nthe USWDS style sheets so a separate import is not required. When building the style sheets the css should also be\nprocessed by postcss as follows:\n\n```\n% node-sass --include-path node_modules/wdfn-via/src/stylesheets src/styles.main.css dist/main.css\n% postcss dist/main.css --no-map --use autoprefixer -o dist/main.css\n```\n\nWhen building the assets, the images should be collected in a common directory and specified in the project's Sass\nfiles using the $image-path variable. This should include the images in src/img that provide the USGS favicon and\nlogos. If using USWDS images those will also need to be collected. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nBelow are examples of commands that could be used to collect the assets.\n```\n% mkdir -p dist/img && cp -r node_modules/uswds/src/img/* dist/img && cp -r node_modules/wdfn-viz/src/img/* dist/img\n% mkdir -p dist/fonts && cp node_modules/uswds/src/fonts/* dist/fonts\n```\n\nThe javascript can be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined.\n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos.\n\n## Publishing to npm\n\nTravisCI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when commits are made to the master branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://github.com/usgs/wdfn-viz/blob/master/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit.\n","readmeFilename":"README.md","_id":"wdfn-viz@1.0.0-snapshot.b3ef411","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"dist":{"integrity":"sha512-C9zyq6nOB7Qn+7XhWgnPWB0jkpEWdHxPz0/NJJOduJ9YLILktClecZEfOO4HtmCo0ikbwKTteqfOySGjk/he8A==","shasum":"35936dbc35ecf3b60815893f5900a3a5e0b63498","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-1.0.0-snapshot.b3ef411.tgz","fileCount":483,"unpackedSize":7062615,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc3YkfCRA9TVsSAnZWagAAHNQP/RaCtgxcvSejyZ8hySoG\nP7aHb0CEjvETz1elRZcJI8utDWcm5AnxKmnJXLvc7oKi4+e5ucbpdSDjuFNq\nAvkH0QAx6vYOqwFMsqwWixwtzztCl+1ehJk8qsIhzVF6srGyHDDVDsELPq0p\n0gtzqt35m1S8l7lQvjFzwXkHcMpLU1zJi/OwCAxHj4QKocnRkVBXNpV8f2lB\nDDldp2IXkw9J6OnPyIWT5W/BkLnmd9UZn6F2QHP28zQZCDSbNHJSodZBICf9\nuYGogPSxaDbsN+Awtf4QX7Abhu/dP0CX47x8mnNeUh2UOTUoiB9fWMQCLDx4\nXDCTUDDrNeJNLwPvcaFfIhu5yXUR9w+x/opnHfGWiKrrc1qogBOTOtyykitB\n9Uvw85Prr0fa+nWrkSyqEEMlhMwWwL89l95ICL0bWW5fIeIrjTnjYD1VJdiX\nXfLEe/wEzVOvAAo9YA4JscdDTW0QZjCqJzLIAwUSknUG1x2U9jA4oeSB9+P3\nuVRgb2MyMfObMq81tUnkk/lCraAgJ+G2ibuIML3vWb0vuxoNpNU7gnFdD6GX\n/yybTOmGXiLuthkctHv5nZQU1hBGsFRlRfLVpP18bcjnvtt3CNmBlTQFOBzQ\ntCTPkg+WW3plqvAKLJowgZSVAJpxa6DJNDr9JQxUIwlmO8qhomBEcv3VTkKn\n1IYh\r\n=B8qQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEeT06WIKZGFFwi1K2VD8Ry0S9+wy6ZHos2yumkQXYFkAiEA/hRopMcdwgl2w91HotVE0UiR4P1AORbQI2f2VjXo2AM="}]},"maintainers":[{"email":"dnaab@contractor.usgs.gov","name":"danielnaab-usgs"},{"email":"drsteini@contractor.usgs.gov","name":"drsteini-usgs"},{"email":"mbucknell@usgs.gov","name":"mbucknell-usgs"},{"email":"owi_delivery@usgs.gov","name":"usgs-wma"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_1.0.0-snapshot.b3ef411_1558022430430_0.8783084500207534"},"_hasShrinkwrap":false},"1.0.0":{"name":"wdfn-viz","version":"1.0.0","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"node-sass --include-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist --unsafe index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","clean":"rm -rf dist && mkdir dist","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"karma start","test:watch":"karma start --debug --no-single-run --browsers Chrome","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist --unsafe index.html\"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://github.com/usgs/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://github.com/usgs/wdfn-viz/issues"},"homepage":"https://github.com/usgs/wdfn-viz","engines":{"node":">= 8"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"^2.0.2"},"devDependencies":{"ajv":"^6.10.0","codacy-coverage":"^3.4.0","css-mqpacker":"^7.0.0","cssnano":"^4.1.10","eslint":"^5.16.0","eslint-plugin-jasmine":"^2.10.1","jasmine-core":"^3.4.0","karma":"^4.0.1","karma-chrome-launcher":"^2.2.0","karma-firefox-launcher":"^1.1.0","karma-jasmine":"^2.0.1","karma-js-coverage":"^0.4.0","karma-rollup-preprocessor":"^7.0.0","live-server":"^1.2.1","node-sass":"^4.12.0","nodemon":"^1.19.0","npm-run-all":"^4.1.3","nunjucks":"^3.2.0","nunjucks-cli":"^0.5.1","postcss-cli":"^6.1.2","postcss-flexbugs-fixes":"^4.1.0","rollup":"^1.11.3","rollup-plugin-buble":"^0.19.4","rollup-plugin-commonjs":"^9.3.4","rollup-plugin-istanbul":"^2.0.1","rollup-plugin-node-resolve":"^4.2.4","stylelint":"^9.10.1","stylelint-config-recommended-scss":"^3.3.0","stylelint-scss":"^3.6.1"},"gitHead":"c55b29bfc609b23ad6a9ec068cc6058a618b5b2c","_id":"wdfn-viz@1.0.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"dist":{"integrity":"sha512-/i0w1Zv0WXlUHGBjZa+/9X+AKEPPzeVEZeSZ2MSqoRVFNVDBnV765j9FhU/+kM1RY3gxgqJsSzO9EQAug18owg==","shasum":"4d68b8c82a7c3912df62ea5cdce68c60c3c9dd44","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-1.0.0.tgz","fileCount":483,"unpackedSize":7307613,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc3YtRCRA9TVsSAnZWagAAOFMP/0s8qfAQuHDVi/+KSAbj\n2unTPzCgxhl0SBZxEcZqMfrlAdcpOUCqtoKUjMwEBEl+DJkO7vcJPBFT0idZ\ngi8t5hQmJCiouuWCBEJvjLnqf9a4uk3EqI+LsDo9FQt+rPTRQFZsl6iSp7Pg\n5MQA578SZKolUs6aoFOHchwowyCaTxzaC3onNctIhM0fTHp7sIDmMLcTkh+J\n4pr/uamQwWkhbk2CP4gLPqg3CQv4ZtckEPBGKpA5aIbQMABaBU+wc8VRuAHH\nTetx1JSX5O//+ijVKEa66hQE6b+2VInF2E1rYIW/tX1w8fe9jJcx86dIKQaK\npZUMnc41+TNOiXeavLPyBVVVLXZ9iP9ePjkcbBIEKJAZiTQQK9T/m0hmGIHR\nuPEf2VPFod6BqbdKClKe6azJ1EqY74URUUvpoOUe56AC589C8yN/ss8n/Vru\nwiPcFAN0H/E9+4QlO0qx0+CQdbWfpu1MPdsGR/345CN0yvIFjhBReT4fI7wY\neXIiCtP2ve3gkzP0MfRXuwHarlu58rhTwetDq7BdW8BK1OKJ22kO6M3YZ9cO\nvNC15rIp56FggowfV/PtXY8qpxL5dR2RPID8JF2yyYroSLi2rZN8a5evyh5z\nxGzQT5QZGg0Wm7MIGxLpCV8GRG/bvG+2TWBadVKwrKUyBb5x0CDPYfyQYx1F\nZl9j\r\n=KCKd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAneXiuDbQpAm7iSy/Vd7dcgrzd6GvtXBFmSpkIVEwHnAiEA7NzEzSp/okgAA+tXVnVWmwRwPClfjqF7QP0Tdvj4mIc="}]},"maintainers":[{"email":"dnaab@contractor.usgs.gov","name":"danielnaab-usgs"},{"email":"drsteini@contractor.usgs.gov","name":"drsteini-usgs"},{"email":"mbucknell@usgs.gov","name":"mbucknell-usgs"},{"email":"owi_delivery@usgs.gov","name":"usgs-wma"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_1.0.0_1558022992350_0.8269424275075994"},"_hasShrinkwrap":false},"1.0.0-snapshot.a4ca982":{"name":"wdfn-viz","version":"1.0.0-snapshot.a4ca982","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"node-sass --include-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist --unsafe index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","clean":"rm -rf dist && mkdir dist","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"karma start","test:watch":"karma start --debug --no-single-run --browsers Chrome","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist --unsafe index.html\"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://github.com/usgs/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://github.com/usgs/wdfn-viz/issues"},"homepage":"https://github.com/usgs/wdfn-viz","engines":{"node":">= 8"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"^2.0.2"},"devDependencies":{"ajv":"^6.10.0","codacy-coverage":"^3.4.0","css-mqpacker":"^7.0.0","cssnano":"^4.1.10","eslint":"^5.16.0","eslint-plugin-jasmine":"^2.10.1","jasmine-core":"^3.4.0","karma":"^4.0.1","karma-chrome-launcher":"^2.2.0","karma-firefox-launcher":"^1.1.0","karma-jasmine":"^2.0.1","karma-js-coverage":"^0.4.0","karma-rollup-preprocessor":"^7.0.0","live-server":"^1.2.1","node-sass":"^4.12.0","nodemon":"^1.19.0","npm-run-all":"^4.1.3","nunjucks":"^3.2.0","nunjucks-cli":"^0.5.1","postcss-cli":"^6.1.2","postcss-flexbugs-fixes":"^4.1.0","rollup":"^1.12.3","rollup-plugin-buble":"^0.19.4","rollup-plugin-commonjs":"^10.0.0","rollup-plugin-istanbul":"^2.0.1","rollup-plugin-node-resolve":"^4.2.4","stylelint":"^10.0.1","stylelint-config-recommended-scss":"^3.3.0","stylelint-scss":"^3.6.1"},"gitHead":"a4ca98261158b60127625c6409b7e23568f8ebda","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![Build Status](https://travis-ci.org/usgs/wdfn-viz.svg?branch=master)](https://travis-ci.org/usgs/wdfn-viz)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/6faaca8b97f34929b141c4444d919e4e)](https://www.codacy.com/app/usgs_wma_dev/wdfn-viz?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=usgs/wdfn-viz&amp;utm_campaign=Badge_Grade)\n\nProvides Sass stylesheets and images that can be used when creating web pages that need to\nmeet USGS visual identity standards. The stylesheets use USWDS (https://designsystem.digital.gov/)\nas the basis so all USWDS components are available.\n\n## Usage\n\nThe repo can be installed in an existing project by installing via npm.\n\n```bash\nnpm install wdfn-viz\n```\n\nTo install the latest development snapshot (containing the current state of the master branch):\n\n```bash\nnpm install wdfn-viz@snapshot\n```\n\nThe main Sass stylesheet that should be imported into a web page's Sass file and is at /src/stylesheets/wdfnviz.scss.\nThis directory should be specified on the --include-path option when the site's Sass is built. This will also include\nthe USWDS style sheets so a separate import is not required. When building the style sheets the css should also be\nprocessed by postcss as follows:\n\n```\n% node-sass --include-path node_modules/wdfn-via/src/stylesheets src/styles.main.css dist/main.css\n% postcss dist/main.css --no-map --use autoprefixer -o dist/main.css\n```\n\nWhen building the assets, the images should be collected in a common directory and specified in the project's Sass\nfiles using the $image-path variable. This should include the images in src/img that provide the USGS favicon and\nlogos. If using USWDS images those will also need to be collected. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nBelow are examples of commands that could be used to collect the assets.\n```\n% mkdir -p dist/img && cp -r node_modules/uswds/src/img/* dist/img && cp -r node_modules/wdfn-viz/src/img/* dist/img\n% mkdir -p dist/fonts && cp node_modules/uswds/src/fonts/* dist/fonts\n```\n\nThe javascript can be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined.\n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos.\n\n## Publishing to npm\n\nTravisCI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when commits are made to the master branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://github.com/usgs/wdfn-viz/blob/master/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit.\n","readmeFilename":"README.md","_id":"wdfn-viz@1.0.0-snapshot.a4ca982","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"dist":{"integrity":"sha512-hRMYZxJ9taJCib4Xwyy5FzDGOA/ylChWujsk1nNJeN+r91KnJywpA4kklEElxeAUmP5q/o6/tjBB8d9EZ9lpXg==","shasum":"ffb9ad3fa8feeeb98060287d37a39febcc8e747f","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-1.0.0-snapshot.a4ca982.tgz","fileCount":483,"unpackedSize":7307631,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc4w4uCRA9TVsSAnZWagAAN3kP/ja+x1vmNeiVBH5XIdKC\nHGz/CYABRJlvJalaSSCxpdDUZy5MZGySRq905aDF99ULo3Wig3yUkN0d9tOF\niSju2Y2+TfStwy0C4ijObk04pOGJWhDLCjqrZQ9vQ9j3Uu4I/XBqC9d8DS5y\nBtT6hplf5MNkuQPF3gpLvtHAEQPug/YEyMCw2zR+UHWSpr/E9p1orkvQd/Ev\ne5zUMrPcloPMFmrI9tZmKGZvernr7w2Buy/43H0PzWxJVD3btvB0jZys1uiL\n1Gxfd4AdJLzMHJ92EehZ7Xa9N2F9JHHtttjzghRuUjc008vC1xOCQBMpVoHq\ntf+KW6hJRlxczh6Wv+g71sdwKhIhWFhiFU34regVSTgN7yBM9zeBn+jq8IyJ\nHJsvPLYY/CTpj5rPGm3jFOyWlYG7881r9ml5Gatdpa4o1017wgwi6roclPiA\nrdtT/BoNeTJ5u50nCuwpOKt+1LvCp+LZUmJtXfMLJLRtuwDIsFygmmnRScRh\nRJlCNN49OFUymogDo4YnymENjnQ5V1vG4WyMokefQRU2kptqaTUfY03KDkFk\nrTiK/B70fbmki0aALx74lAPWNSC7VGb7kGBS5bxYu/eKMCCRgwMa2s+drHtA\nhmjAMaAnt7a8eLqxGgMIKVFfoaH/JM1foemYgoWwHUMUa3XVbVd2K8vK6a02\nna26\r\n=tdOs\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC2L+J5oEgp7bPmagqB8WqxKtvsxss1EULr7PTDItPOpgIhAI+M31WzkW04BXY2VrAgaVJzVGce+P8yU9X17edM2RnZ"}]},"maintainers":[{"email":"dnaab@contractor.usgs.gov","name":"danielnaab-usgs"},{"email":"drsteini@contractor.usgs.gov","name":"drsteini-usgs"},{"email":"mbucknell@usgs.gov","name":"mbucknell-usgs"},{"email":"owi_delivery@usgs.gov","name":"usgs-wma"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_1.0.0-snapshot.a4ca982_1558384173147_0.2120799414717287"},"_hasShrinkwrap":false},"1.0.0-snapshot.8e6538a":{"name":"wdfn-viz","version":"1.0.0-snapshot.8e6538a","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"node-sass --include-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist --unsafe index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","clean":"rm -rf dist && mkdir dist","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"karma start","test:watch":"karma start --debug --no-single-run --browsers Chrome","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist --unsafe index.html\"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://github.com/usgs/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://github.com/usgs/wdfn-viz/issues"},"homepage":"https://github.com/usgs/wdfn-viz","engines":{"node":">= 8"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"^2.0.2"},"devDependencies":{"ajv":"^6.10.0","codacy-coverage":"^3.4.0","css-mqpacker":"^7.0.0","cssnano":"^4.1.10","eslint":"^5.16.0","eslint-plugin-jasmine":"^2.10.1","jasmine-core":"^3.4.0","karma":"^4.0.1","karma-chrome-launcher":"^2.2.0","karma-firefox-launcher":"^1.1.0","karma-jasmine":"^2.0.1","karma-js-coverage":"^0.4.0","karma-rollup-preprocessor":"^7.0.0","live-server":"^1.2.1","node-sass":"^4.12.0","nodemon":"^1.19.0","npm-run-all":"^4.1.3","nunjucks":"^3.2.0","nunjucks-cli":"^0.5.1","postcss-cli":"^6.1.2","postcss-flexbugs-fixes":"^4.1.0","rollup":"^1.12.3","rollup-plugin-buble":"^0.19.4","rollup-plugin-commonjs":"^10.0.0","rollup-plugin-istanbul":"^2.0.1","rollup-plugin-node-resolve":"^4.2.4","stylelint":"^10.0.1","stylelint-config-recommended-scss":"^3.3.0","stylelint-scss":"^3.6.1"},"gitHead":"8e6538a9b66dc757a053c643ffdf38e3bf66dd7d","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![Build Status](https://travis-ci.org/usgs/wdfn-viz.svg?branch=master)](https://travis-ci.org/usgs/wdfn-viz)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/6faaca8b97f34929b141c4444d919e4e)](https://www.codacy.com/app/usgs_wma_dev/wdfn-viz?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=usgs/wdfn-viz&amp;utm_campaign=Badge_Grade)\n\nProvides Sass stylesheets and images that can be used when creating web pages that need to\nmeet USGS visual identity standards. The stylesheets use USWDS (https://designsystem.digital.gov/)\nas the basis so all USWDS components are available.\n\n## Usage\n\nThe repo can be installed in an existing project by installing via npm.\n\n```bash\nnpm install wdfn-viz\n```\n\nTo install the latest development snapshot (containing the current state of the master branch):\n\n```bash\nnpm install wdfn-viz@snapshot\n```\n\nThe main Sass stylesheet that should be imported into a web page's Sass file and is at /src/stylesheets/wdfnviz.scss.\nThis will also include the USWDS style sheets so a separate import is not required. This directory should be \nspecified on the --include-path option along with the uswds/src/stylesheets when the site's Sass is built. When building \nthe style sheets the css should also be processed by postcss as follows:\n\n```\n% node-sass --include-path node_modules/wdfn-via/src/stylesheets --include-path node_modules/uswds/src/stylesheets src/styles.main.css dist/main.css\n% postcss dist/main.css --no-map --use autoprefixer -o dist/main.css\n```\n\nWhen building the assets, the images should be collected in a common directory and specified in the project's Sass\nfiles using the $image-path variable. This should include the images in wdfn-viz/src/img that provide the USGS favicon and\nlogos. If using USWDS images those will also need to be collected. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nBelow are examples of commands that could be used to collect the image and font assets.\n```\n% mkdir -p dist/img && cp -r node_modules/uswds/src/img/* dist/img && cp -r node_modules/wdfn-viz/src/img/* dist/img\n% mkdir -p dist/fonts && cp node_modules/uswds/src/fonts/* dist/fonts\n```\n\nThe javascript should be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined. In order to use, a loading function should be defined which will be executed \nwhen the page loads. Below is a simple example:\n```javascript\nimport wdfnviz from 'wdfn-viz';\n\nconst load = function () {\n    null;  Add code that should get executed when the page is loaded\n}\n\nwdfnviz.main(load);\n\n\n```\n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos.\n\n## Publishing to npm\n\nTravisCI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when commits are made to the master branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://github.com/usgs/wdfn-viz/blob/master/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit.\n","readmeFilename":"README.md","_id":"wdfn-viz@1.0.0-snapshot.8e6538a","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"dist":{"integrity":"sha512-QvLin4mMsbh6WnDEk9G3melwETqxxkz9oasZfK9svt9uGxvjhvjrT1Y4cLIstP+HaUgHzZFN1mnkAcX53ZNJDw==","shasum":"3c647724a7eed1527bb6fe1f4d6d696c64d8c79b","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-1.0.0-snapshot.8e6538a.tgz","fileCount":483,"unpackedSize":7308045,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc4xIPCRA9TVsSAnZWagAAhmgQAIK2wik2v2c7AL2Vf51n\nKFo733yC22FfjJfFtmLn13j6OwPTo60+/zTX7VoGYTRBi4wR8Sr4XyPYL4dD\n6Heuuth9GhkdC5WXj9WHEwDvFhqz+AHoaNh8H2bsucwhtKmpXOBrekt8RX1Z\n/pmdU6+haPMsnAnVbBhXTVtjEXx7rU4qxwQ9pDnxK1f0Gxh5hTGa89ceCszX\nz8kOx0zALHFBSU1qnX7FpZwdsFNrZqHBdbeXu0JXimHagHb0czBCv062/oYf\nKg2aZCRW6GZrvTJo94qV4/DAm/3yT+8oOCetOWVhab7MjmhOLCsdINUTnTeD\nHTRpZffMmx0YknF2IPzBWJAdEF5rFdk4QsYudSekMU7W0SNK3NySHNkFy7fH\nn0HhgvIf8CbEqq4UUJYDY7PiIwngrPF7K4wOAVHOXdJgmDDC9/4ZEPMm+eEj\n/JRK9K95RulSqHk557infdpmVrVUDdQQmnMaTl4n7jePddOsmiRSOmgR2eke\nfFI60lzkKtSJz0FOuaY4LH9/3Ol3gZkYGuM/dsIRFSS8CH2XJtyev5/nIVxI\n2vVFLAkdCL7S6aEBT08/GFdn4qOMlU5WrNPz9gdzo+hWcyywrPM0KvtZzKoV\nM6dHDQKfKhFdfTf5A06Knbvktl3J5hCrCALM88ZgU2+6qKX9n8toVHdhy4Sa\nhvRo\r\n=57Xn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEUHwwhjZLsxz2pTcQFlJ17lu5ALf/vgwwOFYU5tsxbKAiEA9nvOZ3NYYCGNcuA3Sg06QmTMzuck6C+73XZvdTMCg98="}]},"maintainers":[{"email":"dnaab@contractor.usgs.gov","name":"danielnaab-usgs"},{"email":"drsteini@contractor.usgs.gov","name":"drsteini-usgs"},{"email":"mbucknell@usgs.gov","name":"mbucknell-usgs"},{"email":"owi_delivery@usgs.gov","name":"usgs-wma"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_1.0.0-snapshot.8e6538a_1558385167147_0.7670965981561135"},"_hasShrinkwrap":false},"1.0.0-snapshot.9ada3c9":{"name":"wdfn-viz","version":"1.0.0-snapshot.9ada3c9","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"node-sass --include-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist --unsafe index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","clean":"rm -rf dist && mkdir dist","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"karma start","test:watch":"karma start --debug --no-single-run --browsers Chrome","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist --unsafe index.html\"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://github.com/usgs/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://github.com/usgs/wdfn-viz/issues"},"homepage":"https://github.com/usgs/wdfn-viz","engines":{"node":">= 8"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"^2.0.2"},"devDependencies":{"ajv":"^6.10.0","codacy-coverage":"^3.4.0","css-mqpacker":"^7.0.0","cssnano":"^4.1.10","eslint":"^5.16.0","eslint-plugin-jasmine":"^2.10.1","jasmine-core":"^3.4.0","karma":"^4.0.1","karma-chrome-launcher":"^2.2.0","karma-firefox-launcher":"^1.1.0","karma-jasmine":"^2.0.1","karma-js-coverage":"^0.4.0","karma-rollup-preprocessor":"^7.0.0","live-server":"^1.2.1","node-sass":"^4.12.0","nodemon":"^1.19.0","npm-run-all":"^4.1.3","nunjucks":"^3.2.0","nunjucks-cli":"^0.5.1","postcss-cli":"^6.1.2","postcss-flexbugs-fixes":"^4.1.0","rollup":"^1.12.3","rollup-plugin-buble":"^0.19.4","rollup-plugin-commonjs":"^10.0.0","rollup-plugin-istanbul":"^2.0.1","rollup-plugin-node-resolve":"^4.2.4","stylelint":"^10.0.1","stylelint-config-recommended-scss":"^3.3.0","stylelint-scss":"^3.6.1"},"gitHead":"9ada3c9e36b5c70aa3f828fb88f4615a12b62191","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![Build Status](https://travis-ci.org/usgs/wdfn-viz.svg?branch=master)](https://travis-ci.org/usgs/wdfn-viz)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/6faaca8b97f34929b141c4444d919e4e)](https://www.codacy.com/app/usgs_wma_dev/wdfn-viz?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=usgs/wdfn-viz&amp;utm_campaign=Badge_Grade)\n\nProvides Sass stylesheets and images that can be used when creating web pages that need to\nmeet USGS visual identity standards. The stylesheets use USWDS (https://designsystem.digital.gov/)\nas the basis so all USWDS components are available.\n\n## Usage\n\nThe repo can be installed in an existing project by installing via npm.\n\n```bash\nnpm install wdfn-viz\n```\n\nTo install the latest development snapshot (containing the current state of the master branch):\n\n```bash\nnpm install wdfn-viz@snapshot\n```\n\nThe main Sass stylesheet that should be imported into a web page's Sass file and is at /src/stylesheets/wdfnviz.scss.\nThis will also include the USWDS style sheets so a separate import is not required. This directory should be \nspecified on the --include-path option along with the uswds/src/stylesheets when the site's Sass is built. When building \nthe style sheets the css should also be processed by postcss as follows:\n\n```\n% node-sass --include-path node_modules/wdfn-via/src/stylesheets --include-path node_modules/uswds/src/stylesheets src/styles.main.css dist/main.css\n% postcss dist/main.css --no-map --use autoprefixer -o dist/main.css\n```\n\nWhen building the assets, the images should be collected in a common directory and specified in the project's Sass\nfiles using the $theme-image-path variable. This should include the images in wdfn-viz/src/img that provide the USGS favicon and\nlogos. If using USWDS images those will also need to be collected. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nThe fonts should also be collected in a common directory and specified in the project's Sass files using the $theme-font-path\nvariable. Below are examples of commands that could be used to collect the image and font assets.\n```\n% mkdir -p dist/img && cp -r node_modules/uswds/src/img/* dist/img && cp -r node_modules/wdfn-viz/src/img/* dist/img\n% mkdir -p dist/fonts && cp node_modules/uswds/src/fonts/* dist/fonts\n```\n\nThe javascript should be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined. In order to use, a loading function should be defined which will be executed \nwhen the page loads. Below is a simple example:\n```javascript\nimport wdfnviz from 'wdfn-viz';\n\nconst load = function () {\n    null;  Add code that should get executed when the page is loaded\n}\n\nwdfnviz.main(load);\n\n\n```\n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos.\n\n## Publishing to npm\n\nTravisCI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when commits are made to the master branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://github.com/usgs/wdfn-viz/blob/master/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit.\n","readmeFilename":"README.md","_id":"wdfn-viz@1.0.0-snapshot.9ada3c9","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"dist":{"integrity":"sha512-3zwP04RUVYlxWWb0+Ywb9Ulr35vlTl6wrggC2cZfRkzQ7wuRx7sB1PY1PxGJRHSaVpfiL/yZq1mBrVyhO712Ug==","shasum":"b61c9162d654f0f4f0d15bf4dc48fb4a35e2eacd","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-1.0.0-snapshot.9ada3c9.tgz","fileCount":483,"unpackedSize":7308187,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc5UYpCRA9TVsSAnZWagAAEyIP/2rnm/xQezXtefA5rx9U\n3N+znx81A7wdb2EHjnh6b8FdxSytCP7HRbRVR68n9WcRo1M/SUR6MUkAid/b\n0yGaXvxsjdeTDz2Lgq/DHtZ5Bz/L3p18+7XIApSiO0eSoe/vJjIHwrvmE+/6\nliz9HeWVq/kRZH6vY88lgwS3vk2HEmIBMXLysFU/I2R8vhyGYMaQ7LgPnYUk\nvG+0+bMnpo3fCfiOfcJ3LOLTBrYdUKuWs4UC6mGzxuSeHNAwEyGtHhsfNqUJ\nGcEpeogizO76PaRasbuiVcbYOYAI4RGThizIHBItds17BTL1CNQ8ZQI0KJD6\njz1p3mFnngXi2EnGjsJ82iLiKKaZmhXrpp7vD5cNsOiPHbYJjVgvnFRYaBAt\nPEFn0+swfPWvI6xVqQ72148KdEoTPcPTNrL+z+hzHPdHGMGkYBhfsBT9vZVV\n4a7BSkX2NXLBIs15KJ0e/NydVM4KIfH57VXB3oJGjzP5NflqtDy/pE65Cd1I\nCOukvSUzy8ND8l5Yy3Ex3g54V6mguIJ3so8ZeJnmK9/3dJO8NDsbuwSi2cyR\nhtONE2YqJflE2zNlaWq8ukWzTITb2H1LXORDCd/8pea46cgwM6fTEGyS0tgu\n3UYCacBkFXtKw1vVQmK1Ci63zzjHpIO1n7Gz+qNdRmUCd/8zXBk2YvGLGVtz\njaTH\r\n=uTCQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDkWwao64P6iLPCGtDhC+T7fun/Tg6Nm5lXNCoPbZ5IfgIhANLw/rtNMuyzhtJwWVPG2K7EwMbthMW1RFyPA3KheU8F"}]},"maintainers":[{"email":"dnaab@contractor.usgs.gov","name":"danielnaab-usgs"},{"email":"drsteini@contractor.usgs.gov","name":"drsteini-usgs"},{"email":"mbucknell@usgs.gov","name":"mbucknell-usgs"},{"email":"owi_delivery@usgs.gov","name":"usgs-wma"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_1.0.0-snapshot.9ada3c9_1558529576824_0.020595130212159418"},"_hasShrinkwrap":false},"1.0.1":{"name":"wdfn-viz","version":"1.0.1","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"node-sass --include-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","clean":"rm -rf dist && mkdir dist","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"karma start","test:watch":"karma start --debug --no-single-run --browsers Chrome","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://github.com/usgs/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://github.com/usgs/wdfn-viz/issues"},"homepage":"https://github.com/usgs/wdfn-viz","engines":{"node":">= 8"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"^2.0.3"},"devDependencies":{"ajv":"^6.10.1","codacy-coverage":"^3.4.0","css-mqpacker":"^7.0.0","cssnano":"^4.1.10","eslint":"^6.0.1","eslint-plugin-jasmine":"^2.10.1","jasmine-core":"^3.4.0","karma":"^4.0.1","karma-chrome-launcher":"^2.2.0","karma-firefox-launcher":"^1.1.0","karma-jasmine":"^2.0.1","karma-js-coverage":"^0.4.0","karma-rollup-preprocessor":"^7.0.0","live-server":"^1.2.1","node-sass":"^4.12.0","nodemon":"^1.19.1","npm-run-all":"^4.1.3","nunjucks":"^3.2.0","nunjucks-cli":"^1.0.0","postcss-cli":"^6.1.2","postcss-flexbugs-fixes":"^4.1.0","rollup":"^1.16.6","rollup-plugin-buble":"^0.19.8","rollup-plugin-commonjs":"^10.0.1","rollup-plugin-istanbul":"^2.0.1","rollup-plugin-node-resolve":"^4.2.4","stylelint":"^10.1.0","stylelint-config-recommended-scss":"^3.3.0","stylelint-scss":"^3.9.0"},"gitHead":"ed997f0438eb70542603725867372fb2a0da02bb","_id":"wdfn-viz@1.0.1","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-vGkFiyBTugnmSV7dEXUkwO48XdWhki1aOnqvfECXdidEnr6Xj175NERV9J1952Zlo1IcOv/rEzXmxSRVJV8WXA==","shasum":"1a6af6cf6c720374de836dfb420a5c206ea978b4","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-1.0.1.tgz","fileCount":483,"unpackedSize":8031338,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdKI+0CRA9TVsSAnZWagAA8F8P+gLgYsyFfK/wMtu8hhQC\nCVQjwKSEW+DVt+aTSMiLkMqpHZ8P6q97baU03EujoAhNbqcKFVd1gNSbX4b7\nRpWEVB/1UTdWEhR3tkxAy+QXzNpzE9SHTdZ7E9FuS+LLCzv8YGesOKZnCEYl\ngakfjK26aD/7lOcNA9nbrOLiq/vwcGrQQY33nt+kb4+BmnjbnjMB117vMIKQ\npMWNXgfOKEoGpu/OKfJH/M6XVJoJjGyDYKDVY+z5dJpkO1+cPgZ9Jg8MvEe5\nrISZfttnuVV/BbFrUlhcgp5ndVMFdjoaIlDYn16PyIe/srLC+BnR0uFsjl1B\nmbqqIqO1rQ4EsOgn9OKIXgIbifYB5XinAlWfuLGWLW0qX6HbAOPxPKd72ZPL\nnPzEkAvNHdp7S3IVo1fAQCK4wONQCPbXWKJ//LvRT5bGLBDBZnP3zDgh8w/W\nJ1FUoXhvlZ75+9npApJbt/L5sipB6ZQTQ8ruBBhkdDi/JHMlNt1FkUILiWmm\nRF2NMFLJyo8KpAB9zxWXp7GkF2oqxkpVqMl89hN7sNYLgszqWG75xzw/gTIK\nwfPxdw/E0JONy49yHm229TleNIuIxmpSqkZAEMdyKXAdSXRFxDVPif7DIItv\nrrkLN5RdklcXFceNPHaKNNQZmbtxFhNS4xAzj2YOol+1Gjkmqtu3eV6Cfcxy\nj8gX\r\n=MwPq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGtgNvzKzknuJHhMHAYbOErE/WQJOI1AngEN9bWV6hJqAiAYa+JfumOF995TFhW8VZImeBPD2lg145orUvbOAIv28g=="}]},"maintainers":[{"email":"dnaab@contractor.usgs.gov","name":"danielnaab-usgs"},{"email":"drsteini@contractor.usgs.gov","name":"drsteini-usgs"},{"email":"mbucknell@usgs.gov","name":"mbucknell-usgs"},{"email":"owi_delivery@usgs.gov","name":"usgs-wma"}],"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_1.0.1_1562939314782_0.9706002727329575"},"_hasShrinkwrap":false},"1.0.2-snapshot.ffaf7b0":{"name":"wdfn-viz","version":"1.0.2-snapshot.ffaf7b0","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"node-sass --include-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","clean":"rm -rf dist && mkdir dist","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"karma start","test:watch":"karma start --debug --no-single-run --browsers Chrome","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://github.com/usgs/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://github.com/usgs/wdfn-viz/issues"},"homepage":"https://github.com/usgs/wdfn-viz","engines":{"node":">= 8"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"^2.0.3"},"devDependencies":{"ajv":"^6.10.1","codacy-coverage":"^3.4.0","css-mqpacker":"^7.0.0","cssnano":"^4.1.10","eslint":"^6.0.1","eslint-plugin-jasmine":"^2.10.1","jasmine-core":"^3.4.0","karma":"^4.0.1","karma-chrome-launcher":"^2.2.0","karma-firefox-launcher":"^1.1.0","karma-jasmine":"^2.0.1","karma-js-coverage":"^0.4.0","karma-rollup-preprocessor":"^7.0.0","live-server":"^1.2.1","node-sass":"^4.12.0","nodemon":"^1.19.1","npm-run-all":"^4.1.3","nunjucks":"^3.2.0","nunjucks-cli":"^1.0.0","postcss-cli":"^6.1.2","postcss-flexbugs-fixes":"^4.1.0","rollup":"^1.16.6","rollup-plugin-buble":"^0.19.8","rollup-plugin-commonjs":"^10.0.1","rollup-plugin-istanbul":"^2.0.1","rollup-plugin-node-resolve":"^4.2.4","stylelint":"^10.1.0","stylelint-config-recommended-scss":"^3.3.0","stylelint-scss":"^3.9.0"},"gitHead":"ffaf7b076ab12ced545dead734afb2089dafd77c","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![Build Status](https://travis-ci.org/usgs/wdfn-viz.svg?branch=master)](https://travis-ci.org/usgs/wdfn-viz)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/6faaca8b97f34929b141c4444d919e4e)](https://www.codacy.com/app/usgs_wma_dev/wdfn-viz?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=usgs/wdfn-viz&amp;utm_campaign=Badge_Grade)\n\nProvides Sass stylesheets and images that can be used when creating web pages that need to\nmeet USGS visual identity standards. The stylesheets use USWDS (https://designsystem.digital.gov/)\nas the basis so all USWDS components are available.\n\n## Usage\n\nThe repo can be installed in an existing project by installing via npm.\n\n```bash\nnpm install wdfn-viz\n```\n\nTo install the latest development snapshot (containing the current state of the master branch):\n\n```bash\nnpm install wdfn-viz@snapshot\n```\n\nThe main Sass stylesheet that should be imported into a web page's Sass file and is at /src/stylesheets/wdfnviz.scss.\nThis will also include the USWDS style sheets so a separate import is not required. This directory should be \nspecified on the --include-path option along with the uswds/src/stylesheets when the site's Sass is built. When building \nthe style sheets the css should also be processed by postcss as follows:\n\n```\n% node-sass --include-path node_modules/wdfn-viz/src/stylesheets --include-path node_modules/uswds/src/stylesheets src/styles.main.css dist/main.css\n% postcss dist/main.css --no-map --use autoprefixer -o dist/main.css\n```\n\nWhen building the assets, the images should be collected in a common directory and specified in the project's Sass\nfiles using the $theme-image-path variable. This should include the images in wdfn-viz/src/img that provide the USGS favicon and\nlogos. If using USWDS images those will also need to be collected. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nThe fonts should also be collected in a common directory and specified in the project's Sass files using the $theme-font-path\nvariable. Below are examples of commands that could be used to collect the image and font assets.\n```\n% mkdir -p dist/img && cp -r node_modules/uswds/src/img/* dist/img && cp -r node_modules/wdfn-viz/src/img/* dist/img\n% mkdir -p dist/fonts && cp -r node_modules/uswds/src/fonts/* dist/fonts\n```\n\nThe javascript should be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined. In order to use, a loading function should be defined which will be executed \nwhen the page loads. Below is a simple example:\n```javascript\nimport wdfnviz from 'wdfn-viz';\n\nconst load = function () {\n    null;  Add code that should get executed when the page is loaded\n}\n\nwdfnviz.main(load);\n\n\n```\n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos.\n\n## Publishing to npm\n\nTravisCI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when commits are made to the master branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://github.com/usgs/wdfn-viz/blob/master/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit.\n","readmeFilename":"README.md","_id":"wdfn-viz@1.0.2-snapshot.ffaf7b0","_nodeVersion":"10.16.3","_npmVersion":"6.9.0","dist":{"integrity":"sha512-I6Z26mCTdoCjG6RTv7BtTEFOiOCnhK7U4vXF3ULEdz5KWikop+a/yeu2pXPGIkyhOyFxL4yFk76dpxjdq6c/9A==","shasum":"99fbe0e55ad314d9a167f66f08e3ef200903dee3","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-1.0.2-snapshot.ffaf7b0.tgz","fileCount":483,"unpackedSize":8031358,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdaDS7CRA9TVsSAnZWagAAXpoP/0D6L3LhnZRPWm6ng0lf\nm8K/qwNHo0sccYJqggpKvtIjtrgl7yRXbrjDyZ4dpwuDaUuCggoCDhG8jA+8\nE6OSLwn6/GwLQdmKmESVSyREiF75bTq3QH5OxMVd8g9YggUTDJ73xbSk1V1j\nbgdVzIGd5hl7QTRCIaa5r9CJYlfR3+jczKHuhLI11hv/SKZR/RChhcZjo+Gm\nDfJhxGzbiZY/OFznb4WE23+4Y1yEHMnC/iWKlu9RTG+TqsoODbpsfWVHKV9W\nAhmc+NrpeOLGnNhBd0WX2CPydpZHvDLQN6bJXOkJgoKJG1Dt1SG/YM3tnlHN\n58WRMq5t9Sd+0U87d70Urv8m6t9p+1WvOVYhnTUJ3okCeRfOYyGzLlSOURxA\n8GE4UPOHP8HAWqKDpM4RdPo2Xk8duN+EcUIITlKWvjHXTaUE/GT7r7aIoS1T\n2Q40nApbd5AN3lb1q6YziVRs0ekARkj3ueU4ivi2Ijjy2QbE42z/h/tCdR+s\naDUdQqxWyjnveI22gdwQbV0yj35ycbaNcbzdSq/lYFIxpVvk1OL5M3jBI3Nw\neJVevs5cna1tKzBwBIUy1QOZC27AsjTCBfKHSc6ov800oZEHNPOSvAM16Zkv\nehT1P1MYDuoqg2AT/M8WSGqsF4FiQP3IEkAGriq70dB/qwpTFyHmrbwnwnMY\nn10Q\r\n=tr+3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBANMjot6qUOOewgQUfXdLBWGKJFO1hfbrLznfpSLjmWAiEAtJVUJGdLv3G1dSOVs+eK7AOgdMhHkuPXeT8M92SHme8="}]},"maintainers":[{"email":"dnaab@contractor.usgs.gov","name":"danielnaab-usgs"},{"email":"drsteini@contractor.usgs.gov","name":"drsteini-usgs"},{"email":"mbucknell@usgs.gov","name":"mbucknell-usgs"},{"email":"owi_delivery@usgs.gov","name":"usgs-wma"}],"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_1.0.2-snapshot.ffaf7b0_1567110330588_0.6278055001447229"},"_hasShrinkwrap":false},"1.0.2-snapshot.db24b40":{"name":"wdfn-viz","version":"1.0.2-snapshot.db24b40","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"node-sass --include-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","clean":"rm -rf dist && mkdir dist","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"karma start","test:watch":"karma start --debug --no-single-run --browsers Chrome","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://github.com/usgs/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://github.com/usgs/wdfn-viz/issues"},"homepage":"https://github.com/usgs/wdfn-viz","engines":{"node":">= 8"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"^2.0.3"},"devDependencies":{"ajv":"^6.10.2","codacy-coverage":"^3.4.0","css-mqpacker":"^7.0.0","cssnano":"^4.1.10","eslint":"^6.5.0","eslint-plugin-jasmine":"^2.10.1","jasmine-core":"^3.4.0","karma":"^4.3.0","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^1.1.0","karma-jasmine":"^2.0.1","karma-js-coverage":"^0.4.0","karma-rollup-preprocessor":"^7.0.2","live-server":"^1.2.1","node-sass":"^4.12.0","nodemon":"^1.19.1","npm-run-all":"^4.1.3","nunjucks":"^3.2.0","nunjucks-cli":"^1.0.0","postcss-cli":"^6.1.3","postcss-flexbugs-fixes":"^4.1.0","rollup":"^1.22.0","rollup-plugin-buble":"^0.19.8","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-istanbul":"^2.0.1","rollup-plugin-node-resolve":"^4.2.4","stylelint":"^10.1.0","stylelint-config-recommended-scss":"^3.3.0","stylelint-scss":"^3.11.1"},"gitHead":"db24b40787bd316bbbf83606ba3c51de3dddf396","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![Build Status](https://travis-ci.org/usgs/wdfn-viz.svg?branch=master)](https://travis-ci.org/usgs/wdfn-viz)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/6faaca8b97f34929b141c4444d919e4e)](https://www.codacy.com/app/usgs_wma_dev/wdfn-viz?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=usgs/wdfn-viz&amp;utm_campaign=Badge_Grade)\n\nProvides Sass stylesheets and images that can be used when creating web pages that need to\nmeet USGS visual identity standards. The stylesheets use USWDS (https://designsystem.digital.gov/)\nas the basis so all USWDS components are available.\n\n## Usage\n\nThe repo can be installed in an existing project by installing via npm.\n\n```bash\nnpm install wdfn-viz\n```\n\nTo install the latest development snapshot (containing the current state of the master branch):\n\n```bash\nnpm install wdfn-viz@snapshot\n```\n\nThe main Sass stylesheet that should be imported into a web page's Sass file and is at /src/stylesheets/wdfnviz.scss.\nThis will also include the USWDS style sheets so a separate import is not required. This directory should be \nspecified on the --include-path option along with the uswds/src/stylesheets when the site's Sass is built. When building \nthe style sheets the css should also be processed by postcss as follows:\n\n```\n% node-sass --include-path node_modules/wdfn-viz/src/stylesheets --include-path node_modules/uswds/src/stylesheets src/styles.main.css dist/main.css\n% postcss dist/main.css --no-map --use autoprefixer -o dist/main.css\n```\n\nWhen building the assets, the images should be collected in a common directory and specified in the project's Sass\nfiles using the $theme-image-path variable. This should include the images in wdfn-viz/src/img that provide the USGS favicon and\nlogos. If using USWDS images those will also need to be collected. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nThe fonts should also be collected in a common directory and specified in the project's Sass files using the $theme-font-path\nvariable. Below are examples of commands that could be used to collect the image and font assets.\n```\n% mkdir -p dist/img && cp -r node_modules/uswds/src/img/* dist/img && cp -r node_modules/wdfn-viz/src/img/* dist/img\n% mkdir -p dist/fonts && cp -r node_modules/uswds/src/fonts/* dist/fonts\n```\n\nThe javascript should be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined. In order to use, a loading function should be defined which will be executed \nwhen the page loads. Below is a simple example:\n```javascript\nimport wdfnviz from 'wdfn-viz';\n\nconst load = function () {\n    null;  Add code that should get executed when the page is loaded\n}\n\nwdfnviz.main(load);\n\n\n```\n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos.\n\n## Publishing to npm\n\nTravisCI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when commits are made to the master branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://github.com/usgs/wdfn-viz/blob/master/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit.\n","readmeFilename":"README.md","_id":"wdfn-viz@1.0.2-snapshot.db24b40","_nodeVersion":"10.16.3","_npmVersion":"6.9.0","dist":{"integrity":"sha512-TO4Ic2bpPLeuLdl+mpXomRTMzeCI1WU6fBTzDOp0QhxcyoCDDuTApVx3LvCbeoKYbNZYcMC56T++YlcM2JFMPA==","shasum":"c54170d544dc82515f0bb0637dcdd1968940db80","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-1.0.2-snapshot.db24b40.tgz","fileCount":483,"unpackedSize":8031359,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdlNdGCRA9TVsSAnZWagAALcEP/RcbUcyoOqWU5sBsChZV\nycVyDaYH9pT65QOeaIYRmkoo5+rxa9elHYbRX2rTHWPEW1rRQJYO2too4LbX\nBOhfEirLJ+epDV6GECjKn2Vm7rQNzN99tuU+ZuATtmQ0ooWzmHVRKKdPRExS\nkT+ZSdLQ2kFdCyvyO0Ko6YnUXWhqSkVzgEXnu4gR4Z5NUosXYNvspRpJQvGi\n8jW09KENOQeSiLrFOcSqkJNauedzA9WuH0vnakRwSFGveMhRZqka4KNpsNS4\noQwaEKTXiO509ub4Qostu+yntnNbAN1JuNSU2pJJYZq2yyQgx+D7BFrOhOh2\nUYFreJIkz8EbQwd0E4Ogpf4/eoIdQS+cWzWibXqd08wpI/4EdQ6eyeaK3Iuv\npvy85YF7i373W3p6UgM5z3BRlvnYTOM5L4sYulHwmDSJ+JxmLYweJVmI7f2D\nypfa6+keOddxXLQ0o+/KBRiFLCl2Ssrcmiux8VLoS0aunuBjXdp66NpTygze\nu2OVIhvDok5EkHS1HjT76IFmcffPFb7p9THRZS1GTT6hMNtaAQP2H1Msinw5\nwRFKpoR8SdJgVonRPXurEmskleKw+5cjeHBsjy1l4s4pnKguk1M6lGF+vr8a\nUHlBNRJXzoADwZGqg45W/ZUtuIXF3B77cj7U0r4l5mCjXUcov/TjHpxPZ2Yk\nNR3J\r\n=J4aj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDAxbJ+q4XXA41Lgx4xyjtJ/dUAoGTBNom/UzTplFry1wIhALxzfEcLgUZqSgOUy8/Juo1x/piyGuXh/+dh8Ve/MXjh"}]},"maintainers":[{"email":"dnaab@contractor.usgs.gov","name":"danielnaab-usgs"},{"email":"drsteini@contractor.usgs.gov","name":"drsteini-usgs"},{"email":"mbucknell@usgs.gov","name":"mbucknell-usgs"},{"email":"owi_delivery@usgs.gov","name":"usgs-wma"}],"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_1.0.2-snapshot.db24b40_1570035525411_0.5699878017532529"},"_hasShrinkwrap":false},"1.0.2-snapshot.6be4b17":{"name":"wdfn-viz","version":"1.0.2-snapshot.6be4b17","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"node-sass --include-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","clean":"rm -rf dist && mkdir dist","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"karma start","test:watch":"karma start --debug --no-single-run --browsers Chrome","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://github.com/usgs/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://github.com/usgs/wdfn-viz/issues"},"homepage":"https://github.com/usgs/wdfn-viz","engines":{"node":">= 8"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"^2.0.3"},"devDependencies":{"ajv":"^6.10.2","codacy-coverage":"^3.4.0","css-mqpacker":"^7.0.0","cssnano":"^4.1.10","eslint":"^6.5.0","eslint-plugin-jasmine":"^2.10.1","jasmine-core":"^3.4.0","karma":"^4.3.0","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^1.1.0","karma-jasmine":"^2.0.1","karma-js-coverage":"^0.4.0","karma-rollup-preprocessor":"^7.0.2","live-server":"^1.2.1","node-sass":"^4.12.0","nodemon":"^1.19.1","npm-run-all":"^4.1.3","nunjucks":"^3.2.0","nunjucks-cli":"^1.0.0","postcss-cli":"^6.1.3","postcss-flexbugs-fixes":"^4.1.0","rollup":"^1.22.0","rollup-plugin-buble":"^0.19.8","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-istanbul":"^2.0.1","rollup-plugin-node-resolve":"^4.2.4","stylelint":"^10.1.0","stylelint-config-recommended-scss":"^3.3.0","stylelint-scss":"^3.11.1"},"gitHead":"6be4b1702a54b6696650476db0a1a8992e093d6f","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![Build Status](https://travis-ci.org/usgs/wdfn-viz.svg?branch=master)](https://travis-ci.org/usgs/wdfn-viz)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/6faaca8b97f34929b141c4444d919e4e)](https://www.codacy.com/app/usgs_wma_dev/wdfn-viz?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=usgs/wdfn-viz&amp;utm_campaign=Badge_Grade)\n\nProvides Sass stylesheets and images that can be used when creating web pages that need to\nmeet USGS visual identity standards. The stylesheets use USWDS (https://designsystem.digital.gov/)\nas the basis so all USWDS components are available.\n\n## Usage\n\nThe repo can be installed in an existing project by installing via npm.\n\n```bash\nnpm install wdfn-viz\n```\n\nTo install the latest development snapshot (containing the current state of the master branch):\n\n```bash\nnpm install wdfn-viz@snapshot\n```\n\nThe main Sass stylesheet that should be imported into a web page's Sass file and is at /src/stylesheets/wdfnviz.scss.\nThis will also include the USWDS style sheets so a separate import is not required. This directory should be \nspecified on the --include-path option along with the uswds/src/stylesheets when the site's Sass is built. When building \nthe style sheets the css should also be processed by postcss as follows:\n\n```\n% node-sass --include-path node_modules/wdfn-viz/src/stylesheets --include-path node_modules/uswds/src/stylesheets src/styles.main.css dist/main.css\n% postcss dist/main.css --no-map --use autoprefixer -o dist/main.css\n```\n\nWhen building the assets, the images should be collected in a common directory and specified in the project's Sass\nfiles using the $theme-image-path variable. This should include the images in wdfn-viz/src/img that provide the USGS favicon and\nlogos. If using USWDS images those will also need to be collected. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nThe fonts should also be collected in a common directory and specified in the project's Sass files using the $theme-font-path\nvariable. Below are examples of commands that could be used to collect the image and font assets.\n```\n% mkdir -p dist/img && cp -r node_modules/uswds/src/img/* dist/img && cp -r node_modules/wdfn-viz/src/img/* dist/img\n% mkdir -p dist/fonts && cp -r node_modules/uswds/src/fonts/* dist/fonts\n```\n\nThe javascript should be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined. In order to use, a loading function should be defined which will be executed \nwhen the page loads. Below is a simple example:\n```javascript\nimport wdfnviz from 'wdfn-viz';\n\nconst load = function () {\n    null;  Add code that should get executed when the page is loaded\n}\n\nwdfnviz.main(load);\n\n\n```\n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos.\n\n## Publishing to npm\n\nTravisCI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when commits are made to the master branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://github.com/usgs/wdfn-viz/blob/master/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit.\n","readmeFilename":"README.md","_id":"wdfn-viz@1.0.2-snapshot.6be4b17","_nodeVersion":"10.16.3","_npmVersion":"6.9.0","dist":{"integrity":"sha512-DfvcG4Ea/FxvXs3QY061ifKhzcgf/tKSP8fcBiywwzUzYBY/IRflmxV0pNFZ9VtDovV0XwIbqZgmWS/j7OBauQ==","shasum":"1757ed253a7795893a6b72812d08f87a3a63a19f","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-1.0.2-snapshot.6be4b17.tgz","fileCount":483,"unpackedSize":8031359,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdlNvPCRA9TVsSAnZWagAAMDUP/jleUJVI4HgKOw8G72z7\nKVl67ktBSFlY3G8CjqaWVpVZqNpgV6fdIoFM52rvfl+hSe3iwE+S8oZ6cGzb\nS5rXjJZEb4kfo2Pp6yUVxBlL9NPzjjjLa2e3+WwmyKLQx18iAkc9PRAwymnG\nnXBht/usl2vjCnsk4Ifkf8Gw4LVCOemfjmNryqBs5Qie7T3NAwgf5IoB96ML\nDrSXtZynpyb+VkrJf1FdClS/ZdFtjTq5oeEe38CA9oefdg5BthXpIJ6pmXT/\nHTV8Pb/nHXNybuRhq1LCw3JZ3c8bmXGyre+ol0rNXb+isrX3+MuX5btvLsf7\nvMLBLMa+0yEzcw6n/Z5yuCxdM/gOT3cYQpAEMqOWGKxupl7UPLabsSjAQ/K0\nzZE6xV/NS+WlSKXv+YtYoOKuvCrM+VpMQB0JrLT3TPj14DCl11GcU/YoyZyd\nGCHmSp/aJY5mu/tXObNPxFUEZq1SeRKtThNz/vhB7Ic6XqFizRyKak25fob2\nG8rpnASC7Lt42cwfC0D58MN7hWzXKq1aiyrdSwQgROSGCLGdKNfqbQcbdxH9\nBSZ5ls1arai13HVJny44pzBIvfo7EOaYnrsTBDjBWVXckcGQV3EaWZRjAvka\n63Om5Hnfb6YXZMLGJwBvc7DlWecvOzd52oZIDXj4qRlb8AOPBaQkRFgnn4HE\nzqdo\r\n=ZtyF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD0FJn9++6utogr27QQdA4ka0v3lMTC2dckflfsX/ZJQwIhAPBIPjWuuLSp3EWT/iL2Fb1aLN8EknSrRlNrr1A3wORu"}]},"maintainers":[{"email":"dnaab@contractor.usgs.gov","name":"danielnaab-usgs"},{"email":"drsteini@contractor.usgs.gov","name":"drsteini-usgs"},{"email":"mbucknell@usgs.gov","name":"mbucknell-usgs"},{"email":"owi_delivery@usgs.gov","name":"usgs-wma"}],"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_1.0.2-snapshot.6be4b17_1570036686049_0.2866002931089673"},"_hasShrinkwrap":false},"1.1.0-snapshot.42f95e9":{"name":"wdfn-viz","version":"1.1.0-snapshot.42f95e9","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"node-sass --include-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","clean":"rm -rf dist && mkdir dist","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"karma start","test:watch":"karma start --debug --no-single-run --browsers Chrome","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://github.com/usgs/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://github.com/usgs/wdfn-viz/issues"},"homepage":"https://github.com/usgs/wdfn-viz","engines":{"node":">= 8"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.2.1"},"devDependencies":{"ajv":"^6.10.2","codacy-coverage":"^3.4.0","css-mqpacker":"^7.0.0","cssnano":"^4.1.10","eslint":"^6.5.0","eslint-plugin-jasmine":"^2.10.1","jasmine-core":"^3.4.0","karma":"^4.3.0","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^1.1.0","karma-jasmine":"^2.0.1","karma-js-coverage":"^0.4.0","karma-rollup-preprocessor":"^7.0.2","live-server":"^1.2.1","node-sass":"^4.12.0","nodemon":"^1.19.1","npm-run-all":"^4.1.3","nunjucks":"^3.2.0","nunjucks-cli":"^1.0.0","postcss-cli":"^6.1.3","postcss-flexbugs-fixes":"^4.1.0","rollup":"^1.22.0","rollup-plugin-buble":"^0.19.8","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-istanbul":"^2.0.1","rollup-plugin-node-resolve":"^4.2.4","stylelint":"^10.1.0","stylelint-config-recommended-scss":"^3.3.0","stylelint-scss":"^3.11.1"},"gitHead":"42f95e9792db58bf26bc96fe2833a153a879b41d","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![Build Status](https://travis-ci.org/usgs/wdfn-viz.svg?branch=master)](https://travis-ci.org/usgs/wdfn-viz)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/6faaca8b97f34929b141c4444d919e4e)](https://www.codacy.com/app/usgs_wma_dev/wdfn-viz?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=usgs/wdfn-viz&amp;utm_campaign=Badge_Grade)\n\nProvides Sass stylesheets and images that can be used when creating web pages that need to\nmeet USGS visual identity standards. The stylesheets use USWDS (https://designsystem.digital.gov/)\nas the basis so all USWDS components are available.\n\n## Usage\n\nThe repo can be installed in an existing project by installing via npm.\n\n```bash\nnpm install wdfn-viz\n```\n\nTo install the latest development snapshot (containing the current state of the master branch):\n\n```bash\nnpm install wdfn-viz@snapshot\n```\n\nThe main Sass stylesheet that should be imported into a web page's Sass file and is at /src/stylesheets/wdfnviz.scss.\nThis will also include the USWDS style sheets so a separate import is not required. This directory should be \nspecified on the --include-path option along with the uswds/src/stylesheets when the site's Sass is built. When building \nthe style sheets the css should also be processed by postcss using the autoprefixer, cssnano, and css-mq-packer using a postcss.config.js file:\n```javascript\nconst autoprefixerOptions = [\n    '>2%',\n    'Last 2 versions',\n    'IE 11'\n];\n\nmodule.exports = ctx => ({\n    map: Object.assign({}, ctx.options.map, {inline: false}),\n    parser: ctx.options.parser,\n    plugins: {\n        autoprefixer: autoprefixerOptions,\n        cssnano: {\n            autoprefixer: {\n                browsers: autoprefixerOptions\n            }\n        },\n        'css-mqpacker': {\n            sort: true\n        }\n    }\n});\n```\nYou may also want to include postcss-flexbugs-fixes plugin as is done for building wdfn-viz.\n\nBelow is an example of the process:\n```\n% node-sass --include-path node_modules/wdfn-viz/src/stylesheets --include-path node_modules/uswds/src/stylesheets src/styles.main.css dist/main.css\n% postcss dist/main.css  -o dist/main.css\n```\n\nPostcss generates internal sourcemaps by default. You may want to consider using the --map option to create external map files\nor if you want to minimize your css assets, you may want to disable entirely by using --no-map\n\nWhen building the assets, the images should be collected in a common directory and specified in the project's Sass\nfiles using the $theme-image-path variable. This should include the images in wdfn-viz/src/img that provide the USGS favicon and\nlogos. If using USWDS images those will also need to be collected. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nThe fonts should also be collected in a common directory and specified in the project's Sass files using the $theme-font-path\nvariable. Below are examples of commands that could be used to collect the image and font assets.\n```\n% mkdir -p dist/img && cp -r node_modules/uswds/src/img/* dist/img && cp -r node_modules/wdfn-viz/src/img/* dist/img\n% mkdir -p dist/fonts && cp -r node_modules/uswds/src/fonts/* dist/fonts\n```\n\nThe javascript should be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined. In order to use, a loading function should be defined which will be executed \nwhen the page loads. Below is a simple example:\n```javascript\nimport wdfnviz from 'wdfn-viz';\n\nconst load = function () {\n    null;  Add code that should get executed when the page is loaded\n}\n\nwdfnviz.main(load);\n\n\n```\n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos.\n\n## Publishing to npm\n\nTravisCI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when commits are made to the master branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://github.com/usgs/wdfn-viz/blob/master/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit.\n","readmeFilename":"README.md","_id":"wdfn-viz@1.1.0-snapshot.42f95e9","_nodeVersion":"10.16.3","_npmVersion":"6.9.0","dist":{"integrity":"sha512-Hgkhne4UzC7x/ERQWTR8y5uAiRZRBXtRSbnWDkcuBSiaXxpTseKZjBPgBqFWdrTH9/M53gE8KTgG7bXkrQ3yMA==","shasum":"3b432bbe930e21b311650d918fb213a287f7c4e0","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-1.1.0-snapshot.42f95e9.tgz","fileCount":530,"unpackedSize":7658901,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdljhTCRA9TVsSAnZWagAAObQP/ikx7NaNtqKjBZdBw3xV\nFSZEcJQSU66sGMoeRx3OY5L+3tAE5FGu8fVPeh+II2aE9zzHBvnFpzGR9xmM\nx2U+NNaYUOIfwOGif8YuQVeIdC05GImxDLmOqaqRRigDroFmvWGvcBJ9uh8K\nQs261pXQJfDyIrgHzjjNmrumyp1JCZWF+WGUMFFUokK+0h3ErWSkTxhsfIxB\nf1IqM5xLN2SWrr1gHUB69JLRsQD71P/mNGdPapItq8OrLhhOu+bH/s3jQocz\n7rU4tVjafetax+mTH5VRI4LPhehZKfqsuZGWUuFxx0VJIsCSriBRtrdpqrrB\nYQCprIhQFIFTvL9btVFVDYcpYugzhOuG23Tlktu2WXZNsMzRyzv4JRhFL8es\nV1hrPecDxxWKi+3yPlxApkgRBifUrnT1HY+BwJM4mwC9j8bB3Ga8MLJp7Zbf\nWYABj6Tpahd7zKy364G7Cb7SZsliB159Mw4cLBWE7f4pAtw0XJdhoLiCTKEC\nNk3M4mnpiVvmG3jYDi+njWYB/aVci6Zu9S1NXoyHGGkT+QKvTecLxRSS2nl/\nDHgxtzS8UtcWXCn43jKRAOVMZhJ4AB6gWyQvZ/QTdt2p8HT2vnIfBRmPU5YQ\n+t9NBww+ec204mUsRiAUE4B+G4fblP/a5i/ZH3tcOy10zPpnrIJG3X0Ad6gd\nOnoZ\r\n=srDD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDVSPbMN14St0i7KntEef/KFMBXMLQrKIZjOFL9rgvZBQIhAMvOYMkgUv+p5/7bxcFnz6CL5aup6LtTxfF/HSkdoadp"}]},"maintainers":[{"email":"dnaab@contractor.usgs.gov","name":"danielnaab-usgs"},{"email":"drsteini@contractor.usgs.gov","name":"drsteini-usgs"},{"email":"mbucknell@usgs.gov","name":"mbucknell-usgs"},{"email":"owi_delivery@usgs.gov","name":"usgs-wma"}],"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_1.1.0-snapshot.42f95e9_1570125906396_0.34785605950419707"},"_hasShrinkwrap":false},"1.1.0-snapshot.cdb1604":{"name":"wdfn-viz","version":"1.1.0-snapshot.cdb1604","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"node-sass --include-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","clean":"rm -rf dist && mkdir dist","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"karma start","test:watch":"karma start --debug --no-single-run --browsers Chrome","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://github.com/usgs/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://github.com/usgs/wdfn-viz/issues"},"homepage":"https://github.com/usgs/wdfn-viz","engines":{"node":">= 8"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.2.1"},"devDependencies":{"autoprefixer":"^9.6.1","ajv":"^6.10.2","css-mqpacker":"^7.0.0","cssnano":"^4.1.10","eslint":"^6.5.0","eslint-plugin-jasmine":"^2.10.1","jasmine-core":"^3.4.0","karma":"^4.3.0","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^1.1.0","karma-jasmine":"^2.0.1","karma-js-coverage":"^0.4.0","karma-rollup-preprocessor":"^7.0.2","live-server":"^1.2.1","node-sass":"^4.12.0","nodemon":"^1.19.1","npm-run-all":"^4.1.3","nunjucks":"^3.2.0","nunjucks-cli":"^1.0.0","postcss-cli":"^6.1.3","postcss-flexbugs-fixes":"^4.1.0","rollup":"^1.22.0","rollup-plugin-buble":"^0.19.8","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-istanbul":"^2.0.1","rollup-plugin-node-resolve":"^4.2.4","stylelint":"^10.1.0","stylelint-config-recommended-scss":"^3.3.0","stylelint-scss":"^3.11.1"},"gitHead":"cdb16048ae331e7ec5778efe459731c3bd9acae1","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![Build Status](https://travis-ci.org/usgs/wdfn-viz.svg?branch=master)](https://travis-ci.org/usgs/wdfn-viz)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/6faaca8b97f34929b141c4444d919e4e)](https://www.codacy.com/app/usgs_wma_dev/wdfn-viz?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=usgs/wdfn-viz&amp;utm_campaign=Badge_Grade)\n\nProvides Sass stylesheets and images that can be used when creating web pages that need to\nmeet USGS visual identity standards. The stylesheets use USWDS (https://designsystem.digital.gov/)\nas the basis so all USWDS components are available.\n\n## Usage\n\nThe repo can be installed in an existing project by installing via npm.\n\n```bash\nnpm install wdfn-viz\n```\n\nTo install the latest development snapshot (containing the current state of the master branch):\n\n```bash\nnpm install wdfn-viz@snapshot\n```\n\nThe main Sass stylesheet that should be imported into a web page's Sass file and is at /src/stylesheets/wdfnviz.scss.\nThis will also include the USWDS style sheets so a separate import is not required. This directory should be \nspecified on the --include-path option along with the uswds/src/stylesheets when the site's Sass is built. When building \nthe style sheets the css should also be processed by postcss using the autoprefixer, cssnano, and css-mq-packer using a postcss.config.js file:\n```javascript\nconst autoprefixerOptions = [\n    '>2%',\n    'Last 2 versions',\n    'IE 11'\n];\n\nmodule.exports = ctx => ({\n    map: Object.assign({}, ctx.options.map, {inline: false}),\n    parser: ctx.options.parser,\n    plugins: {\n        autoprefixer: autoprefixerOptions,\n        cssnano: {\n            autoprefixer: {\n                browsers: autoprefixerOptions\n            }\n        },\n        'css-mqpacker': {\n            sort: true\n        }\n    }\n});\n```\nYou may also want to include postcss-flexbugs-fixes plugin as is done for building wdfn-viz.\n\nBelow is an example of the process:\n```\n% node-sass --include-path node_modules/wdfn-viz/src/stylesheets --include-path node_modules/uswds/src/stylesheets src/styles.main.css dist/main.css\n% postcss dist/main.css  -o dist/main.css\n```\n\nPostcss generates internal sourcemaps by default. You may want to consider using the --map option to create external map files\nor if you want to minimize your css assets, you may want to disable entirely by using --no-map\n\nWhen building the assets, the images should be collected in a common directory and specified in the project's Sass\nfiles using the $theme-image-path variable. This should include the images in wdfn-viz/src/img that provide the USGS favicon and\nlogos. If using USWDS images those will also need to be collected. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nThe fonts should also be collected in a common directory and specified in the project's Sass files using the $theme-font-path\nvariable. Below are examples of commands that could be used to collect the image and font assets.\n```\n% mkdir -p dist/img && cp -r node_modules/uswds/src/img/* dist/img && cp -r node_modules/wdfn-viz/src/img/* dist/img\n% mkdir -p dist/fonts && cp -r node_modules/uswds/src/fonts/* dist/fonts\n```\n\nThe javascript should be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined. In order to use, a loading function should be defined which will be executed \nwhen the page loads. Below is a simple example:\n```javascript\nimport wdfnviz from 'wdfn-viz';\n\nconst load = function () {\n    null;  Add code that should get executed when the page is loaded\n}\n\nwdfnviz.main(load);\n\n\n```\n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos.\n\n## Publishing to npm\n\nTravisCI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when commits are made to the master branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://github.com/usgs/wdfn-viz/blob/master/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit.\n","readmeFilename":"README.md","_id":"wdfn-viz@1.1.0-snapshot.cdb1604","_nodeVersion":"10.16.3","_npmVersion":"6.9.0","dist":{"integrity":"sha512-PK3MxhDrXmzO5hXUetXE4RQkbnSe16JVBd7U2zASo8kPeA7FLH99/NRR89vSO/ExM0huNdxNzzZ6TDEhc4n8SA==","shasum":"889d4e8fe623a96ef3627d58aec8734e24854f6e","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-1.1.0-snapshot.cdb1604.tgz","fileCount":530,"unpackedSize":7658898,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdl3JGCRA9TVsSAnZWagAA+SMP+waK40vNlsPbwfT2EZbv\nmSHRPKXH8P96WXVcMhATBDPsncCbYd2r4S+tOsEs3RKAAf6lC0/OcQaxpwV4\nHq/VeB80xkVf8SlFnzCo7LWrOHDJX4CkAJ0KZmvF/x22RP5azvRWkGvNSNVh\naDaH0FLaBc1m+ssbaUbHYOnKzJkTwt69fFkqR0PN7BTVscH2ugeEge0TW4bU\nrO/fgu8Nm2hx8rVJkkZEXlOOpzmP2f8YhwrjTgHZvUi0WiNYz+yaqnJji22e\nE98bYQWyVLVcUOKyIsTLHfDIYi4rNf2EqyhY1crCFHDS7QnTYWJR1tJxEcoi\nKBmUgB2CrifvAjm0Q6pBCrx21qpb3cjisiAqdIitnnWbSto2wQriW0zpqBEQ\ng2Aor3Y38j2FElFRxcHVgJC+Ozeusyq0mRwu5o0x3obISKtNN5N1B75Tslun\nE51hpyPJeZI2uSoqzZ1YZ0ZG80Gr4/qCW3lyJP2A7P8r4B7WIsAtZcziMFsF\nWGp86lbKvpMgFe47574xo3EVEuyJES2+2sJ/ExkdAUnWxsMRSzIVFjZS16LR\nWjZhVfwmpfI1T63TzDfOe1b+2oGlReq80Kn0hF3YuDMoUYEGPBwLPV1+cZV/\nwroBUOLMmRN2S2EEHk5IEgGG0wrnEHvqsb0S3rZR6DDYsGG4VGMo7LdMehRN\ngrDl\r\n=zaKg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDcUanC/0h7iD0IRZoVzdkIt+uSOb85xAfh9Og44lBXSgIgXILi81hmyq1n31qireM+Kj5KHSoBQmVRMMY0MOJ5Oy0="}]},"maintainers":[{"email":"dnaab@contractor.usgs.gov","name":"danielnaab-usgs"},{"email":"drsteini@contractor.usgs.gov","name":"drsteini-usgs"},{"email":"mbucknell@usgs.gov","name":"mbucknell-usgs"},{"email":"owi_delivery@usgs.gov","name":"usgs-wma"}],"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_1.1.0-snapshot.cdb1604_1570206277483_0.5674847785976875"},"_hasShrinkwrap":false},"1.1.0-snapshot.fb19b4e":{"name":"wdfn-viz","version":"1.1.0-snapshot.fb19b4e","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"node-sass --include-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","clean":"rm -rf dist && mkdir dist","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"karma start","test:watch":"karma start --debug --no-single-run --browsers Chrome","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://github.com/usgs/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://github.com/usgs/wdfn-viz/issues"},"homepage":"https://github.com/usgs/wdfn-viz","engines":{"node":">= 8"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.2.1"},"devDependencies":{"autoprefixer":"^9.6.1","ajv":"^6.10.2","css-mqpacker":"^7.0.0","cssnano":"^4.1.10","eslint":"^6.5.0","eslint-plugin-jasmine":"^2.10.1","jasmine-core":"^3.4.0","karma":"^4.3.0","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^1.1.0","karma-jasmine":"^2.0.1","karma-js-coverage":"^0.4.0","karma-rollup-preprocessor":"^7.0.2","live-server":"^1.2.1","node-sass":"^4.12.0","nodemon":"^1.19.1","npm-run-all":"^4.1.3","nunjucks":"^3.2.0","nunjucks-cli":"^1.0.0","postcss-cli":"^6.1.3","postcss-flexbugs-fixes":"^4.1.0","rollup":"^1.22.0","rollup-plugin-buble":"^0.19.8","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-istanbul":"^2.0.1","rollup-plugin-node-resolve":"^4.2.4","stylelint":"^10.1.0","stylelint-scss":"^3.11.1"},"gitHead":"fb19b4ebd80cfa2d607c8268cdbb4190ee22f1cd","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![Build Status](https://travis-ci.org/usgs/wdfn-viz.svg?branch=master)](https://travis-ci.org/usgs/wdfn-viz)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/6faaca8b97f34929b141c4444d919e4e)](https://www.codacy.com/app/usgs_wma_dev/wdfn-viz?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=usgs/wdfn-viz&amp;utm_campaign=Badge_Grade)\n\nProvides Sass stylesheets and images that can be used when creating web pages that need to\nmeet USGS visual identity standards. The stylesheets use USWDS (https://designsystem.digital.gov/)\nas the basis so all USWDS components are available.\n\n## Usage\n\nThe repo can be installed in an existing project by installing via npm.\n\n```bash\nnpm install wdfn-viz\n```\n\nTo install the latest development snapshot (containing the current state of the master branch):\n\n```bash\nnpm install wdfn-viz@snapshot\n```\n\nThe main Sass stylesheet that should be imported into a web page's Sass file and is at /src/stylesheets/wdfnviz.scss.\nThis will also include the USWDS style sheets so a separate import is not required. This directory should be \nspecified on the --include-path option along with the uswds/src/stylesheets when the site's Sass is built. When building \nthe style sheets the css should also be processed by postcss using the autoprefixer, cssnano, and css-mq-packer using a postcss.config.js file:\n```javascript\nconst autoprefixerOptions = [\n    '>2%',\n    'Last 2 versions',\n    'IE 11'\n];\n\nmodule.exports = ctx => ({\n    map: Object.assign({}, ctx.options.map, {inline: false}),\n    parser: ctx.options.parser,\n    plugins: {\n        autoprefixer: autoprefixerOptions,\n        cssnano: {\n            autoprefixer: {\n                browsers: autoprefixerOptions\n            }\n        },\n        'css-mqpacker': {\n            sort: true\n        }\n    }\n});\n```\nYou may also want to include postcss-flexbugs-fixes plugin as is done for building wdfn-viz.\n\nBelow is an example of the process:\n```\n% node-sass --include-path node_modules/wdfn-viz/src/stylesheets --include-path node_modules/uswds/src/stylesheets src/styles.main.css dist/main.css\n% postcss dist/main.css  -o dist/main.css\n```\n\nPostcss generates internal sourcemaps by default. You may want to consider using the --map option to create external map files\nor if you want to minimize your css assets, you may want to disable entirely by using --no-map\n\nWhen building the assets, the images should be collected in a common directory and specified in the project's Sass\nfiles using the $theme-image-path variable. This should include the images in wdfn-viz/src/img that provide the USGS favicon and\nlogos. If using USWDS images those will also need to be collected. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nThe fonts should also be collected in a common directory and specified in the project's Sass files using the $theme-font-path\nvariable. Below are examples of commands that could be used to collect the image and font assets.\n```\n% mkdir -p dist/img && cp -r node_modules/uswds/src/img/* dist/img && cp -r node_modules/wdfn-viz/src/img/* dist/img\n% mkdir -p dist/fonts && cp -r node_modules/uswds/src/fonts/* dist/fonts\n```\n\nThe javascript should be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined. In order to use, a loading function should be defined which will be executed \nwhen the page loads. Below is a simple example:\n```javascript\nimport wdfnviz from 'wdfn-viz';\n\nconst load = function () {\n    null;  Add code that should get executed when the page is loaded\n}\n\nwdfnviz.main(load);\n\n\n```\n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos.\n\n## Publishing to npm\n\nTravisCI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when commits are made to the master branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://github.com/usgs/wdfn-viz/blob/master/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit.\n","readmeFilename":"README.md","_id":"wdfn-viz@1.1.0-snapshot.fb19b4e","_nodeVersion":"10.16.3","_npmVersion":"6.9.0","dist":{"integrity":"sha512-sKX9ObAT5NpXDa6sNvLAH4Yaef8q+QD8HeS32XfLRq2TermRoVZCtZxWIWiIPiZdkexiTOlIZ/hESOuUZ3wYQQ==","shasum":"140736c7a28ad1b4b15163b21cf8220ba69f3115","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-1.1.0-snapshot.fb19b4e.tgz","fileCount":530,"unpackedSize":7658431,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdl5VuCRA9TVsSAnZWagAAuM4P/1izmC3oMFHCoSZxmQ/w\n43yCbHWZunK1H+qyFhXeTiUpt6q5/42tjtuLCeH+6RHgO4WpHma2OsRZrFuz\nkAmQd4TLfGEywuOy3Av1HEyK7ZG+JvApRLWZJjyFkLuhypIKv9xEklzdJCj8\nzof66CbAGhX/kpnTUPivp63ex2deoOacuY9V1gHE1FaoVaNlbhqSL8PYzngc\nnl+zYg7GgDRYIuQNYRAFL565gXTg9G3CO7NSuVcr9D5K6emxQTLA+a4/gSpi\n8Gl+dLi1PSvWwblKcPtKGaWKqw2g/uZOwktPhsXGRV7TeYBV/s2VGwE3XhEn\ndF++9lg0X1UFcXvvfecCh0Pp+hrC2mQIDCnHcKQu3Vr01UgZXPLxjnAAnfHH\nOiCsnIeGL7u1QnKRxdGUFCFQTLzbaPO8QaFHkBoPIoH7if6jLqAbYhd+Tnh+\nQ+Pjzm4vTVBWY5XkUITi/rsX/c6DjgBJ4Koip8yJt1O5gAy1PBNPnH7ELu9c\nKIaK8kDfc9+UuG7bhSXfEq5vgKsqo52/j+BQ5Hyd1swTh6OZ68bBVeua+Gpn\neOx4Q3UtD2iD8nOsq6ilZ0kaT5KkYu0/+Pnzes/Dk0FMTQrVGL1fdNR+Znto\nIup8hVt1n+bOLmoJSoXj9mdohcYO3yWr2ZtH/n0nq5nvIg9BcmBFR+Hj5d0I\nRgsR\r\n=An5T\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH0RANee/71m3jNFACeqT5BRIV9/skhOypC7fgRIzALiAiBRCvSLNy8KlfdAuZ8nwO5MTQABF7x3w1a9hyX5sRSnNQ=="}]},"maintainers":[{"email":"dnaab@contractor.usgs.gov","name":"danielnaab-usgs"},{"email":"drsteini@contractor.usgs.gov","name":"drsteini-usgs"},{"email":"mbucknell@usgs.gov","name":"mbucknell-usgs"},{"email":"owi_delivery@usgs.gov","name":"usgs-wma"}],"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_1.1.0-snapshot.fb19b4e_1570215277200_0.7709615954789426"},"_hasShrinkwrap":false},"1.1.0-snapshot.0068bd8":{"name":"wdfn-viz","version":"1.1.0-snapshot.0068bd8","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"node-sass --include-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","clean":"rm -rf dist && mkdir dist","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"karma start","test:watch":"karma start --debug --no-single-run --browsers Chrome","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://github.com/usgs/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://github.com/usgs/wdfn-viz/issues"},"homepage":"https://github.com/usgs/wdfn-viz","engines":{"node":">= 8"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.2.1"},"devDependencies":{"autoprefixer":"^9.6.1","ajv":"^6.10.2","css-mqpacker":"^7.0.0","cssnano":"^4.1.10","eslint":"^6.5.0","eslint-plugin-jasmine":"^2.10.1","jasmine-core":"^3.4.0","karma":"^4.3.0","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^1.1.0","karma-jasmine":"^2.0.1","karma-js-coverage":"^0.4.0","karma-rollup-preprocessor":"^7.0.2","live-server":"^1.2.1","node-sass":"^4.12.0","nodemon":"^1.19.1","npm-run-all":"^4.1.3","nunjucks":"^3.2.0","nunjucks-cli":"^1.0.0","postcss-cli":"^6.1.3","postcss-flexbugs-fixes":"^4.1.0","rollup":"^1.22.0","rollup-plugin-buble":"^0.19.8","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-istanbul":"^2.0.1","rollup-plugin-node-resolve":"^4.2.4","stylelint":"^10.1.0","stylelint-scss":"^3.11.1"},"gitHead":"0068bd8ccb4aa392471c989da5453f2ab7211606","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![Build Status](https://travis-ci.org/usgs/wdfn-viz.svg?branch=master)](https://travis-ci.org/usgs/wdfn-viz)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/6faaca8b97f34929b141c4444d919e4e)](https://www.codacy.com/app/usgs_wma_dev/wdfn-viz?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=usgs/wdfn-viz&amp;utm_campaign=Badge_Grade)\n\nProvides Sass stylesheets and images that can be used when creating web pages that need to\nmeet USGS visual identity standards. The stylesheets use USWDS (https://designsystem.digital.gov/)\nas the basis so all USWDS components are available.\n\n## Usage\n\nThe repo can be installed in an existing project by installing via npm.\n\n```bash\nnpm install wdfn-viz\n```\n\nTo install the latest development snapshot (containing the current state of the master branch):\n\n```bash\nnpm install wdfn-viz@snapshot\n```\n\nThe main Sass stylesheet that should be imported into a web page's Sass file and is at /src/stylesheets/wdfnviz.scss.\nThis will also include the USWDS style sheets so a separate import is not required. This directory should be \nspecified on the --include-path option along with the uswds/src/stylesheets when the site's Sass is built. When building \nthe style sheets the css should also be processed by postcss using the autoprefixer, cssnano, and css-mq-packer using a postcss.config.js file:\n```javascript\nconst autoprefixerOptions = [\n    '>2%',\n    'Last 2 versions',\n    'IE 11'\n];\n\nmodule.exports = ctx => ({\n    map: Object.assign({}, ctx.options.map, {inline: false}),\n    parser: ctx.options.parser,\n    plugins: {\n        autoprefixer: autoprefixerOptions,\n        cssnano: {\n            autoprefixer: {\n                browsers: autoprefixerOptions\n            }\n        },\n        'css-mqpacker': {\n            sort: true\n        }\n    }\n});\n```\nYou may also want to include postcss-flexbugs-fixes plugin as is done for building wdfn-viz.\n\nBelow is an example of the process:\n```\n% node-sass --include-path node_modules/wdfn-viz/src/stylesheets --include-path node_modules/uswds/src/stylesheets src/styles.main.css dist/main.css\n% postcss dist/main.css  -o dist/main.css\n```\n\nPostcss generates internal sourcemaps by default. You may want to consider using the --map option to create external map files\nor if you want to minimize your css assets, you may want to disable entirely by using --no-map\n\nWhen building the assets, the images should be collected in a common directory and specified in the project's Sass\nfiles using the $theme-image-path variable. This should include the images in wdfn-viz/src/img that provide the USGS favicon and\nlogos. If using USWDS images those will also need to be collected. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nThe fonts should also be collected in a common directory and specified in the project's Sass files using the $theme-font-path\nvariable. Below are examples of commands that could be used to collect the image and font assets.\n```\n% mkdir -p dist/img && cp -r node_modules/uswds/src/img/* dist/img && cp -r node_modules/wdfn-viz/src/img/* dist/img\n% mkdir -p dist/fonts && cp -r node_modules/uswds/src/fonts/* dist/fonts\n```\n\nThe javascript should be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined. In order to use, a loading function should be defined which will be executed \nwhen the page loads. Below is a simple example:\n```javascript\nimport wdfnviz from 'wdfn-viz';\n\nconst load = function () {\n    null;  Add code that should get executed when the page is loaded\n}\n\nwdfnviz.main(load);\n\n\n```\n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos.\n\n## Publishing to npm\n\nTravisCI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when commits are made to the master branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://github.com/usgs/wdfn-viz/blob/master/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit.\n","readmeFilename":"README.md","_id":"wdfn-viz@1.1.0-snapshot.0068bd8","_nodeVersion":"10.16.3","_npmVersion":"6.9.0","dist":{"integrity":"sha512-LinA5jCebRnR3VTndI3oFGZdgeytnKQE+0jtegkknQllCrrba8xnEuVIuNSj/LTCnKkXDWH1Ns/yV4S8rcTmmw==","shasum":"38a18279d2b060c1a8bbc74942a7a22386bcf371","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-1.1.0-snapshot.0068bd8.tgz","fileCount":530,"unpackedSize":7658429,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdl5d5CRA9TVsSAnZWagAAkBoP/A7Wco0FVVZ2pE/rH174\n5Zo0r7pxCuBrTX9T1jTCdD4Igj/W4B1RXMFq4gSBS+n7ho5PKlG0jQWDjf78\nCgI6QYKW8v5tuVJriF/k183RXc+8l4Fg4x9YbSLRP8341zH8Nx+K8ZNQWAxF\nGOhVXQqEbGzPyXFK9aJrGd+YSh7Lhf5r/J6eTaEebKFpXXOWIfctdXgeKpIi\nCSOz/lhLpmjTccUrIBCaAaTzCogM1nRXCqMcyWi6VSCWBUvjE2Jz7OnOGexc\nJNUYN2R0rEVCgcbtAdznmDf6Cw36AkevcMCDBk4n3SlpePsM3oWLm4Bwii/r\nkvlqwbKu9K937EgmiDwsljaVApvy+bPPEXJExS++3BbKY/+dLU028vr/4Ud4\nsO74zUUStHS8AU8rYk69enYgZDdeR+E5Ujl4Rb7+LDcXIVwXSKS5Cvt2VEc4\nmnzSUx+ebvFOZwqnA1MIWdGD8F3PY3A12L9tXqv+mZUqnBrIKmd3HPzcb8tC\nLDNBjdTJbI1eeGhuawghiOODnQiTVy9SJroYHGU/aUyUMSHzLZ9vyPCFdwEZ\n1it7krdA5vJlU8EuCxQSvUFrtp1kSnJ8LFg/pEV8ezta1BgYXPBLB7p/3D3c\nt4ZNhMTXib7ltmeDDW+fvVzZqRfSZsnXbnm9re7UEifkOkl4gE09/Rswx+bl\npC+O\r\n=dMbu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCqpj8JJbXSkITWzr9RpR9DGl6ppDZxfsmI1OYFBNrVbAIhALcshiakGTy1Azai0o9HHYh92c9N/3ircWYH3kMRDwQt"}]},"maintainers":[{"email":"dnaab@contractor.usgs.gov","name":"danielnaab-usgs"},{"email":"drsteini@contractor.usgs.gov","name":"drsteini-usgs"},{"email":"mbucknell@usgs.gov","name":"mbucknell-usgs"},{"email":"owi_delivery@usgs.gov","name":"usgs-wma"}],"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_1.1.0-snapshot.0068bd8_1570215800768_0.7532363845190466"},"_hasShrinkwrap":false},"1.1.0":{"name":"wdfn-viz","version":"1.1.0","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"node-sass --include-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","clean":"rm -rf dist && mkdir dist","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"karma start","test:watch":"karma start --debug --no-single-run --browsers Chrome","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://github.com/usgs/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://github.com/usgs/wdfn-viz/issues"},"homepage":"https://github.com/usgs/wdfn-viz","engines":{"node":">= 8"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.2.1"},"devDependencies":{"autoprefixer":"^9.6.1","ajv":"^6.10.2","css-mqpacker":"^7.0.0","cssnano":"^4.1.10","eslint":"^6.5.0","eslint-plugin-jasmine":"^2.10.1","jasmine-core":"^3.4.0","karma":"^4.3.0","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^1.1.0","karma-jasmine":"^2.0.1","karma-js-coverage":"^0.4.0","karma-rollup-preprocessor":"^7.0.2","live-server":"^1.2.1","node-sass":"^4.12.0","nodemon":"^1.19.1","npm-run-all":"^4.1.3","nunjucks":"^3.2.0","nunjucks-cli":"^1.0.0","postcss-cli":"^6.1.3","postcss-flexbugs-fixes":"^4.1.0","rollup":"^1.22.0","rollup-plugin-buble":"^0.19.8","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-istanbul":"^2.0.1","rollup-plugin-node-resolve":"^4.2.4","stylelint":"^10.1.0","stylelint-scss":"^3.11.1"},"gitHead":"6b9fe8fc61ed4c03071b0b39e9d374acb14f0faa","_id":"wdfn-viz@1.1.0","_nodeVersion":"10.16.3","_npmVersion":"6.9.0","dist":{"integrity":"sha512-7uLfha+n7PpRCO9TXcvaN0hAt7kisoOgGr9EcREWJ1XVKRF5penwbIRR21jZkffho3fUU/eEbWpKfmmJmuyf+A==","shasum":"683930745d11c64c8c1c4d88e424e190fadcd7d9","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-1.1.0.tgz","fileCount":530,"unpackedSize":7658514,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdl5rZCRA9TVsSAnZWagAAJaMP/2jn1p3oUva2YcGtRsY7\nM/VQIqjnfM4MPLeLKN+EdtHRwPs7QFHzbArEhN2c534JESGGkr477RwxFUoC\nuIAcLSIpOFT/nUTP+2GKDzUZuVtF9gOsa2hq2oCuILv0MmR8h/+DDPv2TI33\niWgW+d+LuviwFnxp0zSZWXfDdB7gt7/dmqTqqQuBmfG573E/ovywqKHzZJjw\n5tOdWKF0ax3WZwqHYpcpuqZBPy/v59t+whebunFy4mcusxCuuVk3zL/JxJAE\nptTl06nmoyK0LA93eWsSEgbGYAsOfJ6t1FTRqYzdmQJfH0CNvR3SFqLKNNcW\nbce8qjUiKNGQhPD2MSfWmB0qte97uBtH26M+o//8gnJA0Ywn3WwnKdELfgcr\n8KcjQzPz0k1EL4CuLgh+ZBMqc1698e5pIEsEHgSi5/tQ0XLwmPamfaMPsEcL\nSUyJcLedXYVBYKGRYKKzpGg/UFIC9F2AtO0301GxQ8cqmcHenzT5J8spti23\nVkAF4w8A93IVkoOp0ZiO41/NdyM4CLEhDto3G8kdiP5NwV700kkDi2TavmMf\nHkAY1kCIj5egYjbXl90NyKVfm7/pZmwLbBuL3eAJkigYZeXXU3/HriI1VWZK\nDSXh0neVb5OCaYgTaO/PRj1jGPbIlM1Odkon4ocrEZI9xR4D2oZVOCLp3dfR\nmiXr\r\n=sF7b\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID3OBYnZViKo6BFCtu2Ru1mUmj3d5obAbED0bOntOjWFAiEA5dHvjksLn6cFB72m5xTv6Wf3fZwNTvRkOG7ZKVzZG/Q="}]},"maintainers":[{"email":"dnaab@contractor.usgs.gov","name":"danielnaab-usgs"},{"email":"drsteini@contractor.usgs.gov","name":"drsteini-usgs"},{"email":"mbucknell@usgs.gov","name":"mbucknell-usgs"},{"email":"owi_delivery@usgs.gov","name":"usgs-wma"}],"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_1.1.0_1570216664262_0.038660671104791655"},"_hasShrinkwrap":false},"1.2.0-snapshot.61a34c3":{"name":"wdfn-viz","version":"1.2.0-snapshot.61a34c3","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"node-sass --include-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","clean":"rm -rf dist && mkdir dist","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"karma start","test:watch":"karma start --debug --no-single-run --browsers Chrome","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://github.com/usgs/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://github.com/usgs/wdfn-viz/issues"},"homepage":"https://github.com/usgs/wdfn-viz","engines":{"node":">= 8"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.2.1"},"devDependencies":{"autoprefixer":"^9.6.4","ajv":"^6.10.2","css-mqpacker":"^7.0.0","cssnano":"^4.1.10","eslint":"^6.5.0","eslint-plugin-jasmine":"^2.10.1","jasmine-core":"^3.5.0","karma":"^4.3.0","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^1.2.0","karma-jasmine":"^2.0.1","karma-js-coverage":"^0.4.0","karma-rollup-preprocessor":"^7.0.2","live-server":"^1.2.1","node-sass":"^4.12.0","nodemon":"^1.19.3","npm-run-all":"^4.1.3","nunjucks":"^3.2.0","nunjucks-cli":"^1.0.0","postcss-cli":"^6.1.3","postcss-flexbugs-fixes":"^4.1.0","rollup":"^1.23.1","rollup-plugin-buble":"^0.19.8","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-istanbul":"^2.0.1","rollup-plugin-node-resolve":"^4.2.4","stylelint":"^11.0.0","stylelint-scss":"^3.11.1"},"gitHead":"61a34c35a1a68cd94e4a66577200ab8ee14f7c97","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![Build Status](https://travis-ci.org/usgs/wdfn-viz.svg?branch=master)](https://travis-ci.org/usgs/wdfn-viz)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/6faaca8b97f34929b141c4444d919e4e)](https://www.codacy.com/app/usgs_wma_dev/wdfn-viz?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=usgs/wdfn-viz&amp;utm_campaign=Badge_Grade)\n\nProvides Sass stylesheets and images that can be used when creating web pages that need to\nmeet USGS visual identity standards. The stylesheets use USWDS (https://designsystem.digital.gov/)\nas the basis so all USWDS components are available.\n\n## Usage\n\nThe repo can be installed in an existing project by installing via npm.\n\n```bash\nnpm install wdfn-viz\n```\n\nTo install the latest development snapshot (containing the current state of the master branch):\n\n```bash\nnpm install wdfn-viz@snapshot\n```\n\nThe main Sass stylesheet that should be imported into a web page's Sass file and is at /src/stylesheets/wdfnviz.scss.\nThis will also include the USWDS style sheets so a separate import is not required. This directory should be \nspecified on the --include-path option along with the uswds/src/stylesheets when the site's Sass is built. When building \nthe style sheets the css should also be processed by postcss using the autoprefixer, cssnano, and css-mq-packer using a postcss.config.js file:\n```javascript\nconst autoprefixerOptions = [\n    '>2%',\n    'Last 2 versions',\n    'IE 11'\n];\n\nmodule.exports = ctx => ({\n    map: Object.assign({}, ctx.options.map, {inline: false}),\n    parser: ctx.options.parser,\n    plugins: {\n        autoprefixer: autoprefixerOptions,\n        cssnano: {\n            autoprefixer: {\n                browsers: autoprefixerOptions\n            }\n        },\n        'css-mqpacker': {\n            sort: true\n        }\n    }\n});\n```\nYou may also want to include postcss-flexbugs-fixes plugin as is done for building wdfn-viz.\n\nBelow is an example of the process:\n```\n% node-sass --include-path node_modules/wdfn-viz/src/stylesheets --include-path node_modules/uswds/src/stylesheets src/styles.main.css dist/main.css\n% postcss dist/main.css  -o dist/main.css\n```\n\nPostcss generates internal sourcemaps by default. You may want to consider using the --map option to create external map files\nor if you want to minimize your css assets, you may want to disable entirely by using --no-map\n\nWhen building the assets, the images should be collected in a common directory and specified in the project's Sass\nfiles using the $theme-image-path variable. This should include the images in wdfn-viz/src/img that provide the USGS favicon and\nlogos. If using USWDS images those will also need to be collected. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nThe fonts should also be collected in a common directory and specified in the project's Sass files using the $theme-font-path\nvariable. Below are examples of commands that could be used to collect the image and font assets.\n```\n% mkdir -p dist/img && cp -r node_modules/uswds/src/img/* dist/img && cp -r node_modules/wdfn-viz/src/img/* dist/img\n% mkdir -p dist/fonts && cp -r node_modules/uswds/src/fonts/* dist/fonts\n```\n\nThe javascript should be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined. In order to use, a loading function should be defined which will be executed \nwhen the page loads. Below is a simple example:\n```javascript\nimport wdfnviz from 'wdfn-viz';\n\nconst load = function () {\n    null;  Add code that should get executed when the page is loaded\n}\n\nwdfnviz.main(load);\n\n\n```\n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos.\n\n## Publishing to npm\n\nTravisCI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when commits are made to the master branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://github.com/usgs/wdfn-viz/blob/master/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit.\n","readmeFilename":"README.md","_id":"wdfn-viz@1.2.0-snapshot.61a34c3","_nodeVersion":"10.16.3","_npmVersion":"6.9.0","dist":{"integrity":"sha512-CC7rrr3Wj+oJxDSvxReGx68Y9DOd2lxsLrLz1pE0ejAFby4qSbXAAyo8hHv1IFZJymDlz2nzRaR+AhV9ls+1aQ==","shasum":"4ce896a130c2ffbc36e19a138304ebf6be106a58","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-1.2.0-snapshot.61a34c3.tgz","fileCount":530,"unpackedSize":7658531,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdnItbCRA9TVsSAnZWagAAXCcP/23D4jAguraUxnXJKETf\nSFbf0sPojyhcl7+fb6bR+BAoFfkyrI+cvVJJgZaIe1w7gSE64KGqGDh2GJTW\n4zz40bRN1S08Y0I+AZZjeZbXRnus6hM0eq2mx4EeOLhKpVjXYhNx+oOgVsZ6\nAs+kuRAZEvPjeJQRj4kqTSqkc835WfKGJUCTqKYqw3Nd83sFFTpez/jZHOAb\n0hRsCIyr6Ee2bebfjkfGp4xQAFDIJWOFADjoRjAyP3YnhpNdn4psDOw9YbDh\nvH9JuFlrCgnuCYqhbX6bKxiUbJihJfgkjlf86DeH5f8/MR46pAxbf6tcJwgm\nUqNLUli1Z2u3Ir/eEbFkPI0Ex3+as/E280pInsxuJ7mJj1+gLkgq76Cv+0en\ndQN5wiNIz2E1TgNXshVRmTUiSmmrBSvlGL5Kl8B7VPMfWHnWqtthx8/P3fS/\n0N6aa2cBVuc19G53FSXPwtdByoht/0GX5ph69EJixPrKVqgZqF2zhxmU82Qg\n/6W9nIwPyXDDvInNB4bJBooqBq1B9y/SzsQF/Icg50bu9g0ff3P/eTEreBtc\nHEXhiTxfbTxzncvfwNGxhaeRDPSj1C8fWC6ZseoKuavnUA89MezSCUPzr4w0\nKV7z7GVYcAzFlnkTK+fAdH7WQ0mM3Y20JuBCkg4lvhtACA/iVAoN0lEixU99\ncGzn\r\n=k7pi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB90DxVIkAOOkEk1/pc2Lv3RTa6XJAaWMztkq1gmAU26AiAqRjQ2E+Svcqg9YO8mJhLo/jUWHFueVfQO4urKFzvTGA=="}]},"maintainers":[{"email":"dnaab@contractor.usgs.gov","name":"danielnaab-usgs"},{"email":"drsteini@contractor.usgs.gov","name":"drsteini-usgs"},{"email":"mbucknell@usgs.gov","name":"mbucknell-usgs"},{"email":"owi_delivery@usgs.gov","name":"usgs-wma"}],"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_1.2.0-snapshot.61a34c3_1570540379003_0.9694766539360788"},"_hasShrinkwrap":false},"1.2.0-snapshot.fa6eb96":{"name":"wdfn-viz","version":"1.2.0-snapshot.fa6eb96","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"node-sass --include-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","clean":"rm -rf dist && mkdir dist","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"karma start","test:watch":"karma start --debug --no-single-run --browsers Chrome","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://github.com/usgs/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://github.com/usgs/wdfn-viz/issues"},"homepage":"https://github.com/usgs/wdfn-viz","engines":{"node":">= 8"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.2.1"},"devDependencies":{"autoprefixer":"^9.6.4","ajv":"^6.10.2","css-mqpacker":"^7.0.0","cssnano":"^4.1.10","eslint":"^6.5.0","eslint-plugin-jasmine":"^2.10.1","jasmine-core":"^3.5.0","karma":"^4.3.0","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^1.2.0","karma-jasmine":"^2.0.1","karma-js-coverage":"^0.4.0","karma-rollup-preprocessor":"^7.0.2","live-server":"^1.2.1","node-sass":"^4.12.0","nodemon":"^1.19.3","npm-run-all":"^4.1.3","nunjucks":"^3.2.0","nunjucks-cli":"^1.0.0","postcss-cli":"^6.1.3","postcss-flexbugs-fixes":"^4.1.0","rollup":"^1.23.1","rollup-plugin-buble":"^0.19.8","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-istanbul":"^2.0.1","rollup-plugin-node-resolve":"^4.2.4","stylelint":"^11.0.0","stylelint-scss":"^3.11.1"},"gitHead":"fa6eb961b10f6f8ebf873f45805bdde454bad971","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![Build Status](https://travis-ci.org/usgs/wdfn-viz.svg?branch=master)](https://travis-ci.org/usgs/wdfn-viz)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/6faaca8b97f34929b141c4444d919e4e)](https://www.codacy.com/app/usgs_wma_dev/wdfn-viz?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=usgs/wdfn-viz&amp;utm_campaign=Badge_Grade)\n\nProvides Sass stylesheets and images that can be used when creating web pages that need to\nmeet USGS visual identity standards. The stylesheets use USWDS (https://designsystem.digital.gov/)\nas the basis so all USWDS components are available.\n\n## Usage\n\nThe repo can be installed in an existing project by installing via npm.\n\n```bash\nnpm install wdfn-viz\n```\n\nTo install the latest development snapshot (containing the current state of the master branch):\n\n```bash\nnpm install wdfn-viz@snapshot\n```\n\nThe main Sass stylesheet that should be imported into a web page's Sass file and is at /src/stylesheets/wdfnviz.scss.\nThis will also include the USWDS style sheets so a separate import is not required. This directory should be \nspecified on the --include-path option along with the uswds/src/stylesheets when the site's Sass is built. When building \nthe style sheets the css should also be processed by postcss using the autoprefixer, cssnano, and css-mq-packer using a postcss.config.js file:\n```javascript\nconst autoprefixerOptions = [\n    '>2%',\n    'Last 2 versions',\n    'IE 11'\n];\n\nmodule.exports = ctx => ({\n    map: Object.assign({}, ctx.options.map, {inline: false}),\n    parser: ctx.options.parser,\n    plugins: {\n        autoprefixer: autoprefixerOptions,\n        cssnano: {\n            autoprefixer: {\n                browsers: autoprefixerOptions\n            }\n        },\n        'css-mqpacker': {\n            sort: true\n        }\n    }\n});\n```\nYou may also want to include postcss-flexbugs-fixes plugin as is done for building wdfn-viz.\n\nBelow is an example of the process:\n```\n% node-sass --include-path node_modules/wdfn-viz/src/stylesheets --include-path node_modules/uswds/src/stylesheets src/styles.main.css dist/main.css\n% postcss dist/main.css  -o dist/main.css\n```\n\nPostcss generates internal sourcemaps by default. You may want to consider using the --map option to create external map files\nor if you want to minimize your css assets, you may want to disable entirely by using --no-map\n\nWhen building the assets, the images should be collected in a common directory and specified in the project's Sass\nfiles using the $theme-image-path variable. This should include the images in wdfn-viz/src/img that provide the USGS favicon and\nlogos. If using USWDS images those will also need to be collected. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nThe fonts should also be collected in a common directory and specified in the project's Sass files using the $theme-font-path\nvariable. Below are examples of commands that could be used to collect the image and font assets.\n```\n% mkdir -p dist/img && cp -r node_modules/uswds/src/img/* dist/img && cp -r node_modules/wdfn-viz/src/img/* dist/img\n% mkdir -p dist/fonts && cp -r node_modules/uswds/src/fonts/* dist/fonts\n```\n\nThe javascript should be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined. In order to use, a loading function should be defined which will be executed \nwhen the page loads. Below is a simple example:\n```javascript\nimport wdfnviz from 'wdfn-viz';\n\nconst load = function () {\n    null;  Add code that should get executed when the page is loaded\n}\n\nwdfnviz.main(load);\n\n\n```\n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos.\n\n## Publishing to npm\n\nTravisCI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when commits are made to the master branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://github.com/usgs/wdfn-viz/blob/master/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit.\n","readmeFilename":"README.md","_id":"wdfn-viz@1.2.0-snapshot.fa6eb96","_nodeVersion":"10.16.3","_npmVersion":"6.9.0","dist":{"integrity":"sha512-SOiuUnEDkys97AUGH7cnC+pHld70havfMbbU1jvJdtWE0PsfOUZ/bZ/9QYK3rJH+ouF3WIuF/82aF7NYx7Y8Ng==","shasum":"10f708147854c1927500f4b0def6797bafd5382c","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-1.2.0-snapshot.fa6eb96.tgz","fileCount":530,"unpackedSize":7658531,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdnI0wCRA9TVsSAnZWagAADuYP/jZsH7MrPMajdFPZ9Asn\nc27UNsueAhi0tTB+0I2k119M5qFXax0hBom0pF0JMxNCkLWUxzRuE545O4JF\nrN/sJT7370XduSU/PElwzUIkcW3XbhFv40nLM76GNrS9DZGsj9zZMOKi+8mp\n2sA5cFAcKwc29CEd0JoM29tws+p3c1BQISDTOLIqoWsDiaXsdwfwPxyALKtA\nNr4K7h75gq2Y8UOzMHqiNGBWqDwN8vUf3SRBPT5lKND2mZZnedWG4DkIIozR\nMGjYGB8+KyaeB2LNuGmNBGb+id41ZfxZ+3fiapsTsKxJxvFRicn6sI+x8FQp\nuIbmWipcD9deuzbhOwnq2xbLajPTTj2+ymD+2wZBhUJcX9xBvtx+/wRInLBP\nqI6WL0OfP6KB/Vz6MtOjCdYXj+glTAIp1oyANwGc7I5s8Yy6noX6/VO9x65A\n/dBvGFRpfiou+3npylRRzaOmfwhB8YdB5v50ZcY+GjlCo1Sd0+E7XDyI8mL2\nGozXrdiljzVn4l5Uq/nQ/Sh+H7Pjw/hZLOmOThXr6RYqX0KGtfXy5p/5C6Nb\n21d8/FgjG/JqHY4fFE0y4EjVQpHwkCFBg4bOpoeKFf3zmE3X0uf9KsaQQeG2\nobb5C9ydyGp8cuIgE3t2tV66CQEq6YWcA7kBt64rY0yBB9mn7elDyz3nhxUD\nJk6S\r\n=p1QE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCBcB+UMlrGuuUaHjH0S6vbGLuquHfegW9lIu6j/TdsAgIhAMfTTODJz//DIVLuvPfepTp/P5Q5bB0exrJ8N3Oq9ni9"}]},"maintainers":[{"email":"dnaab@contractor.usgs.gov","name":"danielnaab-usgs"},{"email":"drsteini@contractor.usgs.gov","name":"drsteini-usgs"},{"email":"mbucknell@usgs.gov","name":"mbucknell-usgs"},{"email":"owi_delivery@usgs.gov","name":"usgs-wma"}],"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_1.2.0-snapshot.fa6eb96_1570540847940_0.7282538339037983"},"_hasShrinkwrap":false},"1.2.0-snapshot.3e3b509":{"name":"wdfn-viz","version":"1.2.0-snapshot.3e3b509","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"node-sass --include-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","clean":"rm -rf dist && mkdir dist","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"karma start","test:watch":"karma start --debug --no-single-run --browsers Chrome","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://github.com/usgs/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://github.com/usgs/wdfn-viz/issues"},"homepage":"https://github.com/usgs/wdfn-viz","engines":{"node":">= 8"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.3.1"},"devDependencies":{"autoprefixer":"^9.7.3","ajv":"^6.10.2","css-mqpacker":"^7.0.0","cssnano":"^4.1.10","eslint":"^6.7.2","eslint-plugin-jasmine":"^4.1.0","jasmine-core":"^3.5.0","karma":"^4.4.1","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^1.2.0","karma-jasmine":"^2.0.1","karma-js-coverage":"^0.4.0","karma-rollup-preprocessor":"^7.0.2","live-server":"^1.2.1","node-sass":"^4.13.0","nodemon":"^2.0.1","npm-run-all":"^4.1.3","nunjucks":"^3.2.0","nunjucks-cli":"^1.0.0","postcss-cli":"^6.1.3","postcss-flexbugs-fixes":"^4.1.0","rollup":"^1.27.8","rollup-plugin-buble":"^0.19.8","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-istanbul":"^2.0.1","rollup-plugin-node-resolve":"^4.2.4","stylelint":"^11.1.1","stylelint-scss":"^3.13.0"},"gitHead":"3e3b5090285666b457dcf0a9f058e44bc9954b0c","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![Build Status](https://travis-ci.org/usgs/wdfn-viz.svg?branch=master)](https://travis-ci.org/usgs/wdfn-viz)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/6faaca8b97f34929b141c4444d919e4e)](https://www.codacy.com/app/usgs_wma_dev/wdfn-viz?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=usgs/wdfn-viz&amp;utm_campaign=Badge_Grade)\n\nProvides Sass stylesheets and images that can be used when creating web pages that need to\nmeet USGS visual identity standards. The stylesheets use USWDS (https://designsystem.digital.gov/)\nas the basis so all USWDS components are available.\n\n## Usage\n\nThe repo can be installed in an existing project by installing via npm.\n\n```bash\nnpm install wdfn-viz\n```\n\nTo install the latest development snapshot (containing the current state of the master branch):\n\n```bash\nnpm install wdfn-viz@snapshot\n```\n\nThe main Sass stylesheet that should be imported into a web page's Sass file and is at /src/stylesheets/wdfnviz.scss.\nThis will also include the USWDS style sheets so a separate import is not required. This directory should be \nspecified on the --include-path option along with the uswds/src/stylesheets when the site's Sass is built. When building \nthe style sheets the css should also be processed by postcss using the autoprefixer, cssnano, and css-mq-packer using a postcss.config.js file:\n```javascript\nconst autoprefixerOptions = [\n    '>2%',\n    'Last 2 versions',\n    'IE 11'\n];\n\nmodule.exports = ctx => ({\n    map: Object.assign({}, ctx.options.map, {inline: false}),\n    parser: ctx.options.parser,\n    plugins: {\n        autoprefixer: autoprefixerOptions,\n        cssnano: {\n            autoprefixer: {\n                browsers: autoprefixerOptions\n            }\n        },\n        'css-mqpacker': {\n            sort: true\n        }\n    }\n});\n```\nYou may also want to include postcss-flexbugs-fixes plugin as is done for building wdfn-viz.\n\nBelow is an example of the process:\n```\n% node-sass --include-path node_modules/wdfn-viz/src/stylesheets --include-path node_modules/uswds/src/stylesheets src/styles.main.css dist/main.css\n% postcss dist/main.css  -o dist/main.css\n```\n\nPostcss generates internal sourcemaps by default. You may want to consider using the --map option to create external map files\nor if you want to minimize your css assets, you may want to disable entirely by using --no-map\n\nWhen building the assets, the images should be collected in a common directory and specified in the project's Sass\nfiles using the $theme-image-path variable. This should include the images in wdfn-viz/src/img that provide the USGS favicon and\nlogos. If using USWDS images those will also need to be collected. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nThe fonts should also be collected in a common directory and specified in the project's Sass files using the $theme-font-path\nvariable. Below are examples of commands that could be used to collect the image and font assets.\n```\n% mkdir -p dist/img && cp -r node_modules/uswds/src/img/* dist/img && cp -r node_modules/wdfn-viz/src/img/* dist/img\n% mkdir -p dist/fonts && cp -r node_modules/uswds/src/fonts/* dist/fonts\n```\n\nThe javascript should be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined. In order to use, a loading function should be defined which will be executed \nwhen the page loads. Below is a simple example:\n```javascript\nimport wdfnviz from 'wdfn-viz';\n\nconst load = function () {\n    null;  Add code that should get executed when the page is loaded\n}\n\nwdfnviz.main(load);\n\n\n```\n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos.\n\n## Publishing to npm\n\nTravisCI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when commits are made to the master branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://github.com/usgs/wdfn-viz/blob/master/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit.\n","readmeFilename":"README.md","_id":"wdfn-viz@1.2.0-snapshot.3e3b509","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-SbPQy5Ko5zVNfC7MBAYsGNM28oIlbCLW5tjyhDELwmxQIjj6ajZlLKLWpCH31EMCLiI6ErecxD6fmvDC/jNUZQ==","shasum":"a6ab2feee3d71ea3aa0702b7c189cb2fcf79dacf","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-1.2.0-snapshot.3e3b509.tgz","fileCount":530,"unpackedSize":7678494,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd5qdjCRA9TVsSAnZWagAAUCEQAImkVdcledCeH2bd52xb\nq99ROzkuRFR193/Z31fP9SxWrKttVXjpaZCeTnKvEobyCKFlywCpcD+S2Ew6\nT2UEntPeQxk9fnGro6NJzSmW1k9dfc+dMriwV6mUC5AEVx5xluhfP+Oof3je\nGmbrT2FaKKReMW+4v4s4nWNyeZOgxqpsH9fEcpsFd7ApWIZvN8ffRkoaRFfh\n7MdO1ABRD9PiPzfwGIU21925Rn8vqCLWc0NIGr0pVh8MKe/luIwgQKfwk3NM\nN67t3/eBNpdE1+0LPV6ogL7rT3sNKWwcLZoMDtlMrQI62B/90a48O8b3y4u/\nKR7FbnygSyvs5rKt4LhMky+D8f8h2DKMUPuj4qCSU12YGg7gQB55O5H9Wu1X\nsHH48TUnN7YYJg5CoirE72vpVUQn8QlOFqE4sqnrxrPpO/nr/tZMNprLzv9Y\n13ZBKJ2fcM/5sRhXBtCv36w+kAYCpt9Kf1VZsdBbpaFB5PZ6+VuiSGA3SBHQ\nTeEFDluyOas+M4S8pXNWG4vZeVQpPg7Tt/2f5oQTliQFRdCa2karBjyDIwfR\nepIXX50niwg/pmcUjpOK/hy6KKvtbflTw5b3qhRbbup9N+4ysFGSS9qfJJd1\nVsllNOA68Dfg/EaxNA/8vqGV6XWkTdihbBqcPm361Vb+94zqllWlsG/EAS7z\nyfiC\r\n=zcdn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF+XneC9Xf8kwZwgJeY1FxOtGhFZijaUkOltyb7rsRzEAiEAtcVJFqqQ5Njay9z6VjM0sXeb82n6AL9Q1yz254smdC0="}]},"maintainers":[{"email":"dnaab@contractor.usgs.gov","name":"danielnaab-usgs"},{"email":"drsteini@contractor.usgs.gov","name":"drsteini-usgs"},{"email":"mbucknell@usgs.gov","name":"mbucknell-usgs"},{"email":"owi_delivery@usgs.gov","name":"usgs-wma"}],"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_1.2.0-snapshot.3e3b509_1575397218408_0.9112132177096934"},"_hasShrinkwrap":false},"1.2.0":{"name":"wdfn-viz","version":"1.2.0","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"node-sass --include-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","clean":"rm -rf dist && mkdir dist","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"karma start","test:watch":"karma start --debug --no-single-run --browsers Chrome","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://github.com/usgs/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://github.com/usgs/wdfn-viz/issues"},"homepage":"https://github.com/usgs/wdfn-viz","engines":{"node":">= 8"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.3.1"},"devDependencies":{"autoprefixer":"^9.7.3","ajv":"^6.10.2","css-mqpacker":"^7.0.0","cssnano":"^4.1.10","eslint":"^6.7.2","eslint-plugin-jasmine":"^4.1.0","jasmine-core":"^3.5.0","karma":"^4.4.1","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^1.2.0","karma-jasmine":"^2.0.1","karma-js-coverage":"^0.4.0","karma-rollup-preprocessor":"^7.0.2","live-server":"^1.2.1","node-sass":"^4.13.0","nodemon":"^2.0.1","npm-run-all":"^4.1.3","nunjucks":"^3.2.0","nunjucks-cli":"^1.0.0","postcss-cli":"^6.1.3","postcss-flexbugs-fixes":"^4.1.0","rollup":"^1.27.8","rollup-plugin-buble":"^0.19.8","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-istanbul":"^2.0.1","rollup-plugin-node-resolve":"^4.2.4","stylelint":"^11.1.1","stylelint-scss":"^3.13.0"},"gitHead":"16468b7cfe15e6c68d2361fc9344fd768d20168d","_id":"wdfn-viz@1.2.0","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-09m0irLEHE+BkcTy57v7aivuwgYTjduhKcIxGuiqjkK3/mao4PSAgnsLN1rnFfwuhiXnSqXxR5XSbhclVfRLUg==","shasum":"50e783d062071c39845bac1a0e78e9d59474245a","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-1.2.0.tgz","fileCount":530,"unpackedSize":7678586,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd5quiCRA9TVsSAnZWagAAm2EP/R8FvkhnkoQ1FCREd8n7\ngUVk1iFBynMMbCXvC5/4tikWxQ6b3LL/PSvBWZaWf78UaRHC2JMQI2moETmM\n7Jades2/u+n8Lo+KX87lZtv1mHUHnsQPxYLOzMoeGE7RA0PduqiI5z2+NJd9\nQPB3FkXaMIhG0BNUi30K0fLNcCXhUJnXogbqMgDboSLqOhRQrMlkvsR2bQdc\nIoPJXTAzn2xyDdyunvURnxjSYtjhKCIGBwdxHfLXPN5pMbTPt9JjdNUu2Ns3\nNJWP6KqUUmQPzW6BjqaR03k9nQiK4YsLDjC5/5lLe5Gk0t6q/jfD3+JqsA4B\nGs/6qvc4xXP9qA2NLPwZsW2VfsZ0lLVKXnZcbDN2PXHXATtDuRt3hRbFhEff\nBlNgc+iB/9WonpN3h9nI/tfeKxfXOgMPUQDJXTDLvEy6CiZWQNWkiQMky3LS\nPwJYGmX8Y6z13QPDxgr5PtG1PM7BYNmGChFyUP+BygzGSBPQ6bSKO+6s6K7M\nbzJOCk4CzktHkZp63ICSfOHkqV5nmcecFQtRxKYNX1WqZIUlT74vnjvh//ky\nNtJe/+5QHkY70yUgeesY2FrA2aQ8a5jvlOqnSrdP/UvWBRjaA+QUyGwsec+I\nmtao5xRR3tNQ0k4mopTOXZg9IQD8R5xj8/dqRMm73cJvatwfszoefZfRZA8M\nOtn8\r\n=PSiM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFtjPGw/MCgDB1DJpbTahwf9GLZr5DQ/NyEBN5Gn6qeeAiEAo36LqpuTVhLIxqlleHZExijzVPn6m8qEwKfhwAxLOw0="}]},"maintainers":[{"email":"dnaab@contractor.usgs.gov","name":"danielnaab-usgs"},{"email":"drsteini@contractor.usgs.gov","name":"drsteini-usgs"},{"email":"mbucknell@usgs.gov","name":"mbucknell-usgs"},{"email":"owi_delivery@usgs.gov","name":"usgs-wma"}],"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_1.2.0_1575398306102_0.6980663921272987"},"_hasShrinkwrap":false},"1.3.0-snapshot.49b594c":{"name":"wdfn-viz","version":"1.3.0-snapshot.49b594c","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"node-sass --include-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","clean":"rm -rf dist && mkdir dist","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"karma start","test:watch":"karma start --debug --no-single-run --browsers Chrome","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://github.com/usgs/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://github.com/usgs/wdfn-viz/issues"},"homepage":"https://github.com/usgs/wdfn-viz","engines":{"node":">= 8"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.3.1"},"devDependencies":{"autoprefixer":"^9.7.3","ajv":"^6.10.2","css-mqpacker":"^7.0.0","cssnano":"^4.1.10","eslint":"^6.7.2","eslint-plugin-jasmine":"^4.1.0","jasmine-core":"^3.5.0","karma":"^4.4.1","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^1.2.0","karma-jasmine":"^2.0.1","karma-js-coverage":"^0.4.0","karma-rollup-preprocessor":"^7.0.2","live-server":"^1.2.1","node-sass":"^4.13.0","nodemon":"^2.0.1","npm-run-all":"^4.1.3","nunjucks":"^3.2.0","nunjucks-cli":"^1.0.0","postcss-cli":"^6.1.3","postcss-flexbugs-fixes":"^4.1.0","rollup":"^1.27.8","rollup-plugin-buble":"^0.19.8","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-istanbul":"^2.0.1","rollup-plugin-node-resolve":"^4.2.4","stylelint":"^11.1.1","stylelint-scss":"^3.13.0"},"gitHead":"49b594cf27a3d81e9f4eb0e67c55f4d1693dfeb4","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![Build Status](https://travis-ci.org/usgs/wdfn-viz.svg?branch=master)](https://travis-ci.org/usgs/wdfn-viz)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/6faaca8b97f34929b141c4444d919e4e)](https://www.codacy.com/app/usgs_wma_dev/wdfn-viz?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=usgs/wdfn-viz&amp;utm_campaign=Badge_Grade)\n\nProvides Sass stylesheets and images that can be used when creating web pages that need to\nmeet USGS visual identity standards. The stylesheets use USWDS (https://designsystem.digital.gov/)\nas the basis so all USWDS components are available.\n\n## Usage\n\nThe repo can be installed in an existing project by installing via npm.\n\n```bash\nnpm install wdfn-viz\n```\n\nTo install the latest development snapshot (containing the current state of the master branch):\n\n```bash\nnpm install wdfn-viz@snapshot\n```\n\nThe main Sass stylesheet that should be imported into a web page's Sass file and is at /src/stylesheets/wdfnviz.scss.\nThis will also include the USWDS style sheets so a separate import is not required. This directory should be \nspecified on the --include-path option along with the uswds/src/stylesheets when the site's Sass is built. When building \nthe style sheets the css should also be processed by postcss using the autoprefixer, cssnano, and css-mq-packer using a postcss.config.js file:\n```javascript\nconst autoprefixerOptions = [\n    '>2%',\n    'Last 2 versions',\n    'IE 11'\n];\n\nmodule.exports = ctx => ({\n    map: Object.assign({}, ctx.options.map, {inline: false}),\n    parser: ctx.options.parser,\n    plugins: {\n        autoprefixer: autoprefixerOptions,\n        cssnano: {\n            autoprefixer: {\n                browsers: autoprefixerOptions\n            }\n        },\n        'css-mqpacker': {\n            sort: true\n        }\n    }\n});\n```\nYou may also want to include postcss-flexbugs-fixes plugin as is done for building wdfn-viz.\n\nBelow is an example of the process:\n```\n% node-sass --include-path node_modules/wdfn-viz/src/stylesheets --include-path node_modules/uswds/src/stylesheets src/styles.main.css dist/main.css\n% postcss dist/main.css  -o dist/main.css\n```\n\nPostcss generates internal sourcemaps by default. You may want to consider using the --map option to create external map files\nor if you want to minimize your css assets, you may want to disable entirely by using --no-map\n\nWhen building the assets, the images should be collected in a common directory and specified in the project's Sass\nfiles using the $theme-image-path variable. This should include the images in wdfn-viz/src/img that provide the USGS favicon and\nlogos. If using USWDS images those will also need to be collected. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nThe fonts should also be collected in a common directory and specified in the project's Sass files using the $theme-font-path\nvariable. Below are examples of commands that could be used to collect the image and font assets.\n```\n% mkdir -p dist/img && cp -r node_modules/uswds/src/img/* dist/img && cp -r node_modules/wdfn-viz/src/img/* dist/img\n% mkdir -p dist/fonts && cp -r node_modules/uswds/src/fonts/* dist/fonts\n```\n\nThe javascript should be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined. In order to use, a loading function should be defined which will be executed \nwhen the page loads. Below is a simple example:\n```javascript\nimport wdfnviz from 'wdfn-viz';\n\nconst load = function () {\n    null;  Add code that should get executed when the page is loaded\n}\n\nwdfnviz.main(load);\n\n\n```\n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos.\n\n## Publishing to npm\n\nTravisCI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when commits are made to the master branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://github.com/usgs/wdfn-viz/blob/master/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit.\n","readmeFilename":"README.md","_id":"wdfn-viz@1.3.0-snapshot.49b594c","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-tjvoxegzQTCtH+71V4nM9vTK+O3f+1esGw+Ojo66SPVvzeSs/DEdqbUXwxaL5I7683UTKqaZbFJHGu2/xt6sYw==","shasum":"bd4c0a2488550eb4ee10072f19052e10ece3a368","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-1.3.0-snapshot.49b594c.tgz","fileCount":530,"unpackedSize":7678603,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd5q23CRA9TVsSAnZWagAAfEkP/3g02yV5SzSh+5GQveM+\nNmgh8Gpp54Z9MUQWPgff0ny29MC0fMIM07xvvEbtFBIrNgvlvoOChcEPgeJw\nNZJmAFH1/nUQyrJZQzZIB1ULln1S6JUlyY9G42ftSOMViGGDWPvL+8rVaN99\n/y6xDTawaiDku1z0Ydo3i8czuOUpTVW1q9uQflHrY0OMh6VuUJqWBqhgShXq\nru4T9F4KOBttsErdYHEysnJ3Tbtd6B1X4humIbHpRNp+Pn4sHmXKizf9AtD3\nvlymX8RiVqv5P/+phYxv9SbIJ2EiOBz5nGb9Ufi7yjOIatCVpw/L3injoN00\njHWS5HZLB4WUAEUL2nNKSnSsNiONSOCIfUx/z7TKscORnddKU/Od+yYz8F+a\n9RHMKixvTdWF6LlQV0F7c2wRBF0Tl3mqz0FwDzP3qs14OdO37UwHCDurVJLV\nM9JgwD+QFjF5za96xkrPDOKIZJNXxjySjOMmIUS7fDGW4UDNUg3BOt01trsI\n1f3DhpaDksU4qCTKxBsWn8T0JR5O7aXhx9fhtj+WJYP3EaWIcEHOk0kIQIee\nBeA36uqmUL7+/gVws3d+CWacvq0sQojLNhjXlUrVqKJKGS/oe+BdAgYzk2cs\nTllWJ9EN3Ij2pBnFu7nRC6ft9w5y935Ev8WomDdDMoA+IjR70mKwqZbTvd9C\nTA3v\r\n=h9+3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDDIxR0vlSMRK19efhbGrRrNkV8hFq/wuZCtB7IMcKi4AIgBhFttE3mnMYbRsAv0gIn1LUjwA4HgRyOmvZFp3yYCQQ="}]},"maintainers":[{"email":"dnaab@contractor.usgs.gov","name":"danielnaab-usgs"},{"email":"drsteini@contractor.usgs.gov","name":"drsteini-usgs"},{"email":"mbucknell@usgs.gov","name":"mbucknell-usgs"},{"email":"owi_delivery@usgs.gov","name":"usgs-wma"}],"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_1.3.0-snapshot.49b594c_1575398839053_0.19619722374053272"},"_hasShrinkwrap":false},"1.3.0-snapshot.1d4acb8":{"name":"wdfn-viz","version":"1.3.0-snapshot.1d4acb8","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"node-sass --include-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","clean":"rm -rf dist && mkdir dist","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"karma start","test:watch":"karma start --debug --no-single-run --browsers Chrome","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://github.com/usgs/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://github.com/usgs/wdfn-viz/issues"},"homepage":"https://github.com/usgs/wdfn-viz","engines":{"node":">= 8"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.4.0"},"devDependencies":{"autoprefixer":"^9.7.3","ajv":"^6.10.2","css-mqpacker":"^7.0.0","cssnano":"^4.1.10","eslint":"^6.7.2","eslint-plugin-jasmine":"^4.1.0","jasmine-core":"^3.5.0","karma":"^4.4.1","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^1.2.0","karma-jasmine":"^2.0.1","karma-js-coverage":"^0.4.0","karma-rollup-preprocessor":"^7.0.2","live-server":"^1.2.1","node-sass":"^4.13.0","nodemon":"^2.0.2","npm-run-all":"^4.1.3","nunjucks":"^3.2.0","nunjucks-cli":"^1.0.0","postcss-cli":"^6.1.3","postcss-flexbugs-fixes":"^4.1.0","rollup":"^1.27.13","rollup-plugin-buble":"^0.19.8","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-istanbul":"^2.0.1","rollup-plugin-node-resolve":"^4.2.4","stylelint":"^12.0.0","stylelint-scss":"^3.13.0"},"gitHead":"1d4acb8952f9126346f18a69a9590551811f1635","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![Build Status](https://travis-ci.org/usgs/wdfn-viz.svg?branch=master)](https://travis-ci.org/usgs/wdfn-viz)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/6faaca8b97f34929b141c4444d919e4e)](https://www.codacy.com/app/usgs_wma_dev/wdfn-viz?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=usgs/wdfn-viz&amp;utm_campaign=Badge_Grade)\n\nProvides Sass stylesheets and images that can be used when creating web pages that need to\nmeet USGS visual identity standards. The stylesheets use USWDS (https://designsystem.digital.gov/)\nas the basis so all USWDS components are available.\n\n## Usage\n\nThe repo can be installed in an existing project by installing via npm.\n\n```bash\nnpm install wdfn-viz\n```\n\nTo install the latest development snapshot (containing the current state of the master branch):\n\n```bash\nnpm install wdfn-viz@snapshot\n```\n\nThe main Sass stylesheet that should be imported into a web page's Sass file and is at /src/stylesheets/wdfnviz.scss.\nThis will also include the USWDS style sheets so a separate import is not required. This directory should be \nspecified on the --include-path option along with the uswds/src/stylesheets when the site's Sass is built. When building \nthe style sheets the css should also be processed by postcss using the autoprefixer, cssnano, and css-mq-packer using a postcss.config.js file:\n```javascript\nconst autoprefixerOptions = [\n    '>2%',\n    'Last 2 versions',\n    'IE 11'\n];\n\nmodule.exports = ctx => ({\n    map: Object.assign({}, ctx.options.map, {inline: false}),\n    parser: ctx.options.parser,\n    plugins: {\n        autoprefixer: autoprefixerOptions,\n        cssnano: {\n            autoprefixer: {\n                browsers: autoprefixerOptions\n            }\n        },\n        'css-mqpacker': {\n            sort: true\n        }\n    }\n});\n```\nYou may also want to include postcss-flexbugs-fixes plugin as is done for building wdfn-viz.\n\nBelow is an example of the process:\n```\n% node-sass --include-path node_modules/wdfn-viz/src/stylesheets --include-path node_modules/uswds/src/stylesheets src/styles.main.css dist/main.css\n% postcss dist/main.css  -o dist/main.css\n```\n\nPostcss generates internal sourcemaps by default. You may want to consider using the --map option to create external map files\nor if you want to minimize your css assets, you may want to disable entirely by using --no-map\n\nWhen building the assets, the images should be collected in a common directory and specified in the project's Sass\nfiles using the $theme-image-path variable. This should include the images in wdfn-viz/src/img that provide the USGS favicon and\nlogos. If using USWDS images those will also need to be collected. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nThe fonts should also be collected in a common directory and specified in the project's Sass files using the $theme-font-path\nvariable. Below are examples of commands that could be used to collect the image and font assets.\n```\n% mkdir -p dist/img && cp -r node_modules/uswds/src/img/* dist/img && cp -r node_modules/wdfn-viz/src/img/* dist/img\n% mkdir -p dist/fonts && cp -r node_modules/uswds/src/fonts/* dist/fonts\n```\n\nThe javascript should be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined. In order to use, a loading function should be defined which will be executed \nwhen the page loads. Below is a simple example:\n```javascript\nimport wdfnviz from 'wdfn-viz';\n\nconst load = function () {\n    null;  Add code that should get executed when the page is loaded\n}\n\nwdfnviz.main(load);\n\n\n```\n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos.\n\n## Publishing to npm\n\nTravisCI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when commits are made to the master branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://github.com/usgs/wdfn-viz/blob/master/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit.\n","readmeFilename":"README.md","_id":"wdfn-viz@1.3.0-snapshot.1d4acb8","_nodeVersion":"12.14.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-fX/5Y1UAZirIANl3cmCHeZQP7iO6RFl/52hvbicLYMNWyr02vuhRjJ9IebO91oGZ290K5R5ilUp++SDA7uZY8g==","shasum":"02462c6e3a7e90f2035f40704e8ef0abcc6beed8","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-1.3.0-snapshot.1d4acb8.tgz","fileCount":532,"unpackedSize":7685554,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd/SgTCRA9TVsSAnZWagAAoSwP/irWjYL6FwGnl24EwASy\nidZWwdvdFrTtn8jFjDlDyA4t4N5V0mGQ7NGUGb0pvXHAKC84gyo/j5oQaKto\nygqceyGWy8EAUI1OnC37Q7/57PqearR2pct5uBS0suIIRfumYRJpisx7tEpM\n95kSlfgO4htxxNsw0dcdffG+4xxjOXA1BXwohsYhEcjKZpej9qlmK3fpHOrQ\nAR9T2GjskQosx66ZDuk4SekIGFvlTDaFBVL22KUrFy8WtTAt5Y8O/XID/3oO\nBl9BNgez46ODhLLhrExY2FIjiUqmLKCJLDBVnqXL4XnNcZZ3CUobrg06s/Zn\n1n3n1E1jQgpGbJnGoN275cSvTRlAULOZxAyhY+tOJlBA4JZVcui7halPJLMY\nrvHTIo58A9AU6xDpj/EBUpHPErpbnMWKyKzkOXFe5NSl2YjIyvX7oKfg8bl6\nEorpoFE+789s5Long/srVq+KHkjWvdN7wA6Bn9C81AB2nNY2it4c9I2z97uM\nSikjtbG/ZUchbHei2Dr00M9REJECOahXLaxyV3Y7/XGFmjKQENZdPf2DJh4h\nwWwV4mrad0nOpnJ2hXmju7xGTXP3pdOjtdMu6a9e9jOQAo5Zto7jyAKBBrUh\nSX6caDhkqo9xgTwWxd4XN8WZSUVjBnhzenTOWHug35hp7CzIglT93VtllU0l\nPIfu\r\n=T0Ev\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDiWYZc8PR6Jsa3mLNHamo7eVTK7fSl75wFlgS8JpgT+gIgOeswXtmJNtw/FXljv0/KIYt84nFp40nqc7+ygG8IZEU="}]},"maintainers":[{"email":"dnaab@contractor.usgs.gov","name":"danielnaab-usgs"},{"email":"drsteini@contractor.usgs.gov","name":"drsteini-usgs"},{"email":"mbucknell@usgs.gov","name":"mbucknell-usgs"},{"email":"owi_delivery@usgs.gov","name":"usgs-wma"}],"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_1.3.0-snapshot.1d4acb8_1576871954277_0.16563643619605362"},"_hasShrinkwrap":false},"1.3.0":{"name":"wdfn-viz","version":"1.3.0","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"node-sass --include-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","clean":"rm -rf dist && mkdir dist","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"karma start","test:watch":"karma start --debug --no-single-run --browsers Chrome","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://github.com/usgs/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://github.com/usgs/wdfn-viz/issues"},"homepage":"https://github.com/usgs/wdfn-viz","engines":{"node":">= 8"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.4.0"},"devDependencies":{"autoprefixer":"^9.7.3","ajv":"^6.10.2","css-mqpacker":"^7.0.0","cssnano":"^4.1.10","eslint":"^6.7.2","eslint-plugin-jasmine":"^4.1.0","jasmine-core":"^3.5.0","karma":"^4.4.1","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^1.2.0","karma-jasmine":"^2.0.1","karma-js-coverage":"^0.4.0","karma-rollup-preprocessor":"^7.0.2","live-server":"^1.2.1","node-sass":"^4.13.0","nodemon":"^2.0.2","npm-run-all":"^4.1.3","nunjucks":"^3.2.0","nunjucks-cli":"^1.0.0","postcss-cli":"^6.1.3","postcss-flexbugs-fixes":"^4.1.0","rollup":"^1.27.13","rollup-plugin-buble":"^0.19.8","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-istanbul":"^2.0.1","rollup-plugin-node-resolve":"^4.2.4","stylelint":"^12.0.0","stylelint-scss":"^3.13.0"},"gitHead":"def757e745edc0a25e507b249fdba3794001385c","_id":"wdfn-viz@1.3.0","_nodeVersion":"12.14.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-jnTwmKo7TuKI7gmWer30bFEEwx5OJjf9AkX5gjd+jqQuNptH9oE4g9p2i7Op9f7TjMqUcIDf16gQ+gIyvz7GAQ==","shasum":"171a85686e3b07be8d209c0e9352f8b99908dd04","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-1.3.0.tgz","fileCount":532,"unpackedSize":7685537,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd/SqkCRA9TVsSAnZWagAATX0P/2ZHYk83gR224o7nzphL\nqONJlVp/PrEpg645pRiuZbbHeEjIcs5cGCUCrL8tk7bcf99Ilic4KqHK/Hlr\nsZ/+SFuA9E94rb/n8HqP78gOKrAiwo/aZwY3bHkbiY4CXQGiJ1E7S4iV2XY0\ntjy4ZriZUCHqTI/e5JczI5YsPnHcz+A30oRpCTbq2NjFudP04CC35TIXNw5N\nHRU7I6iGmn7+wP4dEuKrmPo2+ZCxdi8zVaqp10O9kxoBib+GA/DMPHmkaSx8\nAugmFgQmuKhhDWxm6Fo1GLuoEMod0NQfmFS4K7Jm84NPTKhnEQItPXSXVtl9\ntts8c0yAY7WD29cJxSBw2QVdHPZ+peidwOnkSVhAmt1cubKEHUkETiavo9Mj\nRhOgxO4S6uPeMluhFIj/pUIXRa6rHSW1oVWJm/TJITbcWOHTO9jw4GZFSek/\nm7n2qhe18Ngj3kF1CZ1CXs5IJAi82JLJUr3CEaErWdV8dNXfeVzKnJk56pL3\n9wM5EsN4HWrGV4EyAQNU9LNWIcMbXb26GY0cmCVQRJ//r3KkEKeNTwTH9yzF\nA7uRKCxiwkbgi0h3mzqo2XZ9p0CqI0/yt/gRi8ate1MB4nNLXShD92teK+MY\nMsCVlOnQoPV5MCKQbGalZ3J9R1i06LcsTbDTdsf/bqEEruLSpmi/FCqRkxSn\nSJKv\r\n=XwSX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAad8wKvL5MG7Az1UKcvArfLTm1OFdnpPgOHp8N2wN6FAiEA5UDutRn4rhIlI8bONnYn/VVneENlRfb8YLO0pu1ouCY="}]},"maintainers":[{"email":"dnaab@contractor.usgs.gov","name":"danielnaab-usgs"},{"email":"drsteini@contractor.usgs.gov","name":"drsteini-usgs"},{"email":"mbucknell@usgs.gov","name":"mbucknell-usgs"},{"email":"owi_delivery@usgs.gov","name":"usgs-wma"}],"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_1.3.0_1576872611329_0.1391602749163381"},"_hasShrinkwrap":false},"1.4.0-snapshot.77df42e":{"name":"wdfn-viz","version":"1.4.0-snapshot.77df42e","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"node-sass --include-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","clean":"rm -rf dist && mkdir dist","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"karma start","test:watch":"karma start --debug --no-single-run --browsers Chrome","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://github.com/usgs/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://github.com/usgs/wdfn-viz/issues"},"homepage":"https://github.com/usgs/wdfn-viz","engines":{"node":">= 8"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.4.0"},"devDependencies":{"autoprefixer":"^9.7.3","ajv":"^6.10.2","css-mqpacker":"^7.0.0","cssnano":"^4.1.10","eslint":"^6.7.2","eslint-plugin-jasmine":"^4.1.0","jasmine-core":"^3.5.0","karma":"^4.4.1","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^1.2.0","karma-jasmine":"^2.0.1","karma-js-coverage":"^0.4.0","karma-rollup-preprocessor":"^7.0.2","live-server":"^1.2.1","node-sass":"^4.13.0","nodemon":"^2.0.2","npm-run-all":"^4.1.3","nunjucks":"^3.2.0","nunjucks-cli":"^1.0.0","postcss-cli":"^6.1.3","postcss-flexbugs-fixes":"^4.1.0","rollup":"^1.27.13","rollup-plugin-buble":"^0.19.8","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-istanbul":"^2.0.1","rollup-plugin-node-resolve":"^4.2.4","stylelint":"^12.0.0","stylelint-scss":"^3.13.0"},"gitHead":"77df42e0017a676425d24078def61be6cf3c2b99","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![Build Status](https://travis-ci.org/usgs/wdfn-viz.svg?branch=master)](https://travis-ci.org/usgs/wdfn-viz)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/6faaca8b97f34929b141c4444d919e4e)](https://www.codacy.com/app/usgs_wma_dev/wdfn-viz?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=usgs/wdfn-viz&amp;utm_campaign=Badge_Grade)\n\nProvides Sass stylesheets and images that can be used when creating web pages that need to\nmeet USGS visual identity standards. The stylesheets use USWDS (https://designsystem.digital.gov/)\nas the basis so all USWDS components are available.\n\n## Usage\n\nThe repo can be installed in an existing project by installing via npm.\n\n```bash\nnpm install wdfn-viz\n```\n\nTo install the latest development snapshot (containing the current state of the master branch):\n\n```bash\nnpm install wdfn-viz@snapshot\n```\n\nThe main Sass stylesheet that should be imported into a web page's Sass file and is at /src/stylesheets/wdfnviz.scss.\nThis will also include the USWDS style sheets so a separate import is not required. This directory should be \nspecified on the --include-path option along with the uswds/src/stylesheets when the site's Sass is built. When building \nthe style sheets the css should also be processed by postcss using the autoprefixer, cssnano, and css-mq-packer using a postcss.config.js file:\n```javascript\nconst autoprefixerOptions = [\n    '>2%',\n    'Last 2 versions',\n    'IE 11'\n];\n\nmodule.exports = ctx => ({\n    map: Object.assign({}, ctx.options.map, {inline: false}),\n    parser: ctx.options.parser,\n    plugins: {\n        autoprefixer: autoprefixerOptions,\n        cssnano: {\n            autoprefixer: {\n                browsers: autoprefixerOptions\n            }\n        },\n        'css-mqpacker': {\n            sort: true\n        }\n    }\n});\n```\nYou may also want to include postcss-flexbugs-fixes plugin as is done for building wdfn-viz.\n\nBelow is an example of the process:\n```\n% node-sass --include-path node_modules/wdfn-viz/src/stylesheets --include-path node_modules/uswds/src/stylesheets src/styles.main.css dist/main.css\n% postcss dist/main.css  -o dist/main.css\n```\n\nPostcss generates internal sourcemaps by default. You may want to consider using the --map option to create external map files\nor if you want to minimize your css assets, you may want to disable entirely by using --no-map\n\nWhen building the assets, the images should be collected in a common directory and specified in the project's Sass\nfiles using the $theme-image-path variable. This should include the images in wdfn-viz/src/img that provide the USGS favicon and\nlogos. If using USWDS images those will also need to be collected. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nThe fonts should also be collected in a common directory and specified in the project's Sass files using the $theme-font-path\nvariable. Below are examples of commands that could be used to collect the image and font assets.\n```\n% mkdir -p dist/img && cp -r node_modules/uswds/src/img/* dist/img && cp -r node_modules/wdfn-viz/src/img/* dist/img\n% mkdir -p dist/fonts && cp -r node_modules/uswds/src/fonts/* dist/fonts\n```\n\nThe javascript should be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined. In order to use, a loading function should be defined which will be executed \nwhen the page loads. Below is a simple example:\n```javascript\nimport wdfnviz from 'wdfn-viz';\n\nconst load = function () {\n    null;  Add code that should get executed when the page is loaded\n}\n\nwdfnviz.main(load);\n\n\n```\n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos.\n\n## Publishing to npm\n\nTravisCI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when commits are made to the master branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://github.com/usgs/wdfn-viz/blob/master/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit.\n","readmeFilename":"README.md","_id":"wdfn-viz@1.4.0-snapshot.77df42e","_nodeVersion":"12.14.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-Us9rGQJyjHtv1kZFJxKePlGg/OwXhGWagvN6CHhk8o4ZzRENSQC4b031EiqVVIV8E4pq+myoxnAZPBNH0F0x4g==","shasum":"9265e53754748002e2ad889a3f1b6ddee19e7e39","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-1.4.0-snapshot.77df42e.tgz","fileCount":532,"unpackedSize":7685554,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd/Sw8CRA9TVsSAnZWagAA0jcP/0puhTdC99aDASHwZAUx\nsMlzSldXucQjS+5I6az1hI4VALP8hssTxWba3R3J91lA1jx1oLFhRVTbLjBk\nHBr9olZNzez73PHy3Q9/FpG+B3qsoGmqICJqgeW7AI1GmUaaU+FPGfIQG7Ka\nmeXGW5fQk96aNC4VFGsTA816k2+9JRMQmLXXViFpOAZA3gt1LmEjn5f2xACB\nC9ov8Ykk2/81D8k2QlrxkuuFjhsDgd8e/BGqmtBG2gePnU2glnUoKHyy+xXo\nQSd1ZBgScGSbS3246gYZkZ4Z7PfdGNddqqCsISvExZwDAYWuqGPd4TPFt0rP\njPejBTxQDhjUjW0OfR3Z0cEE0FTUtOYMJCGHYj0wGM+LD4E6Gl16g/GDrnJw\n0vj/ZwZvyQ7+zMKRXu2AtuQ2TMzR07YMeWvqbmkw3dWyqLe19rxAj2tiAWGy\nTHowgFFglEqHEat+k0PUjhgPjtImEmza2S65cQtC2UnqOR1Pct6fYDGJQ/cE\nW1Ij8HSdyBXmZASPtYyad1BOIUFlmaTGcVaou02jT3ymQGCiHetNx7M4TxC5\ne2VmrbIgJYG5NWONIycX+YP+TJfL7SoQFQr7NiN5IxJUGKgMyVKou8dm3bYd\nm+xf0kN+GnRgs+R+61CXc3UZgchG+BYY9fQpMUeZtBOhtuXIS7OV8gXwNnio\nXuuH\r\n=HtiG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFmWSkFFzsSA+MxpO59qxqENuKxkyhRW9JaJjVibTKnLAiB8UkbxTCaS0LfYs9EoE3e6BUk1iBhLExLI4xUHq0g0mw=="}]},"maintainers":[{"email":"dnaab@contractor.usgs.gov","name":"danielnaab-usgs"},{"email":"drsteini@contractor.usgs.gov","name":"drsteini-usgs"},{"email":"mbucknell@usgs.gov","name":"mbucknell-usgs"},{"email":"owi_delivery@usgs.gov","name":"usgs-wma"}],"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_1.4.0-snapshot.77df42e_1576873019735_0.5592590381774853"},"_hasShrinkwrap":false},"1.4.0-snapshot.8a4fb2f":{"name":"wdfn-viz","version":"1.4.0-snapshot.8a4fb2f","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"node-sass --include-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","clean":"rm -rf dist && mkdir dist","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"karma start","test:watch":"karma start --debug --no-single-run --browsers Chrome","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://github.com/usgs/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://github.com/usgs/wdfn-viz/issues"},"homepage":"https://github.com/usgs/wdfn-viz","engines":{"node":">= 10"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.4.0"},"devDependencies":{"autoprefixer":"^9.7.4","ajv":"^6.12.0","css-mqpacker":"^7.0.0","cssnano":"^4.1.10","eslint":"^6.8.0","eslint-plugin-jasmine":"^4.1.0","jasmine-core":"^3.5.0","karma":"^4.4.1","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^1.3.0","karma-jasmine":"^3.1.1","karma-js-coverage":"^0.4.0","karma-rollup-preprocessor":"^7.0.3","live-server":"^1.2.1","node-sass":"^4.13.1","nodemon":"^2.0.2","npm-run-all":"^4.1.3","nunjucks":"^3.2.0","nunjucks-cli":"^1.0.0","postcss-cli":"^7.1.0","postcss-flexbugs-fixes":"^4.1.0","rollup":"^1.32.0","rollup-plugin-buble":"^0.19.8","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-istanbul":"^2.0.1","rollup-plugin-node-resolve":"^4.2.4","stylelint":"^12.0.1","stylelint-scss":"^3.13.0"},"gitHead":"8a4fb2fc10cad1b4ecfda444d46cbabb172ad161","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![Build Status](https://travis-ci.org/usgs/wdfn-viz.svg?branch=master)](https://travis-ci.org/usgs/wdfn-viz)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/6faaca8b97f34929b141c4444d919e4e)](https://www.codacy.com/app/usgs_wma_dev/wdfn-viz?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=usgs/wdfn-viz&amp;utm_campaign=Badge_Grade)\n\nProvides Sass stylesheets and images that can be used when creating web pages that need to\nmeet USGS visual identity standards. The stylesheets use USWDS (https://designsystem.digital.gov/)\nas the basis so all USWDS components are available.\n\n## Usage\n\nThe repo can be installed in an existing project by installing via npm.\n\n```bash\nnpm install wdfn-viz\n```\n\nTo install the latest development snapshot (containing the current state of the master branch):\n\n```bash\nnpm install wdfn-viz@snapshot\n```\n\nThe main Sass stylesheet that should be imported into a web page's Sass file and is at /src/stylesheets/wdfnviz.scss.\nThis will also include the USWDS style sheets so a separate import is not required. This directory should be \nspecified on the --include-path option along with the uswds/src/stylesheets when the site's Sass is built. When building \nthe style sheets the css should also be processed by postcss using the autoprefixer, cssnano, and css-mq-packer using a postcss.config.js file:\n```javascript\nconst autoprefixerOptions = [\n    '>2%',\n    'Last 2 versions',\n    'IE 11'\n];\n\nmodule.exports = ctx => ({\n    map: Object.assign({}, ctx.options.map, {inline: false}),\n    parser: ctx.options.parser,\n    plugins: {\n        autoprefixer: autoprefixerOptions,\n        cssnano: {\n            autoprefixer: {\n                browsers: autoprefixerOptions\n            }\n        },\n        'css-mqpacker': {\n            sort: true\n        }\n    }\n});\n```\nYou may also want to include postcss-flexbugs-fixes plugin as is done for building wdfn-viz.\n\nBelow is an example of the process:\n```\n% node-sass --include-path node_modules/wdfn-viz/src/stylesheets --include-path node_modules/uswds/src/stylesheets src/styles.main.css dist/main.css\n% postcss dist/main.css  -o dist/main.css\n```\n\nPostcss generates internal sourcemaps by default. You may want to consider using the --map option to create external map files\nor if you want to minimize your css assets, you may want to disable entirely by using --no-map\n\nWhen building the assets, the images should be collected in a common directory and specified in the project's Sass\nfiles using the $theme-image-path variable. This should include the images in wdfn-viz/src/img that provide the USGS favicon and\nlogos. If using USWDS images those will also need to be collected. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nThe fonts should also be collected in a common directory and specified in the project's Sass files using the $theme-font-path\nvariable. Below are examples of commands that could be used to collect the image and font assets.\n```\n% mkdir -p dist/img && cp -r node_modules/uswds/src/img/* dist/img && cp -r node_modules/wdfn-viz/src/img/* dist/img\n% mkdir -p dist/fonts && cp -r node_modules/uswds/src/fonts/* dist/fonts\n```\n\nThe javascript should be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined. In order to use, a loading function should be defined which will be executed \nwhen the page loads. Below is a simple example:\n```javascript\nimport wdfnviz from 'wdfn-viz';\n\nconst load = function () {\n    null;  Add code that should get executed when the page is loaded\n}\n\nwdfnviz.main(load);\n\n\n```\n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos.\n\n## Publishing to npm\n\nTravisCI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when commits are made to the master branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://github.com/usgs/wdfn-viz/blob/master/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit.\n","readmeFilename":"README.md","_id":"wdfn-viz@1.4.0-snapshot.8a4fb2f","_nodeVersion":"12.16.1","_npmVersion":"6.13.4","dist":{"integrity":"sha512-BpoGxlzhcwYfOO386frSdMxs3hCdP5UrEX7ghxqst1/2yKE6iMGXUyOT8GDeGj+2TkCbi7RjQ4svzqEYZdwrww==","shasum":"d5b8b682bf29f921dbd5833eefbd470d6807fc5d","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-1.4.0-snapshot.8a4fb2f.tgz","fileCount":532,"unpackedSize":7685064,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeX/W+CRA9TVsSAnZWagAAf34P/Rpc2rEQd/mDMB4qduaP\nAaJGUjxMwD983w4fNhqc1WdoH3RlfgDusPo9ADKlHvLZFWV9ZpKWzx/kMUxA\n0KRAmxo+LJfPzx98XHu1YnowNc/xWY6V+fXOBPPuNvCWuKXtQwVP5PjjruJR\nsceWIC/pgu+/7+eDmBpwcBRWeDlCOWQ5KQPbNOEZTEAc/SBHV12nhqfkuJua\n0gFhxXEYATKheJZmqTOO8O/gHw6LKbDWypZ/FPhYa3iYPEfapuk/a4EhEpLE\nQIljI2MbeIuRc2fXPxAHebTf2At+Nq365/YGlkcOdalgTFK8nGpi4HGwPALK\nwqj91cM2FZDvNTrfr0IB4R8uhefBrJUF1RA6CSaTKNB2hoYr50grxrMhopTH\nQD2sZVu0NBanzE+UlGpuy5Sv9zwJNIklCtBwrsicpaxa7zfeVF5VZUYTMBSE\n5t5LnmpmOB8FhcTayN6X6Tne+AEElCgroLAPdK8cukzEYWxOld57Kt2gi01d\nPI4ndReOiW0WwSB6DBV9CI7+xShrLVo9I2euvL0lj9K9v6UM6VQzHEFwSnEL\nlp2j9d5Ga+iMuFAztp/DkCSTq1/HzTObWmBzg47cgLUsjAcyGVUGtzp8SlkQ\nCeeDU/gvafeJfrnTmrXBwfhjjJPfeViQm3spAaAycGHXl1JDIX8NyrLhV+t8\nl+9l\r\n=2R8/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICG7R4glwg2okQxJ/a8pjHcxYTk82HVJukq4PRidaP0lAiBElLEIUZrbYaRLwvvy1MuHR7K1atgS72EjK9PBx6cvgw=="}]},"maintainers":[{"email":"dnaab@contractor.usgs.gov","name":"danielnaab-usgs"},{"email":"drsteini@contractor.usgs.gov","name":"drsteini-usgs"},{"email":"mbucknell@usgs.gov","name":"mbucknell-usgs"},{"email":"owi_delivery@usgs.gov","name":"usgs-wma"}],"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_1.4.0-snapshot.8a4fb2f_1583347134170_0.9115337615230821"},"_hasShrinkwrap":false},"1.4.0-snapshot.dd5d694":{"name":"wdfn-viz","version":"1.4.0-snapshot.dd5d694","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"sass --load-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","clean":"rm -rf dist && mkdir dist","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"karma start","test:watch":"karma start --debug --no-single-run --browsers Chrome","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://github.com/usgs/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://github.com/usgs/wdfn-viz/issues"},"homepage":"https://github.com/usgs/wdfn-viz","engines":{"node":">= 10"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.5.1"},"devDependencies":{"autoprefixer":"^9.7.4","ajv":"^6.12.0","eslint":"^6.8.0","eslint-plugin-jasmine":"^4.1.0","jasmine-core":"^3.5.0","karma":"^4.4.1","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^1.3.0","karma-jasmine":"^3.1.1","karma-js-coverage":"^0.4.0","karma-rollup-preprocessor":"^7.0.3","live-server":"^1.2.1","nodemon":"^2.0.2","npm-run-all":"^4.1.3","nunjucks":"^3.2.0","nunjucks-cli":"^1.0.0","postcss-cli":"^7.1.0","postcss-csso":"^4.0.0","postcss-flexbugs-fixes":"^4.1.0","rollup":"^1.32.0","rollup-plugin-buble":"^0.19.8","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-istanbul":"^2.0.1","rollup-plugin-node-resolve":"^4.2.4","sass":"^1.26.2","stylelint":"^13.2.0","stylelint-config-recommended-scss":"^4.2.0","stylelint-scss":"^3.14.2"},"gitHead":"dd5d6942d277df673644d50fa83c4dbd9a046430","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![Build Status](https://travis-ci.org/usgs/wdfn-viz.svg?branch=master)](https://travis-ci.org/usgs/wdfn-viz)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/6faaca8b97f34929b141c4444d919e4e)](https://www.codacy.com/app/usgs_wma_dev/wdfn-viz?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=usgs/wdfn-viz&amp;utm_campaign=Badge_Grade)\n\nProvides Sass stylesheets and images that can be used when creating web pages that need to\nmeet USGS visual identity standards. The stylesheets use USWDS (https://designsystem.digital.gov/)\nas the basis so all USWDS components are available.\n\n## Usage\n\nThe repo can be installed in an existing project by installing via npm.\n\n```bash\nnpm install wdfn-viz\n```\n\nTo install the latest development snapshot (containing the current state of the master branch):\n\n```bash\nnpm install wdfn-viz@snapshot\n```\n\nWe recommend building the stylesheets with Dart sass (npm install sass).\nThe main Sass stylesheet that should be imported into a web page's Sass file and is at /src/stylesheets/wdfnviz.scss.\nThis will also include the USWDS style sheets so a separate import is not required.  This directory should be \nspecified on the --load-path option along with the uswds/src/stylesheets when the site's Sass is built. When building \nthe style sheets the css should also be processed by postcss using the autoprefixer and postcss-csso using a postcss.config.js file:\n```javascript\nconst autoprefixerOptions = [\n    '>2%',\n    'Last 2 versions',\n    'IE 11'\n];\n\nmodule.exports = ctx => ({\n    map: Object.assign({}, ctx.options.map, {inline: false}),\n    parser: ctx.options.parser,\n    plugins: {\n        autoprefixer: autoprefixerOptions,\n        'postcss-csso': {\n            forceMediaMerge: false\n        }\n    }\n});\n```\nYou may also want to include postcss-flexbugs-fixes plugin as is done for building wdfn-viz.\n\nBelow is an example of the process:\n```\n% sass --load-path node_modules/wdfn-viz/src/stylesheets --include-path node_modules/uswds/src/stylesheets src/styles.main.css dist/main.css\n% postcss dist/main.css  -o dist/main.css\n```\n\nPostcss generates internal sourcemaps by default. You may want to consider using the --map option to create external map files\nor if you want to minimize your css assets, you may want to disable entirely by using --no-map\n\nWhen building the assets, the images should be collected in a common directory and specified in the project's Sass\nfiles using the $theme-image-path variable. This should include the images in wdfn-viz/src/img that provide the USGS favicon and\nlogos. If using USWDS images those will also need to be collected. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nThe fonts should also be collected in a common directory and specified in the project's Sass files using the $theme-font-path\nvariable. Below are examples of commands that could be used to collect the image and font assets.\n```\n% mkdir -p dist/img && cp -r node_modules/uswds/src/img/* dist/img && cp -r node_modules/wdfn-viz/src/img/* dist/img\n% mkdir -p dist/fonts && cp -r node_modules/uswds/src/fonts/* dist/fonts\n```\n\nThe javascript should be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined. In order to use, a loading function should be defined which will be executed \nwhen the page loads. Below is a simple example:\n```javascript\nimport wdfnviz from 'wdfn-viz';\n\nconst load = function () {\n    null;  Add code that should get executed when the page is loaded\n}\n\nwdfnviz.main(load);\n\n\n```\n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos.\n\n## Publishing to npm\n\nTravisCI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when commits are made to the master branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://github.com/usgs/wdfn-viz/blob/master/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit.\n","readmeFilename":"README.md","_id":"wdfn-viz@1.4.0-snapshot.dd5d694","_nodeVersion":"12.16.1","_npmVersion":"6.13.4","dist":{"integrity":"sha512-FEOvJFDdVTT4g6WKXcMVpZkUR+82fuuxeMXPm2QUJ/ObFgL0PnGzoYI5tWS2XPFdI3B6kkE9Fz0pTr8ogv5idQ==","shasum":"cdc284aa98fc49a42b5881e72095d1d15569b7fe","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-1.4.0-snapshot.dd5d694.tgz","fileCount":533,"unpackedSize":7200244,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeYA7sCRA9TVsSAnZWagAAs18P/3aC+4VEHMkt/lbHMrPP\npVo2Ba5mlnhSvMMNYTb3ihVjN0Pi59nGboacsKO3DKFSyofrgHPPQ+xpGcGY\nGMgfK2nAGjdIchjwAzJFgIUIODqYv+pBmf4Qx8SO4T97LqX4M3xSxzyEiUc2\nTYOtgEp7SnK42I5QM6zPDNB4DGUqtwqWDIVsW48GoU22GTShtNPGCARyjBuH\nmKq7FTCBMRkXpv+7q79vWEVwUzQ2qCc6Wu26UPvtgz77c9clsYcCSg4jnndu\n4O5Vm0MuGfng5jtR/Y95saN12LBGNVUiCCQl16K6jw0HcEdO94zqnlNDp2It\nKvS9CR1aA5HEjOWNUlCyfPpmIZFVZyha9jekqTiZ9pSoFt9QV90Awv8Cfzac\nzsvhfcOF3MTvPfPwC3hoScUWaBFCWAqAvwEwMc3Ofj6TkmsDkm4jUgd4ppGv\nW1AyQ2sSkzscMtqIwMc+cCmPXCid//hcN3/0lU3Ef0hJCJjB5hkfk5Mi7X5l\ndDF0oOymGhb9ankJIhjjaL21teBptpq3sWkhv2VuC/GNwvRNjXIbYX8RDtHQ\nNpt+Dn4yfGdB3NxnE3XsskhY1/+OQmhUczmJQ+9VQWLalPclQ3lDeRHg68OV\nq2P0Thf61etp11Zo3I8Esgi3YaVrVYy/NzSzw8aHdBV+f9fuRX5JoACNGirN\nzJhJ\r\n=dvr7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCCN6vNphZesdUYnzmWrq9HAovObOqTw9fiAd/eYvBI7AIhAJM+tI/qh95/sYXbKxZhy186Rg4f20s7LoT+ZqsjSERA"}]},"maintainers":[{"email":"dnaab@contractor.usgs.gov","name":"danielnaab-usgs"},{"email":"drsteini@contractor.usgs.gov","name":"drsteini-usgs"},{"email":"mbucknell@usgs.gov","name":"mbucknell-usgs"},{"email":"owi_delivery@usgs.gov","name":"usgs-wma"}],"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_1.4.0-snapshot.dd5d694_1583353580193_0.5589887566456304"},"_hasShrinkwrap":false},"1.4.0":{"name":"wdfn-viz","version":"1.4.0","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"sass --load-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","clean":"rm -rf dist && mkdir dist","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"karma start","test:watch":"karma start --debug --no-single-run --browsers Chrome","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://github.com/usgs/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://github.com/usgs/wdfn-viz/issues"},"homepage":"https://github.com/usgs/wdfn-viz","engines":{"node":">= 10"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.5.1"},"devDependencies":{"autoprefixer":"^9.7.4","ajv":"^6.12.0","eslint":"^6.8.0","eslint-plugin-jasmine":"^4.1.0","jasmine-core":"^3.5.0","karma":"^4.4.1","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^1.3.0","karma-jasmine":"^3.1.1","karma-js-coverage":"^0.4.0","karma-rollup-preprocessor":"^7.0.3","live-server":"^1.2.1","nodemon":"^2.0.2","npm-run-all":"^4.1.3","nunjucks":"^3.2.0","nunjucks-cli":"^1.0.0","postcss-cli":"^7.1.0","postcss-csso":"^4.0.0","postcss-flexbugs-fixes":"^4.1.0","rollup":"^1.32.0","rollup-plugin-buble":"^0.19.8","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-istanbul":"^2.0.1","rollup-plugin-node-resolve":"^4.2.4","sass":"^1.26.2","stylelint":"^13.2.0","stylelint-config-recommended-scss":"^4.2.0","stylelint-scss":"^3.14.2"},"gitHead":"52eba37ff0d14ba6f8ea3f682f38fa289f0fc233","_id":"wdfn-viz@1.4.0","_nodeVersion":"12.16.1","_npmVersion":"6.13.4","dist":{"integrity":"sha512-VUK+jjncn260TzOiN6WZ0kfrv+71h1+pSq1AFyG1WTj0TlKpR5Eh65BO/0iEz5jgo1X3XrKwK1xho29wzba8bg==","shasum":"f6bd1e85d4d4b5921ad965bd7f1daa7c8a0f4dfc","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-1.4.0.tgz","fileCount":533,"unpackedSize":7200234,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeYCcZCRA9TVsSAnZWagAAqqoP/0xIroiTrXXfUW/hWhqM\nMAaGaYWxXcq9BHb0CdZ5C+V9L490UtrO8drh7QdIN1qMNaKhyEj1743uCfG/\nb6Hy7WjIesaCqnJS96dL9l0n59r0ivsgF4Kv9wUSyuvAmv4yPsrSrNZRnkon\ntCjrRgAnTR+SA4OaI3jWrrAmpq3i6dPsThmCgm5MShs7UYgS/YDJ7UbxC+bO\ngn9DHcOVatayGMG5kIi2NrIZJAQ7Cbt830HrCdaOvc6+aH2C/FCQFOXJBf8r\nGMNZlPS7Uf10vMX167xcqJ8JMEKdCVAcx/sSXhT5XW0cDjee2Ti936djkiol\ndfRbictWnqaqgR6P/tOKTUEdaanNKuSzpgjsMIjgaWjFh3PpseMR5ZxVPzII\nrkO+zXglJ5QoEYxRTlonWoi+PVvtIrECBkn5KOV+doX88Rytj2np4mvd34RZ\n2DspRt/9CbQnE1+Qtv/WTLSJ96IpgFHbKhKo+tHac1gqV1vEvlAPh03J350C\nmNERD7QkDuSbPeWiiMGRa1jbynlfCS5Anb6pSNIgefRJEFjr0+I5AnDufYR0\n+RQKFDH2u6Al/V6ebye0IeFfL4EYXuQHd/ogG36pX126ocPR/CghmdpI1VYB\nW9KfzQXuDEQdygTW1QP/GJThmpdG4bSLWvzC48F73N2CjWs+k7PMrQ92fK8Z\nvTaY\r\n=kORR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDp+ZCjNCboQe7Fctx6pZk64CsbZxGJ/DVCCn4uHIuBlgIhAJ9Oe2ND5DzJpVCi6a7VYAEYb7dtrGhnHaLBbUsdl/CH"}]},"maintainers":[{"email":"dnaab@contractor.usgs.gov","name":"danielnaab-usgs"},{"email":"drsteini@contractor.usgs.gov","name":"drsteini-usgs"},{"email":"mbucknell@usgs.gov","name":"mbucknell-usgs"},{"email":"owi_delivery@usgs.gov","name":"usgs-wma"}],"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_1.4.0_1583359769005_0.3424729200973622"},"_hasShrinkwrap":false},"1.5.0-snapshot.f5cb0fc":{"name":"wdfn-viz","version":"1.5.0-snapshot.f5cb0fc","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"sass --load-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","clean":"rm -rf dist && mkdir dist","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"karma start","test:watch":"karma start --debug --no-single-run --browsers Chrome","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://github.com/usgs/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://github.com/usgs/wdfn-viz/issues"},"homepage":"https://github.com/usgs/wdfn-viz","engines":{"node":">= 10"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.6.0"},"devDependencies":{"autoprefixer":"^9.7.4","ajv":"^6.12.0","eslint":"^6.8.0","eslint-plugin-jasmine":"^4.1.0","jasmine-core":"^3.5.0","karma":"^4.4.1","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^1.3.0","karma-jasmine":"^3.1.1","karma-js-coverage":"^0.4.0","karma-rollup-preprocessor":"^7.0.5","live-server":"^1.2.1","nodemon":"^2.0.2","npm-run-all":"^4.1.3","nunjucks":"^3.2.1","nunjucks-cli":"^1.0.0","postcss-cli":"^7.1.0","postcss-csso":"^4.0.0","postcss-flexbugs-fixes":"^4.2.0","rollup":"^2.3.3","rollup-plugin-buble":"^0.19.8","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-istanbul":"^2.0.1","rollup-plugin-node-resolve":"^4.2.4","sass":"^1.26.3","stylelint":"^13.3.0","stylelint-config-recommended-scss":"^4.2.0","stylelint-scss":"^3.16.0"},"gitHead":"f5cb0fcf1183b91006a3c246afbf24aa331a6b4f","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![Build Status](https://travis-ci.org/usgs/wdfn-viz.svg?branch=master)](https://travis-ci.org/usgs/wdfn-viz)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/6faaca8b97f34929b141c4444d919e4e)](https://www.codacy.com/app/usgs_wma_dev/wdfn-viz?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=usgs/wdfn-viz&amp;utm_campaign=Badge_Grade)\n\nProvides Sass stylesheets and images that can be used when creating web pages that need to\nmeet USGS visual identity standards. The stylesheets use USWDS (https://designsystem.digital.gov/)\nas the basis so all USWDS components are available.\n\n## Usage\n\nThe repo can be installed in an existing project by installing via npm.\n\n```bash\nnpm install wdfn-viz\n```\n\nTo install the latest development snapshot (containing the current state of the master branch):\n\n```bash\nnpm install wdfn-viz@snapshot\n```\n\nWe recommend building the stylesheets with Dart sass (npm install sass).\nThe main Sass stylesheet that should be imported into a web page's Sass file and is at /src/stylesheets/wdfnviz.scss.\nThis will also include the USWDS style sheets so a separate import is not required.  This directory should be \nspecified on the --load-path option along with the uswds/src/stylesheets when the site's Sass is built. When building \nthe style sheets the css should also be processed by postcss using the autoprefixer and postcss-csso using a postcss.config.js file:\n```javascript\nconst autoprefixerOptions = [\n    '>2%',\n    'Last 2 versions',\n    'IE 11'\n];\n\nmodule.exports = ctx => ({\n    map: Object.assign({}, ctx.options.map, {inline: false}),\n    parser: ctx.options.parser,\n    plugins: {\n        autoprefixer: autoprefixerOptions,\n        'postcss-csso': {\n            forceMediaMerge: false\n        }\n    }\n});\n```\nYou may also want to include postcss-flexbugs-fixes plugin as is done for building wdfn-viz.\n\nBelow is an example of the process:\n```\n% sass --load-path node_modules/wdfn-viz/src/stylesheets --include-path node_modules/uswds/src/stylesheets src/styles.main.css dist/main.css\n% postcss dist/main.css  -o dist/main.css\n```\n\nPostcss generates internal sourcemaps by default. You may want to consider using the --map option to create external map files\nor if you want to minimize your css assets, you may want to disable entirely by using --no-map\n\nWhen building the assets, the images should be collected in a common directory and specified in the project's Sass\nfiles using the $theme-image-path variable. This should include the images in wdfn-viz/src/img that provide the USGS favicon and\nlogos. If using USWDS images those will also need to be collected. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nThe fonts should also be collected in a common directory and specified in the project's Sass files using the $theme-font-path\nvariable. Below are examples of commands that could be used to collect the image and font assets.\n```\n% mkdir -p dist/img && cp -r node_modules/uswds/src/img/* dist/img && cp -r node_modules/wdfn-viz/src/img/* dist/img\n% mkdir -p dist/fonts && cp -r node_modules/uswds/src/fonts/* dist/fonts\n```\n\nThe javascript should be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined. In order to use, a loading function should be defined which will be executed \nwhen the page loads. Below is a simple example:\n```javascript\nimport wdfnviz from 'wdfn-viz';\n\nconst load = function () {\n    null;  Add code that should get executed when the page is loaded\n}\n\nwdfnviz.main(load);\n\n\n```\n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos.\n\n## Publishing to npm\n\nTravisCI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when commits are made to the master branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://github.com/usgs/wdfn-viz/blob/master/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit.\n","readmeFilename":"README.md","_id":"wdfn-viz@1.5.0-snapshot.f5cb0fc","_nodeVersion":"12.16.1","_npmVersion":"6.13.4","dist":{"integrity":"sha512-SdWEgZ49hIoKOPEDQPaTxAjv22Bg44n5H4+1c9KW96+bsTrldKcFNevOsCeQBH297yDwVOF3mzWBuNbQGMESEA==","shasum":"cf7287dd963498e4162828b80d85b47379cdfd88","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-1.5.0-snapshot.f5cb0fc.tgz","fileCount":533,"unpackedSize":7201238,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJei2y+CRA9TVsSAnZWagAAtAAQAJaP80FdU3IqvJB6Y1tm\nUvz22xa2VwwU71/dM0y9u41EWnqwuTpnRjoIp41ePN/DNL2QQ5J8fmHjmU52\nkaA264HsLA7LdhfsTNF8aU6HRytsNcRAqfrw2nls9G9ci6ctMAdEv79vZ00r\nLgjtfa6rVVMwLyyenUWu0nljE4thCzzKAzxVvxHoL9KUlRV67IEodvCokSiq\nrBOwHuBrk8VmbzJq1h4BkAwg8U0FDlWRHzusgp6FOcZ80L4xOT7MsH7oDCOr\ny3LtPnZ/ihbEjuexlV1vUbDJ07JUIE7AUqg00AZVXY5Zp+8OcOPg13843232\nvUc+9QgOXlssQs5lwxaF5pPMtFNoikNzB4jweKTB3GJa1hf9cmPX9E32kMRl\neWGR6B4b0E9NqvTFiAWDcgukFgaeM3uOO4SbuoQRZMqJcdK5TauRLKOCMa2g\n4zVymVBrgqQLqCQ4FP4gftBF4cFCkc2juVzOwR+Avsp4XvFjql6TcIZxU71N\nJCNg3DHrPgUrDwy3V1HUzUXziLxpAu/FuBUWXxffYJ73GFzLksmal12QGP60\naxmcj7ogiHNV6Vgg4Wsbx5xyWa/DnGAaj3xRsS/WTieJ6D9l7h6ZVB6j3xrO\nCD7OvnNT/eWy8FfnACCfgPGaM25hYGynPsQIXt+E/ap6d5O3m0cxmPA0glN4\n7HLN\r\n=pZSa\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHkRDj5554yzi+jz293d/o7xZXZMWQF377pVzQP3psm3AiEAvugU6vmk5tBFvY6lx6HMX4YUbv8H0KWxqq/0eljdlpE="}]},"maintainers":[{"email":"dnaab@contractor.usgs.gov","name":"danielnaab-usgs"},{"email":"drsteini@contractor.usgs.gov","name":"drsteini-usgs"},{"email":"mbucknell@usgs.gov","name":"mbucknell-usgs"},{"email":"owi_delivery@usgs.gov","name":"usgs-wma"}],"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_1.5.0-snapshot.f5cb0fc_1586195645673_0.7095540973861534"},"_hasShrinkwrap":false},"1.5.0":{"name":"wdfn-viz","version":"1.5.0","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"sass --load-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","clean":"rm -rf dist && mkdir dist","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"karma start","test:watch":"karma start --debug --no-single-run --browsers Chrome","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://github.com/usgs/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://github.com/usgs/wdfn-viz/issues"},"homepage":"https://github.com/usgs/wdfn-viz","engines":{"node":">= 10"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.6.0"},"devDependencies":{"autoprefixer":"^9.7.4","ajv":"^6.12.0","eslint":"^6.8.0","eslint-plugin-jasmine":"^4.1.0","jasmine-core":"^3.5.0","karma":"^4.4.1","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^1.3.0","karma-jasmine":"^3.1.1","karma-js-coverage":"^0.4.0","karma-rollup-preprocessor":"^7.0.5","live-server":"^1.2.1","nodemon":"^2.0.2","npm-run-all":"^4.1.3","nunjucks":"^3.2.1","nunjucks-cli":"^1.0.0","postcss-cli":"^7.1.0","postcss-csso":"^4.0.0","postcss-flexbugs-fixes":"^4.2.0","rollup":"^2.3.3","rollup-plugin-buble":"^0.19.8","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-istanbul":"^2.0.1","rollup-plugin-node-resolve":"^4.2.4","sass":"^1.26.3","stylelint":"^13.3.0","stylelint-config-recommended-scss":"^4.2.0","stylelint-scss":"^3.16.0"},"gitHead":"4c4a35947b24e9cd73de9bfdb0d24c48c170ff53","_id":"wdfn-viz@1.5.0","_nodeVersion":"12.16.1","_npmVersion":"6.13.4","dist":{"integrity":"sha512-HGoKQ7lGU1Jf+cOXsx+J7QOnMbPzUGgJcBYQZoWEEUlzIMy4blWTDNRu/xMKPEzOWMinuNYk/ita+FXm1G7Dcg==","shasum":"ee0b5a8e6d4a839c3f4b31d910c337b45d87b9cc","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-1.5.0.tgz","fileCount":533,"unpackedSize":7201281,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJei3UBCRA9TVsSAnZWagAA3wEP/1ubgMk9XxBo8Jmb1QAj\nDCKtNOmWFQlfRLSYVNGCfbbk498Y/N2+JRnfjqCB/O3m8vr0TDoOZPB5JeHQ\nqJgnQt7PcLfVQz2MM9mE2adkJutTJyaJStXihIpOflu0Ae1WC9Qbo3RgUQZS\nOZTBTTwQusYhf9ahls2UNqsfVy8lMlLU4sVSQCbleu+btVcJPRcicvPW4gsj\nnAgmoCEy+WES6lCI9X+kRUhggEzS3P0BHSD+wYNvvVuEtv4bwmpynauaSL5u\niQ2O3BdQ/HZEzRH6yNb8YFCUdxK5edZvQCUPVc2PXvgXp543CFmrZ3sB+ciz\n009JTM7dWQ2T6YPhM25Dl/dQ0TT1O2OK3uORUzerGnp52iAKv2jyQlq+yTs/\n9q5Q0BDfRkQFo4s1Gv50m43Z/fXKkjqKurp+8XsDIJ/qbELu36/TMKqnFnYu\n2PorWprnhlwbOWtCHcU1ch9NfbPS3JqQzgwFM3+qq/Y2IHqbKCihHKJ0mCnC\nDx/QL6oL/hkZw2bshysibJVkswZMkJ3GF8U3hm5Hb3R74hhZH7DZQsr1XH6N\n43T35LgR0swTbZW3/yM09Rg0hGze+pKgg9FdEoQ4x4wglSlKiXHjBuO7A906\ndYEJbGF1JBTTWoyACXDItAogHxCPnKiIwPRwUO1NoKB0icb+xpwM4kY8Xnxg\nX3Qp\r\n=HM7S\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGcDAKc4Q535fqPnQSIBKtW2nf8CHmVe1EAB7ZZPtIBzAiBxNM+zwRCG4CxzwsBsRs7WkhXm2fSIZMHCPpM7p4KlhQ=="}]},"maintainers":[{"email":"dnaab@contractor.usgs.gov","name":"danielnaab-usgs"},{"email":"drsteini@contractor.usgs.gov","name":"drsteini-usgs"},{"email":"mbucknell@usgs.gov","name":"mbucknell-usgs"},{"email":"owi_delivery@usgs.gov","name":"usgs-wma"}],"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_1.5.0_1586197759594_0.40941308691127953"},"_hasShrinkwrap":false},"1.6.0-snapshot.1c7eec9":{"name":"wdfn-viz","version":"1.6.0-snapshot.1c7eec9","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"sass --load-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","clean":"rm -rf dist && mkdir dist","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"karma start","test:watch":"karma start --debug --no-single-run --browsers Chrome","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://github.com/usgs/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://github.com/usgs/wdfn-viz/issues"},"homepage":"https://github.com/usgs/wdfn-viz","engines":{"node":">= 10"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.6.0"},"devDependencies":{"autoprefixer":"^9.7.4","ajv":"^6.12.0","eslint":"^6.8.0","eslint-plugin-jasmine":"^4.1.0","jasmine-core":"^3.5.0","karma":"^4.4.1","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^1.3.0","karma-jasmine":"^3.1.1","karma-js-coverage":"^0.4.0","karma-rollup-preprocessor":"^7.0.5","live-server":"^1.2.1","nodemon":"^2.0.2","npm-run-all":"^4.1.3","nunjucks":"^3.2.1","nunjucks-cli":"^1.0.0","postcss-cli":"^7.1.0","postcss-csso":"^4.0.0","postcss-flexbugs-fixes":"^4.2.0","rollup":"^2.3.3","rollup-plugin-buble":"^0.19.8","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-istanbul":"^2.0.1","rollup-plugin-node-resolve":"^4.2.4","sass":"^1.26.3","stylelint":"^13.3.0","stylelint-config-recommended-scss":"^4.2.0","stylelint-scss":"^3.16.0"},"gitHead":"1c7eec90070a43a96ca53798aae0634410d20a6e","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![Build Status](https://travis-ci.org/usgs/wdfn-viz.svg?branch=master)](https://travis-ci.org/usgs/wdfn-viz)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/6faaca8b97f34929b141c4444d919e4e)](https://www.codacy.com/app/usgs_wma_dev/wdfn-viz?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=usgs/wdfn-viz&amp;utm_campaign=Badge_Grade)\n\nProvides Sass stylesheets and images that can be used when creating web pages that need to\nmeet USGS visual identity standards. The stylesheets use USWDS (https://designsystem.digital.gov/)\nas the basis so all USWDS components are available.\n\n## Usage\n\nThe repo can be installed in an existing project by installing via npm.\n\n```bash\nnpm install wdfn-viz\n```\n\nTo install the latest development snapshot (containing the current state of the master branch):\n\n```bash\nnpm install wdfn-viz@snapshot\n```\n\nWe recommend building the stylesheets with Dart sass (npm install sass).\nThe main Sass stylesheet that should be imported into a web page's Sass file and is at /src/stylesheets/wdfnviz.scss.\nThis will also include the USWDS style sheets so a separate import is not required.  This directory should be \nspecified on the --load-path option along with the uswds/src/stylesheets when the site's Sass is built. When building \nthe style sheets the css should also be processed by postcss using the autoprefixer and postcss-csso using a postcss.config.js file:\n```javascript\nconst autoprefixerOptions = [\n    '>2%',\n    'Last 2 versions',\n    'IE 11'\n];\n\nmodule.exports = ctx => ({\n    map: Object.assign({}, ctx.options.map, {inline: false}),\n    parser: ctx.options.parser,\n    plugins: {\n        autoprefixer: autoprefixerOptions,\n        'postcss-csso': {\n            forceMediaMerge: false\n        }\n    }\n});\n```\nYou may also want to include postcss-flexbugs-fixes plugin as is done for building wdfn-viz.\n\nBelow is an example of the process:\n```\n% sass --load-path node_modules/wdfn-viz/src/stylesheets --include-path node_modules/uswds/src/stylesheets src/styles.main.css dist/main.css\n% postcss dist/main.css  -o dist/main.css\n```\n\nPostcss generates internal sourcemaps by default. You may want to consider using the --map option to create external map files\nor if you want to minimize your css assets, you may want to disable entirely by using --no-map\n\nWhen building the assets, the images should be collected in a common directory and specified in the project's Sass\nfiles using the $theme-image-path variable. This should include the images in wdfn-viz/src/img that provide the USGS favicon and\nlogos. If using USWDS images those will also need to be collected. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nThe fonts should also be collected in a common directory and specified in the project's Sass files using the $theme-font-path\nvariable. Below are examples of commands that could be used to collect the image and font assets.\n```\n% mkdir -p dist/img && cp -r node_modules/uswds/src/img/* dist/img && cp -r node_modules/wdfn-viz/src/img/* dist/img\n% mkdir -p dist/fonts && cp -r node_modules/uswds/src/fonts/* dist/fonts\n```\n\nThe javascript should be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined. In order to use, a loading function should be defined which will be executed \nwhen the page loads. Below is a simple example:\n```javascript\nimport wdfnviz from 'wdfn-viz';\n\nconst load = function () {\n    null;  Add code that should get executed when the page is loaded\n}\n\nwdfnviz.main(load);\n\n\n```\n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos.\n\n## Publishing to npm\n\nTravisCI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when commits are made to the master branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://github.com/usgs/wdfn-viz/blob/master/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit.\n","readmeFilename":"README.md","_id":"wdfn-viz@1.6.0-snapshot.1c7eec9","_nodeVersion":"12.16.1","_npmVersion":"6.13.4","dist":{"integrity":"sha512-PCDMIBGcWJM1ZCcSSfajTtH3v0DFLAi2Het32fg8kZQKJNwATdnVsrquAJ674X05dbQoq2ReTENH69RBOtG/4A==","shasum":"7a24828742352f731e74e43ab4c85220069a17ef","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-1.6.0-snapshot.1c7eec9.tgz","fileCount":533,"unpackedSize":7201298,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJei3i1CRA9TVsSAnZWagAAGOsQAJQZkcxXyPfWIlTZQjU0\nGBUsbHz3D6l2L6OQ7TagcWM1iMYiS4tDxh5PnRRt7Wfg0YfRHAbXpriGBCKu\nl1mL8w8cynlOKNKJR/O/CefniCeze38xHBmkm/PqXrNif2a5IAYmKCNfXDqH\nfPgncAe0RDbFqa/E4TnXrD3CAXuNqx4H30H8iPpyJTLksgDXNZHlSp5sWzTy\nLrkJSDlcX9GAApjNxbgtdlGUjCVZNrlfYh+6iohsQPfrjdYURHb89HO1FZI6\n6wu3yQdG1a1emHHxQK3SPFzvp6zrZfpv3W8dCta8vfd68V+15xe4SrLei0ai\nuq99p21tHz53VcBIgJN+5+mWqgDFkiFngAc1nyQ/ijnTPo3+M9iLVnvHH6Zk\nNENlwKd/oh6Nh8/UoyaRpvREeJDTXDFOz1vInlIpLLMSjC3ACDedmny4NtCV\n6QrNCZOvOijep5oa8VxLyHtUDJRtHoBm1ES7hW3DZnDF8wyUkSwCjsiBJV3K\n1A7hFE1qflfDI/mutZbsAbMKB+FF9pBDO08zdFuci6UTEptlT4azmtnrF/fs\nBuTzQaNC7/xP/2SjwaJIu0srUdYrJJ97WiYmiLvV383MLc04nilpYDFHU34s\nZ1jDBC/DCXMpdsI5mxTLDTzQXuYV2rfhlXdke6n9YE0HhS7h1STLzApX3XIH\nvJ4I\r\n=u7Xw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCkBRw3SThlG/gvKs0tvJEnRpD7vaw01SfBCGy5+DpzVwIhAKTrEDjUwmq3Wwj+K0bYtezp1EKAGYZrbnoBBurnkx/A"}]},"maintainers":[{"email":"dnaab@contractor.usgs.gov","name":"danielnaab-usgs"},{"email":"drsteini@contractor.usgs.gov","name":"drsteini-usgs"},{"email":"mbucknell@usgs.gov","name":"mbucknell-usgs"},{"email":"owi_delivery@usgs.gov","name":"usgs-wma"}],"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_1.6.0-snapshot.1c7eec9_1586198708689_0.08725940580199176"},"_hasShrinkwrap":false},"1.6.0-snapshot.ecc9a31":{"name":"wdfn-viz","version":"1.6.0-snapshot.ecc9a31","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"sass --load-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","clean":"rm -rf dist && mkdir dist","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"karma start","test:watch":"karma start --debug --no-single-run --browsers Chrome","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://github.com/usgs/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://github.com/usgs/wdfn-viz/issues"},"homepage":"https://github.com/usgs/wdfn-viz","engines":{"node":">= 10"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.6.0"},"devDependencies":{"autoprefixer":"^9.7.6","ajv":"^6.12.2","eslint":"^6.8.0","eslint-plugin-jasmine":"^4.1.1","jasmine-core":"^3.5.0","karma":"^5.0.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^1.3.0","karma-jasmine":"^3.1.1","karma-js-coverage":"^0.4.0","karma-rollup-preprocessor":"^7.0.5","live-server":"^1.2.1","nodemon":"^2.0.3","npm-run-all":"^4.1.3","nunjucks":"^3.2.1","nunjucks-cli":"^1.0.0","postcss-cli":"^7.1.0","postcss-csso":"^4.0.0","postcss-flexbugs-fixes":"^4.2.0","rollup":"^2.7.3","rollup-plugin-buble":"^0.19.8","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-istanbul":"^2.0.1","rollup-plugin-node-resolve":"^4.2.4","sass":"^1.26.3","stylelint":"^13.3.3","stylelint-config-recommended-scss":"^4.2.0","stylelint-scss":"^3.17.1"},"gitHead":"ecc9a316bea17603a7c6b8d318168a9533fb023a","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![Build Status](https://travis-ci.org/usgs/wdfn-viz.svg?branch=master)](https://travis-ci.org/usgs/wdfn-viz)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/6faaca8b97f34929b141c4444d919e4e)](https://www.codacy.com/app/usgs_wma_dev/wdfn-viz?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=usgs/wdfn-viz&amp;utm_campaign=Badge_Grade)\n\nProvides Sass stylesheets and images that can be used when creating web pages that need to\nmeet USGS visual identity standards. The stylesheets use USWDS (https://designsystem.digital.gov/)\nas the basis so all USWDS components are available.\n\n## Usage\n\nThe repo can be installed in an existing project by installing via npm.\n\n```bash\nnpm install wdfn-viz\n```\n\nTo install the latest development snapshot (containing the current state of the master branch):\n\n```bash\nnpm install wdfn-viz@snapshot\n```\n\nWe recommend building the stylesheets with Dart sass (npm install sass).\nThe main Sass stylesheet that should be imported into a web page's Sass file and is at /src/stylesheets/wdfnviz.scss.\nThis will also include the USWDS style sheets so a separate import is not required.  This directory should be \nspecified on the --load-path option along with the uswds/src/stylesheets when the site's Sass is built. When building \nthe style sheets the css should also be processed by postcss using the autoprefixer and postcss-csso using a postcss.config.js file:\n```javascript\nconst autoprefixerOptions = [\n    '>2%',\n    'Last 2 versions',\n    'IE 11'\n];\n\nmodule.exports = ctx => ({\n    map: Object.assign({}, ctx.options.map, {inline: false}),\n    parser: ctx.options.parser,\n    plugins: {\n        autoprefixer: autoprefixerOptions,\n        'postcss-csso': {\n            forceMediaMerge: false\n        }\n    }\n});\n```\nYou may also want to include postcss-flexbugs-fixes plugin as is done for building wdfn-viz.\n\nBelow is an example of the process:\n```\n% sass --load-path node_modules/wdfn-viz/src/stylesheets --include-path node_modules/uswds/src/stylesheets src/styles.main.css dist/main.css\n% postcss dist/main.css  -o dist/main.css\n```\n\nPostcss generates internal sourcemaps by default. You may want to consider using the --map option to create external map files\nor if you want to minimize your css assets, you may want to disable entirely by using --no-map\n\nWhen building the assets, the images should be collected in a common directory and specified in the project's Sass\nfiles using the $theme-image-path variable. This should include the images in wdfn-viz/src/img that provide the USGS favicon and\nlogos. If using USWDS images those will also need to be collected. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nThe fonts should also be collected in a common directory and specified in the project's Sass files using the $theme-font-path\nvariable. Below are examples of commands that could be used to collect the image and font assets.\n```\n% mkdir -p dist/img && cp -r node_modules/uswds/src/img/* dist/img && cp -r node_modules/wdfn-viz/src/img/* dist/img\n% mkdir -p dist/fonts && cp -r node_modules/uswds/src/fonts/* dist/fonts\n```\n\nThe javascript should be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined. In order to use, a loading function should be defined which will be executed \nwhen the page loads. Below is a simple example:\n```javascript\nimport wdfnviz from 'wdfn-viz';\n\nconst load = function () {\n    null;  Add code that should get executed when the page is loaded\n}\n\nwdfnviz.main(load);\n\n\n```\n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos.\n\n## Publishing to npm\n\nTravisCI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when commits are made to the master branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://github.com/usgs/wdfn-viz/blob/master/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit.\n","readmeFilename":"README.md","_id":"wdfn-viz@1.6.0-snapshot.ecc9a31","_nodeVersion":"12.16.3","_npmVersion":"6.14.4","dist":{"integrity":"sha512-cBIKZR1WHZNfOhCUleyMkadN7JsZnBN8TzjW1EeF07HGuniBgKTrkD8OJk9kHF65GS5uQFjgO7y4dxxg+UFfhg==","shasum":"da94cdbe6db804d5fc6829b6d527bd2c9bf098e1","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-1.6.0-snapshot.ecc9a31.tgz","fileCount":533,"unpackedSize":7201298,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeqYSRCRA9TVsSAnZWagAAR5cP/ArfPBe06gEdnRcH3V3E\nCRYeA8ZngKOep9PsgjOnhi1gbJ3kszW4CJ13X64nJ+8XqdNx0I0j8jE84Lhu\nXz/CRVWP8RcyBdHwGusPs/LYeherhc0SXf2ggfPPVm76lkjcbX/OoKs8wnPk\n5nzX9STylT7OBynDUPZ7FPR0WpB0k+U/m8KloXEwW6OLhRdOVwjAL8q09b4b\n6/kCHRjbL7qLqxSjnl6NrdhaaHWr9DeWclxR4MqQSlqTxDifjsqk+P58S8LW\nJ07hDQx4ZO0e7KPUn8stCbndz6JJt12z6JAmklPDK/eytRGHQo+Yx1SEYn7w\nChWEq9IERmiwgQ38ZV2dydhi4I7K+mWPal0vB4vaD5EZsUnxWOmXzhu/CPRw\nUcz3tVaqnIImtAKoHwjJan6t5xRUUcOPhhNAcWL0w/VJERrsAeS8c0Lc1PTk\nIq6XZZjrcImZl140Ks+M7Eh774TxcDvo7Og5ZoKubPb0rLeWcEO45+o491ZW\nGv9hvcnC9JMwAJeOzh7CdUg+NoPxzx8sqO7tBlgzdnwAcEliIhn1png8KrrJ\n5PaTvv7lyMhWmsEUL4i8kzJuiZ0+lR7kjcsVwc0ZF0DC9DaGd4xEYxmaHC76\nrm9GXW4AkeM11wg9Kj7k5itTT30Nw1+x4/JoWFrdr+GYlNTcmliGLPkTXAvt\nedG8\r\n=O+MV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHGgq/5FOn6pv6m8cD9OHYauBzMFceS+3hWwZOcLmF0oAiApd2CqKT9K6ely/BvnpFjr3bhLgXBg3ZpJkQdoRk5pHg=="}]},"maintainers":[{"email":"dnaab@contractor.usgs.gov","name":"danielnaab-usgs"},{"email":"drsteini@contractor.usgs.gov","name":"drsteini-usgs"},{"email":"mbucknell@usgs.gov","name":"mbucknell-usgs"},{"email":"owi_delivery@usgs.gov","name":"usgs-wma"}],"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_1.6.0-snapshot.ecc9a31_1588167824490_0.05766209657000032"},"_hasShrinkwrap":false},"1.6.0-snapshot.e799754":{"name":"wdfn-viz","version":"1.6.0-snapshot.e799754","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"sass --load-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","clean":"rm -rf dist && mkdir dist","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"karma start","test:watch":"karma start --debug --no-single-run --browsers Chrome","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://github.com/usgs/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://github.com/usgs/wdfn-viz/issues"},"homepage":"https://github.com/usgs/wdfn-viz","engines":{"node":">= 10"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.6.0"},"devDependencies":{"autoprefixer":"^9.7.6","ajv":"^6.12.2","eslint":"^6.8.0","eslint-plugin-jasmine":"^4.1.1","jasmine-core":"^3.5.0","karma":"^5.0.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^1.3.0","karma-jasmine":"^3.1.1","karma-js-coverage":"^0.4.0","karma-rollup-preprocessor":"^7.0.5","live-server":"^1.2.1","nodemon":"^2.0.3","npm-run-all":"^4.1.3","nunjucks":"^3.2.1","nunjucks-cli":"^1.0.0","postcss-cli":"^7.1.0","postcss-csso":"^4.0.0","postcss-flexbugs-fixes":"^4.2.0","rollup":"^2.7.3","rollup-plugin-buble":"^0.19.8","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-istanbul":"^2.0.1","rollup-plugin-node-resolve":"^4.2.4","sass":"^1.26.3","stylelint":"^13.3.3","stylelint-config-recommended-scss":"^4.2.0","stylelint-scss":"^3.17.1"},"gitHead":"e799754441964509b700911f4355a9990cdf58f5","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![Build Status](https://travis-ci.org/usgs/wdfn-viz.svg?branch=master)](https://travis-ci.org/usgs/wdfn-viz)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/6faaca8b97f34929b141c4444d919e4e)](https://www.codacy.com/app/usgs_wma_dev/wdfn-viz?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=usgs/wdfn-viz&amp;utm_campaign=Badge_Grade)\n\nProvides Sass stylesheets and images that can be used when creating web pages that need to\nmeet USGS visual identity standards. The stylesheets use USWDS (https://designsystem.digital.gov/)\nas the basis so all USWDS components are available.\n\n## Usage\n\nThe repo can be installed in an existing project by installing via npm.\n\n```bash\nnpm install wdfn-viz\n```\n\nTo install the latest development snapshot (containing the current state of the master branch):\n\n```bash\nnpm install wdfn-viz@snapshot\n```\n\nWe recommend building the stylesheets with Dart sass (npm install sass).\nThe main Sass stylesheet that should be imported into a web page's Sass file and is at /src/stylesheets/wdfnviz.scss.\nThis will also include the USWDS style sheets so a separate import is not required.  This directory should be \nspecified on the --load-path option along with the uswds/src/stylesheets when the site's Sass is built. When building \nthe style sheets the css should also be processed by postcss using the autoprefixer and postcss-csso using a postcss.config.js file:\n```javascript\nconst autoprefixerOptions = [\n    '>2%',\n    'Last 2 versions',\n    'IE 11'\n];\n\nmodule.exports = ctx => ({\n    map: Object.assign({}, ctx.options.map, {inline: false}),\n    parser: ctx.options.parser,\n    plugins: {\n        autoprefixer: autoprefixerOptions,\n        'postcss-csso': {\n            forceMediaMerge: false\n        }\n    }\n});\n```\nYou may also want to include postcss-flexbugs-fixes plugin as is done for building wdfn-viz.\n\nBelow is an example of the process:\n```\n% sass --load-path node_modules/wdfn-viz/src/stylesheets --include-path node_modules/uswds/src/stylesheets src/styles.main.css dist/main.css\n% postcss dist/main.css  -o dist/main.css\n```\n\nPostcss generates internal sourcemaps by default. You may want to consider using the --map option to create external map files\nor if you want to minimize your css assets, you may want to disable entirely by using --no-map\n\nWhen building the assets, the images should be collected in a common directory and specified in the project's Sass\nfiles using the $theme-image-path variable. This should include the images in wdfn-viz/src/img that provide the USGS favicon and\nlogos. If using USWDS images those will also need to be collected. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nThe fonts should also be collected in a common directory and specified in the project's Sass files using the $theme-font-path\nvariable. Below are examples of commands that could be used to collect the image and font assets.\n```\n% mkdir -p dist/img && cp -r node_modules/uswds/src/img/* dist/img && cp -r node_modules/wdfn-viz/src/img/* dist/img\n% mkdir -p dist/fonts && cp -r node_modules/uswds/src/fonts/* dist/fonts\n```\n\nThe javascript should be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined. In order to use, a loading function should be defined which will be executed \nwhen the page loads. Below is a simple example:\n```javascript\nimport wdfnviz from 'wdfn-viz';\n\nconst load = function () {\n    null;  Add code that should get executed when the page is loaded\n}\n\nwdfnviz.main(load);\n\n\n```\n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos.\n\n## Publishing to npm\n\nTravisCI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when commits are made to the master branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://github.com/usgs/wdfn-viz/blob/master/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit.\n","readmeFilename":"README.md","_id":"wdfn-viz@1.6.0-snapshot.e799754","_nodeVersion":"12.16.3","_npmVersion":"6.14.4","dist":{"integrity":"sha512-VW3SBvd1EgTUEcodB1m1Gf9lXyVNjNLSsrgsY7BfUt3qC+Zj0QAL2nCJti5BXDbaWvXaJmdmcbARhr6kSu+ZqA==","shasum":"85bf6d98aae3b1d596825c602eca69312c368510","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-1.6.0-snapshot.e799754.tgz","fileCount":533,"unpackedSize":7201298,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeqYWYCRA9TVsSAnZWagAAZpoQAJWQG5jtawG+Jyd+nkwB\nVCvIzocvog6EgMDqlcAllJtmP2jYhNUWG97RvnLdNmSqJimP+XkCOH/EOE6O\n1AMATiWrcgJsMkqhrSnSLRoSCE5gfv4Xvye/cJwREde6iFbLugTy0GPf7FjJ\n753qr5opRdCWwbc6oqoVyq4yCcLtmOmppVORetL2SaoJKOzm1OQQibWAUbCh\n1eZCmp5qOT1GDklVY1iuhXSMQQ436YRYHYHteI5cJtF5sv8tCnz0Jh9Urcb7\nTGOcEQP9k10lySZ97p3mqV9xrCBb2zfs/cZdjHFqtsRhrTDf+R9espD9198w\nP/e6CkIue9cebUDyriLPpRaVYoh9qZn07abonf0kIWC7gSjWPlRGAGv68hRr\n7nPEjCIxLWHeKc8TnKLqYiUWX7FzZj49E9S2zD1oQ9juOGRBT/1SGaZOgUoT\nAV7nIPCp7yfUBn3IF5tAzDHM8ZFiQ5BNZU/9m/20y2Ajmp7FZXoZGx2RVN7A\ng8eylk6VxdKif14K7MuPBBF3L0kS61Abgeg4FIKezQMHDJfC/HSej6QRKQXw\nUXbL0uInX1KyVjYuGQzu5GU0ogGfFRS4AC8niBrVRQ3XDONoPqmR+Gt67Eel\nzL5GD33XYV48FSigbJVe803drQJqjCYt6xuWL/wBFayThe0CfhMj3CgAyA+g\n27et\r\n=oS8n\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIECJ3gJnuquiFAYLN5Q3k7L9zpdwmVjeAS8MBof623qqAiEAjnBriIKnwB45Vp24Avy7YptmYxGuK2j1dw5J7x01dD0="}]},"maintainers":[{"email":"dnaab@contractor.usgs.gov","name":"danielnaab-usgs"},{"email":"drsteini@contractor.usgs.gov","name":"drsteini-usgs"},{"email":"mbucknell@usgs.gov","name":"mbucknell-usgs"},{"email":"owi_delivery@usgs.gov","name":"usgs-wma"}],"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_1.6.0-snapshot.e799754_1588168088057_0.6165493531344923"},"_hasShrinkwrap":false},"1.6.0-snapshot.03d0387":{"name":"wdfn-viz","version":"1.6.0-snapshot.03d0387","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"sass --load-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","clean":"rm -rf dist && mkdir dist","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"karma start","test:watch":"karma start --debug --no-single-run --browsers Chrome","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://github.com/usgs/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://github.com/usgs/wdfn-viz/issues"},"homepage":"https://github.com/usgs/wdfn-viz","engines":{"node":">= 10"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.6.0"},"devDependencies":{"autoprefixer":"^9.7.6","ajv":"^6.12.2","eslint":"^6.8.0","eslint-plugin-jasmine":"^4.1.1","jasmine-core":"^3.5.0","karma":"^5.0.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^1.3.0","karma-jasmine":"^3.1.1","karma-js-coverage":"^0.4.0","karma-rollup-preprocessor":"^7.0.5","live-server":"^1.2.1","nodemon":"^2.0.3","npm-run-all":"^4.1.3","nunjucks":"^3.2.1","nunjucks-cli":"^1.0.0","postcss-cli":"^7.1.0","postcss-csso":"^4.0.0","postcss-flexbugs-fixes":"^4.2.0","rollup":"^2.7.3","rollup-plugin-buble":"^0.19.8","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-istanbul":"^2.0.1","rollup-plugin-node-resolve":"^4.2.4","sass":"^1.26.3","stylelint":"^13.3.3","stylelint-config-recommended-scss":"^4.2.0","stylelint-scss":"^3.17.1"},"gitHead":"03d0387bf34a6fe44b8ac383f3c9c00799676ceb","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![Build Status](https://travis-ci.org/usgs/wdfn-viz.svg?branch=master)](https://travis-ci.org/usgs/wdfn-viz)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/6faaca8b97f34929b141c4444d919e4e)](https://www.codacy.com/app/usgs_wma_dev/wdfn-viz?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=usgs/wdfn-viz&amp;utm_campaign=Badge_Grade)\n\nProvides Sass stylesheets and images that can be used when creating web pages that need to\nmeet USGS visual identity standards. The stylesheets use USWDS (https://designsystem.digital.gov/)\nas the basis so all USWDS components are available.\n\n## Usage\n\nThe repo can be installed in an existing project by installing via npm.\n\n```bash\nnpm install wdfn-viz\n```\n\nTo install the latest development snapshot (containing the current state of the master branch):\n\n```bash\nnpm install wdfn-viz@snapshot\n```\n\nWe recommend building the stylesheets with Dart sass (npm install sass).\nThe main Sass stylesheet that should be imported into a web page's Sass file and is at /src/stylesheets/wdfnviz.scss.\nThis will also include the USWDS style sheets so a separate import is not required.  This directory should be \nspecified on the --load-path option along with the uswds/src/stylesheets when the site's Sass is built. When building \nthe style sheets the css should also be processed by postcss using the autoprefixer and postcss-csso using a postcss.config.js file:\n```javascript\nconst autoprefixerOptions = [\n    '>2%',\n    'Last 2 versions',\n    'IE 11'\n];\n\nmodule.exports = ctx => ({\n    map: Object.assign({}, ctx.options.map, {inline: false}),\n    parser: ctx.options.parser,\n    plugins: {\n        autoprefixer: autoprefixerOptions,\n        'postcss-csso': {\n            forceMediaMerge: false\n        }\n    }\n});\n```\nYou may also want to include postcss-flexbugs-fixes plugin as is done for building wdfn-viz.\n\nBelow is an example of the process:\n```\n% sass --load-path node_modules/wdfn-viz/src/stylesheets --include-path node_modules/uswds/src/stylesheets src/styles.main.css dist/main.css\n% postcss dist/main.css  -o dist/main.css\n```\n\nPostcss generates internal sourcemaps by default. You may want to consider using the --map option to create external map files\nor if you want to minimize your css assets, you may want to disable entirely by using --no-map\n\nWhen building the assets, the images should be collected in a common directory and specified in the project's Sass\nfiles using the $theme-image-path variable. This should include the images in wdfn-viz/src/img that provide the USGS favicon and\nlogos. If using USWDS images those will also need to be collected. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nThe fonts should also be collected in a common directory and specified in the project's Sass files using the $theme-font-path\nvariable. Below are examples of commands that could be used to collect the image and font assets.\n```\n% mkdir -p dist/img && cp -r node_modules/uswds/src/img/* dist/img && cp -r node_modules/wdfn-viz/src/img/* dist/img\n% mkdir -p dist/fonts && cp -r node_modules/uswds/src/fonts/* dist/fonts\n```\n\nThe javascript should be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined. In order to use, a loading function should be defined which will be executed \nwhen the page loads. Below is a simple example:\n```javascript\nimport wdfnviz from 'wdfn-viz';\n\nconst load = function () {\n    null;  Add code that should get executed when the page is loaded\n}\n\nwdfnviz.main(load);\n\n\n```\n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos.\n\n## Publishing to npm\n\nTravisCI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when commits are made to the master branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://github.com/usgs/wdfn-viz/blob/master/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit.\n","readmeFilename":"README.md","_id":"wdfn-viz@1.6.0-snapshot.03d0387","_nodeVersion":"12.16.3","_npmVersion":"6.14.4","dist":{"integrity":"sha512-3grr+lylHqhg4Op6BcKZDrNghetGNZtYTYY23lUUINidWfjOrhZFSBWfko8Bx8m60ERgejsLY/oHeMPW0Zv7Jw==","shasum":"216f0c29e5b04d975b5ec24bb13edebf75b71f9d","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-1.6.0-snapshot.03d0387.tgz","fileCount":533,"unpackedSize":7201298,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeqYZrCRA9TVsSAnZWagAAwFAQAJjdepNnQTWUIJ0AL8zP\nh4bD2ziEGEtFBDSU1QQLclUs0ps3GneUw9hXroHA9nUMiku/V/6fXywqNpTz\n29BCB3YT9Ww/S+zMa2UDbonODeYnQEJBOho9vhfkjdoG1T/r5jjhhByikKfT\nwDcqclav+K61X6c5l1yr03gDBQ93g0P//gGiGgYJBt9xL6dpDV0072IUI4ws\nLi0DM1frc+JF8IU+UOp4L+tD7QiCR99brIxrjRoniUe+0BpiK1sUSEYReiss\ngFCuU7eUwNULsjGdyQqwcnT1drD9Z24lsQhWyygtJUQG4jQd5EGiXOXqSQfT\n3nmhyaAjE6+w7qV4Gyn2Jx39AhfM5Y2SYmY05MseC2Z9W7a3buWdePVI/r1P\nK683RNGPo/NHx4A/E3IQMLit8K+4ZVWHSU5iaeApVJml82eqMhC3CMW1sbi/\nFXHRHdmiIsTgAX3cuMWKJX4lx/BOibtRuIp7rhzdEzuSC6OkeoecG/Ig+9wS\nQtLtJYOpJbCVzpyqD1404/6OJ10ndPPttsyyEZOgQRET4KckRo+nMbR9of4O\neFU9Cy8RAe0iwyTUceOsxnx05nbJujvrwGSb0KG3mHK6GGQ5BHVV4CWljuYC\nXWDgJXlpzZGUa0vXF0gXD/FmdY7hKJSoN2ayuMRQRG4RCKlwXevnx666M++D\nw9WV\r\n=j6/X\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCTQPtTW40Q1jgKXI3PL6VYfGaFgd/z5O04IqKxVAFYlgIhAJFGjQMCNE1rebQ8H1A8UtWjDOvsCzpwYJ/S82WIC9mR"}]},"maintainers":[{"email":"dnaab@contractor.usgs.gov","name":"danielnaab-usgs"},{"email":"drsteini@contractor.usgs.gov","name":"drsteini-usgs"},{"email":"mbucknell@usgs.gov","name":"mbucknell-usgs"},{"email":"owi_delivery@usgs.gov","name":"usgs-wma"}],"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_1.6.0-snapshot.03d0387_1588168298533_0.3503230317195998"},"_hasShrinkwrap":false},"1.6.0-snapshot.3193b0b":{"name":"wdfn-viz","version":"1.6.0-snapshot.3193b0b","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"sass --load-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","clean":"rm -rf dist && mkdir dist","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"karma start","test:watch":"karma start --debug --no-single-run --browsers Chrome","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://github.com/usgs/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://github.com/usgs/wdfn-viz/issues"},"homepage":"https://github.com/usgs/wdfn-viz","engines":{"node":">= 10"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.6.0"},"devDependencies":{"autoprefixer":"^9.7.6","ajv":"^6.12.2","eslint":"^7.0.0","eslint-plugin-jasmine":"^4.1.1","jasmine-core":"^3.5.0","karma":"^5.0.5","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^1.3.0","karma-jasmine":"^3.1.1","karma-js-coverage":"^0.4.0","karma-rollup-preprocessor":"^7.0.5","live-server":"^1.2.1","nodemon":"^2.0.3","npm-run-all":"^4.1.3","nunjucks":"^3.2.1","nunjucks-cli":"^1.0.0","postcss-cli":"^7.1.1","postcss-csso":"^4.0.0","postcss-flexbugs-fixes":"^4.2.1","rollup":"^2.9.1","@rollup/plugin-buble":"^0.21.3","@rollup/plugin-commonjs":"^11.1.0","rollup-plugin-istanbul":"^2.0.1","@rollup/plugin-node-resolve":"^7.1.3","sass":"^1.26.5","stylelint":"^13.3.3","stylelint-config-recommended-scss":"^4.2.0","stylelint-scss":"^3.17.2"},"gitHead":"3193b0bc10298058141c033674ae101c1e255a6d","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![Build Status](https://travis-ci.org/usgs/wdfn-viz.svg?branch=master)](https://travis-ci.org/usgs/wdfn-viz)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/6faaca8b97f34929b141c4444d919e4e)](https://www.codacy.com/app/usgs_wma_dev/wdfn-viz?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=usgs/wdfn-viz&amp;utm_campaign=Badge_Grade)\n\nProvides Sass stylesheets and images that can be used when creating web pages that need to\nmeet USGS visual identity standards. The stylesheets use USWDS (https://designsystem.digital.gov/)\nas the basis so all USWDS components are available.\n\n## Usage\n\nThe repo can be installed in an existing project by installing via npm.\n\n```bash\nnpm install wdfn-viz\n```\n\nTo install the latest development snapshot (containing the current state of the master branch):\n\n```bash\nnpm install wdfn-viz@snapshot\n```\n\nWe recommend building the stylesheets with Dart sass (npm install sass).\nThe main Sass stylesheet that should be imported into a web page's Sass file and is at /src/stylesheets/wdfnviz.scss.\nThis will also include the USWDS style sheets so a separate import is not required.  This directory should be \nspecified on the --load-path option along with the uswds/src/stylesheets when the site's Sass is built. When building \nthe style sheets the css should also be processed by postcss using the autoprefixer and postcss-csso using a postcss.config.js file:\n```javascript\nconst autoprefixerOptions = [\n    '>2%',\n    'Last 2 versions',\n    'IE 11'\n];\n\nmodule.exports = ctx => ({\n    map: Object.assign({}, ctx.options.map, {inline: false}),\n    parser: ctx.options.parser,\n    plugins: {\n        autoprefixer: autoprefixerOptions,\n        'postcss-csso': {\n            forceMediaMerge: false\n        }\n    }\n});\n```\nYou may also want to include postcss-flexbugs-fixes plugin as is done for building wdfn-viz.\n\nBelow is an example of the process:\n```\n% sass --load-path node_modules/wdfn-viz/src/stylesheets --include-path node_modules/uswds/src/stylesheets src/styles.main.css dist/main.css\n% postcss dist/main.css  -o dist/main.css\n```\n\nPostcss generates internal sourcemaps by default. You may want to consider using the --map option to create external map files\nor if you want to minimize your css assets, you may want to disable entirely by using --no-map\n\nWhen building the assets, the images should be collected in a common directory and specified in the project's Sass\nfiles using the $theme-image-path variable. This should include the images in wdfn-viz/src/img that provide the USGS favicon and\nlogos. If using USWDS images those will also need to be collected. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nThe fonts should also be collected in a common directory and specified in the project's Sass files using the $theme-font-path\nvariable. Below are examples of commands that could be used to collect the image and font assets.\n```\n% mkdir -p dist/img && cp -r node_modules/uswds/src/img/* dist/img && cp -r node_modules/wdfn-viz/src/img/* dist/img\n% mkdir -p dist/fonts && cp -r node_modules/uswds/src/fonts/* dist/fonts\n```\n\nThe javascript should be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined. In order to use, a loading function should be defined which will be executed \nwhen the page loads. Below is a simple example:\n```javascript\nimport wdfnviz from 'wdfn-viz';\n\nconst load = function () {\n    null;  Add code that should get executed when the page is loaded\n}\n\nwdfnviz.main(load);\n\n\n```\n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos.\n\n## Publishing to npm\n\nTravisCI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when commits are made to the master branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://github.com/usgs/wdfn-viz/blob/master/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit.\n","readmeFilename":"README.md","_id":"wdfn-viz@1.6.0-snapshot.3193b0b","_nodeVersion":"12.16.3","_npmVersion":"6.14.4","dist":{"integrity":"sha512-DSmr5ErqmbyygVOw1JSZxJQlpsKhc8bEj5gY5gHx9oOgRMfA8djZmKBb5Vt/o8eInzaEkQ3kndno/mwoFnqWCw==","shasum":"574924c2ed57b0302bb693b0496b34d66999a0fa","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-1.6.0-snapshot.3193b0b.tgz","fileCount":533,"unpackedSize":7201327,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeuuhuCRA9TVsSAnZWagAAr7UP/jY6XUPrRGFjaAWuXnNd\nSLgSqQORi/ad1qeBAy4CWJsZtrb9MWGXuAwhvLzp6LGZYBaW9b0WyhohnXbz\nQ//17MVx0380SFk6F9sMA0nTooX+u/N8g/b7pILGgL7I3YKPq4RFH+F+JBLp\n3SCM6zrFr88rEpasG/3hSdD6BBhMJ2FTEm0CCd+hTXza3Tfha+mW9uhnt8Im\nwKajkmRe6NowAFRpQg9k63NtmZ1ekTk8Qjq4FzlYS1lWVq77181AwtApfAe/\nFSbSy1Af26+IKt370ROmi6RdOlmG2z3HZHv1myMXmwYhfjOE5duNmhsq9OSo\nqvxxk35yDUdMmN2mQYUGIgc/KMX3nT0z9RSef8JJI3WwwNoxKfCjEAc9cvGk\nzXk27sG3/KiyjK/mCIJ951qZCjKEtm9445s54/T+Ov7FZ+av+1xz3WqyazZc\n1VV+wA1ikPg578qdyuVlaDcFXfAqb8WacWez4b7keEQRFieqYZSx/ngFnfhU\n+82/VhkOGA9UOEQ/zQJ6ad0tuGtLR7YLDgiEotJ2T//0wLJuVlcye1Zbsj4F\n7jStaSkR4lW9u76Y10B+S2hbkrkjSMkoCzjMwBYJW5lylUxMFrrewJLFbdPK\nzWsopaqxrLO3LtA/cFMyx1r5QF7a0Owt7/Zw10KqK56OW1wMmz2IoQ25ZGD7\nEFIs\r\n=sdyj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFNCARokNMjTndiWqru1kXIi1Lrz/lb9NmEp6QADb2NFAiEAt4qCAgYXXrUEwMG3fFS7VplV+uT8QOc+gkCrnaB5/FY="}]},"maintainers":[{"email":"dnaab@contractor.usgs.gov","name":"danielnaab-usgs"},{"email":"drsteini@contractor.usgs.gov","name":"drsteini-usgs"},{"email":"mbucknell@usgs.gov","name":"mbucknell-usgs"},{"email":"owi_delivery@usgs.gov","name":"usgs-wma"}],"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_1.6.0-snapshot.3193b0b_1589307501278_0.4438475919092899"},"_hasShrinkwrap":false},"1.6.0":{"name":"wdfn-viz","version":"1.6.0","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"sass --load-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","clean":"rm -rf dist && mkdir dist","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"karma start","test:watch":"karma start --debug --no-single-run --browsers Chrome","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://github.com/usgs/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://github.com/usgs/wdfn-viz/issues"},"homepage":"https://github.com/usgs/wdfn-viz","engines":{"node":">= 10"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.7.0"},"devDependencies":{"autoprefixer":"^9.7.6","ajv":"^6.12.2","eslint":"^7.0.0","eslint-plugin-jasmine":"^4.1.1","jasmine-core":"^3.5.0","karma":"^5.0.5","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^1.3.0","karma-jasmine":"^3.1.1","karma-js-coverage":"^0.4.0","karma-rollup-preprocessor":"^7.0.5","live-server":"^1.2.1","nodemon":"^2.0.3","npm-run-all":"^4.1.3","nunjucks":"^3.2.1","nunjucks-cli":"^1.0.0","postcss-cli":"^7.1.1","postcss-csso":"^4.0.0","postcss-flexbugs-fixes":"^4.2.1","rollup":"^2.9.1","@rollup/plugin-buble":"^0.21.3","@rollup/plugin-commonjs":"^11.1.0","rollup-plugin-istanbul":"^2.0.1","@rollup/plugin-node-resolve":"^7.1.3","sass":"^1.26.5","stylelint":"^13.3.3","stylelint-config-recommended-scss":"^4.2.0","stylelint-scss":"^3.17.2"},"gitHead":"9823cbb59aa6564c6befb1a1f020dc1bf695d8d9","_id":"wdfn-viz@1.6.0","_nodeVersion":"12.16.3","_npmVersion":"6.14.4","dist":{"integrity":"sha512-GvGVURX/UyzscVtSsaqiGjv6ZYEjPAKoOplpIqXYz3Cb1XEeMex8WrHdVb5fjCIivdG89ixSAvNgPdGjnwgHuA==","shasum":"d450994eed8a62a0237c4a93b18c5224db56fd09","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-1.6.0.tgz","fileCount":539,"unpackedSize":7298549,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeuup1CRA9TVsSAnZWagAACUkP/12P/GvXTl0KWRDaMFtg\npz/jkdM4/73Z5AQtvCde3QE/2IaTqYCfcFcXqDwFNHcw5q/XrLmj7hHzYR1J\ndinLNXDaVuODE7+RiQF2+PxfvM8hlKfU0awrSPE94cdCQk0POlP+7TuWtvLA\nbHoyCYDxNJnFh3oySC72tS+qjlzoD1K6QNPLq9J5K3piy0eMtqbTqmHVdS2Z\niUnFsRsG1P5aqKVpA4VlGZorbSa2Z/aKKe8F0tSUxxRuWbOtlt4GtanNz/6I\nVNrPwTYBN+Dz9dWRvjYvdoK7U31kCkLi0nysbkSv2Aas/w2JTeX9cywl9Ebz\nRSyGr1VRfGdGPI7uT5OgABIDEBDK49C06cqUZUQR0Eq52CPNYmpC6jGcm+7f\nArETvGn21K4MUr2gC3Exm5tGlxShUfyOVQ7m981uoVDQP/GBd36sbTzGqvKn\nXbOCfL2eGpio3OvcFHpbM3Dve/NMsEsjM3zg8+dXJ8FE+oT8rqI6yG+gfOgF\nL7KuoK8El799WbT09XDmhbXBOj0xf1HC61DRfHHuOPgkg/h0Ljru3KIN1jVx\nALuZC8J0N71D9cVDbf+VmUmwPgE9pvhfsatVCoatzAU9HvYmhTar/CljjPe2\nRtux9KbzAtC/JBw7gc5IBY7zccnslnTJ81zFQyx4DfNs1XeHovkdd2OKrhd0\nNuC8\r\n=ifyL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDyzzd+TSxggK1hr7yJEGc4yStrkNGM0WbTE0aKBd1bnAIhALSNZVGD8udswG2JxG+yzd2rvX55XnCz1ntG1d2x8gyF"}]},"maintainers":[{"email":"dnaab@contractor.usgs.gov","name":"danielnaab-usgs"},{"email":"drsteini@contractor.usgs.gov","name":"drsteini-usgs"},{"email":"mbucknell@usgs.gov","name":"mbucknell-usgs"},{"email":"owi_delivery@usgs.gov","name":"usgs-wma"}],"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_1.6.0_1589308021065_0.20902341978918137"},"_hasShrinkwrap":false},"1.7.0-snapshot.dc6c2c9":{"name":"wdfn-viz","version":"1.7.0-snapshot.dc6c2c9","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"sass --load-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","clean":"rm -rf dist && mkdir dist","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"karma start","test:watch":"karma start --debug --no-single-run --browsers Chrome","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://github.com/usgs/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://github.com/usgs/wdfn-viz/issues"},"homepage":"https://github.com/usgs/wdfn-viz","engines":{"node":">= 10"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.7.0"},"devDependencies":{"autoprefixer":"^9.7.6","ajv":"^6.12.2","eslint":"^7.0.0","eslint-plugin-jasmine":"^4.1.1","jasmine-core":"^3.5.0","karma":"^5.0.5","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^1.3.0","karma-jasmine":"^3.1.1","karma-js-coverage":"^0.4.0","karma-rollup-preprocessor":"^7.0.5","live-server":"^1.2.1","nodemon":"^2.0.3","npm-run-all":"^4.1.3","nunjucks":"^3.2.1","nunjucks-cli":"^1.0.0","postcss-cli":"^7.1.1","postcss-csso":"^4.0.0","postcss-flexbugs-fixes":"^4.2.1","rollup":"^2.9.1","@rollup/plugin-buble":"^0.21.3","@rollup/plugin-commonjs":"^11.1.0","rollup-plugin-istanbul":"^2.0.1","@rollup/plugin-node-resolve":"^7.1.3","sass":"^1.26.5","stylelint":"^13.3.3","stylelint-config-recommended-scss":"^4.2.0","stylelint-scss":"^3.17.2"},"gitHead":"dc6c2c989d1bf5645fce717615e5e9df9a7a9d17","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![Build Status](https://travis-ci.org/usgs/wdfn-viz.svg?branch=master)](https://travis-ci.org/usgs/wdfn-viz)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/6faaca8b97f34929b141c4444d919e4e)](https://www.codacy.com/app/usgs_wma_dev/wdfn-viz?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=usgs/wdfn-viz&amp;utm_campaign=Badge_Grade)\n\nProvides Sass stylesheets and images that can be used when creating web pages that need to\nmeet USGS visual identity standards. The stylesheets use USWDS (https://designsystem.digital.gov/)\nas the basis so all USWDS components are available.\n\n## Usage\n\nThe repo can be installed in an existing project by installing via npm.\n\n```bash\nnpm install wdfn-viz\n```\n\nTo install the latest development snapshot (containing the current state of the master branch):\n\n```bash\nnpm install wdfn-viz@snapshot\n```\n\nWe recommend building the stylesheets with Dart sass (npm install sass).\nThe main Sass stylesheet that should be imported into a web page's Sass file and is at /src/stylesheets/wdfnviz.scss.\nThis will also include the USWDS style sheets so a separate import is not required.  This directory should be \nspecified on the --load-path option along with the uswds/src/stylesheets when the site's Sass is built. When building \nthe style sheets the css should also be processed by postcss using the autoprefixer and postcss-csso using a postcss.config.js file:\n```javascript\nconst autoprefixerOptions = [\n    '>2%',\n    'Last 2 versions',\n    'IE 11'\n];\n\nmodule.exports = ctx => ({\n    map: Object.assign({}, ctx.options.map, {inline: false}),\n    parser: ctx.options.parser,\n    plugins: {\n        autoprefixer: autoprefixerOptions,\n        'postcss-csso': {\n            forceMediaMerge: false\n        }\n    }\n});\n```\nYou may also want to include postcss-flexbugs-fixes plugin as is done for building wdfn-viz.\n\nBelow is an example of the process:\n```\n% sass --load-path node_modules/wdfn-viz/src/stylesheets --include-path node_modules/uswds/src/stylesheets src/styles.main.css dist/main.css\n% postcss dist/main.css  -o dist/main.css\n```\n\nPostcss generates internal sourcemaps by default. You may want to consider using the --map option to create external map files\nor if you want to minimize your css assets, you may want to disable entirely by using --no-map\n\nWhen building the assets, the images should be collected in a common directory and specified in the project's Sass\nfiles using the $theme-image-path variable. This should include the images in wdfn-viz/src/img that provide the USGS favicon and\nlogos. If using USWDS images those will also need to be collected. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nThe fonts should also be collected in a common directory and specified in the project's Sass files using the $theme-font-path\nvariable. Below are examples of commands that could be used to collect the image and font assets.\n```\n% mkdir -p dist/img && cp -r node_modules/uswds/src/img/* dist/img && cp -r node_modules/wdfn-viz/src/img/* dist/img\n% mkdir -p dist/fonts && cp -r node_modules/uswds/src/fonts/* dist/fonts\n```\n\nThe javascript should be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined. In order to use, a loading function should be defined which will be executed \nwhen the page loads. Below is a simple example:\n```javascript\nimport wdfnviz from 'wdfn-viz';\n\nconst load = function () {\n    null;  Add code that should get executed when the page is loaded\n}\n\nwdfnviz.main(load);\n\n\n```\n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos.\n\n## Publishing to npm\n\nTravisCI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when commits are made to the master branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://github.com/usgs/wdfn-viz/blob/master/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit.\n","readmeFilename":"README.md","_id":"wdfn-viz@1.7.0-snapshot.dc6c2c9","_nodeVersion":"12.16.3","_npmVersion":"6.14.4","dist":{"integrity":"sha512-9hQP6++i/1B3ZLfWaSWNjy3/F0ZuNbF8rs+Clt9kP7Vsp7F5UcmwfRapeXMout69MJ+vJKreNk5p4V52sVwoeQ==","shasum":"d4739544c7fb0fd0123628b9e3473187729f88bb","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-1.7.0-snapshot.dc6c2c9.tgz","fileCount":539,"unpackedSize":7298566,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeuuucCRA9TVsSAnZWagAAaC4P/0iSC25631FK2S7n/IVM\nZr48/bxPnl5a3JLH4cOIndc7Ca4qgaBvCrW8BQhXAU7FgB4j4WMYU3Hou8Ad\nbdk0VJu/wMG6xgNs6DXlzUnSGGOJqgizwCDUYSMOfytuJdbrr+E4OJFM64bH\nYYom8u4cAuaXJWonSdjgaBo/AmJViTk5EsjbFoVMA0H7QyWUidaLmWlR7n6y\nfQRCPQpj1tTLFmUnydn+VvEwy6B9a/i+cjUn1lDfOfGBai2IYYmXqdUuUR7S\n9ae5Rt8NKnhnUb7TY5h9YjKCZlbrsqIuyfQnZVKg6h5eAI1FFHS0feuMGrzA\n4CaBg1Sx089hD4BicAP/vhIIm93dmzDDDl3PAsp50SUKP6z1wU557wXNnovW\nhCguCS/6PBc72cCU8sUxBfI8eZ/yidDW7XkFhme8lgvg9JafSi0IKPH8aS2Y\neC+DM53lRg5myxgzORh2sGYtFGD0EIXqguLSIM2sBv2KoBcA9aNrZrlFqjgG\n1dBDooXpLU4eM4jPe2o4O+zjvwNC9/C2DiKjIcx05VSlpuI8bO+jwqrIcQsi\ncrjYYGao6yxK9s25632fBuMzR8/LYPISniyDNFtxI/oPJP4K4wK+h7V5LBJB\nGbuV4oZ968Lsx07ejozAiU/yVbefMR6YmFnKQg1pdTQb1rzf6nV6nVEhuG1m\nJ9Pu\r\n=QUPx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC7G5nUWUO50joPPMJ/xR95o8/cZHe8Ak3JxWRRLiG2jgIhANU3z6KngCglcMjsrXS1JC8HxOkdUQGE6TsEe8g8Fnrq"}]},"maintainers":[{"email":"dnaab@contractor.usgs.gov","name":"danielnaab-usgs"},{"email":"drsteini@contractor.usgs.gov","name":"drsteini-usgs"},{"email":"mbucknell@usgs.gov","name":"mbucknell-usgs"},{"email":"owi_delivery@usgs.gov","name":"usgs-wma"}],"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_1.7.0-snapshot.dc6c2c9_1589308315684_0.2670173352476166"},"_hasShrinkwrap":false},"1.7.0-snapshot.b6aac56":{"name":"wdfn-viz","version":"1.7.0-snapshot.b6aac56","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"sass --load-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","clean":"rm -rf dist && mkdir dist","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"karma start","test:watch":"karma start --debug --no-single-run --browsers Chrome","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://github.com/usgs/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://github.com/usgs/wdfn-viz/issues"},"homepage":"https://github.com/usgs/wdfn-viz","engines":{"node":">= 10"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.7.1"},"devDependencies":{"autoprefixer":"^9.8.0","ajv":"^6.12.2","eslint":"^7.2.0","eslint-plugin-jasmine":"^4.1.1","jasmine-core":"^3.5.0","karma":"^5.1.0","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^1.3.0","karma-jasmine":"^3.3.1","karma-js-coverage":"^0.4.0","karma-rollup-preprocessor":"^7.0.5","live-server":"^1.2.1","nodemon":"^2.0.4","npm-run-all":"^4.1.5","nunjucks":"^3.2.1","nunjucks-cli":"^1.0.0","postcss-cli":"^7.1.1","postcss-csso":"^4.0.0","postcss-flexbugs-fixes":"^4.2.1","rollup":"^2.17.0","@rollup/plugin-buble":"^0.21.3","@rollup/plugin-commonjs":"^13.0.0","rollup-plugin-istanbul":"^2.0.1","@rollup/plugin-node-resolve":"^8.0.1","sass":"^1.26.8","stylelint":"^13.6.1","stylelint-config-recommended-scss":"^4.2.0","stylelint-scss":"^3.18.0"},"gitHead":"b6aac5679574977050e4098132cbe2a68ed37369","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![Build Status](https://travis-ci.org/usgs/wdfn-viz.svg?branch=master)](https://travis-ci.org/usgs/wdfn-viz)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/6faaca8b97f34929b141c4444d919e4e)](https://www.codacy.com/app/usgs_wma_dev/wdfn-viz?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=usgs/wdfn-viz&amp;utm_campaign=Badge_Grade)\n\nProvides Sass stylesheets and images that can be used when creating web pages that need to\nmeet USGS visual identity standards. The stylesheets use USWDS (https://designsystem.digital.gov/)\nas the basis so all USWDS components are available.\n\n## Usage\n\nThe repo can be installed in an existing project by installing via npm.\n\n```bash\nnpm install wdfn-viz\n```\n\nTo install the latest development snapshot (containing the current state of the master branch):\n\n```bash\nnpm install wdfn-viz@snapshot\n```\n\nWe recommend building the stylesheets with Dart sass (npm install sass).\nThe main Sass stylesheet that should be imported into a web page's Sass file and is at /src/stylesheets/wdfnviz.scss.\nThis will also include the USWDS style sheets so a separate import is not required.  This directory should be \nspecified on the --load-path option along with the uswds/src/stylesheets when the site's Sass is built. When building \nthe style sheets the css should also be processed by postcss using the autoprefixer and postcss-csso using a postcss.config.js file:\n```javascript\nconst autoprefixerOptions = [\n    '>2%',\n    'Last 2 versions',\n    'IE 11'\n];\n\nmodule.exports = ctx => ({\n    map: Object.assign({}, ctx.options.map, {inline: false}),\n    parser: ctx.options.parser,\n    plugins: {\n        autoprefixer: autoprefixerOptions,\n        'postcss-csso': {\n            forceMediaMerge: false\n        }\n    }\n});\n```\nYou may also want to include postcss-flexbugs-fixes plugin as is done for building wdfn-viz.\n\nBelow is an example of the process:\n```\n% sass --load-path node_modules/wdfn-viz/src/stylesheets --include-path node_modules/uswds/src/stylesheets src/styles.main.css dist/main.css\n% postcss dist/main.css  -o dist/main.css\n```\n\nPostcss generates internal sourcemaps by default. You may want to consider using the --map option to create external map files\nor if you want to minimize your css assets, you may want to disable entirely by using --no-map\n\nWhen building the assets, the images should be collected in a common directory and specified in the project's Sass\nfiles using the $theme-image-path variable. This should include the images in wdfn-viz/src/img that provide the USGS favicon and\nlogos. If using USWDS images those will also need to be collected. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nThe fonts should also be collected in a common directory and specified in the project's Sass files using the $theme-font-path\nvariable. Below are examples of commands that could be used to collect the image and font assets.\n```\n% mkdir -p dist/img && cp -r node_modules/uswds/src/img/* dist/img && cp -r node_modules/wdfn-viz/src/img/* dist/img\n% mkdir -p dist/fonts && cp -r node_modules/uswds/src/fonts/* dist/fonts\n```\n\nThe javascript should be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined. In order to use, a loading function should be defined which will be executed \nwhen the page loads. Below is a simple example:\n```javascript\nimport wdfnviz from 'wdfn-viz';\n\nconst load = function () {\n    null;  Add code that should get executed when the page is loaded\n}\n\nwdfnviz.main(load);\n\n\n```\n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos.\n\n## Publishing to npm\n\nTravisCI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when commits are made to the master branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://github.com/usgs/wdfn-viz/blob/master/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit.\n","readmeFilename":"README.md","_id":"wdfn-viz@1.7.0-snapshot.b6aac56","_nodeVersion":"12.18.1","_npmVersion":"6.14.5","dist":{"integrity":"sha512-WRaoomHqZZr6Nq1Sq66cuYTsfgdvAPfUH+cdHfEqWt1CBU+DwPL3XUaG5RjQ2lIySQeibIgJhohWhIoCVjf8YA==","shasum":"1bac4557c8ae82068af4363513ce8338d6eccf2c","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-1.7.0-snapshot.b6aac56.tgz","fileCount":542,"unpackedSize":7347023,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe69ZbCRA9TVsSAnZWagAAyfkP+gJ6GhGYxpvw7Y2fOnWz\n1nXLBVDM22+4HdypTI3CHdBFJemi+C9zL5YNhCLkrSdP/pPFYQ2M+t9FV+/7\nqrI5QAjj6dfca1DtRa/o3XSXNiAmluIhWpmCO2jma9Sqjs6AuLwbiq73P8lr\nYm+lXgTNPneLFLvQqNirTOYWQPvEP1BrLoYEOPI9PCamL+9sCIJ1kraQN3+c\ncaBDvt3tl/iaEVT+N97amaCXtjhnadlS3As/pCEEu0L1Fq6i3YZQLOay+ol4\nYNy5kDv2wa4qHbHZeLTDgk/gFmrvzRQZYgxeKacfSjElw/ACsqYiMPUxW5hd\nscV/2BZVTLMesYj4O323z+wQr1KadG1YOgNAhVD26Mf+KDV2qY7sF/TsVYMj\nM/oVdWJhP57yWgT8ocDOJBih18mwV0C1P6ZBslVQMO82dCGeq6r/kcdHjPL/\nZ9mvNvKWLxup8cRiKE4l1UOLYdPTCpjzHRrDhPdMIh+JDetwuyo7ZgNsoVfm\n7KCymFiX1vMpyr1Hq7yBfAkCSxjvuzRArkLsUHA2Odkgkeh95483PUQ4dypu\nKMdumM7NeTMkJT2jAUYIuNWPqE+Z0lSNdkov+nN85O2RnLNZhwhGbxg6+Eri\nrWSZjJGVaN+WxyZniFdIId4NfQhTss2A0Y6be9iBkCDRIXB7PUMpP7pKPFHL\nFFiF\r\n=izTx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCEZNzbHaaFH5/DdW6NpmI6iAECcungzHqsAyQzmumK3gIgYij2f2gzfGsblCfS5QIG54D/WC3YMHAbgAEw8OrHUzY="}]},"maintainers":[{"email":"dnaab@contractor.usgs.gov","name":"danielnaab-usgs"},{"email":"drsteini@contractor.usgs.gov","name":"drsteini-usgs"},{"email":"mbucknell@usgs.gov","name":"mbucknell-usgs"},{"email":"owi_delivery@usgs.gov","name":"usgs-wma"}],"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_1.7.0-snapshot.b6aac56_1592514138578_0.3489797734693021"},"_hasShrinkwrap":false},"1.6.1":{"name":"wdfn-viz","version":"1.6.1","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"sass --load-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","clean":"rm -rf dist && mkdir dist","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"karma start","test:watch":"karma start --debug --no-single-run --browsers Chrome","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://github.com/usgs/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://github.com/usgs/wdfn-viz/issues"},"homepage":"https://github.com/usgs/wdfn-viz","engines":{"node":">= 10"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.7.1"},"devDependencies":{"autoprefixer":"^9.8.0","ajv":"^6.12.2","eslint":"^7.2.0","eslint-plugin-jasmine":"^4.1.1","jasmine-core":"^3.5.0","karma":"^5.1.0","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^1.3.0","karma-jasmine":"^3.3.1","karma-js-coverage":"^0.4.0","karma-rollup-preprocessor":"^7.0.5","live-server":"^1.2.1","nodemon":"^2.0.4","npm-run-all":"^4.1.5","nunjucks":"^3.2.1","nunjucks-cli":"^1.0.0","postcss-cli":"^7.1.1","postcss-csso":"^4.0.0","postcss-flexbugs-fixes":"^4.2.1","rollup":"^2.17.0","@rollup/plugin-buble":"^0.21.3","@rollup/plugin-commonjs":"^13.0.0","rollup-plugin-istanbul":"^2.0.1","@rollup/plugin-node-resolve":"^8.0.1","sass":"^1.26.8","stylelint":"^13.6.1","stylelint-config-recommended-scss":"^4.2.0","stylelint-scss":"^3.18.0"},"gitHead":"629694b9632803d9221bc65e188773f27610621e","_id":"wdfn-viz@1.6.1","_nodeVersion":"12.18.1","_npmVersion":"6.14.5","dist":{"integrity":"sha512-WZZ8/oT3LorFcfajt6XKgPtMCOF9zWTJJosN6krDRCOn2uprUw4zi5JcFjIl+6iQdaZephZqcYtNkwjq6AKxfQ==","shasum":"c9162b31693472c9b20222684d227f02c07d7bee","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-1.6.1.tgz","fileCount":542,"unpackedSize":7347014,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe69hOCRA9TVsSAnZWagAA0w8P/0o2QDOpl3DeDAmfyySE\nxjZ11dD0X02XxgVTg0wP51bFrv7eEQ04scGxSrH4zUWCV0PF7JHkgtsMXHaW\nyv8dbjAUXSLLSVZVxYrt1SNmLtVxJOOHVTQ8Ma9Cg30a3Prhan18FQAebYvr\nv04GVJ2gpQa4J22JosPzsQaOrxAL3oOuewSaXF0ZJ4BbR86E49G9eECPyuo6\nrRuome3TNRBPr5satYSNVsmovxk0jvgwbJT/49chb+nhOK2ZFXa9cjVJ4X9v\nBbTbPusiMlRf4Ee14MwRN3oUFdKafoX33O0jD95ogXvxVbplLgU69k3gzQwc\nfiWVdr9zaEOn6xb+JqC7XuPomhuCT1cwXTD+W161Pz7AYqeXH6VLIOK1bxAb\nAjNLX6KtFpUQb2UwqSFJZewDkGl8DBBuYI4KLSNTShjWySk3I/b4dX8oKDp6\nP95tmtEnBaivP1nzBMVw2097sPXpWlwiDD5uapvhZ8I+2mvTTkEyrwx/zgh/\n63VfFrtkUwPuYktMYGbubwPDup8Z313bMNei2cDHOOP1PP7WRtf7+WJXYMa6\nNHmQvBYmmenWptHCUcUXJPgIAWCxo+inTBstslyzIske/KcSd8yDGcOr9xk0\nGZeZtCoAYw5nhRaVHQclTJT+AwllvZ2MtjHEPjWmNqn5ay15KUZ7RnUPkkIi\nPwQ1\r\n=g3La\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG7tpxssF+p+eFehP64UBNrj38W9egaK9SYVYJ+aOK+gAiBM5CQYYX5tmA+Uv1WA0RtdDZgUir3aZSsU1NQXtLgjwQ=="}]},"maintainers":[{"email":"dnaab@contractor.usgs.gov","name":"danielnaab-usgs"},{"email":"drsteini@contractor.usgs.gov","name":"drsteini-usgs"},{"email":"mbucknell@usgs.gov","name":"mbucknell-usgs"},{"email":"owi_delivery@usgs.gov","name":"usgs-wma"}],"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_1.6.1_1592514637486_0.4852974221342623"},"_hasShrinkwrap":false},"1.6.2":{"name":"wdfn-viz","version":"1.6.2","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"sass --load-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","clean":"rm -rf dist && mkdir dist","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"karma start","test:watch":"karma start --debug --no-single-run --browsers Chrome","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://github.com/usgs/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://github.com/usgs/wdfn-viz/issues"},"homepage":"https://github.com/usgs/wdfn-viz","engines":{"node":">= 10"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.7.1"},"devDependencies":{"autoprefixer":"^9.8.0","ajv":"^6.12.2","eslint":"^7.2.0","eslint-plugin-jasmine":"^4.1.1","jasmine-core":"^3.5.0","karma":"^5.1.0","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^1.3.0","karma-jasmine":"^3.3.1","karma-js-coverage":"^0.4.0","karma-rollup-preprocessor":"^7.0.5","live-server":"^1.2.1","nodemon":"^2.0.4","npm-run-all":"^4.1.5","nunjucks":"^3.2.1","nunjucks-cli":"^1.0.0","postcss-cli":"^7.1.1","postcss-csso":"^4.0.0","postcss-flexbugs-fixes":"^4.2.1","rollup":"^2.17.0","@rollup/plugin-buble":"^0.21.3","@rollup/plugin-commonjs":"^13.0.0","rollup-plugin-istanbul":"^2.0.1","@rollup/plugin-node-resolve":"^8.0.1","sass":"^1.26.8","stylelint":"^13.6.1","stylelint-config-recommended-scss":"^4.2.0","stylelint-scss":"^3.18.0"},"gitHead":"04095e6dd3ee3f6375c2142adbe68920e4d92bf7","_id":"wdfn-viz@1.6.2","_nodeVersion":"12.18.1","_npmVersion":"6.14.5","dist":{"integrity":"sha512-kSGW77AGYpNtfbwKwWt3rEsdF0GJMBMs7SxUc0vX2pyqhC0J8tj0aKVARvzsoYhOWYCICQj1IHRx6nvyxEhTig==","shasum":"169266ee71bddd4537088416d9c5c5a4d9122382","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-1.6.2.tgz","fileCount":542,"unpackedSize":7347014,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe69piCRA9TVsSAnZWagAAQMEP/3wuyNc6xJCIsbkqZX8r\nJ5lQv+1XGaxnfiktHgwPHWFN/icqGEwHmQd5enElHKtuhS7HV9Ty+QI9n5qu\nuTan9KPBTu0svszmNri6NC8Azt8+VRMfQPPDu6xergD0UCVSung+Ukl4pnet\nBhdOXrTwy350GoIlGIeKn1RmVj5HGRZZPnWRpcFpS9XfX/XH8mQ5nsvZ5jvN\n/DF4r/hmH9Uk53ifUlhaaK87/WMJOGmcX4BQFT70UfWwLsl3Z6DnoBDLZG2k\naiaFNVTFN2s9gTs557B1mMJ76phH3CZj0W2r3Ijy3BR0kkHqTPAYMs7jjHzp\naXQAKDNY/Q+XzO/OEjy8jBH6ouEtHO/biZFFjiPZoy4bDFr3vQn94VkqGNSg\nv5IkMuKqnPLhBEodihYeJC+n3FzgUmMGK14m2FLFIR3XeHiKU6nLJvDSOuvj\nwCreP1DQefvxIsxm0Ty2jSBJgGA13O3wPGivII269hOFejVYbcmlsO+GYra0\nveEiRzf+Q2iPkFOj/rCjDf4HNIo1Z2KJALA+Si4bEwetie0my33pLByx8T34\nDUj/mBqfbEpFevRteB+2oadjltGLXiOcrYJFd1O1oDCOdvuK3bOzmteMc6EF\nxmMjrKA0U5ThJbViwBdgeqYNAt6mu9KKW3VCkdMDhdl+n+9BJef4Y184RbeU\nUKYv\r\n=/EOf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDWdH9ZnaHNbu4wzh/uQ8QCaaoWkE/hJQdypT+YI7/6qAIgJO7KbLmarr/5feDRxxKsMdx9dVZ19aoBE5xBxa4/vdo="}]},"maintainers":[{"email":"dnaab@contractor.usgs.gov","name":"danielnaab-usgs"},{"email":"drsteini@contractor.usgs.gov","name":"drsteini-usgs"},{"email":"mbucknell@usgs.gov","name":"mbucknell-usgs"},{"email":"owi_delivery@usgs.gov","name":"usgs-wma"}],"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_1.6.2_1592515169868_0.6481723365539316"},"_hasShrinkwrap":false},"1.7.0-snapshot.79e6f48":{"name":"wdfn-viz","version":"1.7.0-snapshot.79e6f48","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"sass --load-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","clean":"rm -rf dist && mkdir dist","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"karma start","test:watch":"karma start --debug --no-single-run --browsers Chrome","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://github.com/usgs/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://github.com/usgs/wdfn-viz/issues"},"homepage":"https://github.com/usgs/wdfn-viz","engines":{"node":">= 10"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.7.1"},"devDependencies":{"autoprefixer":"^9.8.0","ajv":"^6.12.2","eslint":"^7.2.0","eslint-plugin-jasmine":"^4.1.1","jasmine-core":"^3.5.0","karma":"^5.1.0","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^1.3.0","karma-jasmine":"^3.3.1","karma-js-coverage":"^0.4.0","karma-rollup-preprocessor":"^7.0.5","live-server":"^1.2.1","nodemon":"^2.0.4","npm-run-all":"^4.1.5","nunjucks":"^3.2.1","nunjucks-cli":"^1.0.0","postcss-cli":"^7.1.1","postcss-csso":"^4.0.0","postcss-flexbugs-fixes":"^4.2.1","rollup":"^2.17.0","@rollup/plugin-buble":"^0.21.3","@rollup/plugin-commonjs":"^13.0.0","rollup-plugin-istanbul":"^2.0.1","@rollup/plugin-node-resolve":"^8.0.1","sass":"^1.26.8","stylelint":"^13.6.1","stylelint-config-recommended-scss":"^4.2.0","stylelint-scss":"^3.18.0"},"gitHead":"79e6f48b1e8c8368719846a044017828012d28f8","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![Build Status](https://travis-ci.org/usgs/wdfn-viz.svg?branch=master)](https://travis-ci.org/usgs/wdfn-viz)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/6faaca8b97f34929b141c4444d919e4e)](https://www.codacy.com/app/usgs_wma_dev/wdfn-viz?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=usgs/wdfn-viz&amp;utm_campaign=Badge_Grade)\n\nProvides Sass stylesheets and images that can be used when creating web pages that need to\nmeet USGS visual identity standards. The stylesheets use USWDS (https://designsystem.digital.gov/)\nas the basis so all USWDS components are available.\n\n## Usage\n\nThe repo can be installed in an existing project by installing via npm.\n\n```bash\nnpm install wdfn-viz\n```\n\nTo install the latest development snapshot (containing the current state of the master branch):\n\n```bash\nnpm install wdfn-viz@snapshot\n```\n\nWe recommend building the stylesheets with Dart sass (npm install sass).\nThe main Sass stylesheet that should be imported into a web page's Sass file and is at /src/stylesheets/wdfnviz.scss.\nThis will also include the USWDS style sheets so a separate import is not required.  This directory should be \nspecified on the --load-path option along with the uswds/src/stylesheets when the site's Sass is built. When building \nthe style sheets the css should also be processed by postcss using the autoprefixer and postcss-csso using a postcss.config.js file:\n```javascript\nconst autoprefixerOptions = [\n    '>2%',\n    'Last 2 versions',\n    'IE 11'\n];\n\nmodule.exports = ctx => ({\n    map: Object.assign({}, ctx.options.map, {inline: false}),\n    parser: ctx.options.parser,\n    plugins: {\n        autoprefixer: autoprefixerOptions,\n        'postcss-csso': {\n            forceMediaMerge: false\n        }\n    }\n});\n```\nYou may also want to include postcss-flexbugs-fixes plugin as is done for building wdfn-viz.\n\nBelow is an example of the process:\n```\n% sass --load-path node_modules/wdfn-viz/src/stylesheets --include-path node_modules/uswds/src/stylesheets src/styles.main.css dist/main.css\n% postcss dist/main.css  -o dist/main.css\n```\n\nPostcss generates internal sourcemaps by default. You may want to consider using the --map option to create external map files\nor if you want to minimize your css assets, you may want to disable entirely by using --no-map\n\nWhen building the assets, the images should be collected in a common directory and specified in the project's Sass\nfiles using the $theme-image-path variable. This should include the images in wdfn-viz/src/img that provide the USGS favicon and\nlogos. If using USWDS images those will also need to be collected. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nThe fonts should also be collected in a common directory and specified in the project's Sass files using the $theme-font-path\nvariable. Below are examples of commands that could be used to collect the image and font assets.\n```\n% mkdir -p dist/img && cp -r node_modules/uswds/src/img/* dist/img && cp -r node_modules/wdfn-viz/src/img/* dist/img\n% mkdir -p dist/fonts && cp -r node_modules/uswds/src/fonts/* dist/fonts\n```\n\nThe javascript should be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined. In order to use, a loading function should be defined which will be executed \nwhen the page loads. Below is a simple example:\n```javascript\nimport wdfnviz from 'wdfn-viz';\n\nconst load = function () {\n    null;  Add code that should get executed when the page is loaded\n}\n\nwdfnviz.main(load);\n\n\n```\n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos.\n\n## Publishing to npm\n\nTravisCI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when commits are made to the master branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://github.com/usgs/wdfn-viz/blob/master/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit.\n","readmeFilename":"README.md","_id":"wdfn-viz@1.7.0-snapshot.79e6f48","_nodeVersion":"12.18.1","_npmVersion":"6.14.5","dist":{"integrity":"sha512-DErNjC2lKbe6NhgsyXrnMRBZT//PEKfPtIQdysp41qUXLnraCJcG2ZRnOgHZQ3eOPUzkYZ+ynsKG5zMm805YzQ==","shasum":"43aceb74342fdd12fd1a4b589780d15d9d148c4e","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-1.7.0-snapshot.79e6f48.tgz","fileCount":542,"unpackedSize":7347031,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe69xGCRA9TVsSAnZWagAAOR4P/Ayqil37Y/S1DMhxElAG\nuGtwTEvs5gi26GC30t7ReZh7brx6o/VOjf1i2n/jGHLYkviW8XU+LiGwF5vB\nKODR4O02vJHjkgYrby2I9H7DGi0GLt+g+uk/6fvVwh/WXgjj5PjsUP/5WlOD\n2lKxPgVIF7R7hR6agOoNsrcZ9zzrEM4JSlpmlhdd6iEq6PL6RMMFdZ5F7NM1\nRK+D15Gl/nokZfWGnun2fLJq9K/IkSYyXni0JVI+hkX/SAFi2wSTIp21efTo\nwnOoaTUqSrdmEWSCEH8oqDTHDZnrGrfpp1FTFs3wYAwoAkWVKPzPN6naeSYJ\nUWbp822EuOcsgG2DeNhfP0StGfWYVSPmEyS0mMlekCayIJ28e166pCJ4sBA1\n7JsowK/d+XpNx+UZbJb+Z3W902jhSJy4GVj6aSJeXi9RWnuZr8HvgA3K1kKy\nbT0IWHAiK1xgiDsqMfLRddYlihy7+YBnZsTwkMqlshJlay5GNe9sLbILSwDZ\niie5z0tuC3Lh6kjN5YrMcp6lE+YOSNOhngU1QAy90vbziXGUXv1Rs8j57K8T\nYzTLzYMYIgywjMuScVgiTWl7CrJmyHjGVzpeE7s7xQ/H1dLRb1TkSfi5BFNR\nErcky4vaS1lCcGls9KHcb5rGJoNeDD2NHAbqVD8zPw5IUkfMqkbQheFCts8M\n9Icx\r\n=SS6n\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCzOx/xybPulhsjQweYvTOhpP4OlrnAZrG8S6gEEGUqpAIgEHIUIdjclBwxfbAc8EQGiU6w1ML1AWoshPIGzyvLVpk="}]},"maintainers":[{"email":"dnaab@contractor.usgs.gov","name":"danielnaab-usgs"},{"email":"drsteini@contractor.usgs.gov","name":"drsteini-usgs"},{"email":"mbucknell@usgs.gov","name":"mbucknell-usgs"},{"email":"owi_delivery@usgs.gov","name":"usgs-wma"}],"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_1.7.0-snapshot.79e6f48_1592515653685_0.9518728725960286"},"_hasShrinkwrap":false},"1.7.0":{"name":"wdfn-viz","version":"1.7.0","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"sass --load-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","clean":"rm -rf dist && mkdir dist","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"karma start","test:watch":"karma start --debug --no-single-run --browsers Chrome","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://github.com/usgs/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://github.com/usgs/wdfn-viz/issues"},"homepage":"https://github.com/usgs/wdfn-viz","engines":{"node":">= 10"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.8.0"},"devDependencies":{"autoprefixer":"^9.8.4","ajv":"^6.12.3","eslint":"^7.4.0","eslint-plugin-jasmine":"^4.1.1","jasmine-core":"^3.5.0","karma":"^5.1.0","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^1.3.0","karma-jasmine":"^3.3.1","karma-js-coverage":"^0.4.0","karma-rollup-preprocessor":"^7.0.5","live-server":"^1.2.1","nodemon":"^2.0.4","npm-run-all":"^4.1.5","nunjucks":"^3.2.1","nunjucks-cli":"^1.0.0","postcss-cli":"^7.1.1","postcss-csso":"^4.0.0","postcss-flexbugs-fixes":"^4.2.1","rollup":"^2.21.0","@rollup/plugin-buble":"^0.21.3","@rollup/plugin-commonjs":"^13.0.0","rollup-plugin-istanbul":"^2.0.1","@rollup/plugin-node-resolve":"^8.1.0","sass":"^1.26.10","stylelint":"^13.6.1","stylelint-config-recommended-scss":"^4.2.0","stylelint-scss":"^3.18.0"},"gitHead":"935038f74de7443b17b0d4c6db206b0d0c385df6","_id":"wdfn-viz@1.7.0","_nodeVersion":"12.18.2","_npmVersion":"6.14.5","dist":{"integrity":"sha512-Lmmsye1tZCb/PDiQAZ+n7sPBhe5IilL8mnojxxjLHtZEdwjFRPj/33EJwCsL6myhRxo82VbccDIE9/D5rSgJ/A==","shasum":"73a75f65f1e93f30f90e1a5ee2dcfb48daf5a8ed","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-1.7.0.tgz","fileCount":574,"unpackedSize":7732597,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfCJ3TCRA9TVsSAnZWagAA4JsP/0GdwP5KmXRtN6RQqwwi\nNjgGdccejwblPyRtiXKCReQRkChfc1u28XWUWwE/D7RmEaaEs61CO8NeCI/e\nagksIwqrIpQN0yDKl9X9jfwLsyf3oiHQIt9NuHFcTJlFi9AZw0ntn00DztXu\nAGdxV3mVCfBAwHfMzOz3XRNXCatbtu4tViGr6TjObWEnI93aedis/lVkBxpx\nOiZXK6Qe57M0tmY2OusoOGjSvH4OHu/esrfX3gW80MdNYpa0u8+DHrpcoweo\nDe7qcL5j8Hwv4JIPsTUUfIWr4cpEaXoRr1hnU23XFWHgur7pN0BQwzUv6C/x\nKXUifI9Sa35Mux46qAJGhQFkyNL/KNq0ux1Jj53aHC5fw+SDyUAYA4WQy5Jd\n0RzDqKbhH5exUZqEGq7bhB3aeivAk287gVGRoLzUQdcB5jAHAZQs8ch2z7uS\nPYfxBVCt2mtAJgB1LbA6gIcNwaSmfN8SKcQ+FoGoaiyjZCjkzapWBJxWhJrB\nRUMh5NLME5I0SZOnORf5ayBELAgL1LX2SsIZmNUo0ZuV6jje921s4nyelnOu\nLSzg8tkBkbF/pwWgyYv2ZLl2JjJmoB4DtVITAgkYaptFQ+DjoFFz8oNSBauY\n6k3Oo2O0mdNOMq2EBDaX8bz5KnkZ2CHCrdoi2tzb3a3aufFWqba0Sr6/69fX\no9Mb\r\n=RVsO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDCe/kRmXmZUe+If57kD9C1pUfrgJo38PbQjC/CiI5Z1QIgfHjlX33CA3QWPBd7xBinBRROByNEmzBeINcyZC/wEto="}]},"maintainers":[{"email":"dnaab@contractor.usgs.gov","name":"danielnaab-usgs"},{"email":"drsteini@contractor.usgs.gov","name":"drsteini-usgs"},{"email":"mbucknell@usgs.gov","name":"mbucknell-usgs"},{"email":"owi_delivery@usgs.gov","name":"usgs-wma"}],"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_1.7.0_1594400210841_0.6091043378548988"},"_hasShrinkwrap":false},"1.8.0-snapshot.3e440ea":{"name":"wdfn-viz","version":"1.8.0-snapshot.3e440ea","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"sass --load-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","clean":"rm -rf dist && mkdir dist","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"karma start","test:watch":"karma start --debug --no-single-run --browsers Chrome","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://github.com/usgs/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://github.com/usgs/wdfn-viz/issues"},"homepage":"https://github.com/usgs/wdfn-viz","engines":{"node":">= 10"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.8.0"},"devDependencies":{"autoprefixer":"^9.8.4","ajv":"^6.12.3","eslint":"^7.4.0","eslint-plugin-jasmine":"^4.1.1","jasmine-core":"^3.5.0","karma":"^5.1.0","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^1.3.0","karma-jasmine":"^3.3.1","karma-js-coverage":"^0.4.0","karma-rollup-preprocessor":"^7.0.5","live-server":"^1.2.1","nodemon":"^2.0.4","npm-run-all":"^4.1.5","nunjucks":"^3.2.1","nunjucks-cli":"^1.0.0","postcss-cli":"^7.1.1","postcss-csso":"^4.0.0","postcss-flexbugs-fixes":"^4.2.1","rollup":"^2.21.0","@rollup/plugin-buble":"^0.21.3","@rollup/plugin-commonjs":"^13.0.0","rollup-plugin-istanbul":"^2.0.1","@rollup/plugin-node-resolve":"^8.1.0","sass":"^1.26.10","stylelint":"^13.6.1","stylelint-config-recommended-scss":"^4.2.0","stylelint-scss":"^3.18.0"},"gitHead":"3e440ea5c06f484c6b80c699cb2143aefc35da11","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![Build Status](https://travis-ci.org/usgs/wdfn-viz.svg?branch=master)](https://travis-ci.org/usgs/wdfn-viz)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/6faaca8b97f34929b141c4444d919e4e)](https://www.codacy.com/app/usgs_wma_dev/wdfn-viz?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=usgs/wdfn-viz&amp;utm_campaign=Badge_Grade)\n\nProvides Sass stylesheets and images that can be used when creating web pages that need to\nmeet USGS visual identity standards. The stylesheets use USWDS (https://designsystem.digital.gov/)\nas the basis so all USWDS components are available.\n\n## Usage\n\nThe repo can be installed in an existing project by installing via npm.\n\n```bash\nnpm install wdfn-viz\n```\n\nTo install the latest development snapshot (containing the current state of the master branch):\n\n```bash\nnpm install wdfn-viz@snapshot\n```\n\nWe recommend building the stylesheets with Dart sass (npm install sass).\nThe main Sass stylesheet that should be imported into a web page's Sass file and is at /src/stylesheets/wdfnviz.scss.\nThis will also include the USWDS style sheets so a separate import is not required.  This directory should be \nspecified on the --load-path option along with the uswds/src/stylesheets when the site's Sass is built. When building \nthe style sheets the css should also be processed by postcss using the autoprefixer and postcss-csso using a postcss.config.js file:\n```javascript\nconst autoprefixerOptions = [\n    '>2%',\n    'Last 2 versions',\n    'IE 11'\n];\n\nmodule.exports = ctx => ({\n    map: Object.assign({}, ctx.options.map, {inline: false}),\n    parser: ctx.options.parser,\n    plugins: {\n        autoprefixer: autoprefixerOptions,\n        'postcss-csso': {\n            forceMediaMerge: false\n        }\n    }\n});\n```\nYou may also want to include postcss-flexbugs-fixes plugin as is done for building wdfn-viz.\n\nBelow is an example of the process:\n```\n% sass --load-path node_modules/wdfn-viz/src/stylesheets --include-path node_modules/uswds/src/stylesheets src/styles.main.css dist/main.css\n% postcss dist/main.css  -o dist/main.css\n```\n\nPostcss generates internal sourcemaps by default. You may want to consider using the --map option to create external map files\nor if you want to minimize your css assets, you may want to disable entirely by using --no-map\n\nWhen building the assets, the images should be collected in a common directory and specified in the project's Sass\nfiles using the $theme-image-path variable. This should include the images in wdfn-viz/src/img that provide the USGS favicon and\nlogos. If using USWDS images those will also need to be collected. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nThe fonts should also be collected in a common directory and specified in the project's Sass files using the $theme-font-path\nvariable. Below are examples of commands that could be used to collect the image and font assets.\n```\n% mkdir -p dist/img && cp -r node_modules/uswds/src/img/* dist/img && cp -r node_modules/wdfn-viz/src/img/* dist/img\n% mkdir -p dist/fonts && cp -r node_modules/uswds/src/fonts/* dist/fonts\n```\n\nThe javascript should be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined. In order to use, a loading function should be defined which will be executed \nwhen the page loads. Below is a simple example:\n```javascript\nimport wdfnviz from 'wdfn-viz';\n\nconst load = function () {\n    null;  Add code that should get executed when the page is loaded\n}\n\nwdfnviz.main(load);\n\n\n```\n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos.\n\n## Publishing to npm\n\nTravisCI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when commits are made to the master branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://github.com/usgs/wdfn-viz/blob/master/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit.\n","readmeFilename":"README.md","_id":"wdfn-viz@1.8.0-snapshot.3e440ea","_nodeVersion":"12.18.2","_npmVersion":"6.14.5","dist":{"integrity":"sha512-Ww4WS7sF8WM9zGQa0BHKzTdVOKPa3bGm9FgidUm/VslK4ap52nWDFe4wkkUGHsUmq+JzeL+J/1w5nVnOf+/WuA==","shasum":"906170b6b204909da5865d97a343f9f67f977b8b","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-1.8.0-snapshot.3e440ea.tgz","fileCount":574,"unpackedSize":7732614,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfCJ+5CRA9TVsSAnZWagAAYVoP/jNXLn+HsUoK0h2Bsd+U\nxFyKxdvzajSamTyDK3R472LSTbBVKmZ8c9FH+MTL6TxbvrVIyXWMr3dxAMZS\n8rp9uHeaLJVmsPZS5L9JZeGvyOiZMJ/vsvd3XJgWCvXECW8Gqx1nDKhWtzSc\nIX0zW12XOqLjOpmkizpCacFAm5JffJY0jyUvl+koAUQJBnYWqLIUELuV0Zhw\nzR7/0ayYsltfyRGJT0jNKa6RzY1wFiNPqukz7gK2v1XNWqOhTNwXVhyAzdKr\nbV3vGqiBX/x2gcjnt5U3Li/ixZQl87HmkDeXVkaXzf6EseqM/y/jITzVmX/8\n5G29ua/7bI4hCGZlDH7ejMy9jv3XktdT5W5HadW+gX+XhYT79A/JP3Wa2GYt\n9j9VbpN3vGtkJdSjcDj1YBaaQf4F1Z8t0YJUCuquYF4mxqTCLQqMA9gt9Xcv\neNIrtEdAQzLEk07gDHE69JiDc8LQKCicjPXN/lUKj2l6LZr9EHy+b5vJibKH\nuEdOsKscou0I8m23tMgx338kXDPaRDztER7WLZjaWAR7FQCvblpOwBMRkjQF\n0cdKNLoj+SfAy0+maPj/OkqSxZUyW937K8y8wk1pmDmkHPTGE8KqI6JKRhnZ\nvOjtEDwJXIfQf5b4UDP34dIRa2xdqmxduPDm6bnwNub6U1n4X891YzLavbi9\nyh8i\r\n=P62J\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEYEmh5o54AsCUEMKjndqE134JtaHuJ/n9AG7z6MHr+dAiB1ZmFpgUOXBhhq3CPvs8rjmSH6PYqlagH7+ZGkesCo3g=="}]},"maintainers":[{"email":"dnaab@contractor.usgs.gov","name":"danielnaab-usgs"},{"email":"drsteini@contractor.usgs.gov","name":"drsteini-usgs"},{"email":"mbucknell@usgs.gov","name":"mbucknell-usgs"},{"email":"owi_delivery@usgs.gov","name":"usgs-wma"}],"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_1.8.0-snapshot.3e440ea_1594400696617_0.4667192160371696"},"_hasShrinkwrap":false},"1.8.0-snapshot.dbe43a5":{"name":"wdfn-viz","version":"1.8.0-snapshot.dbe43a5","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"sass --load-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","clean":"rm -rf dist && mkdir dist","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"karma start","test:watch":"karma start --debug --no-single-run --browsers Chrome","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://github.com/usgs/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://github.com/usgs/wdfn-viz/issues"},"homepage":"https://github.com/usgs/wdfn-viz","engines":{"node":">= 10"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.8.0"},"devDependencies":{"autoprefixer":"^9.8.5","ajv":"^6.12.3","eslint":"^7.5.0","eslint-plugin-jasmine":"^4.1.1","jasmine-core":"^3.5.0","karma":"^5.1.0","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^1.3.0","karma-jasmine":"^3.3.1","karma-js-coverage":"^0.4.0","karma-rollup-preprocessor":"^7.0.5","live-server":"^1.2.1","nodemon":"^2.0.4","npm-run-all":"^4.1.5","nunjucks":"^3.2.2","nunjucks-cli":"^1.0.0","postcss-cli":"^7.1.1","postcss-csso":"^4.0.0","postcss-flexbugs-fixes":"^4.2.1","rollup":"^2.22.1","@rollup/plugin-buble":"^0.21.3","@rollup/plugin-commonjs":"^14.0.0","rollup-plugin-istanbul":"^2.0.1","@rollup/plugin-node-resolve":"^8.4.0","sass":"^1.26.10","stylelint":"^13.6.1","stylelint-config-recommended-scss":"^4.2.0","stylelint-scss":"^3.18.0"},"gitHead":"dbe43a53e1df7237913d4ff1046677402aeb2294","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![Build Status](https://travis-ci.org/usgs/wdfn-viz.svg?branch=master)](https://travis-ci.org/usgs/wdfn-viz)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/6faaca8b97f34929b141c4444d919e4e)](https://www.codacy.com/app/usgs_wma_dev/wdfn-viz?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=usgs/wdfn-viz&amp;utm_campaign=Badge_Grade)\n\nProvides Sass stylesheets and images that can be used when creating web pages that need to\nmeet USGS visual identity standards. The stylesheets use USWDS (https://designsystem.digital.gov/)\nas the basis so all USWDS components are available.\n\n## Usage\n\nThe repo can be installed in an existing project by installing via npm.\n\n```bash\nnpm install wdfn-viz\n```\n\nTo install the latest development snapshot (containing the current state of the master branch):\n\n```bash\nnpm install wdfn-viz@snapshot\n```\n\nWe recommend building the stylesheets with Dart sass (npm install sass).\nThe main Sass stylesheet that should be imported into a web page's Sass file and is at /src/stylesheets/wdfnviz.scss.\nThis will also include the USWDS style sheets so a separate import is not required.  This directory should be \nspecified on the --load-path option along with the uswds/src/stylesheets when the site's Sass is built. When building \nthe style sheets the css should also be processed by postcss using the autoprefixer and postcss-csso using a postcss.config.js file:\n```javascript\nconst autoprefixerOptions = [\n    '>2%',\n    'Last 2 versions',\n    'IE 11'\n];\n\nmodule.exports = ctx => ({\n    map: Object.assign({}, ctx.options.map, {inline: false}),\n    parser: ctx.options.parser,\n    plugins: {\n        autoprefixer: autoprefixerOptions,\n        'postcss-csso': {\n            forceMediaMerge: false\n        }\n    }\n});\n```\nYou may also want to include postcss-flexbugs-fixes plugin as is done for building wdfn-viz.\n\nBelow is an example of the process:\n```\n% sass --load-path node_modules/wdfn-viz/src/stylesheets --include-path node_modules/uswds/src/stylesheets src/styles.main.css dist/main.css\n% postcss dist/main.css  -o dist/main.css\n```\n\nPostcss generates internal sourcemaps by default. You may want to consider using the --map option to create external map files\nor if you want to minimize your css assets, you may want to disable entirely by using --no-map\n\nWhen building the assets, the images should be collected in a common directory and specified in the project's Sass\nfiles using the $theme-image-path variable. This should include the images in wdfn-viz/src/img that provide the USGS favicon and\nlogos. If using USWDS images those will also need to be collected. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nThe fonts should also be collected in a common directory and specified in the project's Sass files using the $theme-font-path\nvariable. Below are examples of commands that could be used to collect the image and font assets.\n```\n% mkdir -p dist/img && cp -r node_modules/uswds/src/img/* dist/img && cp -r node_modules/wdfn-viz/src/img/* dist/img\n% mkdir -p dist/fonts && cp -r node_modules/uswds/src/fonts/* dist/fonts\n```\n\nThe javascript should be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined. In order to use, a loading function should be defined which will be executed \nwhen the page loads. Below is a simple example:\n```javascript\nimport wdfnviz from 'wdfn-viz';\n\nconst load = function () {\n    null;  Add code that should get executed when the page is loaded\n}\n\nwdfnviz.main(load);\n\n\n```\n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos.\n\n## Publishing to npm\n\nTravisCI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when commits are made to the master branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://github.com/usgs/wdfn-viz/blob/master/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit.\n","readmeFilename":"README.md","_id":"wdfn-viz@1.8.0-snapshot.dbe43a5","_nodeVersion":"12.18.2","_npmVersion":"6.14.5","dist":{"integrity":"sha512-B6E5FYnckzvSyG7sZirSDVS8WnvYKpTyw18slCGsvhxpsYS2oM5G7qIbqy6EkVN/oDAzg1Kft2crXqMOQw/6/A==","shasum":"d1d34043ed8697284f25b5f56cb43ea2011bb71e","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-1.8.0-snapshot.dbe43a5.tgz","fileCount":574,"unpackedSize":7732614,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfFvOACRA9TVsSAnZWagAAcg4P/3A/ujUp930xhOVT6JoY\nRUJ4iDbMCcCdtdftMeeZTkbx8CRzBQQ2rDQpu9T0apoau9AwP3bFm+IiopoB\nuuSqdW8kOZhCVylPCnAxbJPWRAr/lInOEe8nT48Qv5Lpd41FnPyBHnX1STuA\n/8iB7sR/if7F8czYxFS/YnPIYGhY1m93AF68bZkgOzqT0fCNQRezJp9eM6ic\nCCxiZpqwMAxUkbVL8IQHGOaLM9ayOOlqmZ+ZFRWZFklJEGZMU+Xjitf5foei\nUkaGdNsdaXKw6zrhCWdfBZKITexViMHcyty+CUyLZ9XjV3WIIyrz+835tAJb\nvRPTOqeosoVj3rvujDLHy/vSn//TKhJADKIBD3Zuf4XlY5lT8KUqvoiE9Hhd\nHolyZGL7C4JhPsni03gdpmoWbUnnOB9bVoeFa1oCW0itY4w1bnkEqGgw/6tl\n5wrVoPuoddIWT3VLKVFfnKfvAuGAOLtNr4VS0CgwL4Gp2MO6KnuPXKxd4kb3\nHzU0wtjaVXQrTl9PRF6lEDD/NuYY0Ct9h8TECVkyqHOWw5n0RTjeRV2FGxfx\np2LFlupxRfmVfJIo0praWJszSpswkaNVOFKDZVH+XYZV+OipyvGb4lhz7NGD\n56YVR9DsVKdAmDXE4R51FFug2t6LhteA8b5dJO7KoqbX3fNgCXd9IFbfazZU\nMYOd\r\n=XX/p\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIArYQU/X+7sGJp/a3e8lCpAFVA1yn1VH3pQQiEqOK/+hAiEA3tf8NFASrOz+XTT/TDgs8rHnHQ8e+sN3kX3HHscOqLs="}]},"maintainers":[{"email":"dnaab@contractor.usgs.gov","name":"danielnaab-usgs"},{"email":"drsteini@contractor.usgs.gov","name":"drsteini-usgs"},{"email":"mbucknell@usgs.gov","name":"mbucknell-usgs"},{"email":"owi_delivery@usgs.gov","name":"usgs-wma"}],"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_1.8.0-snapshot.dbe43a5_1595339647263_0.37401326994224937"},"_hasShrinkwrap":false},"1.8.0-snapshot.34edaea":{"name":"wdfn-viz","version":"1.8.0-snapshot.34edaea","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"sass --load-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","clean":"rm -rf dist && mkdir dist","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"karma start","test:watch":"karma start --debug --no-single-run --browsers Chrome","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://github.com/usgs/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://github.com/usgs/wdfn-viz/issues"},"homepage":"https://github.com/usgs/wdfn-viz","engines":{"node":">= 10"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.8.0"},"devDependencies":{"autoprefixer":"^9.8.6","ajv":"^6.12.4","eslint":"^7.7.0","eslint-plugin-jasmine":"^4.1.1","jasmine-core":"^3.6.0","karma":"^5.1.1","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^1.3.0","karma-jasmine":"^4.0.1","karma-js-coverage":"^0.4.0","karma-rollup-preprocessor":"^7.0.5","live-server":"^1.2.1","nodemon":"^2.0.4","npm-run-all":"^4.1.5","nunjucks":"^3.2.2","nunjucks-cli":"^1.0.0","postcss-cli":"^7.1.1","postcss-csso":"^4.0.0","postcss-flexbugs-fixes":"^4.2.1","rollup":"^2.26.6","@rollup/plugin-buble":"^0.21.3","@rollup/plugin-commonjs":"^15.0.0","rollup-plugin-istanbul":"^2.0.1","@rollup/plugin-node-resolve":"^9.0.0","sass":"^1.26.10","stylelint":"^13.6.1","stylelint-config-recommended-scss":"^4.2.0","stylelint-scss":"^3.18.0"},"gitHead":"34edaea12998a733da9acfbc6abcf9be89d47668","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![Build Status](https://travis-ci.org/usgs/wdfn-viz.svg?branch=master)](https://travis-ci.org/usgs/wdfn-viz)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/6faaca8b97f34929b141c4444d919e4e)](https://www.codacy.com/app/usgs_wma_dev/wdfn-viz?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=usgs/wdfn-viz&amp;utm_campaign=Badge_Grade)\n\nProvides Sass stylesheets and images that can be used when creating web pages that need to\nmeet USGS visual identity standards. The stylesheets use USWDS (https://designsystem.digital.gov/)\nas the basis so all USWDS components are available.\n\n## Usage\n\nThe repo can be installed in an existing project by installing via npm.\n\n```bash\nnpm install wdfn-viz\n```\n\nTo install the latest development snapshot (containing the current state of the master branch):\n\n```bash\nnpm install wdfn-viz@snapshot\n```\n\nWe recommend building the stylesheets with Dart sass (npm install sass).\nThe main Sass stylesheet that should be imported into a web page's Sass file and is at /src/stylesheets/wdfnviz.scss.\nThis will also include the USWDS style sheets so a separate import is not required.  This directory should be \nspecified on the --load-path option along with the uswds/src/stylesheets when the site's Sass is built. When building \nthe style sheets the css should also be processed by postcss using the autoprefixer and postcss-csso using a postcss.config.js file:\n```javascript\nconst autoprefixerOptions = [\n    '>2%',\n    'Last 2 versions',\n    'IE 11'\n];\n\nmodule.exports = ctx => ({\n    map: Object.assign({}, ctx.options.map, {inline: false}),\n    parser: ctx.options.parser,\n    plugins: {\n        autoprefixer: autoprefixerOptions,\n        'postcss-csso': {\n            forceMediaMerge: false\n        }\n    }\n});\n```\nYou may also want to include postcss-flexbugs-fixes plugin as is done for building wdfn-viz.\n\nBelow is an example of the process:\n```\n% sass --load-path node_modules/wdfn-viz/src/stylesheets --include-path node_modules/uswds/src/stylesheets src/styles.main.css dist/main.css\n% postcss dist/main.css  -o dist/main.css\n```\n\nPostcss generates internal sourcemaps by default. You may want to consider using the --map option to create external map files\nor if you want to minimize your css assets, you may want to disable entirely by using --no-map\n\nWhen building the assets, the images should be collected in a common directory and specified in the project's Sass\nfiles using the $theme-image-path variable. This should include the images in wdfn-viz/src/img that provide the USGS favicon and\nlogos. If using USWDS images those will also need to be collected. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nThe fonts should also be collected in a common directory and specified in the project's Sass files using the $theme-font-path\nvariable. Below are examples of commands that could be used to collect the image and font assets.\n```\n% mkdir -p dist/img && cp -r node_modules/uswds/src/img/* dist/img && cp -r node_modules/wdfn-viz/src/img/* dist/img\n% mkdir -p dist/fonts && cp -r node_modules/uswds/src/fonts/* dist/fonts\n```\n\nThe javascript should be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined. In order to use, a loading function should be defined which will be executed \nwhen the page loads. Below is a simple example:\n```javascript\nimport wdfnviz from 'wdfn-viz';\n\nconst load = function () {\n    null;  Add code that should get executed when the page is loaded\n}\n\nwdfnviz.main(load);\n\n\n```\n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos.\n\n## Publishing to npm\n\nTravisCI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when commits are made to the master branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://github.com/usgs/wdfn-viz/blob/master/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit.\n","readmeFilename":"README.md","_id":"wdfn-viz@1.8.0-snapshot.34edaea","_nodeVersion":"12.18.3","_npmVersion":"6.14.6","dist":{"integrity":"sha512-59gmrl4eTeWzWCjQcVOkttDKRBSZ2U272bDHHZ3k/kNLSgG3MjPwxY1FlJ1CLONWwUJleq4RB5jnmIhIQ84qfg==","shasum":"c0a65943f980942e0a923a9efc3f94f30ebdc024","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-1.8.0-snapshot.34edaea.tgz","fileCount":574,"unpackedSize":7732994,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfSRMsCRA9TVsSAnZWagAAWnEQAIICfKImu33BHr+AejTQ\ngrvUHxg0kqZbkKyom2L2hslfXMThv3Ts5e6WgfU3Zz+FHZeN6icJPnCjlR/Z\nQxoXQMgGkPtTb+gje/7mdkNHnUmqmk3afvK/6QnuCx1yaBvyqycyUYKs7V4G\nW3eWFHtYhkkhtemXUwxjRMq4aLuHafJSJyxb+XWBm1CIoaDIks2CgrZzKTan\nwLHtJy2jdiJPFib9JsJz2W8+JE7/UVjOW3TQVc7Q2Ricle2QtYNLdb8SkQhh\nzl59S3fEPf2zU+fW2jyczGvupguvfN+WBatop27SiI/beTGE9GlBAFD/CMf/\nO16SpjF5Q62HwldeSK2wNtCLuEldOAarlsdud7gZoxE2AbLKMOAqh3r4IOf2\nivlK2R0vEku0y4EPWoSE8S+96FVR7HFzrrXqUCTmC+COSXdHKUanTTZVem5m\n3DdCF63yIe5/IoPjX7SFPlrSM2uLVvhFKkKSNBJY3HOWXZ9SAWJSIX+1p815\n97CjX/G3Z4nrFC1oeWhi4hIi13B8lXYhArYRhIuKO3Yg8aixikCyxcyZgnyw\ncccHBJEz8u3GPNKUpHbzIqwwprUZSU7ZbF0qNQhKQwBWYASyKc58vjoxeSlX\nRVizbw9XebxEiBZDH+gRU0XE0n8O5lL+qAebu6lp2uMichJ1Rc1QiQCOGQOH\nxxVS\r\n=J56w\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGYjnifYWcrp8WgueRL+frGcOcGzeAB+Nqzw658keq1BAiAMNDp5nWyaDlZeJSDXQWHcgSdKUYOScHKIhj0xmjtscg=="}]},"maintainers":[{"email":"dnaab@contractor.usgs.gov","name":"danielnaab-usgs"},{"email":"drsteini@contractor.usgs.gov","name":"drsteini-usgs"},{"email":"mbucknell@usgs.gov","name":"mbucknell-usgs"},{"email":"owi_delivery@usgs.gov","name":"usgs-wma"}],"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_1.8.0-snapshot.34edaea_1598624555960_0.12845252019435005"},"_hasShrinkwrap":false},"1.8.0-snapshot.2e0ce43":{"name":"wdfn-viz","version":"1.8.0-snapshot.2e0ce43","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"sass --load-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","clean":"rm -rf dist && mkdir dist","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"karma start","test:watch":"karma start --debug --no-single-run --browsers Chrome","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://github.com/usgs/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://github.com/usgs/wdfn-viz/issues"},"homepage":"https://github.com/usgs/wdfn-viz","engines":{"node":">= 10"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.8.0"},"devDependencies":{"autoprefixer":"^9.8.6","ajv":"^6.12.4","eslint":"^7.7.0","eslint-plugin-jasmine":"^4.1.1","jasmine-core":"^3.6.0","karma":"^5.1.1","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^1.3.0","karma-jasmine":"^4.0.1","karma-js-coverage":"^0.4.0","karma-rollup-preprocessor":"^7.0.5","live-server":"^1.2.1","nodemon":"^2.0.4","npm-run-all":"^4.1.5","nunjucks":"^3.2.2","nunjucks-cli":"^1.0.0","postcss-cli":"^7.1.1","postcss-csso":"^4.0.0","postcss-flexbugs-fixes":"^4.2.1","rollup":"^2.26.6","@rollup/plugin-buble":"^0.21.3","@rollup/plugin-commonjs":"^15.0.0","rollup-plugin-istanbul":"^2.0.1","@rollup/plugin-node-resolve":"^9.0.0","sass":"^1.26.10","stylelint":"^13.6.1","stylelint-config-recommended-scss":"^4.2.0","stylelint-scss":"^3.18.0"},"gitHead":"2e0ce4302671ec30f406fc26b7a013de693ca3c5","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![Build Status](https://travis-ci.org/usgs/wdfn-viz.svg?branch=master)](https://travis-ci.org/usgs/wdfn-viz)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/6faaca8b97f34929b141c4444d919e4e)](https://www.codacy.com/app/usgs_wma_dev/wdfn-viz?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=usgs/wdfn-viz&amp;utm_campaign=Badge_Grade)\n\nProvides Sass stylesheets and images that can be used when creating web pages that need to\nmeet USGS visual identity standards. The stylesheets use USWDS (https://designsystem.digital.gov/)\nas the basis so all USWDS components are available.\n\n## Usage\n\nThe repo can be installed in an existing project by installing via npm.\n\n```bash\nnpm install wdfn-viz\n```\n\nTo install the latest development snapshot (containing the current state of the master branch):\n\n```bash\nnpm install wdfn-viz@snapshot\n```\n\nWe recommend building the stylesheets with Dart sass (npm install sass).\nThe main Sass stylesheet that should be imported into a web page's Sass file and is at /src/stylesheets/wdfnviz.scss.\nThis will also include the USWDS style sheets so a separate import is not required.  This directory should be \nspecified on the --load-path option along with the uswds/src/stylesheets when the site's Sass is built. When building \nthe style sheets the css should also be processed by postcss using the autoprefixer and postcss-csso using a postcss.config.js file:\n```javascript\nconst autoprefixerOptions = [\n    '>2%',\n    'Last 2 versions',\n    'IE 11'\n];\n\nmodule.exports = ctx => ({\n    map: Object.assign({}, ctx.options.map, {inline: false}),\n    parser: ctx.options.parser,\n    plugins: {\n        autoprefixer: autoprefixerOptions,\n        'postcss-csso': {\n            forceMediaMerge: false\n        }\n    }\n});\n```\nYou may also want to include postcss-flexbugs-fixes plugin as is done for building wdfn-viz.\n\nBelow is an example of the process:\n```\n% sass --load-path node_modules/wdfn-viz/src/stylesheets --include-path node_modules/uswds/src/stylesheets src/styles.main.css dist/main.css\n% postcss dist/main.css  -o dist/main.css\n```\n\nPostcss generates internal sourcemaps by default. You may want to consider using the --map option to create external map files\nor if you want to minimize your css assets, you may want to disable entirely by using --no-map\n\nWhen building the assets, the images should be collected in a common directory and specified in the project's Sass\nfiles using the $theme-image-path variable. This should include the images in wdfn-viz/src/img that provide the USGS favicon and\nlogos. If using USWDS images those will also need to be collected. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nThe fonts should also be collected in a common directory and specified in the project's Sass files using the $theme-font-path\nvariable. Below are examples of commands that could be used to collect the image and font assets.\n```\n% mkdir -p dist/img && cp -r node_modules/uswds/src/img/* dist/img && cp -r node_modules/wdfn-viz/src/img/* dist/img\n% mkdir -p dist/fonts && cp -r node_modules/uswds/src/fonts/* dist/fonts\n```\n\nThe javascript should be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined. In order to use, a loading function should be defined which will be executed \nwhen the page loads. Below is a simple example:\n```javascript\nimport wdfnviz from 'wdfn-viz';\n\nconst load = function () {\n    null;  Add code that should get executed when the page is loaded\n}\n\nwdfnviz.main(load);\n\n\n```\n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos.\n\n## Publishing to npm\n\nTravisCI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when commits are made to the master branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://github.com/usgs/wdfn-viz/blob/master/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit.\n","readmeFilename":"README.md","_id":"wdfn-viz@1.8.0-snapshot.2e0ce43","_nodeVersion":"12.18.3","_npmVersion":"6.14.6","dist":{"integrity":"sha512-q9UsfqxeHjw7aEB14IyjacNCYCFpOd/WvXekFmCrW62+JAnDFK0qPFGMHX8F/hENiTFiQ4HuwWZYkqfg/6nvAg==","shasum":"d00bbaab78d950ac95676e250e5540298323cea9","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-1.8.0-snapshot.2e0ce43.tgz","fileCount":574,"unpackedSize":7732994,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfSRSOCRA9TVsSAnZWagAA4AcP/RuO+l2lKLXjjhNIXCKr\n00fQAhzJbT0JORgeBJqnQ4LWiQXeOx8x5t6M+iSSzWvvr+yS/Yzxc27jLsv4\nrGZmgS/f3IDv3ezWzEigja+0hsG05xJe22y84aDPVmfBI7DYTLvFzGlAV4y1\nLRfFj2HvweQcajrjhdn0Dh3C5qhFNkxHuWo2Z6sRMTvYvEDca9+we1g65Xkc\nicC+JJQzrIqGEugdfXyNgLyLSPGKgo92y8Eg4zP/FIc8posx8rkBPJtiyBOn\ncdNG4U9Y29Nenz0svET43kpmTW9w+xpX3u7I3joa34LgZMIrD7YEN3oRoyjZ\nBBHcd1HevtpCubCasgmitSsuXwG5U+T9LelOx+MARMl8Cz27Q0VPZK9IYsrm\nycith3fJ4s/9lrSFCn7vcQRe78655fahb9JHYDsEMjt3xoi3QWKNX4agNvsP\nhZfV0ZdooEO7TYjBL/enejOgZuRjZjQ8suMHaN7vCWl+PHV81KpbEcFNPU9z\nrwk8L/uAk5xoXSUiHQm1FPlrUSudwYuMv8HeDhyGswhvkZDS7iDP9NKkTW9G\ninZfaZbocJQLiqyhsAkBB6UNR4B1vBpqKowaxl/y/MdXbwbpK+NpeW7KPQCJ\nNolQwrgdcPkxZklOLxp6f8hVkCeQkIJfh4xyMfEgyeTAQwzLnBjxzilXxeIZ\nszJW\r\n=QBwq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDkX9lJUdjlM+ihbCIcVJ5OQhsS+9MhAtWNxqwlg6a6dwIgHM94m8Evyoxn2vIupljEAdhsekfaPZc7bh17IzujIDw="}]},"maintainers":[{"email":"dnaab@contractor.usgs.gov","name":"danielnaab-usgs"},{"email":"drsteini@contractor.usgs.gov","name":"drsteini-usgs"},{"email":"mbucknell@usgs.gov","name":"mbucknell-usgs"},{"email":"owi_delivery@usgs.gov","name":"usgs-wma"}],"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_1.8.0-snapshot.2e0ce43_1598624909642_0.2570202696922599"},"_hasShrinkwrap":false},"1.7.1":{"name":"wdfn-viz","version":"1.7.1","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"sass --load-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","clean":"rm -rf dist && mkdir dist","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"karma start","test:watch":"karma start --debug --no-single-run --browsers Chrome","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://github.com/usgs/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://github.com/usgs/wdfn-viz/issues"},"homepage":"https://github.com/usgs/wdfn-viz","engines":{"node":">= 10"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.8.1"},"devDependencies":{"autoprefixer":"^9.8.6","ajv":"^6.12.4","eslint":"^7.7.0","eslint-plugin-jasmine":"^4.1.1","jasmine-core":"^3.6.0","karma":"^5.1.1","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^1.3.0","karma-jasmine":"^4.0.1","karma-js-coverage":"^0.4.0","karma-rollup-preprocessor":"^7.0.5","live-server":"^1.2.1","nodemon":"^2.0.4","npm-run-all":"^4.1.5","nunjucks":"^3.2.2","nunjucks-cli":"^1.0.0","postcss-cli":"^7.1.1","postcss-csso":"^4.0.0","postcss-flexbugs-fixes":"^4.2.1","rollup":"^2.26.6","@rollup/plugin-buble":"^0.21.3","@rollup/plugin-commonjs":"^15.0.0","rollup-plugin-istanbul":"^2.0.1","@rollup/plugin-node-resolve":"^9.0.0","sass":"^1.26.10","stylelint":"^13.6.1","stylelint-config-recommended-scss":"^4.2.0","stylelint-scss":"^3.18.0"},"gitHead":"e418003f3cdda2a1ea892bdb2180f60621d38cfe","_id":"wdfn-viz@1.7.1","_nodeVersion":"12.18.3","_npmVersion":"6.14.6","dist":{"integrity":"sha512-Ez1mybAM/HMAY6Zjo+2troyGDJmiGWaC32zWp6VjTKnYZjcO4a1RY2QjQGUp5O+yf6KHVpnB8sg+drsclP0ELg==","shasum":"1a28c002bf0851d5a878afff98daece4087162bf","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-1.7.1.tgz","fileCount":574,"unpackedSize":7743544,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfSSQrCRA9TVsSAnZWagAAhjUQAJzsviVh8wkJUBLAL1UC\nYwOj6fXdbWCcA9g+Pna4OWqMaoT6rhElEQ219P6REctRVkEN68JO5Pywud+l\nsgr162u8KmT5j622VoyjQO/AQY2d6yG91QeEeWAiOqhCXb2VXsJ4AfV3Yocy\nfXeqEXHGKUKAEj6F9QrClF64XPS6JfKkN+iucdCTEr/Zn2rs/pstzacJkFtr\nb0vJJph2WEWHkEj0rXWXKaNC6eSUnc1tHWnxEuzY9/RUJ96gvABhtoWGh4hD\nyuZPEDm4goLHQBpVSotr35iV1KumVLLnnQP3G9e2ul/LjAX9kEtcT/XnDPSO\nOngPQh4zaTT0SG1GDvgUJFoWhidTfiVQ16BE5FECPW3RbueSaBkBKOHH5my5\nS7jzA7Ekdlab5tjS7eQvv8kB3hGouVB3pJp7nT84JavgeleSn2OsU0WBfLOf\ntfs5qGsBQkgJNyxSNKl/SN404Xr1Ua/e/zXZ/2ZVN8NXyLBTAiMxRNUIDOiz\nB4Q0E5CNjI7oTHYDmtDmaAsLp4/Me1u5XM2ndr9StOf3FN55CUTRrC/k2kPy\npIzjmEKi7wWKGj+2q59khHYezi0mzWb3YRXhX4qNb7q78G7BQZlQbhtwAfmm\ncPcXloRZwfeZa2pzz/96QPI4tZ6MG4nYeo6cVVQgZDw1J9Vbldq6GXq+18lw\n/yKK\r\n=ZmIr\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB4f5m1UdUzBv2cTWkcPEAerfufQnRcUMRL5hEiUZJKGAiBaDpXdM7tU6dnPO/t26LSp2SzZd7A/lPR7RKk2rrGVzQ=="}]},"maintainers":[{"email":"dnaab@contractor.usgs.gov","name":"danielnaab-usgs"},{"email":"drsteini@contractor.usgs.gov","name":"drsteini-usgs"},{"email":"mbucknell@usgs.gov","name":"mbucknell-usgs"},{"email":"owi_delivery@usgs.gov","name":"usgs-wma"}],"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_1.7.1_1598628906340_0.9786222070435995"},"_hasShrinkwrap":false},"1.8.0-snapshot.372e05f":{"name":"wdfn-viz","version":"1.8.0-snapshot.372e05f","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"sass --load-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","clean":"rm -rf dist && mkdir dist","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"karma start","test:watch":"karma start --debug --no-single-run --browsers Chrome","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://github.com/usgs/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://github.com/usgs/wdfn-viz/issues"},"homepage":"https://github.com/usgs/wdfn-viz","engines":{"node":">= 10"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.8.1"},"devDependencies":{"autoprefixer":"^9.8.6","ajv":"^6.12.4","eslint":"^7.7.0","eslint-plugin-jasmine":"^4.1.1","jasmine-core":"^3.6.0","karma":"^5.1.1","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^1.3.0","karma-jasmine":"^4.0.1","karma-js-coverage":"^0.4.0","karma-rollup-preprocessor":"^7.0.5","live-server":"^1.2.1","nodemon":"^2.0.4","npm-run-all":"^4.1.5","nunjucks":"^3.2.2","nunjucks-cli":"^1.0.0","postcss-cli":"^7.1.1","postcss-csso":"^4.0.0","postcss-flexbugs-fixes":"^4.2.1","rollup":"^2.26.6","@rollup/plugin-buble":"^0.21.3","@rollup/plugin-commonjs":"^15.0.0","rollup-plugin-istanbul":"^2.0.1","@rollup/plugin-node-resolve":"^9.0.0","sass":"^1.26.10","stylelint":"^13.6.1","stylelint-config-recommended-scss":"^4.2.0","stylelint-scss":"^3.18.0"},"gitHead":"372e05f82db780e1b470e8934e613b49eaf82a6c","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![Build Status](https://travis-ci.org/usgs/wdfn-viz.svg?branch=master)](https://travis-ci.org/usgs/wdfn-viz)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/6faaca8b97f34929b141c4444d919e4e)](https://www.codacy.com/app/usgs_wma_dev/wdfn-viz?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=usgs/wdfn-viz&amp;utm_campaign=Badge_Grade)\n\nProvides Sass stylesheets and images that can be used when creating web pages that need to\nmeet USGS visual identity standards. The stylesheets use USWDS (https://designsystem.digital.gov/)\nas the basis so all USWDS components are available.\n\n## Usage\n\nThe repo can be installed in an existing project by installing via npm.\n\n```bash\nnpm install wdfn-viz\n```\n\nTo install the latest development snapshot (containing the current state of the master branch):\n\n```bash\nnpm install wdfn-viz@snapshot\n```\n\nWe recommend building the stylesheets with Dart sass (npm install sass).\nThe main Sass stylesheet that should be imported into a web page's Sass file and is at /src/stylesheets/wdfnviz.scss.\nThis will also include the USWDS style sheets so a separate import is not required.  This directory should be \nspecified on the --load-path option along with the uswds/src/stylesheets when the site's Sass is built. When building \nthe style sheets the css should also be processed by postcss using the autoprefixer and postcss-csso using a postcss.config.js file:\n```javascript\nconst autoprefixerOptions = [\n    '>2%',\n    'Last 2 versions',\n    'IE 11'\n];\n\nmodule.exports = ctx => ({\n    map: Object.assign({}, ctx.options.map, {inline: false}),\n    parser: ctx.options.parser,\n    plugins: {\n        autoprefixer: autoprefixerOptions,\n        'postcss-csso': {\n            forceMediaMerge: false\n        }\n    }\n});\n```\nYou may also want to include postcss-flexbugs-fixes plugin as is done for building wdfn-viz.\n\nBelow is an example of the process:\n```\n% sass --load-path node_modules/wdfn-viz/src/stylesheets --include-path node_modules/uswds/src/stylesheets src/styles.main.css dist/main.css\n% postcss dist/main.css  -o dist/main.css\n```\n\nPostcss generates internal sourcemaps by default. You may want to consider using the --map option to create external map files\nor if you want to minimize your css assets, you may want to disable entirely by using --no-map\n\nWhen building the assets, the images should be collected in a common directory and specified in the project's Sass\nfiles using the $theme-image-path variable. This should include the images in wdfn-viz/src/img that provide the USGS favicon and\nlogos. If using USWDS images those will also need to be collected. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nThe fonts should also be collected in a common directory and specified in the project's Sass files using the $theme-font-path\nvariable. Below are examples of commands that could be used to collect the image and font assets.\n```\n% mkdir -p dist/img && cp -r node_modules/uswds/src/img/* dist/img && cp -r node_modules/wdfn-viz/src/img/* dist/img\n% mkdir -p dist/fonts && cp -r node_modules/uswds/src/fonts/* dist/fonts\n```\n\nThe javascript should be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined. In order to use, a loading function should be defined which will be executed \nwhen the page loads. Below is a simple example:\n```javascript\nimport wdfnviz from 'wdfn-viz';\n\nconst load = function () {\n    null;  Add code that should get executed when the page is loaded\n}\n\nwdfnviz.main(load);\n\n\n```\n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos.\n\n## Publishing to npm\n\nTravisCI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when commits are made to the master branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://github.com/usgs/wdfn-viz/blob/master/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit.\n","readmeFilename":"README.md","_id":"wdfn-viz@1.8.0-snapshot.372e05f","_nodeVersion":"12.18.3","_npmVersion":"6.14.6","dist":{"integrity":"sha512-Cfs5x3p8ikQLIXQdXebf1YOKosAXmRSpLBiOeI+QmFm0C/klMzCkYgS8E/4AszLRDKo4FSH0Y9BGDTBEYsAuvQ==","shasum":"2f8e2eb2b0ae732916bcfffa26b7ee3a18920755","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-1.8.0-snapshot.372e05f.tgz","fileCount":574,"unpackedSize":7743561,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfSSbxCRA9TVsSAnZWagAAHSAP/jJzpG73hIjh75dbQ1JI\nGj85kzzo9c5TI++rPChtL6ugcXSM2M6i40LaJy1kxxxjqSEH1/RP0aFsWpY3\n3MSczk7HF4kxGpFAGh2WfrjXki9SiFLpIQsQLfAa7rGwwQ+/zyboGHfb4ctu\nqvtpCK+ze4TCGeS97HutmzL8D1xXyuomDec1vvZkhTpb+dPAEbttk/I0l8f+\n2wgTqF21ewYrv93Vl8hBtRybzhsN1O8yDmSIcYM0ZGn6QwQQR5dBgXm4XTwR\nVGuwRASCURbGh99Wm3NmD5slFpjWvQgCFX2zDTjHOKxWmtf2buLschdgHEo1\npu8CiqXF0Y3ivesIwFLgGxcXqZ7kQn3H3G50tB9FNW0U4R/2NCULzZemKDY+\nyGNQhnH2jqkLZlMkO5oaFKlXUYPvDl5Jg0Ef1zoJZEr0Ys1gsbEobUO5AbDo\nLxqy/zT41dYyh+qaQP2nIIh4g0VT8nHWOIOprtANjsAE2dLsO1VM3HwWcv7H\nSPPMQwN/7cDa675v+40v8HICECg93ZDZ++7/eLiXetXekcIM0eCSeWRIr1vK\nVdabxNV1amMoex+YD//uXt5/9uyufhEPSS6/NtB8aIT4wi9s/2kLP6v0H0Xh\nct3cAlnbUDQJHelLJmqGzM1C4G7TqTR9b7KHShTARjwCuRSsC7R093jVo+KK\nO6wc\r\n=AqLv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAE8riSK09WLV7wVT8dD/ATgjAiK0cL/a8X3MgHo+ungAiEAmmhCLuUKjhwD8kgXFB6izdsmbUjp0aoK6RwJZL5wzOE="}]},"maintainers":[{"email":"dnaab@contractor.usgs.gov","name":"danielnaab-usgs"},{"email":"drsteini@contractor.usgs.gov","name":"drsteini-usgs"},{"email":"mbucknell@usgs.gov","name":"mbucknell-usgs"},{"email":"owi_delivery@usgs.gov","name":"usgs-wma"}],"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_1.8.0-snapshot.372e05f_1598629616872_0.6099808187237288"},"_hasShrinkwrap":false},"1.8.0-snapshot.00d052d":{"name":"wdfn-viz","version":"1.8.0-snapshot.00d052d","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"sass --load-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","clean":"rm -rf dist && mkdir dist","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"karma start","test:watch":"karma start --debug --no-single-run --browsers Chrome","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://github.com/usgs/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://github.com/usgs/wdfn-viz/issues"},"homepage":"https://github.com/usgs/wdfn-viz","engines":{"node":">= 10"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.9.0"},"devDependencies":{"autoprefixer":"^9.8.6","ajv":"^6.12.6","eslint":"^7.11.0","eslint-plugin-jasmine":"^4.1.1","jasmine-core":"^3.6.0","karma":"^5.2.3","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.0.0","karma-jasmine":"^4.0.1","karma-js-coverage":"^0.4.0","karma-rollup-preprocessor":"^7.0.5","live-server":"^1.2.1","nodemon":"^2.0.6","npm-run-all":"^4.1.5","nunjucks":"^3.2.2","nunjucks-cli":"^1.0.0","postcss-cli":"^7.1.2","postcss-csso":"^4.0.0","postcss-flexbugs-fixes":"^4.2.1","rollup":"^2.32.0","@rollup/plugin-buble":"^0.21.3","@rollup/plugin-commonjs":"^15.1.0","rollup-plugin-istanbul":"^2.0.1","@rollup/plugin-node-resolve":"^9.0.0","sass":"^1.27.0","stylelint":"^13.7.2","stylelint-config-recommended-scss":"^4.2.0","stylelint-scss":"^3.18.0"},"gitHead":"00d052d498cd8f7ad4647ea88d04f068d9faec00","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![Build Status](https://travis-ci.org/usgs/wdfn-viz.svg?branch=master)](https://travis-ci.org/usgs/wdfn-viz)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/6faaca8b97f34929b141c4444d919e4e)](https://www.codacy.com/app/usgs_wma_dev/wdfn-viz?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=usgs/wdfn-viz&amp;utm_campaign=Badge_Grade)\n\nProvides Sass stylesheets and images that can be used when creating web pages that need to\nmeet USGS visual identity standards. The stylesheets use USWDS (https://designsystem.digital.gov/)\nas the basis so all USWDS components are available.\n\n## Usage\n\nThe repo can be installed in an existing project by installing via npm.\n\n```bash\nnpm install wdfn-viz\n```\n\nTo install the latest development snapshot (containing the current state of the master branch):\n\n```bash\nnpm install wdfn-viz@snapshot\n```\n\nWe recommend building the stylesheets with Dart sass (npm install sass).\nThe main Sass stylesheet that should be imported into a web page's Sass file and is at /src/stylesheets/wdfnviz.scss.\nThis will also include the USWDS style sheets so a separate import is not required.  This directory should be \nspecified on the --load-path option along with the uswds/src/stylesheets when the site's Sass is built. When building \nthe style sheets the css should also be processed by postcss using the autoprefixer and postcss-csso using a postcss.config.js file:\n```javascript\nconst autoprefixerOptions = [\n    '>2%',\n    'Last 2 versions',\n    'IE 11'\n];\n\nmodule.exports = ctx => ({\n    map: Object.assign({}, ctx.options.map, {inline: false}),\n    parser: ctx.options.parser,\n    plugins: {\n        autoprefixer: autoprefixerOptions,\n        'postcss-csso': {\n            forceMediaMerge: false\n        }\n    }\n});\n```\nYou may also want to include postcss-flexbugs-fixes plugin as is done for building wdfn-viz.\n\nBelow is an example of the process:\n```\n% sass --load-path node_modules/wdfn-viz/src/stylesheets --include-path node_modules/uswds/src/stylesheets src/styles.main.css dist/main.css\n% postcss dist/main.css  -o dist/main.css\n```\n\nPostcss generates internal sourcemaps by default. You may want to consider using the --map option to create external map files\nor if you want to minimize your css assets, you may want to disable entirely by using --no-map\n\nWhen building the assets, the images should be collected in a common directory and specified in the project's Sass\nfiles using the $theme-image-path variable. This should include the images in wdfn-viz/src/img that provide the USGS favicon and\nlogos. If using USWDS images those will also need to be collected. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nThe fonts should also be collected in a common directory and specified in the project's Sass files using the $theme-font-path\nvariable. Below are examples of commands that could be used to collect the image and font assets.\n```\n% mkdir -p dist/img && cp -r node_modules/uswds/src/img/* dist/img && cp -r node_modules/wdfn-viz/src/img/* dist/img\n% mkdir -p dist/fonts && cp -r node_modules/uswds/src/fonts/* dist/fonts\n```\n\nThe javascript should be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined. In order to use, a loading function should be defined which will be executed \nwhen the page loads. Below is a simple example:\n```javascript\nimport wdfnviz from 'wdfn-viz';\n\nconst load = function () {\n    null;  Add code that should get executed when the page is loaded\n}\n\nwdfnviz.main(load);\n\n\n```\n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos.\n\n## Publishing to npm\n\nTravisCI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when commits are made to the master branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://github.com/usgs/wdfn-viz/blob/master/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit.\n","readmeFilename":"README.md","_id":"wdfn-viz@1.8.0-snapshot.00d052d","_nodeVersion":"12.19.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-lgfmGt05tNHaiREgzJuNqh7yh+OJ4IU9L9QqPDznVomcf8eoNNVsrIg5DLl9wkNhkMWyoK4krrHgTqPWz5KC4A==","shasum":"517c15aef6d662cf80535f843ffe5dfec9a32bbb","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-1.8.0-snapshot.00d052d.tgz","fileCount":582,"unpackedSize":7808070,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfkC6ECRA9TVsSAnZWagAADUcP/0NiejdbT8y26+dCYjZl\nMD0Zg1k+aquXrpclkguLCusbTtfDAZQ68xLRhM+1Z43OS/aCkhtsSLiKk82o\nhMANi8EdV91DFHmfaWCXkpIYfzYPopbrmteCuiYy09Z83VyQgKUqh4uh9nhq\nzUubFLYmuH1/4gPkImqxGI35yWp0JJQMokXzwobvwgVuxveA95oQhwWBOzw9\nEq9LmqhFz7ZyjU/NKJOqb5dE5pqgdpuQmpRIre6wuypbTSpUyl8SwYZDEcMu\nnBG+CgXlw39PIhy1N57mFnr2auNwPH4rL+b552AEQc9+EIC6+vbU5G8OvCey\nrwpSbJr00LMc9dbMcKRBU60nlbDjtq41JQbX+K2Y7qeILx6EhkVVd+YDflvs\n7srlJPvQM2JLdreZ79GOXoUvzNNHbcxVwo2IEVEIH/m4fBVoICeNdSZWKzWt\nCegHIRvBAg+gmDZSwFiaGnm+IlobDDS+qSvwuImmTPGRbC059lTIuVY3pS7o\nnbqcAxNkv23gGWf07hhkHvuxclcHuPiSE61a+YnQ2Iciao1UYQsRK2ew0UsN\nxfWMxMDHKV/5Kue+Q/0iugVwQMTEsmYkEC/V0zyRhxyHKlxkQuz3vyVr5WJa\n6JAxBz8fc+Hsotg3G21PL1Znr/KkvVx5Ln/xblUNs4i8Rjod4Uu4DcQ/FTOu\ncQ9i\r\n=156a\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDv63uZ+wDJT73yd5A3LR2+7i2fQO+5jQ5JJh6o70dQAgIgfiVxqbhviFQ0G5whTYgWU2Ow/ojZ5oSR+kO4pM6fQdk="}]},"maintainers":[{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},{"name":"mbucknell-usgs","email":"mbucknell@usgs.gov"},{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},{"name":"drsteini-usgs","email":"drsteini@contractor.usgs.gov"}],"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_1.8.0-snapshot.00d052d_1603284612270_0.7217237987911567"},"_hasShrinkwrap":false},"1.8.0-snapshot.b3d4dfe":{"name":"wdfn-viz","version":"1.8.0-snapshot.b3d4dfe","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"sass --load-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","clean":"rm -rf dist && mkdir dist","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"karma start","test:watch":"karma start --debug --no-single-run --browsers Chrome","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://github.com/usgs/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://github.com/usgs/wdfn-viz/issues"},"homepage":"https://github.com/usgs/wdfn-viz","engines":{"node":">= 10"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.9.0"},"devDependencies":{"autoprefixer":"^9.8.6","ajv":"^6.12.6","eslint":"^7.11.0","eslint-plugin-jasmine":"^4.1.1","jasmine-core":"^3.6.0","karma":"^5.2.3","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.0.0","karma-jasmine":"^4.0.1","karma-js-coverage":"^0.4.0","karma-rollup-preprocessor":"^7.0.5","live-server":"^1.2.1","nodemon":"^2.0.6","npm-run-all":"^4.1.5","nunjucks":"^3.2.2","nunjucks-cli":"^1.0.0","postcss-cli":"^7.1.2","postcss-csso":"^4.0.0","postcss-flexbugs-fixes":"^4.2.1","rollup":"^2.32.0","@rollup/plugin-buble":"^0.21.3","@rollup/plugin-commonjs":"^15.1.0","rollup-plugin-istanbul":"^2.0.1","@rollup/plugin-node-resolve":"^9.0.0","sass":"^1.27.0","stylelint":"^13.7.2","stylelint-config-recommended-scss":"^4.2.0","stylelint-scss":"^3.18.0"},"gitHead":"b3d4dfef3793277fad0d267c0b0388686eaaf6cd","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![Build Status](https://travis-ci.org/usgs/wdfn-viz.svg?branch=master)](https://travis-ci.org/usgs/wdfn-viz)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/6faaca8b97f34929b141c4444d919e4e)](https://www.codacy.com/app/usgs_wma_dev/wdfn-viz?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=usgs/wdfn-viz&amp;utm_campaign=Badge_Grade)\n\nProvides Sass stylesheets and images that can be used when creating web pages that need to\nmeet USGS visual identity standards. The stylesheets use USWDS (https://designsystem.digital.gov/)\nas the basis so all USWDS components are available.\n\n## Usage\n\nThe repo can be installed in an existing project by installing via npm.\n\n```bash\nnpm install wdfn-viz\n```\n\nTo install the latest development snapshot (containing the current state of the master branch):\n\n```bash\nnpm install wdfn-viz@snapshot\n```\n\nWe recommend building the stylesheets with Dart sass (npm install sass).\nThe main Sass stylesheet that should be imported into a web page's Sass file and is at /src/stylesheets/wdfnviz.scss.\nThis will also include the USWDS style sheets so a separate import is not required.  This directory should be \nspecified on the --load-path option along with the uswds/src/stylesheets when the site's Sass is built. When building \nthe style sheets the css should also be processed by postcss using the autoprefixer and postcss-csso using a postcss.config.js file:\n```javascript\nconst autoprefixerOptions = [\n    '>2%',\n    'Last 2 versions',\n    'IE 11'\n];\n\nmodule.exports = ctx => ({\n    map: Object.assign({}, ctx.options.map, {inline: false}),\n    parser: ctx.options.parser,\n    plugins: {\n        autoprefixer: autoprefixerOptions,\n        'postcss-csso': {\n            forceMediaMerge: false\n        }\n    }\n});\n```\nYou may also want to include postcss-flexbugs-fixes plugin as is done for building wdfn-viz.\n\nBelow is an example of the process:\n```\n% sass --load-path node_modules/wdfn-viz/src/stylesheets --include-path node_modules/uswds/src/stylesheets src/styles.main.css dist/main.css\n% postcss dist/main.css  -o dist/main.css\n```\n\nPostcss generates internal sourcemaps by default. You may want to consider using the --map option to create external map files\nor if you want to minimize your css assets, you may want to disable entirely by using --no-map\n\nWhen building the assets, the images should be collected in a common directory and specified in the project's Sass\nfiles using the $theme-image-path variable. This should include the images in wdfn-viz/src/img that provide the USGS favicon and\nlogos. If using USWDS images those will also need to be collected. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nThe fonts should also be collected in a common directory and specified in the project's Sass files using the $theme-font-path\nvariable. Below are examples of commands that could be used to collect the image and font assets.\n```\n% mkdir -p dist/img && cp -r node_modules/uswds/src/img/* dist/img && cp -r node_modules/wdfn-viz/src/img/* dist/img\n% mkdir -p dist/fonts && cp -r node_modules/uswds/src/fonts/* dist/fonts\n```\n\nThe javascript should be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined. In order to use, a loading function should be defined which will be executed \nwhen the page loads. Below is a simple example:\n```javascript\nimport wdfnviz from 'wdfn-viz';\n\nconst load = function () {\n    null;  Add code that should get executed when the page is loaded\n}\n\nwdfnviz.main(load);\n\n\n```\n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos.\n\n## Publishing to npm\n\nTravisCI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when commits are made to the master branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://github.com/usgs/wdfn-viz/blob/master/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit.\n","readmeFilename":"README.md","_id":"wdfn-viz@1.8.0-snapshot.b3d4dfe","_nodeVersion":"12.19.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-k4tMkhy/3nPmPEUQ6EcsCbuQtwKOVD9uxQFqCz46nDhqRUTR9Geqo9ycr/geBKvx07pCZZFTWYaYkAwkb0RpYw==","shasum":"39b9d89f6cca797f2d0a980e09d935a94ed053d6","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-1.8.0-snapshot.b3d4dfe.tgz","fileCount":582,"unpackedSize":7808070,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfkYLqCRA9TVsSAnZWagAAh4YP/3Rt2xV7TUcvySgHKE/j\ncxDlVpvub9GFLfpo9KN6MdOg+TzdzyOgA7EpUydZFYKOZe2xchXVdGKdC9tf\ncCvdSdzl3Rw4ww9ugOjVddKkpMVcFK6kZ31TUlAQQPLtSHQhULG+byCDdmqm\npdmGVmNGVbtYtt2AkVSzjM463a3fWmmnyuy2EI8YsJOQKzS0oUtPcSYYT6oT\njgjCyg5jFa5anke3VCtYpNbPbriXWq6PuniF5IS8ef2SvzzsB6tuQypq0mXW\nAbSsdBPW/IFi//Eu+tU9sBSi5WobOpgdmVHQNu0W9yWpHOTe2Cc+j1n6evK8\nAf4sD3/2jOxZ8Y/NZSQviovOoRN6A0KKDh7hItU+xaJPZQovdWgcGhxsDPAa\n8iPyrccXkg8+IVOYXueGdI4TgXQ9ipIiJlEcP0vVx9H/gSojJeyel+DhJZgj\nAWIoxX2asfdIJbbhSxpWx2ESwhszsZj0C8xQ1KfwzVtYeyITLAPPM1uqN9rL\n1W348A9MAP9yN8mBP7MS5ZEGDUIlNZeliHMwljQ4BsUzXCoJrCcPRdYlCO/A\nzbhnMCpI4n/0kRcqHxZUiTrHqdX2EbWP/8qQawMMl0Blq31KZjnAhmTDh+7l\nhFVp9OZI3osgzqfA/mNn9eXN0m+RMU+/Mm0fHg1Ae1OkoY3wie/IFA/nDf/4\nrDf3\r\n=+PzO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC62lYFc5XQPqrsR+x0a3eaavBKb2MU3RY710J09zHWBwIhAJ9MXlLgonYbtSiOKPWISKGH3peGRAeGtFZd69O5qrOl"}]},"maintainers":[{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},{"name":"mbucknell-usgs","email":"mbucknell@usgs.gov"},{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},{"name":"drsteini-usgs","email":"drsteini@contractor.usgs.gov"}],"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_1.8.0-snapshot.b3d4dfe_1603371753333_0.6905026487391293"},"_hasShrinkwrap":false},"1.8.0":{"name":"wdfn-viz","version":"1.8.0","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"sass --load-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","clean":"rm -rf dist && mkdir dist","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"karma start","test:watch":"karma start --debug --no-single-run --browsers Chrome","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://github.com/usgs/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://github.com/usgs/wdfn-viz/issues"},"homepage":"https://github.com/usgs/wdfn-viz","engines":{"node":">= 10"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.9.0"},"devDependencies":{"autoprefixer":"^9.8.6","ajv":"^6.12.6","eslint":"^7.11.0","eslint-plugin-jasmine":"^4.1.1","jasmine-core":"^3.6.0","karma":"^5.2.3","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.0.0","karma-jasmine":"^4.0.1","karma-js-coverage":"^0.4.0","karma-rollup-preprocessor":"^7.0.5","live-server":"^1.2.1","nodemon":"^2.0.6","npm-run-all":"^4.1.5","nunjucks":"^3.2.2","nunjucks-cli":"^1.0.0","postcss-cli":"^7.1.2","postcss-csso":"^4.0.0","postcss-flexbugs-fixes":"^4.2.1","rollup":"^2.32.0","@rollup/plugin-buble":"^0.21.3","@rollup/plugin-commonjs":"^15.1.0","rollup-plugin-istanbul":"^2.0.1","@rollup/plugin-node-resolve":"^9.0.0","sass":"^1.27.0","stylelint":"^13.7.2","stylelint-config-recommended-scss":"^4.2.0","stylelint-scss":"^3.18.0"},"gitHead":"2d8feb0ddfaa887eee762cea95ea868b75a10c7e","_id":"wdfn-viz@1.8.0","_nodeVersion":"12.19.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-/IqbfbbwJndvraPQiVzim257wHaYy5ALM1rIWfVstSV8JSyZKIDTG4Ue56kTOA/P3Xf1O2+YZat4G2D9kl290g==","shasum":"3c41c12688e43ea9d975f0d8a6d0ca6e22630a63","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-1.8.0.tgz","fileCount":582,"unpackedSize":7808053,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfkaZpCRA9TVsSAnZWagAAO3kP/A/gFJj+xgeySSDXF3b2\nNA7NDVWcOUDRTIcPc/JXT6bf2+kBjB6yCsaPwyyNTLIIQPc2+XJqAURg6bEx\nUrJ4lREFea5rFjL1qjAdcK1ugwqjMDpAZk4V7ucHFCs5wcC4rLmzkqAOUau4\nUeneuS/CUOJD2PmxoFOxwH0bdlda7uoK5Xoq3j5aXWmDmrhMdg3nQybOx9O2\n/Qy9t0bP6Agg5NXkz4PXAs63dxfQp2GnszHNO9fDUYyclyncsb8JoP2btQbw\nrly7W89RcQgm3INk2JsSEiTDAmHt3VLxsY3nk0ia9rguvQbvmHknL+PbAYCa\nGmCA6QYVXNSLTQl1ayDyrBDMaLgSIDneIK1wz08heQcq+kn+QDXqC5BQa0zy\nSkVFgTV3/UxaV6LrT3rSLCqiRjQaj1HI/kDXXVR87fMQO8K/sPpxuYDqQvdv\nOTDBJ5ZYXvoT08FAnAfAFrj8OLchx5lIv0bU57UfOBGMhGpNbaQh7+MiEwQ2\nacWRFC371g5X2js0VpnQ4cAlhBgRsQqImosKYsr8KVmavbNfsSfadYW0LQnM\n3p+/+PukRL06JZyKi+zD7VMzCHs1RZhMgQmL2vdNc1/0H9Y34yedKfSmGWR9\nIhUs2ybnfpnTWv7OxFsabGxn6VWSwJwZrH/1WT0XALIDonL3MjuNr45B0FAK\ncM6f\r\n=g2Qo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBCrNlVt68JxaBp44k2d0Mr45R8CETINb90qplu9EilLAiEAkOO/th6XI/64NQvcYgGPKKITKpVZLpxm41p26mRPZ58="}]},"maintainers":[{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},{"name":"mbucknell-usgs","email":"mbucknell@usgs.gov"},{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},{"name":"drsteini-usgs","email":"drsteini@contractor.usgs.gov"}],"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_1.8.0_1603380840922_0.09734443897897083"},"_hasShrinkwrap":false},"1.9.0-snapshot.40496a2":{"name":"wdfn-viz","version":"1.9.0-snapshot.40496a2","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"sass --load-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","clean":"rm -rf dist && mkdir dist","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"karma start","test:watch":"karma start --debug --no-single-run --browsers Chrome","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://github.com/usgs/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://github.com/usgs/wdfn-viz/issues"},"homepage":"https://github.com/usgs/wdfn-viz","engines":{"node":">= 10"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.9.0"},"devDependencies":{"autoprefixer":"^9.8.6","ajv":"^6.12.6","eslint":"^7.11.0","eslint-plugin-jasmine":"^4.1.1","jasmine-core":"^3.6.0","karma":"^5.2.3","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.0.0","karma-jasmine":"^4.0.1","karma-js-coverage":"^0.4.0","karma-rollup-preprocessor":"^7.0.5","live-server":"^1.2.1","nodemon":"^2.0.6","npm-run-all":"^4.1.5","nunjucks":"^3.2.2","nunjucks-cli":"^1.0.0","postcss-cli":"^7.1.2","postcss-csso":"^4.0.0","postcss-flexbugs-fixes":"^4.2.1","rollup":"^2.32.0","@rollup/plugin-buble":"^0.21.3","@rollup/plugin-commonjs":"^15.1.0","rollup-plugin-istanbul":"^2.0.1","@rollup/plugin-node-resolve":"^9.0.0","sass":"^1.27.0","stylelint":"^13.7.2","stylelint-config-recommended-scss":"^4.2.0","stylelint-scss":"^3.18.0"},"gitHead":"40496a203b3e8e655f8940a38a2616228548cb6f","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![Build Status](https://travis-ci.org/usgs/wdfn-viz.svg?branch=master)](https://travis-ci.org/usgs/wdfn-viz)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/6faaca8b97f34929b141c4444d919e4e)](https://www.codacy.com/app/usgs_wma_dev/wdfn-viz?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=usgs/wdfn-viz&amp;utm_campaign=Badge_Grade)\n\nProvides Sass stylesheets and images that can be used when creating web pages that need to\nmeet USGS visual identity standards. The stylesheets use USWDS (https://designsystem.digital.gov/)\nas the basis so all USWDS components are available.\n\n## Usage\n\nThe repo can be installed in an existing project by installing via npm.\n\n```bash\nnpm install wdfn-viz\n```\n\nTo install the latest development snapshot (containing the current state of the master branch):\n\n```bash\nnpm install wdfn-viz@snapshot\n```\n\nWe recommend building the stylesheets with Dart sass (npm install sass).\nThe main Sass stylesheet that should be imported into a web page's Sass file and is at /src/stylesheets/wdfnviz.scss.\nThis will also include the USWDS style sheets so a separate import is not required.  This directory should be \nspecified on the --load-path option along with the uswds/src/stylesheets when the site's Sass is built. When building \nthe style sheets the css should also be processed by postcss using the autoprefixer and postcss-csso using a postcss.config.js file:\n```javascript\nconst autoprefixerOptions = [\n    '>2%',\n    'Last 2 versions',\n    'IE 11'\n];\n\nmodule.exports = ctx => ({\n    map: Object.assign({}, ctx.options.map, {inline: false}),\n    parser: ctx.options.parser,\n    plugins: {\n        autoprefixer: autoprefixerOptions,\n        'postcss-csso': {\n            forceMediaMerge: false\n        }\n    }\n});\n```\nYou may also want to include postcss-flexbugs-fixes plugin as is done for building wdfn-viz.\n\nBelow is an example of the process:\n```\n% sass --load-path node_modules/wdfn-viz/src/stylesheets --include-path node_modules/uswds/src/stylesheets src/styles.main.css dist/main.css\n% postcss dist/main.css  -o dist/main.css\n```\n\nPostcss generates internal sourcemaps by default. You may want to consider using the --map option to create external map files\nor if you want to minimize your css assets, you may want to disable entirely by using --no-map\n\nWhen building the assets, the images should be collected in a common directory and specified in the project's Sass\nfiles using the $theme-image-path variable. This should include the images in wdfn-viz/src/img that provide the USGS favicon and\nlogos. If using USWDS images those will also need to be collected. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nThe fonts should also be collected in a common directory and specified in the project's Sass files using the $theme-font-path\nvariable. Below are examples of commands that could be used to collect the image and font assets.\n```\n% mkdir -p dist/img && cp -r node_modules/uswds/src/img/* dist/img && cp -r node_modules/wdfn-viz/src/img/* dist/img\n% mkdir -p dist/fonts && cp -r node_modules/uswds/src/fonts/* dist/fonts\n```\n\nThe javascript should be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined. In order to use, a loading function should be defined which will be executed \nwhen the page loads. Below is a simple example:\n```javascript\nimport wdfnviz from 'wdfn-viz';\n\nconst load = function () {\n    null;  Add code that should get executed when the page is loaded\n}\n\nwdfnviz.main(load);\n\n\n```\n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos.\n\n## Publishing to npm\n\nTravisCI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when commits are made to the master branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://github.com/usgs/wdfn-viz/blob/master/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit.\n","readmeFilename":"README.md","_id":"wdfn-viz@1.9.0-snapshot.40496a2","_nodeVersion":"12.19.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-YttT2kzOP5Y/vQ31Ib3oGE3qB//wNY7bLredvNcUsg1xmGmXzVdIFmxrGfB4H96xEqwcY9o7D8vhLL7j6AYg9A==","shasum":"54422e5a95d2014cfffb3c1410f8877d4f8aa309","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-1.9.0-snapshot.40496a2.tgz","fileCount":582,"unpackedSize":7808070,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfkbb6CRA9TVsSAnZWagAAugsP/2lhJsCraiJIynTFGR1e\nacaPw5d8zshsPGs1qCfMmdGIMcbyz9+8uY/6Tnh+Xpun2PRUihxzHkN5BsYa\n+vzn64hSutme4ZrQOfnMQQTGAqf5q+StfgXfbA3OtAAqwqY71DZpqvwvHMFK\nQ1ksUt4nFYfFwwn0h1aQpVXr0PotD28toX1SfZ0B2xuZ42h9AhOG/ePeVzPM\n9V3DH3XtRVEz5fus4TK0yYyajjsNX47neNYijT/7gAzgEI+JGrmMsVgEDQEB\nHl+HRsed1VfirHEZuuv4Y92lA2c629itR80XTtxTOKgz+DtOaZKc5WqX16/U\nHAbRpLQ8BWpkBJX/vuBJwgi+9+SU+5w8va0MLYMBtlhwvI2Vo40DU0VoyB/X\n5DOdfMllm7+g9aC/P4kMXnQ02QKmd9kdyLMISjGQgGegBJC6M0uC6WXn5uT3\ntZKXiAdGqSys3JO9+2NihgfmcmKPqGv2WIeUUu+Sg2CChVBaMVl37lYGWOsQ\nWoHERZlmWuk4Ftn4tbMVhyzXJyIDusVCB9dCt/hJy7dFlOZ0IMoEf/kH5vXt\nanoTt/nwQDWP/N46OMk2Ly/rTFxiD28QV624n0f6zAss3E/obYGZfN+NiJ+Y\nS3y61YvEF9Oj8KmUdiwFhN1o7jiNEwY4lPEz45tu1wDrHym7uWMdM4BGe9Qd\nf971\r\n=5KzW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHmX9EB9I0KDI9t58c4lu8jbQv8ayNlnqXebBlvPLESiAiEA+K6skUB65WviTmERTtjPC7GlyTScruvYNxkvnegAJ5k="}]},"maintainers":[{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},{"name":"mbucknell-usgs","email":"mbucknell@usgs.gov"},{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},{"name":"drsteini-usgs","email":"drsteini@contractor.usgs.gov"}],"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_1.9.0-snapshot.40496a2_1603385081969_0.029639335470800887"},"_hasShrinkwrap":false},"1.9.0-snapshot.6a159e2":{"name":"wdfn-viz","version":"1.9.0-snapshot.6a159e2","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"sass --load-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","clean":"rm -rf dist && mkdir dist","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"karma start","test:watch":"karma start --debug --no-single-run --browsers Chrome","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://github.com/usgs/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://github.com/usgs/wdfn-viz/issues"},"homepage":"https://github.com/usgs/wdfn-viz","engines":{"node":">= 10"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.9.0"},"devDependencies":{"autoprefixer":"^9.8.6","ajv":"^6.12.6","eslint":"^7.12.1","eslint-plugin-jasmine":"^4.1.1","jasmine-core":"^3.6.0","karma":"^5.2.3","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^4.0.1","karma-js-coverage":"^0.4.0","karma-rollup-preprocessor":"^7.0.5","live-server":"^1.2.1","nodemon":"^2.0.6","npm-run-all":"^4.1.5","nunjucks":"^3.2.2","nunjucks-cli":"^1.0.0","postcss-cli":"^7.1.2","postcss-csso":"^4.0.0","postcss-flexbugs-fixes":"^4.2.1","rollup":"^2.33.1","@rollup/plugin-buble":"^0.21.3","@rollup/plugin-commonjs":"^16.0.0","rollup-plugin-istanbul":"^2.0.1","@rollup/plugin-node-resolve":"^10.0.0","sass":"^1.29.0","stylelint":"^13.7.2","stylelint-config-recommended-scss":"^4.2.0","stylelint-scss":"^3.18.0"},"gitHead":"6a159e2514ce52dbcdf61495b0cbce5238a2c65e","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![Build Status](https://travis-ci.org/usgs/wdfn-viz.svg?branch=master)](https://travis-ci.org/usgs/wdfn-viz)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/6faaca8b97f34929b141c4444d919e4e)](https://www.codacy.com/app/usgs_wma_dev/wdfn-viz?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=usgs/wdfn-viz&amp;utm_campaign=Badge_Grade)\n\nProvides Sass stylesheets and images that can be used when creating web pages that need to\nmeet USGS visual identity standards. The stylesheets use USWDS (https://designsystem.digital.gov/)\nas the basis so all USWDS components are available.\n\n## Usage\n\nThe repo can be installed in an existing project by installing via npm.\n\n```bash\nnpm install wdfn-viz\n```\n\nTo install the latest development snapshot (containing the current state of the master branch):\n\n```bash\nnpm install wdfn-viz@snapshot\n```\n\nWe recommend building the stylesheets with Dart sass (npm install sass).\nThe main Sass stylesheet that should be imported into a web page's Sass file and is at /src/stylesheets/wdfnviz.scss.\nThis will also include the USWDS style sheets so a separate import is not required.  This directory should be \nspecified on the --load-path option along with the uswds/src/stylesheets when the site's Sass is built. When building \nthe style sheets the css should also be processed by postcss using the autoprefixer and postcss-csso using a postcss.config.js file:\n```javascript\nconst autoprefixerOptions = [\n    '>2%',\n    'Last 2 versions',\n    'IE 11'\n];\n\nmodule.exports = ctx => ({\n    map: Object.assign({}, ctx.options.map, {inline: false}),\n    parser: ctx.options.parser,\n    plugins: {\n        autoprefixer: autoprefixerOptions,\n        'postcss-csso': {\n            forceMediaMerge: false\n        }\n    }\n});\n```\nYou may also want to include postcss-flexbugs-fixes plugin as is done for building wdfn-viz.\n\nBelow is an example of the process:\n```\n% sass --load-path node_modules/wdfn-viz/src/stylesheets --include-path node_modules/uswds/src/stylesheets src/styles.main.css dist/main.css\n% postcss dist/main.css  -o dist/main.css\n```\n\nPostcss generates internal sourcemaps by default. You may want to consider using the --map option to create external map files\nor if you want to minimize your css assets, you may want to disable entirely by using --no-map\n\nWhen building the assets, the images should be collected in a common directory and specified in the project's Sass\nfiles using the $theme-image-path variable. This should include the images in wdfn-viz/src/img that provide the USGS favicon and\nlogos. If using USWDS images those will also need to be collected. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nThe fonts should also be collected in a common directory and specified in the project's Sass files using the $theme-font-path\nvariable. Below are examples of commands that could be used to collect the image and font assets.\n```\n% mkdir -p dist/img && cp -r node_modules/uswds/src/img/* dist/img && cp -r node_modules/wdfn-viz/src/img/* dist/img\n% mkdir -p dist/fonts && cp -r node_modules/uswds/src/fonts/* dist/fonts\n```\n\nThe javascript should be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined. In order to use, a loading function should be defined which will be executed \nwhen the page loads. Below is a simple example:\n```javascript\nimport wdfnviz from 'wdfn-viz';\n\nconst load = function () {\n    null;  Add code that should get executed when the page is loaded\n}\n\nwdfnviz.main(load);\n\n\n```\n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos.\n\n## Publishing to npm\n\nTravisCI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when commits are made to the master branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://github.com/usgs/wdfn-viz/blob/master/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit.\n","readmeFilename":"README.md","_id":"wdfn-viz@1.9.0-snapshot.6a159e2","_nodeVersion":"14.15.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-l/Z80X5bbeQB33Ezy2Q9izmvM4Lv20gYceJ65i12QQ7qTHLPLwmw6wlfwUMuWWGpiQ3bJc3/4At8H+J+4y3hsg==","shasum":"d27b7bb9ad95277fcfba0c36439e3b81d7a5b23c","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-1.9.0-snapshot.6a159e2.tgz","fileCount":582,"unpackedSize":7808071,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfpcYECRA9TVsSAnZWagAAkyAP/2xF5gFVcZ/0eCmlFhI1\nbjfxw91xEYXOH0CpSDRZByGHRL9/dMTjKsZPw/hm57qllDPUnYhZV3OXLSdK\n1ItUiZ+7LCG1onN0xrqLGqYzDw56zM8k6/oaGQRTG4aPP/Kl5OfGHj1Zp9/n\nGOhhznmNQ7mDkjgpw2DKOdyEsnXtKoPFQLSXlZgMiaO6lQFWvMsGWDBfkopf\nHukES9vzIkR4Qju7cjBs1pOFIf6vm/QSgEqKxiXHlG7b5LUztQb2Uj7UlyvO\n5TKI6Knkg2/sB1SOw2BraDtqP/TmKH6N502rmSHlku2KyuvhJgwblvtupH1i\nSlK0d5nRdVf0jsM0dhIm3FCCLCS6AQ79zVW0V0/fZtozg98aL0bSE0gwnuiT\ne/n9iyruNUW+NcSVrx1fEsSaVyVPaXUAUF1mJjUISdVs/ndlGwNkgfZqKKdm\nxseJDifrnY0uYSP9HCj2IREzENV2nhMp9TrEXKt12PGY7+QqBh02H4iBJ5v7\nB1d/02OD9kvte0/iV+9vHPnbJ2oX/ULOpLkRa0dk+I8C/kWKbEtP9ai4CkBR\nOB0pESSBfQESHrfEOB2mrlCLPoiGgDFsunYHFp1m1hggnj1HkkhIaguRmkkR\nprV9fleEhrVmswrcrnsZ4uo+j53yS74aFTEo9yv1lGs7i3LmITWgFhVfT79D\nk8V7\r\n=TFjL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCcqXwi4so16KI9mALkaZXMHVy1c/ehh2qmzipDH4PZFgIgFgJFqDtJk92BET5DeCgF7JdXxQFSMiO6Q15WYv71PGc="}]},"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"maintainers":[{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},{"name":"mbucknell-usgs","email":"mbucknell@usgs.gov"},{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},{"name":"drsteini-usgs","email":"drsteini@contractor.usgs.gov"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_1.9.0-snapshot.6a159e2_1604699651440_0.9786262418454479"},"_hasShrinkwrap":false},"1.9.0-snapshot.c98aeea":{"name":"wdfn-viz","version":"1.9.0-snapshot.c98aeea","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"sass --load-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","clean":"rm -rf dist && mkdir dist","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"karma start","test:watch":"karma start --debug --no-single-run --browsers Chrome","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://github.com/usgs/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://github.com/usgs/wdfn-viz/issues"},"homepage":"https://github.com/usgs/wdfn-viz","engines":{"node":">= 10"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.9.0"},"devDependencies":{"@rollup/plugin-buble":"^0.21.3","@rollup/plugin-commonjs":"^16.0.0","@rollup/plugin-node-resolve":"^10.0.0","ajv":"^6.12.6","autoprefixer":"^10.0.1","eslint":"^7.12.1","eslint-plugin-jasmine":"^4.1.1","jasmine-core":"^3.6.0","karma":"^5.2.3","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^4.0.1","karma-js-coverage":"^0.4.0","karma-rollup-preprocessor":"^7.0.5","live-server":"^1.2.1","nodemon":"^2.0.6","npm-run-all":"^4.1.5","nunjucks":"^3.2.2","nunjucks-cli":"^1.0.0","postcss":"^8.1.6","postcss-cli":"^8.2.0","postcss-csso":"^5.0.0","postcss-flexbugs-fixes":"^5.0.0","rollup":"^2.33.1","rollup-plugin-istanbul":"^2.0.1","sass":"^1.29.0","stylelint":"^13.7.2","stylelint-config-recommended-scss":"^4.2.0","stylelint-scss":"^3.18.0"},"gitHead":"c98aeea1418a8f38272848081041dea5a7402b78","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![Build Status](https://travis-ci.org/usgs/wdfn-viz.svg?branch=master)](https://travis-ci.org/usgs/wdfn-viz)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/6faaca8b97f34929b141c4444d919e4e)](https://www.codacy.com/app/usgs_wma_dev/wdfn-viz?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=usgs/wdfn-viz&amp;utm_campaign=Badge_Grade)\n\nProvides Sass stylesheets and images that can be used when creating web pages that need to\nmeet USGS visual identity standards. The stylesheets use USWDS (https://designsystem.digital.gov/)\nas the basis so all USWDS components are available.\n\n## Usage\n\nThe repo can be installed in an existing project by installing via npm.\n\n```bash\nnpm install wdfn-viz\n```\n\nTo install the latest development snapshot (containing the current state of the master branch):\n\n```bash\nnpm install wdfn-viz@snapshot\n```\n\nWe recommend building the stylesheets with Dart sass (npm install sass).\nThe main Sass stylesheet that should be imported into a web page's Sass file and is at /src/stylesheets/wdfnviz.scss.\nThis will also include the USWDS style sheets so a separate import is not required.  This directory should be \nspecified on the --load-path option along with the uswds/src/stylesheets when the site's Sass is built. When building \nthe style sheets the css should also be processed by postcss using the autoprefixer and postcss-csso using a postcss.config.js file:\n```javascript\nconst autoprefixerOptions = [\n    '>2%',\n    'Last 2 versions',\n    'IE 11'\n];\n\nmodule.exports = ctx => ({\n    map: Object.assign({}, ctx.options.map, {inline: false}),\n    parser: ctx.options.parser,\n    plugins: {\n        autoprefixer: autoprefixerOptions,\n        'postcss-csso': {\n            forceMediaMerge: false\n        }\n    }\n});\n```\nYou may also want to include postcss-flexbugs-fixes plugin as is done for building wdfn-viz.\n\nBelow is an example of the process:\n```\n% sass --load-path node_modules/wdfn-viz/src/stylesheets --include-path node_modules/uswds/src/stylesheets src/styles.main.css dist/main.css\n% postcss dist/main.css  -o dist/main.css\n```\n\nPostcss generates internal sourcemaps by default. You may want to consider using the --map option to create external map files\nor if you want to minimize your css assets, you may want to disable entirely by using --no-map\n\nWhen building the assets, the images should be collected in a common directory and specified in the project's Sass\nfiles using the $theme-image-path variable. This should include the images in wdfn-viz/src/img that provide the USGS favicon and\nlogos. If using USWDS images those will also need to be collected. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nThe fonts should also be collected in a common directory and specified in the project's Sass files using the $theme-font-path\nvariable. Below are examples of commands that could be used to collect the image and font assets.\n```\n% mkdir -p dist/img && cp -r node_modules/uswds/src/img/* dist/img && cp -r node_modules/wdfn-viz/src/img/* dist/img\n% mkdir -p dist/fonts && cp -r node_modules/uswds/src/fonts/* dist/fonts\n```\n\nThe javascript should be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined. In order to use, a loading function should be defined which will be executed \nwhen the page loads. Below is a simple example:\n```javascript\nimport wdfnviz from 'wdfn-viz';\n\nconst load = function () {\n    null;  Add code that should get executed when the page is loaded\n}\n\nwdfnviz.main(load);\n\n\n```\n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos.\n\n## Publishing to npm\n\nTravisCI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when commits are made to the master branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://github.com/usgs/wdfn-viz/blob/master/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit.\n","readmeFilename":"README.md","_id":"wdfn-viz@1.9.0-snapshot.c98aeea","_nodeVersion":"14.15.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-bHTkt1gdlVEkgTbTWdH6CFhTm9taS1+SoZrXNw38JFg9HdHASUCVAORvVl3g54TlIxHGvKHwhdaG3bdGnk/DYw==","shasum":"6a87064d0a07d93ace16e31d6ab3e7876308b89c","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-1.9.0-snapshot.c98aeea.tgz","fileCount":582,"unpackedSize":7808228,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfpczbCRA9TVsSAnZWagAAfOYP/2wiKb7zlqQ+mOSIp5F3\nX2W4JNFTivMYM4b81B7BI9AKKMj8OsXUhpcj1+vej1lti7gNSV7Ui5UEfDlZ\nb30fEfvKCaxwUhtF2XHQ8TnvQ10LGc8LUxTgfEh/5/td0pDqgU6o1cGaQ5Cr\np0HF8k9wtDpnc9KLp4GZlqYAoXUgENze1+fo5NT8hkS61dA90kaaJhj9jK90\nwFND4O1FhEebVZM6z+JDMlQys0mDcr1k/SfPxob2PcmVPM+az9STm+ibp81C\n8FTfBJN1G34HOekVVV3INVnamw7ZPvmLAyzf+oohM1/F2y5qvqxDjJj/IKrl\n94XCXSM7ojgSak/Mxx5Mw5wOhiL2/Ph7UiLdINAppCqpKsnYXCfLj6RE2oqI\nsBhOZJcZxdet6BHaj8Qwr3tRR3Kw4SA2JaosxALuW5RD3mSZoCaUnOKVVA8J\nCxDxhK8Yv5gDCooRrJbtbMSMg3vAkAeSI25s33N8HNhWkObfJIJuyFMhvIJu\nwhLmZxNqeH7ZHQvVjOkO5FrKRk8AZ0qn6+4l0oAlIZCEMMnx7tSRJPOlhb0D\ngX1+0INu7ik+4h9QvA6h5u/RDaNa7hWMrA8rsBr/Wi0Tfns5ywi/F8nwZVya\nG70M9newICGrR48NadzwhlMpOo94igOWbezw+l2zygP7+Qh7sD7RO7LYdyhi\nVjty\r\n=J7wS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCwxJUj/WlQcvXP1SZUPlbami73BdKRc7Ds0UmT4HA0cgIhAJMhovyFVe5zNv3Wh9Nv2K5UhvaiL6wMw3wsoYSNLcKv"}]},"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"maintainers":[{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},{"name":"mbucknell-usgs","email":"mbucknell@usgs.gov"},{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},{"name":"drsteini-usgs","email":"drsteini@contractor.usgs.gov"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_1.9.0-snapshot.c98aeea_1604701402465_0.5780028731623741"},"_hasShrinkwrap":false},"1.9.0-snapshot.a6ef521":{"name":"wdfn-viz","version":"1.9.0-snapshot.a6ef521","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"sass --load-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","clean":"rm -rf dist && mkdir dist","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"karma start","test:watch":"karma start --debug --no-single-run --browsers Chrome","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://github.com/usgs/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://github.com/usgs/wdfn-viz/issues"},"homepage":"https://github.com/usgs/wdfn-viz","engines":{"node":">= 10"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.9.0"},"devDependencies":{"@rollup/plugin-buble":"^0.21.3","@rollup/plugin-commonjs":"^16.0.0","@rollup/plugin-node-resolve":"^10.0.0","ajv":"^6.12.6","autoprefixer":"^10.0.1","eslint":"^7.12.1","eslint-plugin-jasmine":"^4.1.1","jasmine-core":"^3.6.0","karma":"^5.2.3","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^4.0.1","karma-js-coverage":"^0.4.0","karma-rollup-preprocessor":"^7.0.5","live-server":"^1.2.1","nodemon":"^2.0.6","npm-run-all":"^4.1.5","nunjucks":"^3.2.2","nunjucks-cli":"^1.0.0","postcss":"^8.1.6","postcss-cli":"^8.2.0","postcss-csso":"^5.0.0","postcss-flexbugs-fixes":"^5.0.0","rollup":"^2.33.1","rollup-plugin-istanbul":"^2.0.1","sass":"^1.29.0","stylelint":"^13.7.2","stylelint-config-recommended-scss":"^4.2.0","stylelint-scss":"^3.18.0"},"gitHead":"a6ef52187e20d465e2b16575bb820abb2c0d857c","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![Build Status](https://travis-ci.org/usgs/wdfn-viz.svg?branch=master)](https://travis-ci.org/usgs/wdfn-viz)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/6faaca8b97f34929b141c4444d919e4e)](https://www.codacy.com/app/usgs_wma_dev/wdfn-viz?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=usgs/wdfn-viz&amp;utm_campaign=Badge_Grade)\n\nProvides Sass stylesheets and images that can be used when creating web pages that need to\nmeet USGS visual identity standards. The stylesheets use USWDS (https://designsystem.digital.gov/)\nas the basis so all USWDS components are available.\n\n## Usage\n\nThe repo can be installed in an existing project by installing via npm.\n\n```bash\nnpm install wdfn-viz\n```\n\nTo install the latest development snapshot (containing the current state of the master branch):\n\n```bash\nnpm install wdfn-viz@snapshot\n```\n\nWe recommend building the stylesheets with Dart sass (npm install sass).\nThe main Sass stylesheet that should be imported into a web page's Sass file and is at /src/stylesheets/wdfnviz.scss.\nThis will also include the USWDS style sheets so a separate import is not required.  This directory should be \nspecified on the --load-path option along with the uswds/src/stylesheets when the site's Sass is built. When building \nthe style sheets the css should also be processed by postcss using the autoprefixer and postcss-csso using a postcss.config.js file:\n```javascript\nconst autoprefixerOptions = [\n    '>2%',\n    'Last 2 versions',\n    'IE 11'\n];\n\nmodule.exports = ctx => ({\n    map: Object.assign({}, ctx.options.map, {inline: false}),\n    parser: ctx.options.parser,\n    plugins: {\n        autoprefixer: autoprefixerOptions,\n        'postcss-csso': {\n            forceMediaMerge: false\n        }\n    }\n});\n```\nYou may also want to include postcss-flexbugs-fixes plugin as is done for building wdfn-viz.\n\nBelow is an example of the process:\n```\n% sass --load-path node_modules/wdfn-viz/src/stylesheets --include-path node_modules/uswds/src/stylesheets src/styles.main.css dist/main.css\n% postcss dist/main.css  -o dist/main.css\n```\n\nPostcss generates internal sourcemaps by default. You may want to consider using the --map option to create external map files\nor if you want to minimize your css assets, you may want to disable entirely by using --no-map\n\nWhen building the assets, the images should be collected in a common directory and specified in the project's Sass\nfiles using the $theme-image-path variable. This should include the images in wdfn-viz/src/img that provide the USGS favicon and\nlogos. If using USWDS images those will also need to be collected. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nThe fonts should also be collected in a common directory and specified in the project's Sass files using the $theme-font-path\nvariable. Below are examples of commands that could be used to collect the image and font assets.\n```\n% mkdir -p dist/img && cp -r node_modules/uswds/src/img/* dist/img && cp -r node_modules/wdfn-viz/src/img/* dist/img\n% mkdir -p dist/fonts && cp -r node_modules/uswds/src/fonts/* dist/fonts\n```\n\nThe javascript should be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined. In order to use, a loading function should be defined which will be executed \nwhen the page loads. Below is a simple example:\n```javascript\nimport wdfnviz from 'wdfn-viz';\n\nconst load = function () {\n    null;  Add code that should get executed when the page is loaded\n}\n\nwdfnviz.main(load);\n\n\n```\n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos.\n\n## Publishing to npm\n\nTravisCI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when commits are made to the master branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://github.com/usgs/wdfn-viz/blob/master/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit.\n","readmeFilename":"README.md","_id":"wdfn-viz@1.9.0-snapshot.a6ef521","_nodeVersion":"14.15.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-k18BMHEjsXO6tEWKficcRScH0rHbWTcL+KGRgj1aofrTRSEuI83mrJJ7QMn9fIVJmuFm+P7oZhmWyuKDVWOO4A==","shasum":"19d59e166e7fbb8f85faf0f13a3d3625e7dc9ace","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-1.9.0-snapshot.a6ef521.tgz","fileCount":582,"unpackedSize":7808352,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfrunpCRA9TVsSAnZWagAAxjsP/3mGaxsUdAeTTU76nRHW\nOwEswrndJ1jSO6KuI0SUwv0iWG+lLF3inQW8Fz8cqAWnphqBWK0uGmJavA1t\nvj7saFI0pklHcjEBkJisdm3QDOEb67rEgVh5Q2Y0y7hDPQElxWru7q2mKPp3\nRfhUAG2uJENS3MBXKSFluzRIq3feuOHm+C30AXOONI96qKLP1fR3nRheIoB6\nFVkoWrVavbjrCic0Iu+50JG+ZaF+ueJU+SHCfZR2mN6zcEEBBMIaoq36ebwD\nY9Rm3A39UUT2PhtuotGQCwqLfbJMSyqHJ5941Vcq9OmvvBUDUaWk0VGa+lkg\nCqi9youb2Z4fHuDIiFiA/ePB76zALZ9o1geAeFGw4NswbcWjUAIg64sX+LtS\nDTdeik4YMnHmtWk1yes5n8xQ8lxcIjkXC+NCbM+dYvuCwHa+0z8MyoqBu9V5\nfI5xWvIzlkc272djZh/rRvrpWnbant1ZRNt5npO/tJCgKMSwa0s0L6TtXUOx\n8zCzSnfgSU4uCmxp1T6RxOD8KWwT4ZCRgNcGRoN1ofREi8hHDG/kFTPMOq4o\n3jsE1nlEd0vsa4H7obi7JyfQ8TcTKRVR/Nljwxv+G/+MlG31Jv+Ep7X4Qr5q\nczqHbGgdKlghkkzj64JVXbqUNykby38pIhJTam/Ozzhg54m4wVqyI6LymmPz\nN1EI\r\n=xMwn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCyIV2NPd5GRlcAAmgB9I6+nQmA448GO56gs9WUVDAipQIgCH+vFOSpgxBwVLsaJxiic1hDofCp3w3cfkmFJLKnbE8="}]},"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"maintainers":[{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},{"name":"mbucknell-usgs","email":"mbucknell@usgs.gov"},{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},{"name":"drsteini-usgs","email":"drsteini@contractor.usgs.gov"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_1.9.0-snapshot.a6ef521_1605298664350_0.44861637958696576"},"_hasShrinkwrap":false},"1.9.0-snapshot.2f278b0":{"name":"wdfn-viz","version":"1.9.0-snapshot.2f278b0","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"sass --load-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","clean":"rm -rf dist && mkdir dist","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"karma start","test:watch":"karma start --debug --no-single-run --browsers Chrome","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://github.com/usgs/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://github.com/usgs/wdfn-viz/issues"},"homepage":"https://github.com/usgs/wdfn-viz","engines":{"node":">= 10"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.9.0"},"devDependencies":{"@rollup/plugin-buble":"^0.21.3","@rollup/plugin-commonjs":"^17.0.0","@rollup/plugin-node-resolve":"^11.0.0","ajv":"^6.12.6","autoprefixer":"^10.0.4","eslint":"^7.14.0","eslint-plugin-jasmine":"^4.1.1","jasmine-core":"^3.6.0","karma":"^5.2.3","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^4.0.1","karma-js-coverage":"^0.4.0","karma-rollup-preprocessor":"^7.0.5","live-server":"^1.2.1","nodemon":"^2.0.6","npm-run-all":"^4.1.5","nunjucks":"^3.2.2","nunjucks-cli":"^1.0.0","postcss":"^8.1.10","postcss-cli":"^8.3.0","postcss-csso":"^5.0.0","postcss-flexbugs-fixes":"^5.0.2","rollup":"^2.34.0","rollup-plugin-istanbul":"^2.0.1","sass":"^1.29.0","stylelint":"^13.8.0","stylelint-config-recommended-scss":"^4.2.0","stylelint-scss":"^3.18.0"},"gitHead":"2f278b07a140be9fa151f6513d7aab9d007902ab","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![Build Status](https://travis-ci.org/usgs/wdfn-viz.svg?branch=master)](https://travis-ci.org/usgs/wdfn-viz)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/6faaca8b97f34929b141c4444d919e4e)](https://www.codacy.com/app/usgs_wma_dev/wdfn-viz?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=usgs/wdfn-viz&amp;utm_campaign=Badge_Grade)\n\nProvides Sass stylesheets and images that can be used when creating web pages that need to\nmeet USGS visual identity standards. The stylesheets use USWDS (https://designsystem.digital.gov/)\nas the basis so all USWDS components are available.\n\n## Usage\n\nThe repo can be installed in an existing project by installing via npm.\n\n```bash\nnpm install wdfn-viz\n```\n\nTo install the latest development snapshot (containing the current state of the master branch):\n\n```bash\nnpm install wdfn-viz@snapshot\n```\n\nWe recommend building the stylesheets with Dart sass (npm install sass).\nThe main Sass stylesheet that should be imported into a web page's Sass file and is at /src/stylesheets/wdfnviz.scss.\nThis will also include the USWDS style sheets so a separate import is not required.  This directory should be \nspecified on the --load-path option along with the uswds/src/stylesheets when the site's Sass is built. When building \nthe style sheets the css should also be processed by postcss using the autoprefixer and postcss-csso using a postcss.config.js file:\n```javascript\nconst autoprefixerOptions = [\n    '>2%',\n    'Last 2 versions',\n    'IE 11'\n];\n\nmodule.exports = ctx => ({\n    map: Object.assign({}, ctx.options.map, {inline: false}),\n    parser: ctx.options.parser,\n    plugins: {\n        autoprefixer: autoprefixerOptions,\n        'postcss-csso': {\n            forceMediaMerge: false\n        }\n    }\n});\n```\nYou may also want to include postcss-flexbugs-fixes plugin as is done for building wdfn-viz.\n\nBelow is an example of the process:\n```\n% sass --load-path node_modules/wdfn-viz/src/stylesheets --include-path node_modules/uswds/src/stylesheets src/styles.main.css dist/main.css\n% postcss dist/main.css  -o dist/main.css\n```\n\nPostcss generates internal sourcemaps by default. You may want to consider using the --map option to create external map files\nor if you want to minimize your css assets, you may want to disable entirely by using --no-map\n\nWhen building the assets, the images should be collected in a common directory and specified in the project's Sass\nfiles using the $theme-image-path variable. This should include the images in wdfn-viz/src/img that provide the USGS favicon and\nlogos. If using USWDS images those will also need to be collected. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nThe fonts should also be collected in a common directory and specified in the project's Sass files using the $theme-font-path\nvariable. Below are examples of commands that could be used to collect the image and font assets.\n```\n% mkdir -p dist/img && cp -r node_modules/uswds/src/img/* dist/img && cp -r node_modules/wdfn-viz/src/img/* dist/img\n% mkdir -p dist/fonts && cp -r node_modules/uswds/src/fonts/* dist/fonts\n```\n\nThe javascript should be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined. In order to use, a loading function should be defined which will be executed \nwhen the page loads. Below is a simple example:\n```javascript\nimport wdfnviz from 'wdfn-viz';\n\nconst load = function () {\n    null;  Add code that should get executed when the page is loaded\n}\n\nwdfnviz.main(load);\n\n\n```\n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos.\n\n## Using without building stylesheets and javascript bundling\nYou can use the prebuilt stylesheet and javascript bundle if desired. This can be done by including the following in your markup in the <head> section.\n```\n<link rel=\"stylesheet\" href=\"wdfnviz.css\">\n<script src=\"wdfnviz.js\"></script>\n```\n\n## Publishing to npm\n\nTravisCI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when commits are made to the master branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://github.com/usgs/wdfn-viz/blob/master/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit.\n","readmeFilename":"README.md","_id":"wdfn-viz@1.9.0-snapshot.2f278b0","_nodeVersion":"14.15.3","_npmVersion":"6.14.9","dist":{"integrity":"sha512-eBE/raKYADh6/nTGvBwKmexU/xDj0v2HY0qFgUpyxleYiXt+69zo3YtxRen+3ku0l/7s4F6gvA02SX0RTQFKNQ==","shasum":"95523d0f416810d40063fbff1956d92e4a97c3c9","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-1.9.0-snapshot.2f278b0.tgz","fileCount":582,"unpackedSize":7808884,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf4LdxCRA9TVsSAnZWagAASRIP/0Dx2BUa4eq/Na+08jXC\nv6n9c1YHoOpoPJ42eKrwLxOaygBgYuz7S20iXlM+fAffPOMGIP4VR9srfsrB\nRr+4jkfu/3VUgvstmvzGe7vRw/ynUgg2oEHBmEnNKFCCOYIkX/igNZqazhWS\n7tHMUzAX9KWdimODms7LvESEmiWiZnhfl3kZwclxAs56tUcbg5x3NkX6Gz2t\n9IOIPTBz2P9oTfgON1LSGRY/a71kKBT1sqSH+gHwVfBlJ6NRNd87KXJ8AK2M\nWU0y4y0x972HSvFLYbzY9PFt6bcs0NNbJnOb7AJkPCBNEuN8JN2RSF/YToam\nUFYRC3vdtrwiC8KCwit5cOS62udf32m8N1H/miEz/5OvKWT7kAsrmbay3/Qp\nU8DKd1yjThq3ZWhjdgvKQFhmAKEtBS/ibIJHZr9i4r1iCmHKTuACCrwK5P2A\nt4sXFp9j2XWfq8yP8ZlA5whwGIBqq2VPQdjE2vU1gWJa4hGEXObGb0y4FzQ6\nB3Ngqn8GO45Y4JR3ikFlqdbxJf4BlmkJ8VSUrSKkI0oZbcNM6hJPTDmojPBt\nBlryhBN36X2sBhvqV+hV1s25EguoqwMtSpK9KlhCsW/1wCl/HYHldwCW7A9c\njUh839Hm/LsxjE3ZZsei4mGOV6fBOcu02Em26tuM3rYgrFONkB3SCbIQ4GPW\nuTbH\r\n=dk/v\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFYpEs6G7PgGJZQhukPJ4Nsq558mibmfT8eeHP2yFFr7AiBn7qDB0VIWIxj1oeZJ+OBd/zpFGXfwu5cbDs7cqykT7A=="}]},"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"maintainers":[{"name":"drsteini-usgs","email":"drsteini@contractor.usgs.gov"},{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},{"name":"mbucknell-usgs","email":"mbucknell@usgs.gov"},{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_1.9.0-snapshot.2f278b0_1608562544444_0.1272190059495517"},"_hasShrinkwrap":false},"1.9.0-snapshot.add66c3":{"name":"wdfn-viz","version":"1.9.0-snapshot.add66c3","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"sass --load-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","clean":"rm -rf dist && mkdir dist","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"karma start","test:watch":"karma start --debug --no-single-run --browsers Chrome","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://github.com/usgs/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://github.com/usgs/wdfn-viz/issues"},"homepage":"https://github.com/usgs/wdfn-viz","engines":{"node":">= 10"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.9.0"},"devDependencies":{"@rollup/plugin-buble":"^0.21.3","@rollup/plugin-commonjs":"^17.0.0","@rollup/plugin-node-resolve":"^11.0.0","ajv":"^6.12.6","autoprefixer":"^10.0.4","eslint":"^7.14.0","eslint-plugin-jasmine":"^4.1.1","jasmine-core":"^3.6.0","karma":"^5.2.3","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^4.0.1","karma-js-coverage":"^0.4.0","karma-rollup-preprocessor":"^7.0.5","live-server":"^1.2.1","nodemon":"^2.0.6","npm-run-all":"^4.1.5","nunjucks":"^3.2.2","nunjucks-cli":"^1.0.0","postcss":"^8.1.10","postcss-cli":"^8.3.0","postcss-csso":"^5.0.0","postcss-flexbugs-fixes":"^5.0.2","rollup":"^2.34.0","rollup-plugin-istanbul":"^2.0.1","sass":"^1.29.0","stylelint":"^13.8.0","stylelint-config-recommended-scss":"^4.2.0","stylelint-scss":"^3.18.0"},"gitHead":"add66c317e3c346354c3fa4e5c4004d1297b1871","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![Build Status](https://travis-ci.org/usgs/wdfn-viz.svg?branch=master)](https://travis-ci.org/usgs/wdfn-viz)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/6faaca8b97f34929b141c4444d919e4e)](https://www.codacy.com/app/usgs_wma_dev/wdfn-viz?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=usgs/wdfn-viz&amp;utm_campaign=Badge_Grade)\n\nProvides Sass stylesheets and images that can be used when creating web pages that need to\nmeet USGS visual identity standards. The stylesheets use USWDS (https://designsystem.digital.gov/)\nas the basis so all USWDS components are available.\n\n## Usage\n\nThe repo can be installed in an existing project by installing via npm.\n\n```bash\nnpm install wdfn-viz\n```\n\nTo install the latest development snapshot (containing the current state of the master branch):\n\n```bash\nnpm install wdfn-viz@snapshot\n```\n\nWe recommend building the stylesheets with Dart sass (npm install sass).\nThe main Sass stylesheet that should be imported into a web page's Sass file and is at /src/stylesheets/wdfnviz.scss.\nThis will also include the USWDS style sheets so a separate import is not required.  This directory should be \nspecified on the --load-path option along with the uswds/src/stylesheets when the site's Sass is built. When building \nthe style sheets the css should also be processed by postcss using the autoprefixer and postcss-csso using a postcss.config.js file:\n```javascript\nconst autoprefixerOptions = [\n    '>2%',\n    'Last 2 versions',\n    'IE 11'\n];\n\nmodule.exports = ctx => ({\n    map: Object.assign({}, ctx.options.map, {inline: false}),\n    parser: ctx.options.parser,\n    plugins: {\n        autoprefixer: autoprefixerOptions,\n        'postcss-csso': {\n            forceMediaMerge: false\n        }\n    }\n});\n```\nYou may also want to include postcss-flexbugs-fixes plugin as is done for building wdfn-viz.\n\nBelow is an example of the process:\n```\n% sass --load-path node_modules/wdfn-viz/src/stylesheets --include-path node_modules/uswds/src/stylesheets src/styles.main.css dist/main.css\n% postcss dist/main.css  -o dist/main.css\n```\n\nPostcss generates internal sourcemaps by default. You may want to consider using the --map option to create external map files\nor if you want to minimize your css assets, you may want to disable entirely by using --no-map\n\nWhen building the assets, the images should be collected in a common directory and specified in the project's Sass\nfiles using the $theme-image-path variable. This should include the images in wdfn-viz/src/img that provide the USGS favicon and\nlogos. If using USWDS images those will also need to be collected. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nThe fonts should also be collected in a common directory and specified in the project's Sass files using the $theme-font-path\nvariable. Below are examples of commands that could be used to collect the image and font assets.\n```\n% mkdir -p dist/img && cp -r node_modules/uswds/src/img/* dist/img && cp -r node_modules/wdfn-viz/src/img/* dist/img\n% mkdir -p dist/fonts && cp -r node_modules/uswds/src/fonts/* dist/fonts\n```\n\nThe javascript should be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined. In order to use, a loading function should be defined which will be executed \nwhen the page loads. Below is a simple example:\n```javascript\nimport wdfnviz from 'wdfn-viz';\n\nconst load = function () {\n    null;  Add code that should get executed when the page is loaded\n}\n\nwdfnviz.main(load);\n\n\n```\n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos.\n\n## Using without building stylesheets and javascript bundling\nYou can use the prebuilt stylesheet and javascript bundle if desired. This can be done by including the following in your markup in the <head> section.\n```\n<link rel=\"stylesheet\" href=\"wdfnviz.css\">\n<script src=\"wdfnviz.js\"></script>\n```\n\n## Publishing to npm\n\nTravisCI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when commits are made to the master branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://github.com/usgs/wdfn-viz/blob/master/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit.\n","readmeFilename":"README.md","_id":"wdfn-viz@1.9.0-snapshot.add66c3","_nodeVersion":"14.15.3","_npmVersion":"6.14.9","dist":{"integrity":"sha512-BreOO8+wH63EfeZoa8JkzrEJqH8DKhXoR2f1VFzOpk9biW+PKtS47x4ZEn/Eg7wqFNq2MrbD/pC9NiUBD21nDg==","shasum":"17d4601077367b1c39ae400e503f784f89adc5a6","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-1.9.0-snapshot.add66c3.tgz","fileCount":582,"unpackedSize":7808884,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf4TcGCRA9TVsSAnZWagAA/AMP/0MkaKwHuK0Tt2bdpigV\nUV+lkLux5UkpPr1LZM4jgfAFOPK50PJfG/UcV3lkrLpZUWLMl+8hp5MqHE6k\nCxLCG9yz5Ec6yawk2qNFO1KTw+4Ru7JR/i+qnFor1u91HwU/iKGByOfVN69b\nhxqMj1D87CjHabGS75SF8N9JjDf575Hrsq+RQ6ZDYoILKQBmpWkVpnCCgzlr\nG9LMxajbGTikHykHgjMJiX1HBeF1t0ESRcc4gtqC2INluBl3ZCXJUFVEg3Ay\neX+IPrXzMPl/V4WlBWAJzoB4lLh4Cm52lHKv+ZHurhSzj+25ficSl1oftMw1\nGqZvfkJlUJT85gtVg68j92afSOlOnQWm+ouHphypgExaNVh95rSWKH0/toMQ\nLRaXNNa77I8N0w7fbkRjtpsdwUc/wQWogtI9ZwUwVpxbZzUlBUBfFaimHdtc\nOBKk4SId8ozCOMjYBPxDl3VdxUuIo1v9eJBTXrCRwnekga7JBVi6cnyBmpvt\nq4TCfZy2zlqhAJxmpTxsXPco3QXVZ5riwxkUGgN9gyOEDFZenMSTxgL83nWa\nKBNM7hRcLr6oGLCaiUjbx4FQhQNuZk3QDV1Z385WNaZK7spwASaeHViI+qhv\nCq8M/e9K061O8xgHcGw0bUher7TMG2AtA9FnPKOQBzGQhodn8gulfKKGNHyf\nbqIU\r\n=pf1i\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGGAxW2d0LDHDuxwJGZlQNKUs0Ry2MN0096mSReJHiYZAiBKQcjmgEOOVVQEAMMDvftnwOpGRz6uk9lFzpEdsxkHZQ=="}]},"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"maintainers":[{"name":"drsteini-usgs","email":"drsteini@contractor.usgs.gov"},{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},{"name":"mbucknell-usgs","email":"mbucknell@usgs.gov"},{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_1.9.0-snapshot.add66c3_1608595205832_0.9001275098054138"},"_hasShrinkwrap":false},"1.9.0":{"name":"wdfn-viz","version":"1.9.0","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"sass --load-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","build:uswdsinit":"cp -r node_modules/uswds/dist/js/uswds-init.min.js dist","clean":"rm -rf dist && mkdir dist","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"jest --collectCoverage=true","test:debug":"node --inspect-brk node_modules/.bin/jest --runInBand","test:watch":"jest --watch","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://github.com/usgs/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://github.com/usgs/wdfn-viz/issues"},"homepage":"https://github.com/usgs/wdfn-viz","engines":{"node":">= 10"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.10.0"},"devDependencies":{"@rollup/plugin-buble":"^0.21.3","@rollup/plugin-commonjs":"^17.0.0","@rollup/plugin-node-resolve":"^11.0.1","autoprefixer":"^10.1.0","buble":"^0.20.0","buble-jest":"^1.0.1","eslint":"^7.16.0","eslint-plugin-jest":"^24.1.3","jest":"^26.6.3","live-server":"^1.2.1","nodemon":"^2.0.6","npm-run-all":"^4.1.5","nunjucks":"^3.2.2","nunjucks-cli":"^1.0.0","postcss":"^8.2.1","postcss-cli":"^8.3.1","postcss-csso":"^5.0.0","postcss-flexbugs-fixes":"^5.0.2","rollup":"^2.35.1","sass":"^1.30.0","stylelint":"^13.8.0","stylelint-config-recommended-scss":"^4.2.0","stylelint-scss":"^3.18.0"},"gitHead":"7cc5b34212ae915f998779cb455adba14457258c","_id":"wdfn-viz@1.9.0","_nodeVersion":"14.15.3","_npmVersion":"6.14.9","dist":{"integrity":"sha512-S7/W9Swt4nOR8Dyx91yUuvZwnbQQZUcybWP6PkdoEpIRN6QwMFgYgfkebgGPcOYpqbZU+xiXSO0RX0zcr9WalA==","shasum":"33bd490da27127e9b7103010960364cf018951ae","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-1.9.0.tgz","fileCount":2118,"unpackedSize":8580986,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf4UyXCRA9TVsSAnZWagAAqcUP/1Q6vKNfiB8pcx0saEXL\nPFag2jUKSbCFV1zBfnuAJ3d0pXK+ZESEg2cUcCpPV+No7fXo4H5HHG0jhpGr\neTaI7wlZprEtUdxM2R9dF5nF11Pnslhk0dx9uJtHsKzcL0HGq/1ePTcZ/5Rx\nEefl1z+lHrQRgK61ePPWy1RG0QFTJV7+OuLGrbKOxcSSeWrZFSb9Fi0Z4n6g\nZXqKqx+WuHiKnQsS8WlyDFN5JNufb4L/0pvTL75pbWuHASv4bifP1JQtHmS/\no6rkS37pPyKxlUTFD48QD5Cn02fNDqPB0Zp2/PJRLj/KFWUQbiQKBi99HrVj\nIOdp4QG7cPrg9tx/PSe8iZHadqWFeouyIOCdjAwumn4USUssc+xKv+4HZ4u9\nHWY2VzwZXrHkp9RkKn2n5Kp1af58Tk1sEajDbz9oMArwmDEY/LouUBU/grf/\nc8S0mu1F4SSZ58PTB3sOKV8NbzHJG0NCPAvs4D/+l3uymCULx8tjL/sbMQcJ\n2NgRcHuLjBGuka844evDJetNfOjqsR1yuhg4OEBpdY9kZC06U8Gwf5XgNdPs\nZGvmcn69R7zN1zW8Qu1cvmO4CG86Fuw+ZF815C7oSDT5d3tSNjLXOvjwdatu\nhjtTeSkaMi0//iE7uB8U0Ke5VFeysTzBOcnSep//ZW2M5KsclGPabadNV0Xp\nMz7u\r\n=bseO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDnEwSxGDLH38Yta6krFZotb8+Z1QO6//DziCZ1GLjyNQIhAMiK8+SL9r9NWR/mBHXwecsP7Mi5QhT0jHQt0E15bRpW"}]},"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"maintainers":[{"name":"drsteini-usgs","email":"drsteini@contractor.usgs.gov"},{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},{"name":"mbucknell-usgs","email":"mbucknell@usgs.gov"},{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_1.9.0_1608600727161_0.3939372630882616"},"_hasShrinkwrap":false},"1.10.0-snapshot.8b51d53":{"name":"wdfn-viz","version":"1.10.0-snapshot.8b51d53","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"sass --load-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","build:uswdsinit":"cp -r node_modules/uswds/dist/js/uswds-init.min.js dist","clean":"rm -rf dist && mkdir dist","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"jest --collectCoverage=true","test:debug":"node --inspect-brk node_modules/.bin/jest --runInBand","test:watch":"jest --watch","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://github.com/usgs/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://github.com/usgs/wdfn-viz/issues"},"homepage":"https://github.com/usgs/wdfn-viz","engines":{"node":">= 10"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.10.0"},"devDependencies":{"@rollup/plugin-buble":"^0.21.3","@rollup/plugin-commonjs":"^17.0.0","@rollup/plugin-node-resolve":"^11.0.1","autoprefixer":"^10.1.0","buble":"^0.20.0","buble-jest":"^1.0.1","eslint":"^7.16.0","eslint-plugin-jest":"^24.1.3","jest":"^26.6.3","live-server":"^1.2.1","nodemon":"^2.0.6","npm-run-all":"^4.1.5","nunjucks":"^3.2.2","nunjucks-cli":"^1.0.0","postcss":"^8.2.1","postcss-cli":"^8.3.1","postcss-csso":"^5.0.0","postcss-flexbugs-fixes":"^5.0.2","rollup":"^2.35.1","sass":"^1.30.0","stylelint":"^13.8.0","stylelint-config-recommended-scss":"^4.2.0","stylelint-scss":"^3.18.0"},"gitHead":"8b51d534346cdf346d7ea09244a91d8a1ec17398","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![Build Status](https://travis-ci.org/usgs/wdfn-viz.svg?branch=master)](https://travis-ci.org/usgs/wdfn-viz)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/6faaca8b97f34929b141c4444d919e4e)](https://www.codacy.com/app/usgs_wma_dev/wdfn-viz?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=usgs/wdfn-viz&amp;utm_campaign=Badge_Grade)\n\nProvides Sass stylesheets and images that can be used when creating web pages that need to\nmeet USGS visual identity standards. The stylesheets use USWDS (https://designsystem.digital.gov/)\nas the basis so all USWDS components are available.\n\n## Usage\n\nThe repo can be installed in an existing project by installing via npm.\n\n```bash\nnpm install wdfn-viz\n```\n\nTo install the latest development snapshot (containing the current state of the master branch):\n\n```bash\nnpm install wdfn-viz@snapshot\n```\n\nWe recommend building the stylesheets with Dart sass (npm install sass).\nThe main Sass stylesheet that should be imported into a web page's Sass file and is at /src/stylesheets/wdfnviz.scss.\nThis will also include the USWDS style sheets so a separate import is not required.  This directory should be \nspecified on the --load-path option along with the uswds/src/stylesheets when the site's Sass is built. When building \nthe style sheets the css should also be processed by postcss using the autoprefixer and postcss-csso using a postcss.config.js file:\n```javascript\nconst autoprefixerOptions = [\n    '>2%',\n    'Last 2 versions',\n    'IE 11'\n];\n\nmodule.exports = ctx => ({\n    map: Object.assign({}, ctx.options.map, {inline: false}),\n    parser: ctx.options.parser,\n    plugins: {\n        autoprefixer: autoprefixerOptions,\n        'postcss-csso': {\n            forceMediaMerge: false\n        }\n    }\n});\n```\nYou may also want to include postcss-flexbugs-fixes plugin as is done for building wdfn-viz.\n\nBelow is an example of the process:\n```\n% sass --load-path node_modules/wdfn-viz/src/stylesheets --include-path node_modules/uswds/src/stylesheets src/styles.main.css dist/main.css\n% postcss dist/main.css  -o dist/main.css\n```\n\nPostcss generates internal sourcemaps by default. You may want to consider using the --map option to create external map files\nor if you want to minimize your css assets, you may want to disable entirely by using --no-map\n\nWhen building the assets, the images should be collected in a common directory and specified in the project's Sass\nfiles using the $theme-image-path variable. This should include the images in wdfn-viz/src/img that provide the USGS favicon and\nlogos. If using USWDS images those will also need to be collected. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nThe fonts should also be collected in a common directory and specified in the project's Sass files using the $theme-font-path\nvariable. Below are examples of commands that could be used to collect the image and font assets.\n```\n% mkdir -p dist/img && cp -r node_modules/uswds/src/img/* dist/img && cp -r node_modules/wdfn-viz/src/img/* dist/img\n% mkdir -p dist/fonts && cp -r node_modules/uswds/src/fonts/* dist/fonts\n```\n\nThe javascript should be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined. In order to use, a loading function should be defined which will be executed \nwhen the page loads. Below is a simple example:\n```javascript\nimport wdfnviz from 'wdfn-viz';\n\nconst load = function () {\n    null;  Add code that should get executed when the page is loaded\n}\n\nwdfnviz.main(load);\n\n\n```\n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos. This includes the script for ```uswds-init.min.js``` which should be retreived before the css files are loaded as is done in the example header.html.\n\n## Using without building stylesheets and javascript bundling\nYou can use the prebuilt stylesheet and javascript bundle if desired. This can be done by including the following in your markup in the <head> section.\n```\n<link rel=\"stylesheet\" href=\"wdfnviz.css\">\n<script src=\"wdfnviz.js\"></script>\n```\n\n## Publishing to npm\n\nTravisCI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when commits are made to the master branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://github.com/usgs/wdfn-viz/blob/master/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit.\n","readmeFilename":"README.md","_id":"wdfn-viz@1.10.0-snapshot.8b51d53","_nodeVersion":"14.15.3","_npmVersion":"6.14.9","dist":{"integrity":"sha512-et3JK2eTsWKpqt91yXqldzpWeulhQnGaGCAuSYSp62I67UFrpLx6LHLKUET9pZQ9dP6PhQgvJphZ3f1v4NSbDA==","shasum":"e99595c1aedacb2389672c3e0eb36fa7a5f95118","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-1.10.0-snapshot.8b51d53.tgz","fileCount":2118,"unpackedSize":8581004,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf4ff6CRA9TVsSAnZWagAAiwoP+wTpAsrpfIxS6kPqC1TQ\nU5W8gH+RaOZnmmHGI1IRSUyLRvG4pP01d2Wsa2bjzoz8HoAOIBkHIncEQjMs\nW7gkJ8CGErPe1GKF1MoQhcKPw9a2z0dCQQSRR9SK+k2SqSRlqbbKWDdjz7ip\nIZjrf18n/n2G2cLRL+CXdW/ZTnjuby5KsLbfFou7aF+1b64ABUlTacuVQyyY\ncegCKXdzT/jF3J/iA2j+QcSK43klrI9g3Zx0drOW8gg3KDXkpe8/XhJgS+rz\nkF/I25fUZPKWdtDlv1qaL2Y25SbIBf4Ao0x88z5YcqO2r/O95haLWQcEwwlF\n2p/gKJqZ17pVTvUhg1V92fv6NwGnxhHT5HZDq/HIe46QsuaYamL7hEeZXHGg\ndQDakQP5CNtVW3wGo0l9pI47GO+wtExJuoecZwLIr25obcP6z87akilkziy8\nR0MJc9wLnE8BbAetwM8Sh+m5wfBSRPDW/pLJNIcPbQ60ytqO8cB6bqGiVZ9f\nb9JuMOfazDVAfiq/mfEwehiPmRl8EOsoLfNVma7X4CgCUJC91Wc/2HZPtzWw\nh1XTOcRO0l2qZ9keuoQ/MJc2+bW5zt9vZfCKQGWZYBTNJuunSjF/+n18rnsi\nCzErzhz+IjFLliHDbx0/CNNlLU1iZwYfknKW7uUmWgqS6BPDTrrTdWrVAhB0\nvKtv\r\n=XXfG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIByxPMY3fvbzG5iTbg/P3pqUwQ397voTwGLfWnNUEtE/AiApxu/7l3Z3cwlZe9rjZ6mBtuETtbS/4Ou68BTcBC+z+Q=="}]},"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"maintainers":[{"name":"drsteini-usgs","email":"drsteini@contractor.usgs.gov"},{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},{"name":"mbucknell-usgs","email":"mbucknell@usgs.gov"},{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_1.10.0-snapshot.8b51d53_1608644601890_0.23407314232426546"},"_hasShrinkwrap":false},"1.10.0":{"name":"wdfn-viz","version":"1.10.0","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"sass --load-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","build:uswdsinit":"cp -r node_modules/uswds/dist/js/uswds-init.min.* dist","clean":"rm -rf dist && mkdir dist","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"jest --collectCoverage=true","test:debug":"node --inspect-brk node_modules/.bin/jest --runInBand","test:watch":"jest --watch","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://github.com/usgs/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://github.com/usgs/wdfn-viz/issues"},"homepage":"https://github.com/usgs/wdfn-viz","engines":{"node":">= 10"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.10.0"},"devDependencies":{"@rollup/plugin-buble":"^0.21.3","@rollup/plugin-commonjs":"^17.0.0","@rollup/plugin-node-resolve":"^11.0.1","autoprefixer":"^10.1.0","buble":"^0.20.0","buble-jest":"^1.0.1","eslint":"^7.16.0","eslint-plugin-jest":"^24.1.3","jest":"^26.6.3","live-server":"^1.2.1","nodemon":"^2.0.6","npm-run-all":"^4.1.5","nunjucks":"^3.2.2","nunjucks-cli":"^1.0.0","postcss":"^8.2.1","postcss-cli":"^8.3.1","postcss-csso":"^5.0.0","postcss-flexbugs-fixes":"^5.0.2","rollup":"^2.35.1","sass":"^1.30.0","stylelint":"^13.8.0","stylelint-config-recommended-scss":"^4.2.0","stylelint-scss":"^3.18.0"},"gitHead":"4274b8895d530975ef266ad9f5f4cffe51521f4e","_id":"wdfn-viz@1.10.0","_nodeVersion":"14.15.4","_npmVersion":"6.14.10","dist":{"integrity":"sha512-JMvaNexWyb3gQp/ZhCoTXpFyqySeBYXH64ot4amVwTW+XI8vpqKs6Q5tW8JiqUd0UaR3YGoGp0jz9BxHnGC7VA==","shasum":"4dec4c873e203427241fb3d574e60ef06fefe5f1","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-1.10.0.tgz","fileCount":2119,"unpackedSize":8584457,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf85euCRA9TVsSAnZWagAAIKgP/0chAVTfAueJTulLMAUH\n4fV0OPkZjzWsSEpIYC7uPt9sjCNlDh6ITlwQKszJ6ujtuh3CmREnaXoIDhIe\n3rru5jW8Q3W37Uw8xs5EwQuJpl8u/rVRFjS6MlGr+nHrtBJq3QOXskFfWLrb\n1wcxPdDQJ4XgvVIUngQ38qmr+W9VfypM6HLfaxCCweRvf2aDZhP7u2oBIm+R\n2Cxhmz6yhIZ317lt/eImpck9AMaLLaRaTeYCqgMKESBWWKWU/e0FOOS+CarG\nksZISLaqM9P0m1vzPBm7J3jHLOcEchNSOQweGUjcYlhFSSmKiIsEDTb31WyM\nyIbePMsL6QNpZaPum1g1oqwa4XBuulPMujRI5FobVfxn+MHl4/uidcHH5MkA\nZZN2NLiKANjNuEhpyfDnTcP0MIINevG7KMx2bSz8niWVNE7DA3lXtQPXuqoY\nDGkuZabcgmzlR0pl4tAPbqMOHjSPwtkiojDCno7xAGKwymOZldvkSPy3MSTw\nzZWsQP1h5KjGWU4ZUpk+Jr52RPRNAhm2wOYvyj5a9Tcb0YNCQLaHcB20EnfE\nvq+6sVHA3pLBaTJJgMN3LUQ3PM10USTvUUoFX5cfLiVIgrM5YBSUBE6z9gfX\nCAFJ11idG27xwrpaGflTqOoHenS3Y/7CqY0dY3b3ef0TimXLDFFYItbmQ8WQ\nzIdd\r\n=YzJk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFEa/CLBMEqA4xhCwF3zLGokgplXadgadmysX305zLE/AiAtuJpkCJzdooGXsvaOqgA8GDWM8DXyVuGEwiDaSL1TQA=="}]},"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"maintainers":[{"name":"drsteini-usgs","email":"drsteini@contractor.usgs.gov"},{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},{"name":"mbucknell-usgs","email":"mbucknell@usgs.gov"},{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_1.10.0_1609799597265_0.3469565506239636"},"_hasShrinkwrap":false},"1.11.0-snapshot.b11c1c8":{"name":"wdfn-viz","version":"1.11.0-snapshot.b11c1c8","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"sass --load-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","build:uswdsinit":"cp -r node_modules/uswds/dist/js/uswds-init.min.* dist","clean":"rm -rf dist && mkdir dist","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"jest --collectCoverage=true","test:debug":"node --inspect-brk node_modules/.bin/jest --runInBand","test:watch":"jest --watch","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://github.com/usgs/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://github.com/usgs/wdfn-viz/issues"},"homepage":"https://github.com/usgs/wdfn-viz","engines":{"node":">= 10"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.10.0"},"devDependencies":{"@rollup/plugin-buble":"^0.21.3","@rollup/plugin-commonjs":"^17.0.0","@rollup/plugin-node-resolve":"^11.0.1","autoprefixer":"^10.1.0","buble":"^0.20.0","buble-jest":"^1.0.1","eslint":"^7.16.0","eslint-plugin-jest":"^24.1.3","jest":"^26.6.3","live-server":"^1.2.1","nodemon":"^2.0.6","npm-run-all":"^4.1.5","nunjucks":"^3.2.2","nunjucks-cli":"^1.0.0","postcss":"^8.2.1","postcss-cli":"^8.3.1","postcss-csso":"^5.0.0","postcss-flexbugs-fixes":"^5.0.2","rollup":"^2.35.1","sass":"^1.30.0","stylelint":"^13.8.0","stylelint-config-recommended-scss":"^4.2.0","stylelint-scss":"^3.18.0"},"gitHead":"b11c1c8aa71185b1292e08cd07e065c6dc072521","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![Build Status](https://travis-ci.org/usgs/wdfn-viz.svg?branch=master)](https://travis-ci.org/usgs/wdfn-viz)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/6faaca8b97f34929b141c4444d919e4e)](https://www.codacy.com/app/usgs_wma_dev/wdfn-viz?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=usgs/wdfn-viz&amp;utm_campaign=Badge_Grade)\n\nProvides Sass stylesheets and images that can be used when creating web pages that need to\nmeet USGS visual identity standards. The stylesheets use USWDS (https://designsystem.digital.gov/)\nas the basis so all USWDS components are available.\n\n## Usage\n\nThe repo can be installed in an existing project by installing via npm.\n\n```bash\nnpm install wdfn-viz\n```\n\nTo install the latest development snapshot (containing the current state of the master branch):\n\n```bash\nnpm install wdfn-viz@snapshot\n```\n\nWe recommend building the stylesheets with Dart sass (npm install sass).\nThe main Sass stylesheet that should be imported into a web page's Sass file and is at /src/stylesheets/wdfnviz.scss.\nThis will also include the USWDS style sheets so a separate import is not required.  This directory should be \nspecified on the --load-path option along with the uswds/src/stylesheets when the site's Sass is built. When building \nthe style sheets the css should also be processed by postcss using the autoprefixer and postcss-csso using a postcss.config.js file:\n```javascript\nconst autoprefixerOptions = [\n    '>2%',\n    'Last 2 versions',\n    'IE 11'\n];\n\nmodule.exports = ctx => ({\n    map: Object.assign({}, ctx.options.map, {inline: false}),\n    parser: ctx.options.parser,\n    plugins: {\n        autoprefixer: autoprefixerOptions,\n        'postcss-csso': {\n            forceMediaMerge: false\n        }\n    }\n});\n```\nYou may also want to include postcss-flexbugs-fixes plugin as is done for building wdfn-viz.\n\nBelow is an example of the process:\n```\n% sass --load-path node_modules/wdfn-viz/src/stylesheets --include-path node_modules/uswds/src/stylesheets src/styles.main.css dist/main.css\n% postcss dist/main.css  -o dist/main.css\n```\n\nPostcss generates internal sourcemaps by default. You may want to consider using the --map option to create external map files\nor if you want to minimize your css assets, you may want to disable entirely by using --no-map\n\nWhen building the assets, the images should be collected in a common directory and specified in the project's Sass\nfiles using the $theme-image-path variable. This should include the images in wdfn-viz/src/img that provide the USGS favicon and\nlogos. If using USWDS images those will also need to be collected. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nThe fonts should also be collected in a common directory and specified in the project's Sass files using the $theme-font-path\nvariable. Below are examples of commands that could be used to collect the image and font assets.\n```\n% mkdir -p dist/img && cp -r node_modules/uswds/src/img/* dist/img && cp -r node_modules/wdfn-viz/src/img/* dist/img\n% mkdir -p dist/fonts && cp -r node_modules/uswds/src/fonts/* dist/fonts\n```\n\nThe javascript should be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined. In order to use, a loading function should be defined which will be executed \nwhen the page loads. Below is a simple example:\n```javascript\nimport wdfnviz from 'wdfn-viz';\n\nconst load = function () {\n    null;  Add code that should get executed when the page is loaded\n}\n\nwdfnviz.main(load);\n\n\n```\n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos. This includes the script for ```uswds-init.min.js``` which should be retreived before the css files are loaded as is done in the example header.html.\n\n## Using without building stylesheets and javascript bundling\nYou can use the prebuilt stylesheet and javascript bundle if desired. This can be done by including the following in your markup in the <head> section.\n```\n<link rel=\"stylesheet\" href=\"wdfnviz.css\">\n<script src=\"wdfnviz.js\"></script>\n```\n\n## Publishing to npm\n\nTravisCI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when commits are made to the master branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://github.com/usgs/wdfn-viz/blob/master/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit.\n","readmeFilename":"README.md","_id":"wdfn-viz@1.11.0-snapshot.b11c1c8","_nodeVersion":"14.15.4","_npmVersion":"6.14.10","dist":{"integrity":"sha512-3rhz0X5Cm7stKToCZSn9iwBzEvUVMTzsT6bszcGwsjboqZLOkCd+Ge1ZJuMnzwA2Xrju9fTb3WMGDRqpjQlq9w==","shasum":"e9a6d31fb362ad5b49c84fb3c55fb41b78684817","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-1.11.0-snapshot.b11c1c8.tgz","fileCount":2119,"unpackedSize":8584474,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf86UYCRA9TVsSAnZWagAAfBUP/jqYk5AkjvFsbuPXUqmM\nXcCWf1pEpnHLURixB3rwSZJsZUCqApbJ5QNry4XD7gwVMBSyvdd0n2F9ecaf\nAhadRd4xUQzJBNCKwyj/mKPmj74Vz6Eit63tfo5LFqD9keDxX4mVlPux162C\nR1fj80LqipD7C6maXxHkdY/MsFrRSdGsOVYhIEzMQOXB26y/HToduFjzSrNS\n6bUtVoDarGx1yxCnqwtgeCICz+ZYFoIjFxPV7b71BDd+Tqlvj6HE0RrT6MhZ\nnuD2Zfh4zVcHKN+lX58X4D7K/XOMhwrMgJc1cDc4OKmCqwDzXL4m7jWFp0+z\nj+r7nKh6Onmai3YKrDnlCGUMlA/58Vk+qXXwcLkqllgA9dIb6jl47S8jJqoB\nm2ohLeQz2WvwiC3yjmg1qC1qq/+fBVMx7VIpoXhiIZ0r7OK5njfdN24nG0zA\ndRijM+5MFaYEcL0JtNYcPVFNNciYZX7RmuFWbSlJ3xDYuY4xAmt951lQNhwy\nVfiwf/LEvFn7HyK7aKROgocbPmvUdI59h7sraxbylVjia5EV5cfIKO3bGf21\nT7zAsMpT44xp1QFkq3zK/dn/0upXgqfVO7kGcr6uYDvvRmhezw5/Wqsu7Q/Y\nHgH8cXxxdszHpJzDdljG5lRtFqvIMnzZnAdWuulWFaJWANFaxHgFlQfZdVPS\nWCG7\r\n=YPRu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDRZf4P4q+C+Wsl7vBHcNYZwu0vz0UVsmEL6Jfe8QEPxAiAbOw7cZ1JpebulkoeJeaCSAhDb/sE4brfZmN/p5lmlow=="}]},"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"maintainers":[{"name":"drsteini-usgs","email":"drsteini@contractor.usgs.gov"},{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},{"name":"mbucknell-usgs","email":"mbucknell@usgs.gov"},{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_1.11.0-snapshot.b11c1c8_1609803031976_0.20907886403088716"},"_hasShrinkwrap":false},"1.11.0-snapshot.a186abe":{"name":"wdfn-viz","version":"1.11.0-snapshot.a186abe","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"sass --load-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","build:uswdsinit":"cp -r node_modules/uswds/dist/js/uswds-init.min.* dist","clean":"rm -rf dist && mkdir dist","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"jest --collectCoverage=true","test:debug":"node --inspect-brk node_modules/.bin/jest --runInBand","test:watch":"jest --watch","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://github.com/usgs/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://github.com/usgs/wdfn-viz/issues"},"homepage":"https://github.com/usgs/wdfn-viz","engines":{"node":">= 10"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.10.0"},"devDependencies":{"@rollup/plugin-buble":"^0.21.3","@rollup/plugin-commonjs":"^17.0.0","@rollup/plugin-node-resolve":"^11.1.0","autoprefixer":"^10.2.3","buble":"^0.20.0","buble-jest":"^1.0.1","eslint":"^7.18.0","eslint-plugin-jest":"^24.1.3","jest":"^26.6.3","live-server":"^1.2.1","nodemon":"^2.0.7","npm-run-all":"^4.1.5","nunjucks":"^3.2.2","nunjucks-cli":"^1.0.0","postcss":"^8.2.4","postcss-cli":"^8.3.1","postcss-csso":"^5.0.0","postcss-flexbugs-fixes":"^5.0.2","rollup":"^2.37.1","sass":"^1.32.5","stylelint":"^13.9.0","stylelint-config-recommended-scss":"^4.2.0","stylelint-scss":"^3.18.0"},"gitHead":"a186abe9741ba13c84f361df85fa1b874f4042dd","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![Build Status](https://travis-ci.org/usgs/wdfn-viz.svg?branch=master)](https://travis-ci.org/usgs/wdfn-viz)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/6faaca8b97f34929b141c4444d919e4e)](https://www.codacy.com/app/usgs_wma_dev/wdfn-viz?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=usgs/wdfn-viz&amp;utm_campaign=Badge_Grade)\n\nProvides Sass stylesheets and images that can be used when creating web pages that need to\nmeet USGS visual identity standards. The stylesheets use USWDS (https://designsystem.digital.gov/)\nas the basis so all USWDS components are available.\n\n## Usage\n\nThe repo can be installed in an existing project by installing via npm.\n\n```bash\nnpm install wdfn-viz\n```\n\nTo install the latest development snapshot (containing the current state of the master branch):\n\n```bash\nnpm install wdfn-viz@snapshot\n```\n\nWe recommend building the stylesheets with Dart sass (npm install sass).\nThe main Sass stylesheet that should be imported into a web page's Sass file and is at /src/stylesheets/wdfnviz.scss.\nThis will also include the USWDS style sheets so a separate import is not required.  This directory should be \nspecified on the --load-path option along with the uswds/src/stylesheets when the site's Sass is built. When building \nthe style sheets the css should also be processed by postcss using the autoprefixer and postcss-csso using a postcss.config.js file:\n```javascript\nconst autoprefixerOptions = [\n    '>2%',\n    'Last 2 versions',\n    'IE 11'\n];\n\nmodule.exports = ctx => ({\n    map: Object.assign({}, ctx.options.map, {inline: false}),\n    parser: ctx.options.parser,\n    plugins: {\n        autoprefixer: autoprefixerOptions,\n        'postcss-csso': {\n            forceMediaMerge: false\n        }\n    }\n});\n```\nYou may also want to include postcss-flexbugs-fixes plugin as is done for building wdfn-viz.\n\nBelow is an example of the process:\n```\n% sass --load-path node_modules/wdfn-viz/src/stylesheets --include-path node_modules/uswds/src/stylesheets src/styles.main.css dist/main.css\n% postcss dist/main.css  -o dist/main.css\n```\n\nPostcss generates internal sourcemaps by default. You may want to consider using the --map option to create external map files\nor if you want to minimize your css assets, you may want to disable entirely by using --no-map\n\nWhen building the assets, the images should be collected in a common directory and specified in the project's Sass\nfiles using the $theme-image-path variable. This should include the images in wdfn-viz/src/img that provide the USGS favicon and\nlogos. If using USWDS images those will also need to be collected. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nThe fonts should also be collected in a common directory and specified in the project's Sass files using the $theme-font-path\nvariable. Below are examples of commands that could be used to collect the image and font assets.\n```\n% mkdir -p dist/img && cp -r node_modules/uswds/src/img/* dist/img && cp -r node_modules/wdfn-viz/src/img/* dist/img\n% mkdir -p dist/fonts && cp -r node_modules/uswds/src/fonts/* dist/fonts\n```\n\nThe javascript should be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined. In order to use, a loading function should be defined which will be executed \nwhen the page loads. Below is a simple example:\n```javascript\nimport wdfnviz from 'wdfn-viz';\n\nconst load = function () {\n    null;  Add code that should get executed when the page is loaded\n}\n\nwdfnviz.main(load);\n\n\n```\n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos. This includes the script for ```uswds-init.min.js``` which should be retreived before the css files are loaded as is done in the example header.html.\n\n## Using without building stylesheets and javascript bundling\nYou can use the prebuilt stylesheet and javascript bundle if desired. This can be done by including the following in your markup in the <head> section.\n```\n<link rel=\"stylesheet\" href=\"wdfnviz.css\">\n<script src=\"wdfnviz.js\"></script>\n```\n\n## Publishing to npm\n\nTravisCI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when commits are made to the master branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://github.com/usgs/wdfn-viz/blob/master/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit.\n","readmeFilename":"README.md","_id":"wdfn-viz@1.11.0-snapshot.a186abe","_nodeVersion":"14.15.4","_npmVersion":"6.14.10","dist":{"integrity":"sha512-RbniW31ZcfRMXiBqdIUKiualzaUtpi2zb6T4n9MAtN9enEJe/30y0tbxKoEzDA+n0ml7acgmpxP5Ejw9NUYeOw==","shasum":"90926d9f3e49602cc91564ccac60a5238b778298","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-1.11.0-snapshot.a186abe.tgz","fileCount":2119,"unpackedSize":8585698,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgCDwyCRA9TVsSAnZWagAAMu0P/0glJP4tg97jmwVtPb5O\nRCNmmyLYQEVqDc26uKfh360qQRTtlGVi4cVZSkYwcoiqr4wjNS+CGvxpbwWs\nFy+OBICIBk0rRT5ElAPQjC3gCR705NP64g2wnNfzsa9D2TZMCXzGQaOdBkVm\nLIojjWWe4WCO2k3kuVtIgir4r4aYqbKiT7ko0DbMpYjr0RI9Jc9JtdvKxUag\nORSvtA8rrxV+4Jnmx7gobv8V9wEIzVxR6NDieoM64mh3m28bkSol/hHzabOJ\niCaTY2koIvcyLoAyaKRgOmMcpmdvEu2cMIoRVehANtYgEvGrnTfJjivz8UDA\nP/yZJr4XfDdmzjNaxYupg8Qzl1fZAlD4Yl/oYpO0h6/pA7+auuiLp4B228ud\nIOB9S/DB1uTPc9/RiPNuN4ZsTe4sTQlBP4wl2fWLHpt2MyCkolyYeMuVLwrw\noKyhI7Z7sgj1k/6z1/9FI16/NFjfZbB8qioimx/ufGelQTssEQJXiYLNc96v\nW6V69qwx+R/wH4xvd6g3vmvea5KilG8a6oVWIcc/f5s3bm+7fgzj3s73E5D9\ntlRrIYvyaSKJoha80rBuZwdqueupVfVfeSwFvLSjqsK2tRKV5L+BY2xZjruy\nIJQitpLr14aEqgtwwuigy4RqCd2VwzWTk+WOK8iIAsIKLHndcC3KpKspPNw0\nXZwU\r\n=PY29\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE0n6MgqoWAOE+OiWoxEvCXV721L6cXH5kAjL5VZa4DqAiEAlYR/pueLriD9ErL1A/IsCHB0ItQPCey/81pxLkIDi6I="}]},"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"maintainers":[{"name":"drsteini-usgs","email":"drsteini@contractor.usgs.gov"},{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},{"name":"mbucknell-usgs","email":"mbucknell@usgs.gov"},{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_1.11.0-snapshot.a186abe_1611152433378_0.9060172684734464"},"_hasShrinkwrap":false},"1.10.1":{"name":"wdfn-viz","version":"1.10.1","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"sass --load-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","build:uswdsinit":"cp -r node_modules/uswds/dist/js/uswds-init.min.* dist","clean":"rm -rf dist && mkdir dist","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"jest --collectCoverage=true","test:debug":"node --inspect-brk node_modules/.bin/jest --runInBand","test:watch":"jest --watch","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://github.com/usgs/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://github.com/usgs/wdfn-viz/issues"},"homepage":"https://github.com/usgs/wdfn-viz","engines":{"node":">= 10"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.10.1"},"devDependencies":{"@rollup/plugin-buble":"^0.21.3","@rollup/plugin-commonjs":"^17.1.0","@rollup/plugin-node-resolve":"^11.2.0","autoprefixer":"^10.2.4","buble":"^0.20.0","buble-jest":"^1.0.1","eslint":"^7.21.0","eslint-plugin-jest":"^24.1.5","jest":"^26.6.3","live-server":"^1.2.1","nodemon":"^2.0.7","npm-run-all":"^4.1.5","nunjucks":"^3.2.3","nunjucks-cli":"^1.0.0","postcss":"^8.2.6","postcss-cli":"^8.3.1","postcss-csso":"^5.0.0","postcss-flexbugs-fixes":"^5.0.2","rollup":"^2.40.0","sass":"^1.32.8","stylelint":"^13.11.0","stylelint-config-recommended-scss":"^4.2.0","stylelint-scss":"^3.19.0"},"gitHead":"61c153d6856affee9a39b69bc92e1aa037bbd8ee","_id":"wdfn-viz@1.10.1","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-qrGEekn/USt9dHRyhDuRNSG8EtmVTY+znuGAAfDMeVy0IZFYm89l6e9hBmJDZ3E+EMcFjM/VuIMm/nU4w9iohw==","shasum":"6f4bd7dbda0627a0fe3ec8e2639a5bdae98c8c06","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-1.10.1.tgz","fileCount":2143,"unpackedSize":8621384,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgPQDfCRA9TVsSAnZWagAA9RUP/1vW0B685DhnjRzELiBC\ndn0PcTG0qsUwF37KI3PWZgsDtoF8kNoAluf0Rf+f74OGclOEeFs6E/sodald\nB5aqhbhzahZ5X27hBV96vOqEWVx6vZBlHmyyiuphQ0W7GJXD91l0/yzD6xDu\ncP0F9slEvjb3HgQwOMc/uWwkAHjuTgweEZfyS7xB8ff7XmKb6SG4ZV67aMBW\nGnHdSoXWXLyIXtBXKY/SY1J4L5ODZBhpAHWBjGnCDshpry7OCbS6LoUQBXfF\nx2iNFiBnUNQUW2iEnEglsaTUw8UvvqS02oRHjLLzj1cZe/AuC79X+ckWIgCK\nobL5//a+Ka9Ly8HLww3MemxNOmQpc5ivyg+Pzyk6vbkQwUfc+PpGm+Yja+9s\nQA9UIPIeb0TW4YjvvYc1Gt0GH7cs6T0SliMKgPbp9EqKB7qQA9jAJoSH1F8R\nQwsw/UGZt3C4txSHThnDNlDwfYFiyg6l0aFCQslG1OUyuoJJkuEi+uzK34fR\nrolRiTfq/9Nr2pi5p0HVOGZSkyuBIs8KBKs/m9rqSoQDg+gLQ/wjbz2dEKMV\n0bRPl3U162+wMiNARuM+cRHqN6FaCBEHdjB3jKdOnmljiBF2CbQPkIVAfLKu\nu+aqHA8NHevzaCzwo3RtYEG2IohzwaXjbYBndo3CVKebRbsl/hGTvTVbgV91\nHgEk\r\n=6Z6O\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCKY4b1tt9au5LaQN0mEinsG0jE5Y//cq5/LpZ+/br0rwIhAMiSpQ1CT26mG3vjJ32J/RmN7d9foy4CDytHw30VVgGh"}]},"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"maintainers":[{"name":"drsteini-usgs","email":"drsteini@contractor.usgs.gov"},{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},{"name":"mbucknell-usgs","email":"mbucknell@usgs.gov"},{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_1.10.1_1614610654457_0.2658902122119611"},"_hasShrinkwrap":false},"1.11.0-snapshot.04086eb":{"name":"wdfn-viz","version":"1.11.0-snapshot.04086eb","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"sass --load-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","build:uswdsinit":"cp -r node_modules/uswds/dist/js/uswds-init.min.* dist","clean":"rm -rf dist && mkdir dist","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"jest --collectCoverage=true","test:debug":"node --inspect-brk node_modules/.bin/jest --runInBand","test:watch":"jest --watch","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://github.com/usgs/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://github.com/usgs/wdfn-viz/issues"},"homepage":"https://github.com/usgs/wdfn-viz","engines":{"node":">= 10"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.10.1"},"devDependencies":{"@rollup/plugin-buble":"^0.21.3","@rollup/plugin-commonjs":"^17.1.0","@rollup/plugin-node-resolve":"^11.2.0","autoprefixer":"^10.2.4","buble":"^0.20.0","buble-jest":"^1.0.1","eslint":"^7.21.0","eslint-plugin-jest":"^24.1.5","jest":"^26.6.3","live-server":"^1.2.1","nodemon":"^2.0.7","npm-run-all":"^4.1.5","nunjucks":"^3.2.3","nunjucks-cli":"^1.0.0","postcss":"^8.2.6","postcss-cli":"^8.3.1","postcss-csso":"^5.0.0","postcss-flexbugs-fixes":"^5.0.2","rollup":"^2.40.0","sass":"^1.32.8","stylelint":"^13.11.0","stylelint-config-recommended-scss":"^4.2.0","stylelint-scss":"^3.19.0"},"gitHead":"04086eb15dcc187e0e379899fd753b99b6476d9d","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![Build Status](https://travis-ci.org/usgs/wdfn-viz.svg?branch=master)](https://travis-ci.org/usgs/wdfn-viz)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/6faaca8b97f34929b141c4444d919e4e)](https://www.codacy.com/app/usgs_wma_dev/wdfn-viz?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=usgs/wdfn-viz&amp;utm_campaign=Badge_Grade)\n\nProvides Sass stylesheets and images that can be used when creating web pages that need to\nmeet USGS visual identity standards. The stylesheets use USWDS (https://designsystem.digital.gov/)\nas the basis so all USWDS components are available.\n\n## Usage\n\nThe repo can be installed in an existing project by installing via npm.\n\n```bash\nnpm install wdfn-viz\n```\n\nTo install the latest development snapshot (containing the current state of the master branch):\n\n```bash\nnpm install wdfn-viz@snapshot\n```\n\nWe recommend building the stylesheets with Dart sass (npm install sass).\nThe main Sass stylesheet that should be imported into a web page's Sass file and is at /src/stylesheets/wdfnviz.scss.\nThis will also include the USWDS style sheets so a separate import is not required.  This directory should be \nspecified on the --load-path option along with the uswds/src/stylesheets when the site's Sass is built. When building \nthe style sheets the css should also be processed by postcss using the autoprefixer and postcss-csso using a postcss.config.js file:\n```javascript\nconst autoprefixerOptions = [\n    '>2%',\n    'Last 2 versions',\n    'IE 11'\n];\n\nmodule.exports = ctx => ({\n    map: Object.assign({}, ctx.options.map, {inline: false}),\n    parser: ctx.options.parser,\n    plugins: {\n        autoprefixer: autoprefixerOptions,\n        'postcss-csso': {\n            forceMediaMerge: false\n        }\n    }\n});\n```\nYou may also want to include postcss-flexbugs-fixes plugin as is done for building wdfn-viz.\n\nBelow is an example of the process:\n```\n% sass --load-path node_modules/wdfn-viz/src/stylesheets --include-path node_modules/uswds/src/stylesheets src/styles.main.css dist/main.css\n% postcss dist/main.css  -o dist/main.css\n```\n\nPostcss generates internal sourcemaps by default. You may want to consider using the --map option to create external map files\nor if you want to minimize your css assets, you may want to disable entirely by using --no-map\n\nWhen building the assets, the images should be collected in a common directory and specified in the project's Sass\nfiles using the $theme-image-path variable. This should include the images in wdfn-viz/src/img that provide the USGS favicon and\nlogos. If using USWDS images those will also need to be collected. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nThe fonts should also be collected in a common directory and specified in the project's Sass files using the $theme-font-path\nvariable. Below are examples of commands that could be used to collect the image and font assets.\n```\n% mkdir -p dist/img && cp -r node_modules/uswds/src/img/* dist/img && cp -r node_modules/wdfn-viz/src/img/* dist/img\n% mkdir -p dist/fonts && cp -r node_modules/uswds/src/fonts/* dist/fonts\n```\n\nThe javascript should be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined. In order to use, a loading function should be defined which will be executed \nwhen the page loads. Below is a simple example:\n```javascript\nimport wdfnviz from 'wdfn-viz';\n\nconst load = function () {\n    null;  Add code that should get executed when the page is loaded\n}\n\nwdfnviz.main(load);\n\n\n```\n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos. This includes the script for ```uswds-init.min.js``` which should be retreived before the css files are loaded as is done in the example header.html.\n\n## Using without building stylesheets and javascript bundling\nYou can use the prebuilt stylesheet and javascript bundle if desired. This can be done by including the following in your markup in the <head> section.\n```\n<link rel=\"stylesheet\" href=\"wdfnviz.css\">\n<script src=\"wdfnviz.js\"></script>\n```\n\n## Publishing to npm\n\nTravisCI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when commits are made to the master branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://github.com/usgs/wdfn-viz/blob/master/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit.\n","readmeFilename":"README.md","_id":"wdfn-viz@1.11.0-snapshot.04086eb","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-ony1iT+IGrFNnxwQSVNoaNwmMPwyyn7+nsVK3mu84IPIuNDAF56VgVtb7MuDeIOrDoHDbeo9BHQvhkb1fHJjRw==","shasum":"4910b5ba5ea2429688383a77eeb7f8a12396108e","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-1.11.0-snapshot.04086eb.tgz","fileCount":2143,"unpackedSize":8621401,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgPQozCRA9TVsSAnZWagAAiMAP/3FkERrLAxbPSwMfpqS2\nAers0oGOuSGxtfFm3pz/mJF5lzqhXK+F5WT21c+/1DZlk1izVTnYtqPDDL0X\nwkO6m8NW9j9SZGY8N+HNCoZr+6WjI4g6EcLwMi8o2thS8EZhDn5kQuSX4aJQ\nq3JngxIbAIkCf9MGm6zmlnqQ8wpB+TIobOgkn3uq8n5AAvJTTZNdsH1Xl9iK\nAZsEpPh3h8uJgueD0aCQeFYgdCzq8C4nTZHuogNCReHOdyMuS8IQop0oLDHv\ntPz053iImhILqqXI+B6rUbJ4Jb2ZqkOUVsXUbknoB6FLvsQwiFc9Js60j3gn\nf/UpvXRWHXLlGewaEnBOICpn1yvzpgN1waLByD8i2kZGjkkVuOgLoGK7EnM0\nm0YepY1nmo8X6PPaSc+dc6lLs8VKqt9w/+qCRAvwdOsFMVKgIQG338N8kHP1\n4UDtj9WYsw3XV1SKYkgnYvM5IZQcw5fgWspGivQ1O3Kmx/56ybUMhN+go0pG\nFtgMM7ZrTOI1891hGRDBOFHAxsfFgtWa8hsvL+juRgfV8H3oBvgPkG4RZ0Ju\nEmR2sOQmtKB+sgSb3/AhinLsI0q0vYnh3CLt7yNFGkB3KIXS6x0gfhxKE5vV\ne7iNKob/FI20SUq1s2v2cc5EpARTBczN42mlVT+NWsQKYcwA3BA4Wu9+N3O9\nQm3P\r\n=Fd4e\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDiBuO8v9QbqteK3N9FLB5CMD9qWHGXlB75hbX893TjCwIhALdc5u+UT44UNQSy4NWtMleb2/B5kzYTd/P7f5rNsNYf"}]},"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"maintainers":[{"name":"drsteini-usgs","email":"drsteini@contractor.usgs.gov"},{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},{"name":"mbucknell-usgs","email":"mbucknell@usgs.gov"},{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_1.11.0-snapshot.04086eb_1614613042847_0.5091987663344995"},"_hasShrinkwrap":false},"1.11.0-snapshot.eb1a8b8":{"name":"wdfn-viz","version":"1.11.0-snapshot.eb1a8b8","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"sass --load-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","build:uswdsinit":"cp -r node_modules/uswds/dist/js/uswds-init.min.* dist","clean":"rm -rf dist && mkdir dist","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"jest --collectCoverage=true","test:debug":"node --inspect-brk node_modules/.bin/jest --runInBand","test:watch":"jest --watch","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://github.com/usgs/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://github.com/usgs/wdfn-viz/issues"},"homepage":"https://github.com/usgs/wdfn-viz","engines":{"node":">= 10"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.10.1"},"devDependencies":{"@rollup/plugin-buble":"^0.21.3","@rollup/plugin-commonjs":"^18.0.0","@rollup/plugin-node-resolve":"^11.2.1","autoprefixer":"^10.2.5","buble":"^0.20.0","buble-jest":"^1.0.1","eslint":"^7.23.0","eslint-plugin-jest":"^24.3.2","jest":"^26.6.3","live-server":"^1.2.1","nodemon":"^2.0.7","npm-run-all":"^4.1.5","nunjucks":"^3.2.3","nunjucks-cli":"^1.0.0","postcss":"^8.2.9","postcss-cli":"^8.3.1","postcss-csso":"^5.0.0","postcss-flexbugs-fixes":"^5.0.2","rollup":"^2.44.0","sass":"^1.32.8","stylelint":"^13.12.0","stylelint-config-recommended-scss":"^4.2.0","stylelint-scss":"^3.19.0"},"gitHead":"eb1a8b8e3286e28734e07286df1fbeaf6d02a83b","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![Build Status](https://travis-ci.org/usgs/wdfn-viz.svg?branch=master)](https://travis-ci.org/usgs/wdfn-viz)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/6faaca8b97f34929b141c4444d919e4e)](https://www.codacy.com/app/usgs_wma_dev/wdfn-viz?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=usgs/wdfn-viz&amp;utm_campaign=Badge_Grade)\n\nProvides Sass stylesheets and images that can be used when creating web pages that need to\nmeet USGS visual identity standards. The stylesheets use USWDS (https://designsystem.digital.gov/)\nas the basis so all USWDS components are available.\n\n## Usage\n\nThe repo can be installed in an existing project by installing via npm.\n\n```bash\nnpm install wdfn-viz\n```\n\nTo install the latest development snapshot (containing the current state of the master branch):\n\n```bash\nnpm install wdfn-viz@snapshot\n```\n\nWe recommend building the stylesheets with Dart sass (npm install sass).\nThe main Sass stylesheet that should be imported into a web page's Sass file and is at /src/stylesheets/wdfnviz.scss.\nThis will also include the USWDS style sheets so a separate import is not required.  This directory should be \nspecified on the --load-path option along with the uswds/src/stylesheets when the site's Sass is built. When building \nthe style sheets the css should also be processed by postcss using the autoprefixer and postcss-csso using a postcss.config.js file:\n```javascript\nconst autoprefixerOptions = [\n    '>2%',\n    'Last 2 versions',\n    'IE 11'\n];\n\nmodule.exports = ctx => ({\n    map: Object.assign({}, ctx.options.map, {inline: false}),\n    parser: ctx.options.parser,\n    plugins: {\n        autoprefixer: autoprefixerOptions,\n        'postcss-csso': {\n            forceMediaMerge: false\n        }\n    }\n});\n```\nYou may also want to include postcss-flexbugs-fixes plugin as is done for building wdfn-viz.\n\nBelow is an example of the process:\n```\n% sass --load-path node_modules/wdfn-viz/src/stylesheets --include-path node_modules/uswds/src/stylesheets src/styles.main.css dist/main.css\n% postcss dist/main.css  -o dist/main.css\n```\n\nPostcss generates internal sourcemaps by default. You may want to consider using the --map option to create external map files\nor if you want to minimize your css assets, you may want to disable entirely by using --no-map\n\nWhen building the assets, the images should be collected in a common directory and specified in the project's Sass\nfiles using the $theme-image-path variable. This should include the images in wdfn-viz/src/img that provide the USGS favicon and\nlogos. If using USWDS images those will also need to be collected. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nThe fonts should also be collected in a common directory and specified in the project's Sass files using the $theme-font-path\nvariable. Below are examples of commands that could be used to collect the image and font assets.\n```\n% mkdir -p dist/img && cp -r node_modules/uswds/src/img/* dist/img && cp -r node_modules/wdfn-viz/src/img/* dist/img\n% mkdir -p dist/fonts && cp -r node_modules/uswds/src/fonts/* dist/fonts\n```\n\nThe javascript should be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined. In order to use, a loading function should be defined which will be executed \nwhen the page loads. Below is a simple example:\n```javascript\nimport wdfnviz from 'wdfn-viz';\n\nconst load = function () {\n    null;  Add code that should get executed when the page is loaded\n}\n\nwdfnviz.main(load);\n\n\n```\n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos. This includes the script for ```uswds-init.min.js``` which should be retreived before the css files are loaded as is done in the example header.html.\n\n## Using without building stylesheets and javascript bundling\nYou can use the prebuilt stylesheet and javascript bundle if desired. This can be done by including the following in your markup in the <head> section.\n```\n<link rel=\"stylesheet\" href=\"wdfnviz.css\">\n<script src=\"wdfnviz.js\"></script>\n```\n\n## Publishing to npm\n\nTravisCI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when commits are made to the master branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://github.com/usgs/wdfn-viz/blob/master/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit.\n","readmeFilename":"README.md","_id":"wdfn-viz@1.11.0-snapshot.eb1a8b8","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-ik3kVxfcapC/YcKlqUj0om6+09aHLMC4jsdkk6PjCV/OtxHttWF4oX8/cZ51sPJ2NPEC148i5IetWF3GRXgTdg==","shasum":"f9e314a37679f9220b51161e4e9fba97a4278da3","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-1.11.0-snapshot.eb1a8b8.tgz","fileCount":2143,"unpackedSize":8621429,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgZI0FCRA9TVsSAnZWagAAiF0P/2LNfYLwMcXW9Pj3r8Pg\nSKMTycPYBFuOVa8QpNCzp00+swy+q22I2LoinMF9+CUUpcFndVnWn3BHm50G\nVKTNXCpI2DI2BhQVTKnX6JsVlc+TT7Dg+Pcn75ezQFKn3KozairopOE34SB2\n3SF/4T6bzNHKuRaZZD/9o5V6etNU6bzV9BRkbus/Y5DnvlruaQsRAXYozhkg\nQiMiTRsD66J4FiKElVPWAea3YA01cp2TZfUFnERrx7uXjKk7od/bLWRM4Nh+\nYg2ZXwcvc2IO3zdxGRCEeDyU04/ykGg6NoAgjJ26CKVweWA/TtcQQpxDPzq0\nNzP2GButAWTAQ8gvD41mmfEIYtLYCKjMPYNv//oeG1q4eYpNvOfUGG3mUMNV\nVWGlKA9T9gXCpuYXRvlR8h+c/4H7qUSx6SjVUHjsglvrCro8e7SSwirSqF3H\nudsrlWwSGTQH/6k0MYMsgxLNcIi88VcpIrf6GqMgQQbnhdTn313DN5ofYUc0\nc11TrTCxJE9enEGTQ7JZXVK6Zc/sDd4RJHhLx/r2KiV+LlmSHG2tvFwey4iw\nFjrQyq97a81ub2v0ofvBSe4PWMwwQIsrCBJQogaABUkeHfYsf5SluAo+/OFx\nsrch/kFbdHMWiGYxGAqOq1o6Kphz6DiUPxXbHD+RQ3lPiXjBEhn1eKArLdHp\nwGgJ\r\n=YvpQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGKPcmWwT7EALP7Dc5XQlRoOkU1rLLw7NAuxITpnnpT+AiEAihQe9/+zXNw2dC0SvtZEjgHTj+NtdybjxILxBR+JBLs="}]},"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"maintainers":[{"name":"drsteini-usgs","email":"drsteini@contractor.usgs.gov"},{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},{"name":"mbucknell-usgs","email":"mbucknell@usgs.gov"},{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_1.11.0-snapshot.eb1a8b8_1617202436951_0.9433098116680403"},"_hasShrinkwrap":false},"1.11.0-snapshot.f91192b":{"name":"wdfn-viz","version":"1.11.0-snapshot.f91192b","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"sass --load-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","build:uswdsinit":"cp -r node_modules/uswds/dist/js/uswds-init.min.* dist","clean":"rm -rf dist && mkdir dist","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"jest --collectCoverage=true","test:debug":"node --inspect-brk node_modules/.bin/jest --runInBand","test:watch":"jest --watch","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://github.com/usgs/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://github.com/usgs/wdfn-viz/issues"},"homepage":"https://github.com/usgs/wdfn-viz","engines":{"node":">= 10"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.10.1"},"devDependencies":{"@rollup/plugin-buble":"^0.21.3","@rollup/plugin-commonjs":"^18.0.0","@rollup/plugin-node-resolve":"^11.2.1","autoprefixer":"^10.2.5","buble":"^0.20.0","buble-jest":"^1.0.1","eslint":"^7.23.0","eslint-plugin-jest":"^24.3.2","jest":"^26.6.3","live-server":"^1.2.1","nodemon":"^2.0.7","npm-run-all":"^4.1.5","nunjucks":"^3.2.3","nunjucks-cli":"^1.0.0","postcss":"^8.2.9","postcss-cli":"^8.3.1","postcss-csso":"^5.0.0","postcss-flexbugs-fixes":"^5.0.2","rollup":"^2.44.0","sass":"^1.32.8","stylelint":"^13.12.0","stylelint-config-recommended-scss":"^4.2.0","stylelint-scss":"^3.19.0"},"gitHead":"f91192bb0634d8f285ab5005e074f38ad6f1d326","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![Build Status](https://travis-ci.org/usgs/wdfn-viz.svg?branch=master)](https://travis-ci.org/usgs/wdfn-viz)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/6faaca8b97f34929b141c4444d919e4e)](https://www.codacy.com/app/usgs_wma_dev/wdfn-viz?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=usgs/wdfn-viz&amp;utm_campaign=Badge_Grade)\n\nProvides Sass stylesheets and images that can be used when creating web pages that need to\nmeet USGS visual identity standards. The stylesheets use USWDS (https://designsystem.digital.gov/)\nas the basis so all USWDS components are available.\n\n## Usage\n\nThe repo can be installed in an existing project by installing via npm.\n\n```bash\nnpm install wdfn-viz\n```\n\nTo install the latest development snapshot (containing the current state of the master branch):\n\n```bash\nnpm install wdfn-viz@snapshot\n```\n\nWe recommend building the stylesheets with Dart sass (npm install sass).\nThe main Sass stylesheet that should be imported into a web page's Sass file and is at /src/stylesheets/wdfnviz.scss.\nThis will also include the USWDS style sheets so a separate import is not required.  This directory should be \nspecified on the --load-path option along with the uswds/src/stylesheets when the site's Sass is built. When building \nthe style sheets the css should also be processed by postcss using the autoprefixer and postcss-csso using a postcss.config.js file:\n```javascript\nconst autoprefixerOptions = [\n    '>2%',\n    'Last 2 versions',\n    'IE 11'\n];\n\nmodule.exports = ctx => ({\n    map: Object.assign({}, ctx.options.map, {inline: false}),\n    parser: ctx.options.parser,\n    plugins: {\n        autoprefixer: autoprefixerOptions,\n        'postcss-csso': {\n            forceMediaMerge: false\n        }\n    }\n});\n```\nYou may also want to include postcss-flexbugs-fixes plugin as is done for building wdfn-viz.\n\nBelow is an example of the process:\n```\n% sass --load-path node_modules/wdfn-viz/src/stylesheets --include-path node_modules/uswds/src/stylesheets src/styles.main.css dist/main.css\n% postcss dist/main.css  -o dist/main.css\n```\n\nPostcss generates internal sourcemaps by default. You may want to consider using the --map option to create external map files\nor if you want to minimize your css assets, you may want to disable entirely by using --no-map\n\nWhen building the assets, the images should be collected in a common directory and specified in the project's Sass\nfiles using the $theme-image-path variable. This should include the images in wdfn-viz/src/img that provide the USGS favicon and\nlogos. If using USWDS images those will also need to be collected. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nThe fonts should also be collected in a common directory and specified in the project's Sass files using the $theme-font-path\nvariable. Below are examples of commands that could be used to collect the image and font assets.\n```\n% mkdir -p dist/img && cp -r node_modules/uswds/src/img/* dist/img && cp -r node_modules/wdfn-viz/src/img/* dist/img\n% mkdir -p dist/fonts && cp -r node_modules/uswds/src/fonts/* dist/fonts\n```\n\nThe javascript should be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined. In order to use, a loading function should be defined which will be executed \nwhen the page loads. Below is a simple example:\n```javascript\nimport wdfnviz from 'wdfn-viz';\n\nconst load = function () {\n    null;  Add code that should get executed when the page is loaded\n}\n\nwdfnviz.main(load);\n\n\n```\n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos. This includes the script for ```uswds-init.min.js``` which should be retreived before the css files are loaded as is done in the example header.html.\n\n## Using without building stylesheets and javascript bundling\nYou can use the prebuilt stylesheet and javascript bundle if desired. This can be done by including the following in your markup in the <head> section.\n```\n<link rel=\"stylesheet\" href=\"wdfnviz.css\">\n<script src=\"wdfnviz.js\"></script>\n```\n\n## Publishing to npm\n\nTravisCI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when commits are made to the master branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://github.com/usgs/wdfn-viz/blob/master/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit.\n","readmeFilename":"README.md","_id":"wdfn-viz@1.11.0-snapshot.f91192b","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-KZYI1QjWhyRxSXyZjLyWL9vTz52aJ1r86ToVL+1zshOF+sQ1FcB1w7DeIacyWIFZafYMOZ7keBP/1vmAAwtWUQ==","shasum":"b0500cf4e8dd076e16e0b1a1944d34bec2457415","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-1.11.0-snapshot.f91192b.tgz","fileCount":2143,"unpackedSize":8621429,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgZKVYCRA9TVsSAnZWagAAYh8P+wWq7JGNXSTO98gdWnzS\nC+0z2/+vppgAP2t2GxRY3tzsZ1xl8QrBY2eDxmW0qt7Sjpfd4upozaMKiQGc\nihGVfUAqqeE/5xhnuc+K3q2qZVTb4/5RwqI8B42m54JK+6IoSAcni3UuHMJH\nLE3200Fs4mg5YAdhKQBP+lZEJbpcQYuKPPj9iFCJLhGI2L6sWQcEVtbcc7Df\n5sLV4wODNHVk0bfBt8lAjIM5928jVE70CchrWYjBIgvBRt2O/5V956Sa/80/\nSpm6KUHPZZHxrInzhDF1cBHURyk0pYtPnVzYpIostRJiV1tFLdv7Scnwtz5Y\nBu+/5K4Bry+XSiEMVJpQKr0235MkS5mgmjfxftsr+b03eKWc2+65FtJ+ZL+p\nUyzBSBzSlVtYjgiOAVQ527islQNXMUyytsbb4yEh9I+d/nIIlOsfk+Xtm9Es\nucSehmSsIl9Kfq65rZP+0736Ta6qol4pg7ADi+M6v/abJiVJkSnExOlnthRb\nG1pEcKiTxckjNWP0kjFEaMMXtTox610e+nxxRSwQNNSWQ+ppXU1ujAGaj05M\nO0Sd3/sFCtOAsNbqxGyzF1sxFTo5g3csRg8jXg064GbeS9emMI5/LaFMXQ4B\nVzh3Pyp5C82omA+ZUPKXzmZVz4oDCw0WIM8xg/UvaBVySCMAUEUmZMf0oUSi\nVG7x\r\n=m2Zz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDKSveRBiPztfSOfDv0QhC69vDJNFcGCA1fLNdOER2O3gIgROkipOCB1gUpO+b1BX3fUbE5I+J/4jdYYdomEyQRBc4="}]},"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"maintainers":[{"name":"drsteini-usgs","email":"drsteini@contractor.usgs.gov"},{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},{"name":"mbucknell-usgs","email":"mbucknell@usgs.gov"},{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_1.11.0-snapshot.f91192b_1617208663502_0.9907339491598579"},"_hasShrinkwrap":false},"1.11.0-snapshot.002803e":{"name":"wdfn-viz","version":"1.11.0-snapshot.002803e","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"sass --load-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","build:uswdsinit":"cp -r node_modules/uswds/dist/js/uswds-init.min.* dist","clean":"rm -rf dist && mkdir dist","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"jest --collectCoverage=true","test:debug":"node --inspect-brk node_modules/.bin/jest --runInBand","test:watch":"jest --watch","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://github.com/usgs/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://github.com/usgs/wdfn-viz/issues"},"homepage":"https://github.com/usgs/wdfn-viz","engines":{"node":">= 10"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.11.1"},"devDependencies":{"@rollup/plugin-buble":"^0.21.3","@rollup/plugin-commonjs":"^18.0.0","@rollup/plugin-node-resolve":"^11.2.1","autoprefixer":"^10.2.5","buble":"^0.20.0","buble-jest":"^1.0.1","eslint":"^7.23.0","eslint-plugin-jest":"^24.3.2","jest":"^26.6.3","live-server":"^1.2.1","nodemon":"^2.0.7","npm-run-all":"^4.1.5","nunjucks":"^3.2.3","nunjucks-cli":"^1.0.0","postcss":"^8.2.9","postcss-cli":"^8.3.1","postcss-csso":"^5.0.0","postcss-flexbugs-fixes":"^5.0.2","rollup":"^2.44.0","rollup-plugin-terser":"^7.0.2","sass":"^1.32.8","stylelint":"^13.12.0","stylelint-config-recommended-scss":"^4.2.0","stylelint-scss":"^3.19.0"},"gitHead":"002803e8f85901fc6739c259e5e81f7d0ef8c623","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![Build Status](https://travis-ci.org/usgs/wdfn-viz.svg?branch=master)](https://travis-ci.org/usgs/wdfn-viz)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/6faaca8b97f34929b141c4444d919e4e)](https://www.codacy.com/app/usgs_wma_dev/wdfn-viz?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=usgs/wdfn-viz&amp;utm_campaign=Badge_Grade)\n\nProvides Sass stylesheets and images that can be used when creating web pages that need to\nmeet USGS visual identity standards. The stylesheets use USWDS (https://designsystem.digital.gov/)\nas the basis so all USWDS components are available.\n\n## Usage\n\nThe repo can be installed in an existing project by installing via npm.\n\n```bash\nnpm install wdfn-viz\n```\n\nTo install the latest development snapshot (containing the current state of the master branch):\n\n```bash\nnpm install wdfn-viz@snapshot\n```\n\nWe recommend building the stylesheets with Dart sass (npm install sass).\nThe main Sass stylesheet that should be imported into a web page's Sass file and is at /src/stylesheets/wdfnviz.scss.\nThis will also include the USWDS style sheets so a separate import is not required.  This directory should be \nspecified on the --load-path option along with the uswds/src/stylesheets when the site's Sass is built. When building \nthe style sheets the css should also be processed by postcss using the autoprefixer and postcss-csso using a postcss.config.js file:\n```javascript\nconst autoprefixerOptions = [\n    '> 2%',\n    'Last 2 versions',\n    'IE 11',\n    'not dead'\n];\n\nmodule.exports = ctx => ({\n    map: Object.assign({}, ctx.options.map, {inline: false}),\n    parser: ctx.options.parser,\n    plugins: {\n        autoprefixer: autoprefixerOptions,\n        'postcss-csso': {\n            forceMediaMerge: false\n        }\n    }\n});\n```\nYou may also want to include postcss-flexbugs-fixes plugin as is done for building wdfn-viz.\n\nBelow is an example of the process:\n```\n% sass --load-path node_modules/wdfn-viz/src/stylesheets --include-path node_modules/uswds/src/stylesheets src/styles.main.css dist/main.css\n% postcss dist/main.css  -o dist/main.css\n```\n\nPostcss generates internal sourcemaps by default. You may want to consider using the --map option to create external map files\nor if you want to minimize your css assets, you may want to disable entirely by using --no-map\n\nWhen building the assets, the images should be collected in a common directory and specified in the project's Sass\nfiles using the $theme-image-path variable. This should include the images in wdfn-viz/src/img that provide the USGS favicon and\nlogos. If using USWDS images those will also need to be collected. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nThe fonts should also be collected in a common directory and specified in the project's Sass files using the $theme-font-path\nvariable. Below are examples of commands that could be used to collect the image and font assets.\n```\n% mkdir -p dist/img && cp -r node_modules/uswds/src/img/* dist/img && cp -r node_modules/wdfn-viz/src/img/* dist/img\n% mkdir -p dist/fonts && cp -r node_modules/uswds/src/fonts/* dist/fonts\n```\n\nThe javascript should be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined. In order to use, a loading function should be defined which will be executed \nwhen the page loads. Below is a simple example:\n```javascript\nimport wdfnviz from 'wdfn-viz';\n\nconst load = function () {\n    null;  Add code that should get executed when the page is loaded\n}\n\nwdfnviz.main(load);\n\n\n```\nThe javascript bundle that is created (which will contain your project specific javascript as well as the USWDS javascript) should be loaded inside the <body> tag. We recommend that this is done as the first tag in the body. The async attribute can be used.\n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos. This includes the script for ```uswds-init.min.js``` which should be retreived before the css files are loaded as is done in the example header.html.\n\n## Using without building stylesheets and javascript bundling\nYou can use the prebuilt stylesheet and javascript bundle if desired. This can be done by including the following in your markup in the <head> section.\n```\n<link rel=\"stylesheet\" href=\"wdfnviz.css\">\n<script src=\"wdfnviz.js\"></script>\n```\n\n## Publishing to npm\n\nTravisCI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when commits are made to the master branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://github.com/usgs/wdfn-viz/blob/master/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit.\n","readmeFilename":"README.md","_id":"wdfn-viz@1.11.0-snapshot.002803e","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-wVGrZjYWPIkBBTz3Tqq8jyDkSkgJeCSJZi6vVra3lLUbMhvEBQe2O8P9dU26+fJMH62vgF1wosB1gP1n1vYaZw==","shasum":"19771745300a94607da09cacbed7646ee465f72a","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-1.11.0-snapshot.002803e.tgz","fileCount":2396,"unpackedSize":8679190,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgZNZICRA9TVsSAnZWagAA6DIQAJjAGCxPmrUGA61vKZll\nxn0+XGyVNJ2mBihOPiY5eE3b7JjDarBVibmBuKg9DYgL0xx1Zp+yyYB3fYDB\nwfjh3omYSMBiq3JAyWITlaNKWGftk64+qUcND9ZaVBmDzibwk36jLVB0qc4t\nolwuIkFfliP4Ukd/f5XTUDtX5kz/fGEJ7dWhG34e8YgTk/iEQeMXmFk+gXKX\nh4qZRmPjO58pf2RBnSKrkQYjnWyeJpf1w1Q6mMOkFwzROs06cNAVuDjtUb4Z\nkF3aa85wUt7BA5CnENNZotXuMyjejIFtb0VcDU/7KW2Vbz+czTfwTC4jvUBs\nEVXQfMzju61OG6yqP94fYsJnHLioCWShp4Kw+3wD6BC13nxBuxix/0RXaW0n\ni9mXDZZZoDmmYivrpUYx6fxWUQGV/bFwLO+/0tjG+pL0r/Bjps1pv/dyCXIf\n19J7oG0nSrQQ9VZJIFR6jqNMEJpFTh/vIcTJcm7teAnUhGmZCI61QC3efdrn\nc1TxOGEu7im1DuM/BNK4bJk/TOXhRuIfVh/1GizjAT9kMQKF6k4PCjscoBDv\nMBdY46h0vC+zjpJxFZVn+KJIAolsr8I4zcMURs0iCHQff+xxY+ZMXC2BOyQi\ntCuf1iMp0kh5+K9itrs+NisT5US33zs1f42Y3Wb1FXCSb2pXHAEXzLGBhwOb\notvH\r\n=oZ+/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAlJX2GeCh+OpL9sa6GCZUEcdsX41sQJs0G0/aQFaTEnAiEAzsNtv3ZgpIq/i8ewSCqiCVBYrgg7Tj3YtqwuukzVixQ="}]},"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"maintainers":[{"name":"drsteini-usgs","email":"drsteini@contractor.usgs.gov"},{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},{"name":"mbucknell-usgs","email":"mbucknell@usgs.gov"},{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_1.11.0-snapshot.002803e_1617221191583_0.586219062752539"},"_hasShrinkwrap":false},"1.11.0":{"name":"wdfn-viz","version":"1.11.0","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"sass --load-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","build:uswdsinit":"cp -r node_modules/uswds/dist/js/uswds-init.min.* dist","clean":"rm -rf dist && mkdir dist","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"jest --collectCoverage=true","test:debug":"node --inspect-brk node_modules/.bin/jest --runInBand","test:watch":"jest --watch","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://github.com/usgs/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://github.com/usgs/wdfn-viz/issues"},"homepage":"https://github.com/usgs/wdfn-viz","engines":{"node":">= 10"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.11.1"},"devDependencies":{"@rollup/plugin-buble":"^0.21.3","@rollup/plugin-commonjs":"^18.0.0","@rollup/plugin-node-resolve":"^11.2.1","autoprefixer":"^10.2.5","buble":"^0.20.0","buble-jest":"^1.0.1","eslint":"^7.23.0","eslint-plugin-jest":"^24.3.2","jest":"^26.6.3","live-server":"^1.2.1","nodemon":"^2.0.7","npm-run-all":"^4.1.5","nunjucks":"^3.2.3","nunjucks-cli":"^1.0.0","postcss":"^8.2.9","postcss-cli":"^8.3.1","postcss-csso":"^5.0.0","postcss-flexbugs-fixes":"^5.0.2","rollup":"^2.44.0","rollup-plugin-terser":"^7.0.2","sass":"^1.32.8","stylelint":"^13.12.0","stylelint-config-recommended-scss":"^4.2.0","stylelint-scss":"^3.19.0"},"gitHead":"a832b9f598c6f2e46e5faa28327a5182e3939b16","_id":"wdfn-viz@1.11.0","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-0N0DjNm9jwNCikEXtjUEpMoGj4pLBoG9qrPp23Pym/Skybx0KhigqMYYV2voH6u0Rxq4cTXZxskUYdKHKDEi7g==","shasum":"47b3dc187ede38041ab86d02887af80038abda60","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-1.11.0.tgz","fileCount":2396,"unpackedSize":8679163,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgZcFNCRA9TVsSAnZWagAAADIQAKNKqqybOevvAeqxX95G\nBawtSf0IXZZ8p7nrNr+57zyxKxS3b74WoWYl9A3iwe9S2bc7BA7g8/kzpmJe\ngEAH7pVnrCQVLc+3IIGXeZktUTwkr3KLGH4CcJAC22mmhMnnKa5otNbqARkU\nfNpQyMXAugRw68549viFjvXS/4H81I5qKCEZD0MQDSKPDui0UC1sA5h3D5Hz\nxsF/pcaFeWWKYvHINXAi9nPDjR+ixYl7G9kiTBibpzYwcdfrvwg5qovXW0IJ\nUGSzI1U1D4Yrm5OnZWMWczk2pLmLBfJWEexXx2rEYi7wDuWHrVvGGm0pOdLT\n8mRsanCXAPBvyELVjzNJRGoI/9Sz/RyoWeoxg1ELVbBFpkeAE0ICey8LJDRN\n2RQq9RQvG0+cQiHb3gzgbke2PEVV4lp4R4x09zJ63yssO5y4tykoq9hJKx7w\n3JSr0pxtOJclI9DDFZ0/E6W5hAEgupvtg3C1C/8HJFI8LVpbj1qBoapItRgN\nhFsn7xHFuEAIDnfs6g/JPFCnC4Hzp72+6vDjADxNaeCtNMo8xp8fAnbUMiEb\nH6Ahob2o/kR4MGOnoYnNvC76mEO8vNpkyDHCw6wgbHV/n6WhyzeM4wsqxllq\n2MyYSZkejnB85jURainf9zM7FYDYfalLOoB+8S1VEwZ4NPd/6bPDLiR9YiQZ\npHmO\r\n=Bg8q\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCk0xE1VXwwZxIjOvrVUVPq1JaMayf+L8PXhLdAWzctlAIgAOB4GaOe/aabZWQ54GFaFSBlo0Ay+FGve0jR6m3L5iw="}]},"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"maintainers":[{"name":"drsteini-usgs","email":"drsteini@contractor.usgs.gov"},{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},{"name":"mbucknell-usgs","email":"mbucknell@usgs.gov"},{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_1.11.0_1617281356828_0.2754115163092905"},"_hasShrinkwrap":false},"1.12.0-snapshot.ed78d0d":{"name":"wdfn-viz","version":"1.12.0-snapshot.ed78d0d","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"sass --load-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","build:uswdsinit":"cp -r node_modules/uswds/dist/js/uswds-init.min.* dist","clean":"rm -rf dist && mkdir dist","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"jest --collectCoverage=true","test:debug":"node --inspect-brk node_modules/.bin/jest --runInBand","test:watch":"jest --watch","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://github.com/usgs/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://github.com/usgs/wdfn-viz/issues"},"homepage":"https://github.com/usgs/wdfn-viz","engines":{"node":">= 10"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.11.1"},"devDependencies":{"@rollup/plugin-buble":"^0.21.3","@rollup/plugin-commonjs":"^18.0.0","@rollup/plugin-node-resolve":"^11.2.1","autoprefixer":"^10.2.5","buble":"^0.20.0","buble-jest":"^1.0.1","eslint":"^7.23.0","eslint-plugin-jest":"^24.3.2","jest":"^26.6.3","live-server":"^1.2.1","nodemon":"^2.0.7","npm-run-all":"^4.1.5","nunjucks":"^3.2.3","nunjucks-cli":"^1.0.0","postcss":"^8.2.9","postcss-cli":"^8.3.1","postcss-csso":"^5.0.0","postcss-flexbugs-fixes":"^5.0.2","rollup":"^2.44.0","rollup-plugin-terser":"^7.0.2","sass":"^1.32.8","stylelint":"^13.12.0","stylelint-config-recommended-scss":"^4.2.0","stylelint-scss":"^3.19.0"},"gitHead":"ed78d0d9185c60550da70b9e58bdbda92e1e913e","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![Build Status](https://travis-ci.org/usgs/wdfn-viz.svg?branch=master)](https://travis-ci.org/usgs/wdfn-viz)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/6faaca8b97f34929b141c4444d919e4e)](https://www.codacy.com/app/usgs_wma_dev/wdfn-viz?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=usgs/wdfn-viz&amp;utm_campaign=Badge_Grade)\n\nProvides Sass stylesheets and images that can be used when creating web pages that need to\nmeet USGS visual identity standards. The stylesheets use USWDS (https://designsystem.digital.gov/)\nas the basis so all USWDS components are available.\n\n## Usage\n\nThe repo can be installed in an existing project by installing via npm.\n\n```bash\nnpm install wdfn-viz\n```\n\nTo install the latest development snapshot (containing the current state of the master branch):\n\n```bash\nnpm install wdfn-viz@snapshot\n```\n\nWe recommend building the stylesheets with Dart sass (npm install sass).\nThe main Sass stylesheet that should be imported into a web page's Sass file and is at /src/stylesheets/wdfnviz.scss.\nThis will also include the USWDS style sheets so a separate import is not required.  This directory should be \nspecified on the --load-path option along with the uswds/src/stylesheets when the site's Sass is built. When building \nthe style sheets the css should also be processed by postcss using the autoprefixer and postcss-csso using a postcss.config.js file:\n```javascript\nconst autoprefixerOptions = [\n    '> 2%',\n    'Last 2 versions',\n    'IE 11',\n    'not dead'\n];\n\nmodule.exports = ctx => ({\n    map: Object.assign({}, ctx.options.map, {inline: false}),\n    parser: ctx.options.parser,\n    plugins: {\n        autoprefixer: autoprefixerOptions,\n        'postcss-csso': {\n            forceMediaMerge: false\n        }\n    }\n});\n```\nYou may also want to include postcss-flexbugs-fixes plugin as is done for building wdfn-viz.\n\nBelow is an example of the process:\n```\n% sass --load-path node_modules/wdfn-viz/src/stylesheets --include-path node_modules/uswds/src/stylesheets src/styles.main.css dist/main.css\n% postcss dist/main.css  -o dist/main.css\n```\n\nPostcss generates internal sourcemaps by default. You may want to consider using the --map option to create external map files\nor if you want to minimize your css assets, you may want to disable entirely by using --no-map\n\nWhen building the assets, the images should be collected in a common directory and specified in the project's Sass\nfiles using the $theme-image-path variable. This should include the images in wdfn-viz/src/img that provide the USGS favicon and\nlogos. If using USWDS images those will also need to be collected. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nThe fonts should also be collected in a common directory and specified in the project's Sass files using the $theme-font-path\nvariable. Below are examples of commands that could be used to collect the image and font assets.\n```\n% mkdir -p dist/img && cp -r node_modules/uswds/src/img/* dist/img && cp -r node_modules/wdfn-viz/src/img/* dist/img\n% mkdir -p dist/fonts && cp -r node_modules/uswds/src/fonts/* dist/fonts\n```\n\nThe javascript should be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined. In order to use, a loading function should be defined which will be executed \nwhen the page loads. Below is a simple example:\n```javascript\nimport wdfnviz from 'wdfn-viz';\n\nconst load = function () {\n    null;  Add code that should get executed when the page is loaded\n}\n\nwdfnviz.main(load);\n\n\n```\nThe javascript bundle that is created (which will contain your project specific javascript as well as the USWDS javascript) should be loaded inside the <body> tag. We recommend that this is done as the first tag in the body. The async attribute can be used.\n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos. This includes the script for ```uswds-init.min.js``` which should be retreived before the css files are loaded as is done in the example header.html.\n\n## Using without building stylesheets and javascript bundling\nYou can use the prebuilt stylesheet and javascript bundle if desired. This can be done by including the following in your markup in the <head> section.\n```\n<link rel=\"stylesheet\" href=\"wdfnviz.css\">\n<script src=\"wdfnviz.js\"></script>\n```\n\n## Publishing to npm\n\nTravisCI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when commits are made to the master branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://github.com/usgs/wdfn-viz/blob/master/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit.\n","readmeFilename":"README.md","_id":"wdfn-viz@1.12.0-snapshot.ed78d0d","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-irG7Kmejkn2q/sBCnusZ9yv+/o4YDorLKR5XqDpTwz3y7hsSlM5w6z9cpOsff+EZk16t7iMihdn8b/xNL+hSCQ==","shasum":"14562ff12f7cc8dcf8269dae8d3a6e9e971f52b1","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-1.12.0-snapshot.ed78d0d.tgz","fileCount":2396,"unpackedSize":8679180,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgZcKcCRA9TVsSAnZWagAAhcAP/0RJn8j726d/BdOZXb4j\nGDE83xT6HeEDwMa0q6gFgFkOAUQxtCBg5Rqw9w7Hsrc+6jmIWe02lUL7HPuL\nW+65rjwqNq0c4Zcpi8ARe7ZCesjGcYGhOrxvwPkZebjlEORuIb6Sorhx4PkK\nQIaVP+72FUpZOLDKqlyYIY0UhLFACORRrQRVeA0wcGxxBvNNbiqq0QakdwHA\nPd5TGu1hJFvudG1LR4y615j88cCA5o0BbpEII92crriT7bbu0lOoiDXnp1We\n/mo3Lr0lmiTYoPpK9qrZk0y8ReJdWM0RA5i1QvJNPSHgQBsslF8MtV7875bC\nKMDOLkeoPMpP3ZwVRDKF8hkmuaYIvXCAMfoXaq4VvMkwnfSqIc190QydbHoi\n4532shJow4jUrXVWBt1PjFusX/+WUPxJQwGT40ok2Dg3CtIbDnXfCgl9+f6R\nZeRx5evTvTPhhBqG7MuDBq7b1bKMMkXfzwc3mZWkiV2BI7UDAUxD1mPfmzx2\nyxna6XFfmYuKC5Xl253w7/jt4xbQWIjdu4+NI5d7l0hpwjAP/erOTg19daXT\n3xps7hiQI5eE2ocAX6JgYdb9k2mt2WhiOuWEh26FQpsPMEIrTwb/7b36ZfCw\ni56NCggWG9E5zVJzvq3Un8HC9TcWzEgozRCPKhgbbWBnu5fei2zfpLucfDGU\njIpQ\r\n=JFsI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC6XKXrYgJN2bRU4/HJHKqGyDlrIhDhujWKcfS074c+rwIhANpQrsiUznN0ZOanfHWf0GDgIHkiYyLxnWy2pLT8cdAD"}]},"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"maintainers":[{"name":"drsteini-usgs","email":"drsteini@contractor.usgs.gov"},{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},{"name":"mbucknell-usgs","email":"mbucknell@usgs.gov"},{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_1.12.0-snapshot.ed78d0d_1617281691639_0.45599012076182177"},"_hasShrinkwrap":false},"1.12.0-snapshot.4195f34":{"name":"wdfn-viz","version":"1.12.0-snapshot.4195f34","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"sass --load-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","build:uswdsinit":"cp -r node_modules/uswds/dist/js/uswds-init.min.* dist","clean":"rm -rf dist && mkdir dist","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"jest --collectCoverage=true","test:debug":"node --inspect-brk node_modules/.bin/jest --runInBand","test:watch":"jest --watch","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://github.com/usgs/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://github.com/usgs/wdfn-viz/issues"},"homepage":"https://github.com/usgs/wdfn-viz","engines":{"node":">= 10"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.11.1"},"devDependencies":{"@rollup/plugin-buble":"^0.21.3","@rollup/plugin-commonjs":"^18.0.0","@rollup/plugin-node-resolve":"^11.2.1","autoprefixer":"^10.2.5","buble":"^0.20.0","buble-jest":"^1.0.1","eslint":"^7.23.0","eslint-plugin-jest":"^24.3.2","jest":"^26.6.3","live-server":"^1.2.1","nodemon":"^2.0.7","npm-run-all":"^4.1.5","nunjucks":"^3.2.3","nunjucks-cli":"^1.0.0","postcss":"^8.2.9","postcss-cli":"^8.3.1","postcss-csso":"^5.0.0","postcss-flexbugs-fixes":"^5.0.2","rollup":"^2.44.0","rollup-plugin-terser":"^7.0.2","sass":"^1.32.8","stylelint":"^13.12.0","stylelint-config-recommended-scss":"^4.2.0","stylelint-scss":"^3.19.0"},"gitHead":"4195f349f6a36a24fd6ce5d0baa65c7a09c01bcd","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![Build Status](https://travis-ci.org/usgs/wdfn-viz.svg?branch=master)](https://travis-ci.org/usgs/wdfn-viz)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/6faaca8b97f34929b141c4444d919e4e)](https://www.codacy.com/app/usgs_wma_dev/wdfn-viz?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=usgs/wdfn-viz&amp;utm_campaign=Badge_Grade)\n\nProvides Sass stylesheets and images that can be used when creating web pages that need to\nmeet USGS visual identity standards. The stylesheets use USWDS (https://designsystem.digital.gov/)\nas the basis so all USWDS components are available.\n\n## Usage\n\nThe repo can be installed in an existing project by installing via npm.\n\n```bash\nnpm install wdfn-viz\n```\n\nTo install the latest development snapshot (containing the current state of the master branch):\n\n```bash\nnpm install wdfn-viz@snapshot\n```\n\nWe recommend building the stylesheets with Dart sass (npm install sass).\nThe main Sass stylesheet that should be imported into a web page's Sass file and is at /src/stylesheets/wdfnviz.scss.\nThis will also include the USWDS style sheets so a separate import is not required.  This directory should be \nspecified on the --load-path option along with the uswds/src/stylesheets when the site's Sass is built. When building \nthe style sheets the css should also be processed by postcss using the autoprefixer and postcss-csso using a postcss.config.js file:\n```javascript\nconst autoprefixerOptions = [\n    '> 2%',\n    'Last 2 versions',\n    'IE 11',\n    'not dead'\n];\n\nmodule.exports = ctx => ({\n    map: Object.assign({}, ctx.options.map, {inline: false}),\n    parser: ctx.options.parser,\n    plugins: {\n        autoprefixer: autoprefixerOptions,\n        'postcss-csso': {\n            forceMediaMerge: false\n        }\n    }\n});\n```\nYou may also want to include postcss-flexbugs-fixes plugin as is done for building wdfn-viz.\n\nBelow is an example of the process:\n```\n% sass --load-path node_modules/wdfn-viz/src/stylesheets --include-path node_modules/uswds/src/stylesheets src/styles.main.css dist/main.css\n% postcss dist/main.css  -o dist/main.css\n```\n\nPostcss generates internal sourcemaps by default. You may want to consider using the --map option to create external map files\nor if you want to minimize your css assets, you may want to disable entirely by using --no-map\n\nWhen building the assets, the images should be collected in a common directory and specified in the project's Sass\nfiles using the $theme-image-path variable. This should include the images in wdfn-viz/src/img that provide the USGS favicon and\nlogos. If using USWDS images those will also need to be collected. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nThe fonts should also be collected in a common directory and specified in the project's Sass files using the $theme-font-path\nvariable. Below are examples of commands that could be used to collect the image and font assets.\n```\n% mkdir -p dist/img && cp -r node_modules/uswds/src/img/* dist/img && cp -r node_modules/wdfn-viz/src/img/* dist/img\n% mkdir -p dist/fonts && cp -r node_modules/uswds/src/fonts/* dist/fonts\n```\n\nThe javascript should be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined. In order to use, a loading function should be defined which will be executed \nwhen the page loads. Below is a simple example:\n```javascript\nimport wdfnviz from 'wdfn-viz';\n\nconst load = function () {\n    null;  Add code that should get executed when the page is loaded\n}\n\nwdfnviz.main(load);\n\n\n```\nThe javascript bundle that is created (which will contain your project specific javascript as well as the USWDS javascript) should be loaded inside the <body> tag. We recommend that this is done as the first tag in the body. The async attribute can be used.\n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos. This includes the script for ```uswds-init.min.js``` which should be retreived before the css files are loaded as is done in the example header.html.\n\n## Using without building stylesheets and javascript bundling\nYou can use the prebuilt stylesheet and javascript bundle if desired. This can be done by including the following in your markup in the <head> section.\n```\n<link rel=\"stylesheet\" href=\"wdfnviz.css\">\n<script src=\"wdfnviz.js\"></script>\n```\n\n## Publishing to npm\n\nTravisCI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when commits are made to the master branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://github.com/usgs/wdfn-viz/blob/master/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit.\n","readmeFilename":"README.md","_id":"wdfn-viz@1.12.0-snapshot.4195f34","_nodeVersion":"14.17.0","_npmVersion":"6.14.13","dist":{"integrity":"sha512-/I4MkyAUaXP/sb6QJstetL0nmuCnrhgcgIhh2K4YDa7FEUkaFYZNFqr6zrBTSXuPXnZHFdtObaoV2ynCGIhUEg==","shasum":"662465bf67e58ee47def605aa2ff69feaee3aaff","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-1.12.0-snapshot.4195f34.tgz","fileCount":2396,"unpackedSize":8679180,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgvpAiCRA9TVsSAnZWagAAhZEP/0rjDtrGKGFbRy4TWUzV\nSMhQxU7xE4SOBIbbAjxS6+4D3PNkBZIHmXUqz29y/nAC9d7p5WrojeFNY8IG\n+UUGQTY7o9aP8W9pRqmL8lJFItJWzihV+Hfu14F+BRo37vlR2gCZcdGPnvLM\nbmunwYK8DbEwpbfThqXKanRBOTtJzqZXIKnite5oB3ZxvLWBl1TabrZ8I3Al\n93NhgNNNJX3BU2Hr4lp3YAJUAnOQ86HQYHUGKfLtC6sPs3FdkFWLueVtOgMT\nG8D0iFCuGLDx8aYckuHJR5GEHxHO2Us0AYG1s3R3QIW5Ran1G4m3NQtdjm5I\nMbHsnjASINT1pERTA1ALlo+2EfFpQZ8vgI+iOWYDd5v+dICRo8gwBx/Qaa+r\ndv1xwPBHsG29e20PNdWqAzkx6VzC8zN1rLV59iGEgRn4RU6UOlfWLWlvi1w5\nWIk/BOR5bpioPxTLqNBSwoLOEG6WTCjK+bpe4RP5AQwiYkXdUd9xh0svKZVO\nCi4UYOpjEJoVoIQ2mN0wxkyBquDIQfWusBXz5umqjNwgrSFwZLmi8mk6v+OI\nghSTkVzN4cX9ppzCNe4mwEV4POlXKr/NxRnAKYNZCp/aSEWrXsGUuQCgVU4i\n1JXRVVUr4z/MKLUCijR5Bzmo1/MgaKcGn4kaLtNE6MyekS63wOww7NAoWbT+\nE0rO\r\n=AvWJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCCORS9HCflEexStKU7f1PPb2S+kxQxCMLVEzPj54xA2AIgV7eenatiCzGjv0yVxjjqwoA3IckZ35bE6muCb76YKZA="}]},"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"maintainers":[{"name":"drsteini-usgs","email":"drsteini@contractor.usgs.gov"},{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},{"name":"mbucknell-usgs","email":"mbucknell@usgs.gov"},{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_1.12.0-snapshot.4195f34_1623101474036_0.6903651672235378"},"_hasShrinkwrap":false},"1.12.0-snapshot.a41ef84":{"name":"wdfn-viz","version":"1.12.0-snapshot.a41ef84","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"sass --load-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","build:uswdsinit":"cp -r node_modules/uswds/dist/js/uswds-init.min.* dist","clean":"rm -rf dist && mkdir dist","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"jest --collectCoverage=true","test:debug":"node --inspect-brk node_modules/.bin/jest --runInBand","test:watch":"jest --watch","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://github.com/usgs/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://github.com/usgs/wdfn-viz/issues"},"homepage":"https://github.com/usgs/wdfn-viz","engines":{"node":">= 10"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.11.1"},"devDependencies":{"@rollup/plugin-buble":"^0.21.3","@rollup/plugin-commonjs":"^18.0.0","@rollup/plugin-node-resolve":"^11.2.1","autoprefixer":"^10.2.5","buble":"^0.20.0","buble-jest":"^1.0.1","eslint":"^7.23.0","eslint-plugin-jest":"^24.3.2","jest":"^26.6.3","live-server":"^1.2.1","nodemon":"^2.0.7","npm-run-all":"^4.1.5","nunjucks":"^3.2.3","nunjucks-cli":"^1.0.0","postcss":"^8.2.9","postcss-cli":"^8.3.1","postcss-csso":"^5.0.0","postcss-flexbugs-fixes":"^5.0.2","rollup":"^2.44.0","rollup-plugin-terser":"^7.0.2","sass":"^1.32.8","stylelint":"^13.12.0","stylelint-config-recommended-scss":"^4.2.0","stylelint-scss":"^3.19.0"},"gitHead":"a41ef84da4818a7f9fd74a1b7bfb01f357785cb8","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![Build Status](https://travis-ci.org/usgs/wdfn-viz.svg?branch=master)](https://travis-ci.org/usgs/wdfn-viz)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/6faaca8b97f34929b141c4444d919e4e)](https://www.codacy.com/app/usgs_wma_dev/wdfn-viz?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=usgs/wdfn-viz&amp;utm_campaign=Badge_Grade)\n\nProvides Sass stylesheets and images that can be used when creating web pages that need to\nmeet USGS visual identity standards. The stylesheets use USWDS (https://designsystem.digital.gov/)\nas the basis so all USWDS components are available.\n\n## Usage\n\nThe repo can be installed in an existing project by installing via npm.\n\n```bash\nnpm install wdfn-viz\n```\n\nTo install the latest development snapshot (containing the current state of the master branch):\n\n```bash\nnpm install wdfn-viz@snapshot\n```\n\nWe recommend building the stylesheets with Dart sass (npm install sass).\nThe main Sass stylesheet that should be imported into a web page's Sass file and is at /src/stylesheets/wdfnviz.scss.\nThis will also include the USWDS style sheets so a separate import is not required.  This directory should be \nspecified on the --load-path option along with the uswds/src/stylesheets when the site's Sass is built. When building \nthe style sheets the css should also be processed by postcss using the autoprefixer and postcss-csso using a postcss.config.js file:\n```javascript\nconst autoprefixerOptions = [\n    '> 2%',\n    'Last 2 versions',\n    'IE 11',\n    'not dead'\n];\n\nmodule.exports = ctx => ({\n    map: Object.assign({}, ctx.options.map, {inline: false}),\n    parser: ctx.options.parser,\n    plugins: {\n        autoprefixer: autoprefixerOptions,\n        'postcss-csso': {\n            forceMediaMerge: false\n        }\n    }\n});\n```\nYou may also want to include postcss-flexbugs-fixes plugin as is done for building wdfn-viz.\n\nBelow is an example of the process:\n```\n% sass --load-path node_modules/wdfn-viz/src/stylesheets --include-path node_modules/uswds/src/stylesheets src/styles.main.css dist/main.css\n% postcss dist/main.css  -o dist/main.css\n```\n\nPostcss generates internal sourcemaps by default. You may want to consider using the --map option to create external map files\nor if you want to minimize your css assets, you may want to disable entirely by using --no-map\n\nWhen building the assets, the images should be collected in a common directory and specified in the project's Sass\nfiles using the $theme-image-path variable. This should include the images in wdfn-viz/src/img that provide the USGS favicon and\nlogos. If using USWDS images those will also need to be collected. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nThe fonts should also be collected in a common directory and specified in the project's Sass files using the $theme-font-path\nvariable. Below are examples of commands that could be used to collect the image and font assets.\n```\n% mkdir -p dist/img && cp -r node_modules/uswds/src/img/* dist/img && cp -r node_modules/wdfn-viz/src/img/* dist/img\n% mkdir -p dist/fonts && cp -r node_modules/uswds/src/fonts/* dist/fonts\n```\n\nThe javascript should be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined. In order to use, a loading function should be defined which will be executed \nwhen the page loads. Below is a simple example:\n```javascript\nimport wdfnviz from 'wdfn-viz';\n\nconst load = function () {\n    null;  Add code that should get executed when the page is loaded\n}\n\nwdfnviz.main(load);\n\n\n```\nThe javascript bundle that is created (which will contain your project specific javascript as well as the USWDS javascript) should be loaded inside the <body> tag. We recommend that this is done as the first tag in the body. The async attribute can be used.\n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos. This includes the script for ```uswds-init.min.js``` which should be retreived before the css files are loaded as is done in the example header.html.\n\n## Using without building stylesheets and javascript bundling\nYou can use the prebuilt stylesheet and javascript bundle if desired. This can be done by including the following in your markup in the <head> section.\n```\n<link rel=\"stylesheet\" href=\"wdfnviz.css\">\n<script src=\"wdfnviz.js\"></script>\n```\n\n## Publishing to npm\n\nTravisCI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when commits are made to the master branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://github.com/usgs/wdfn-viz/blob/master/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit.\n","readmeFilename":"README.md","_id":"wdfn-viz@1.12.0-snapshot.a41ef84","_nodeVersion":"14.17.0","_npmVersion":"6.14.13","dist":{"integrity":"sha512-sXjNxxODRk6DgObWKHDyVE6E4C27dvRfH65kYhVvWLxso/5SWC8gEWzBjFq+DGOTXliN7DCGwaV76VqBLXGWCA==","shasum":"9dad4e95716867d49e197e0c43c7b7e2d4b07248","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-1.12.0-snapshot.a41ef84.tgz","fileCount":2396,"unpackedSize":8679180,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgvpA+CRA9TVsSAnZWagAAZgIP/juWz6oNNHjjp2ETtc9A\nkH6JWcWa6Q0murlMBVJSU6d2boHep1PSTkxcVWf61WtPkW8da8FWhLrPw4TO\n+uBUYnRLvarS7h0fJ+k6GhKI7st75BRZ6jHmYOOFzk5F+G/MjfCL7AWEGsOa\nXqDJWTKdkDViAYuAzuEJyjZq0oBhGri0jncFpSF90tvpOrgRIdJNU9FehG1E\naG/ImtFiaUtZ1tDgSwqifIufITirRz+f4D4HQ33jOmICJ9ldc6TRA0kC0tez\ntooQC10UAA7e0N9tQoeYKOjacKdY2cWbwfzS93Yrqd3ylmVuEISlbWHXkWIh\niF5zBi0/zx+Wk8RXnTkx1rSHsd8nATo3f0b4JXlrde3XwuQpHtBi1XzB9cC4\n9anORjcrpsMGgD4P2jXyOjc5sTW/U2YvkUBtA8Z3HPnBc3l3WOEov45jg6VA\nIr79lUFlACyp2JX5eXyIkFO0u+X3tjC/ZshkymxL9z+l9zYFMmW7D+B6w0Wk\nA37j029Jlr9VWwdZfC6eWeaY/G9BC5Ns7ZhKsF9SzlwnIK7H7WAhB+9KGwYW\nuBjDv/OdNdE3XWEUx2ZUZEH5ZftpS3IKzmQtCa+hYoATn/T7wzt5xRLek5yL\naN9/pys8zvwN0cAZJSYSTVFP599eVj5SVWkug/kmEwYVtfFwY0olShyl0WXJ\nyyjN\r\n=Ayqm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDQKPPZRpKtnGLsncsKm3Enx+PKLi/DoxAVqT6lzAwEtAiAMGDXlSlMW+C+yIax9GshnH0kvx/kRVFU0+9OxynHAog=="}]},"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"maintainers":[{"name":"drsteini-usgs","email":"drsteini@contractor.usgs.gov"},{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},{"name":"mbucknell-usgs","email":"mbucknell@usgs.gov"},{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_1.12.0-snapshot.a41ef84_1623101501796_0.6463994137803033"},"_hasShrinkwrap":false},"1.12.0-snapshot.a61938e":{"name":"wdfn-viz","version":"1.12.0-snapshot.a61938e","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"sass --load-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","build:uswdsinit":"cp -r node_modules/uswds/dist/js/uswds-init.min.* dist","clean":"rm -rf dist && mkdir dist","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"jest --collectCoverage=true","test:debug":"node --inspect-brk node_modules/.bin/jest --runInBand","test:watch":"jest --watch","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://github.com/usgs/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://github.com/usgs/wdfn-viz/issues"},"homepage":"https://github.com/usgs/wdfn-viz","engines":{"node":">= 10"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.11.1"},"devDependencies":{"@rollup/plugin-buble":"^0.21.3","@rollup/plugin-commonjs":"^18.0.0","@rollup/plugin-node-resolve":"^11.2.1","autoprefixer":"^10.2.5","buble":"^0.20.0","buble-jest":"^1.0.1","eslint":"^7.23.0","eslint-plugin-jest":"^24.3.2","jest":"^26.6.3","live-server":"^1.2.1","nodemon":"^2.0.7","npm-run-all":"^4.1.5","nunjucks":"^3.2.3","nunjucks-cli":"^1.0.0","postcss":"^8.2.9","postcss-cli":"^8.3.1","postcss-csso":"^5.0.0","postcss-flexbugs-fixes":"^5.0.2","rollup":"^2.44.0","rollup-plugin-terser":"^7.0.2","sass":"^1.32.8","stylelint":"^13.12.0","stylelint-config-recommended-scss":"^4.2.0","stylelint-scss":"^3.19.0"},"gitHead":"a61938efb162688ee69b1eda940cb67a086c44b0","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![Build Status](https://travis-ci.org/usgs/wdfn-viz.svg?branch=master)](https://travis-ci.org/usgs/wdfn-viz)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/6faaca8b97f34929b141c4444d919e4e)](https://www.codacy.com/app/usgs_wma_dev/wdfn-viz?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=usgs/wdfn-viz&amp;utm_campaign=Badge_Grade)\n\nProvides Sass stylesheets and images that can be used when creating web pages that need to\nmeet USGS visual identity standards. The stylesheets use USWDS (https://designsystem.digital.gov/)\nas the basis so all USWDS components are available.\n\n## Usage\n\nThe repo can be installed in an existing project by installing via npm.\n\n```bash\nnpm install wdfn-viz\n```\n\nTo install the latest development snapshot (containing the current state of the master branch):\n\n```bash\nnpm install wdfn-viz@snapshot\n```\n\nWe recommend building the stylesheets with Dart sass (npm install sass).\nThe main Sass stylesheet that should be imported into a web page's Sass file and is at /src/stylesheets/wdfnviz.scss.\nThis will also include the USWDS style sheets so a separate import is not required.  This directory should be \nspecified on the --load-path option along with the uswds/src/stylesheets when the site's Sass is built. When building \nthe style sheets the css should also be processed by postcss using the autoprefixer and postcss-csso using a postcss.config.js file:\n```javascript\nconst autoprefixerOptions = [\n    '> 2%',\n    'Last 2 versions',\n    'IE 11',\n    'not dead'\n];\n\nmodule.exports = ctx => ({\n    map: Object.assign({}, ctx.options.map, {inline: false}),\n    parser: ctx.options.parser,\n    plugins: {\n        autoprefixer: autoprefixerOptions,\n        'postcss-csso': {\n            forceMediaMerge: false\n        }\n    }\n});\n```\nYou may also want to include postcss-flexbugs-fixes plugin as is done for building wdfn-viz.\n\nBelow is an example of the process:\n```\n% sass --load-path node_modules/wdfn-viz/src/stylesheets --include-path node_modules/uswds/src/stylesheets src/styles.main.css dist/main.css\n% postcss dist/main.css  -o dist/main.css\n```\n\nPostcss generates internal sourcemaps by default. You may want to consider using the --map option to create external map files\nor if you want to minimize your css assets, you may want to disable entirely by using --no-map\n\nWhen building the assets, the images should be collected in a common directory and specified in the project's Sass\nfiles using the $theme-image-path variable. This should include the images in wdfn-viz/src/img that provide the USGS favicon and\nlogos. If using USWDS images those will also need to be collected. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nThe fonts should also be collected in a common directory and specified in the project's Sass files using the $theme-font-path\nvariable. Below are examples of commands that could be used to collect the image and font assets.\n```\n% mkdir -p dist/img && cp -r node_modules/uswds/src/img/* dist/img && cp -r node_modules/wdfn-viz/src/img/* dist/img\n% mkdir -p dist/fonts && cp -r node_modules/uswds/src/fonts/* dist/fonts\n```\n\nThe javascript should be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined. In order to use, a loading function should be defined which will be executed \nwhen the page loads. Below is a simple example:\n```javascript\nimport wdfnviz from 'wdfn-viz';\n\nconst load = function () {\n    null;  Add code that should get executed when the page is loaded\n}\n\nwdfnviz.main(load);\n\n\n```\nThe javascript bundle that is created (which will contain your project specific javascript as well as the USWDS javascript) should be loaded inside the <body> tag. We recommend that this is done as the first tag in the body. The async attribute can be used.\n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos. This includes the script for ```uswds-init.min.js``` which should be retreived before the css files are loaded as is done in the example header.html.\n\n## Using without building stylesheets and javascript bundling\nYou can use the prebuilt stylesheet and javascript bundle if desired. This can be done by including the following in your markup in the <head> section.\n```\n<link rel=\"stylesheet\" href=\"wdfnviz.css\">\n<script src=\"wdfnviz.js\"></script>\n```\n\n## Publishing to npm\n\nTravisCI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when commits are made to the master branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://github.com/usgs/wdfn-viz/blob/master/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit.\n","readmeFilename":"README.md","_id":"wdfn-viz@1.12.0-snapshot.a61938e","_nodeVersion":"14.17.0","_npmVersion":"6.14.13","dist":{"integrity":"sha512-95bPk82MNcSoXBhDEHB3xAzx+iGX0NbXtqX36ySqz8cFYGNg11rcmkjwEOl/NKitQpSKxMd5bvKnlffLydo+uQ==","shasum":"d033782eb86ff513eb34f6e5a1dc0b5f8c84dc57","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-1.12.0-snapshot.a61938e.tgz","fileCount":2396,"unpackedSize":8679180,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgvpCICRA9TVsSAnZWagAAJ5kP/Rp/I3IvTSre3CaJz3At\nI2bTV7Vpn/mAgNFTIR5s/s4ABw+BOi84K8CPzkPwbtjbciUd8NXkeRr9ahi1\nQvcIEaCnieCqM/uoE3K2m1rvVdcQ7zOfYIBw+SdjjXYvcja8ggZbfh/QLOBy\nvj7rLYQMECQ34CFkR67wm1T8EdA7IIUtg21WmrrUEWWtia6yv6I2/AOpYPZq\nO827A/i1rFL9GmUpQZNDPEghwUU0rFBUu12F72i1X1yNOvCNGoEqVsdfJNb1\nSl1wnJ0sf6zNoWCvHJp5DhpP4SRAhcdu2bgBPDXNrVXmgZt5eh0p8l3T9Nh0\nSiVGeg5TEQQPVWc2Z0UPwTQprrvqam0RlPpp+DVWQIbxCo8nWauFKMWzh0OI\n/aBgRZ0xM50ISwdIMUAcaHFislDXdmNsQAc2C28+2AF3dZ+NnJJYfLII0e4o\niZb4DAyd216Sw3wA32BerZDH4QolQrvYqxV5RKkI6Dq4WkXKFmjbD2l8GFH9\nq6Wyywz7mLv0kwaks/q33AEt/kIwZzhwpcYwbTc8jzqWwtYDYA4YzwHHSnLv\n5KeQ350UhIrEWegG10yHJIfU3udLtJhfEjA+QoRLSCmy8y/Qv71d7QRFteGc\n7mVTRcgsltHXeSI0aLk89XD+H2f+sBl5RTJO82GShTw7Wh86RjZ2pznsUHqZ\nOADI\r\n=ySrx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID3eg6HCsbyabrK3Ajw6eSJ61Z37SWsY2vMR5O3Dk6DYAiEApKdW5sPQBuIkFwc02tu2FLMm0W6amCwN7610DpCn/EU="}]},"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"maintainers":[{"name":"drsteini-usgs","email":"drsteini@contractor.usgs.gov"},{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},{"name":"mbucknell-usgs","email":"mbucknell@usgs.gov"},{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_1.12.0-snapshot.a61938e_1623101575677_0.5693903788239714"},"_hasShrinkwrap":false},"1.12.0-snapshot.de1f7d1":{"name":"wdfn-viz","version":"1.12.0-snapshot.de1f7d1","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"sass --load-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","build:uswdsinit":"cp -r node_modules/uswds/dist/js/uswds-init.min.* dist","clean":"rm -rf dist && mkdir dist","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"jest --collectCoverage=true","test:debug":"node --inspect-brk node_modules/.bin/jest --runInBand","test:watch":"jest --watch","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://github.com/usgs/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://github.com/usgs/wdfn-viz/issues"},"homepage":"https://github.com/usgs/wdfn-viz","engines":{"node":">= 10"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.11.1"},"devDependencies":{"@rollup/plugin-buble":"^0.21.3","@rollup/plugin-commonjs":"^18.0.0","@rollup/plugin-node-resolve":"^11.2.1","autoprefixer":"^10.2.5","buble":"^0.20.0","buble-jest":"^1.0.1","eslint":"^7.23.0","eslint-plugin-jest":"^24.3.2","jest":"^26.6.3","live-server":"^1.2.1","nodemon":"^2.0.7","npm-run-all":"^4.1.5","nunjucks":"^3.2.3","nunjucks-cli":"^1.0.0","postcss":"^8.2.9","postcss-cli":"^8.3.1","postcss-csso":"^5.0.0","postcss-flexbugs-fixes":"^5.0.2","rollup":"^2.44.0","rollup-plugin-terser":"^7.0.2","sass":"^1.32.8","stylelint":"^13.12.0","stylelint-config-recommended-scss":"^4.2.0","stylelint-scss":"^3.19.0"},"gitHead":"de1f7d111a320683d9246e7b6c76f29a2b809475","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![Build Status](https://travis-ci.org/usgs/wdfn-viz.svg?branch=master)](https://travis-ci.org/usgs/wdfn-viz)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/6faaca8b97f34929b141c4444d919e4e)](https://www.codacy.com/app/usgs_wma_dev/wdfn-viz?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=usgs/wdfn-viz&amp;utm_campaign=Badge_Grade)\n\nProvides Sass stylesheets and images that can be used when creating web pages that need to\nmeet USGS visual identity standards. The stylesheets use USWDS (https://designsystem.digital.gov/)\nas the basis so all USWDS components are available.\n\n## Usage\n\nThe repo can be installed in an existing project by installing via npm.\n\n```bash\nnpm install wdfn-viz\n```\n\nTo install the latest development snapshot (containing the current state of the master branch):\n\n```bash\nnpm install wdfn-viz@snapshot\n```\n\nWe recommend building the stylesheets with Dart sass (npm install sass).\nThe main Sass stylesheet that should be imported into a web page's Sass file and is at /src/stylesheets/wdfnviz.scss.\nThis will also include the USWDS style sheets so a separate import is not required.  This directory should be \nspecified on the --load-path option along with the uswds/src/stylesheets when the site's Sass is built. When building \nthe style sheets the css should also be processed by postcss using the autoprefixer and postcss-csso using a postcss.config.js file:\n```javascript\nconst autoprefixerOptions = [\n    '> 2%',\n    'Last 2 versions',\n    'IE 11',\n    'not dead'\n];\n\nmodule.exports = ctx => ({\n    map: Object.assign({}, ctx.options.map, {inline: false}),\n    parser: ctx.options.parser,\n    plugins: {\n        autoprefixer: autoprefixerOptions,\n        'postcss-csso': {\n            forceMediaMerge: false\n        }\n    }\n});\n```\nYou may also want to include postcss-flexbugs-fixes plugin as is done for building wdfn-viz.\n\nBelow is an example of the process:\n```\n% sass --load-path node_modules/wdfn-viz/src/stylesheets --include-path node_modules/uswds/src/stylesheets src/styles.main.css dist/main.css\n% postcss dist/main.css  -o dist/main.css\n```\n\nPostcss generates internal sourcemaps by default. You may want to consider using the --map option to create external map files\nor if you want to minimize your css assets, you may want to disable entirely by using --no-map\n\nWhen building the assets, the images should be collected in a common directory and specified in the project's Sass\nfiles using the $theme-image-path variable. This should include the images in wdfn-viz/src/img that provide the USGS favicon and\nlogos. If using USWDS images those will also need to be collected. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nThe fonts should also be collected in a common directory and specified in the project's Sass files using the $theme-font-path\nvariable. Below are examples of commands that could be used to collect the image and font assets.\n```\n% mkdir -p dist/img && cp -r node_modules/uswds/src/img/* dist/img && cp -r node_modules/wdfn-viz/src/img/* dist/img\n% mkdir -p dist/fonts && cp -r node_modules/uswds/src/fonts/* dist/fonts\n```\n\nThe javascript should be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined. In order to use, a loading function should be defined which will be executed \nwhen the page loads. Below is a simple example:\n```javascript\nimport wdfnviz from 'wdfn-viz';\n\nconst load = function () {\n    null;  Add code that should get executed when the page is loaded\n}\n\nwdfnviz.main(load);\n\n\n```\nThe javascript bundle that is created (which will contain your project specific javascript as well as the USWDS javascript) should be loaded inside the <body> tag. We recommend that this is done as the first tag in the body. The async attribute can be used.\n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos. This includes the script for ```uswds-init.min.js``` which should be retreived before the css files are loaded as is done in the example header.html.\n\n## Using without building stylesheets and javascript bundling\nYou can use the prebuilt stylesheet and javascript bundle if desired. This can be done by including the following in your markup in the <head> section.\n```\n<link rel=\"stylesheet\" href=\"wdfnviz.css\">\n<script src=\"wdfnviz.js\"></script>\n```\n\n## Publishing to npm\n\nTravisCI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when commits are made to the master branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://github.com/usgs/wdfn-viz/blob/master/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit.\n","readmeFilename":"README.md","_id":"wdfn-viz@1.12.0-snapshot.de1f7d1","_nodeVersion":"14.17.0","_npmVersion":"6.14.13","dist":{"integrity":"sha512-MYj1L4u/UJ6f5lBNFkpdsNlSb5CreDlZuph/D2ay7E5dQudniK/ohWB/WTLp1BMCii3nV+zd3eZmNNvXfL54EQ==","shasum":"2c94042447be57213376a2ff2530f16fd8f1ad54","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-1.12.0-snapshot.de1f7d1.tgz","fileCount":2396,"unpackedSize":8676874,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgvpCrCRA9TVsSAnZWagAA/3UP/iPQiPbHrIgyqMPq6zLP\nSJxOr9XRHomEj7oluyKAREkeIpmzjX/EeoietZcDkBPAEJfpUshzvkNPR/PB\nvgs86EkP2tpismP7X1uFccFI1MfJpS4PjqPln3WfIJid3wcOloriBfXli4p7\n/w6plyXzaCYo+6+HEKZBdaO+a5rPyLoTZfUPl/w55J0qmuEPcIl9COMHQPLZ\n8y7XQg2d524lReafMg9UvXTtGIYROx4QMRtFfCsmgmSaR9pg0yTVaf+1Fl5K\nQVnHcZyQCzcdrAhWZ7b8LkG/gZVQ+gAA/j6AZ/WcxkrsjCivdUw6w9BUuT53\nVPLER0B/fNlaabWNRRA+tSyISK8fgV1p0+bBG8baUZ3uWqxftVHxaycbLCKc\nTuSY0x7eWf+vDMhI7+ijkwFcvHqzhP4QUxas0bMmN4JsaLrmfKMRo+pfhQZ3\nP38R0jbUlFB1LG12cYNxG3yVtTlVA0HcAFj6Zqv1FEn0+CKIB4AbWab0AY+Q\nJEPiAuJRurjLu4W3bYkk89FSlbaKyjIzy2/ZDs1Nv+QGLb9sM7lz6pnbv5g2\np9p/3SItlHDYR/qFhUStTCCH2OYDAU55yB2y+dabRJb3eVc4ycOvy6A1FM0g\nAWHxwEzOskTFFRAO1j/i3WymmAwFY+2fPoNLVzTOFjrQtTAFsaYzT6JdL7WD\nVPD+\r\n=fe/0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDj6SwEINStuj4SYFUIUmAIwItx6NQC+FxYImcPieFyTgIhAOqzz/iZeOXWFdwiFE531HQQLH18nfAp9pvTkWTo17S5"}]},"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"maintainers":[{"name":"drsteini-usgs","email":"drsteini@contractor.usgs.gov"},{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},{"name":"mbucknell-usgs","email":"mbucknell@usgs.gov"},{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_1.12.0-snapshot.de1f7d1_1623101610673_0.6001112028723787"},"_hasShrinkwrap":false},"1.11.1":{"name":"wdfn-viz","version":"1.11.1","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"sass --load-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","build:uswdsinit":"cp -r node_modules/uswds/dist/js/uswds-init.min.* dist","clean":"rm -rf dist && mkdir dist","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"jest --collectCoverage=true","test:debug":"node --inspect-brk node_modules/.bin/jest --runInBand","test:watch":"jest --watch","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://github.com/usgs/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://github.com/usgs/wdfn-viz/issues"},"homepage":"https://github.com/usgs/wdfn-viz","engines":{"node":">= 10"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.11.2"},"devDependencies":{"@rollup/plugin-buble":"^0.21.3","@rollup/plugin-commonjs":"^19.0.0","@rollup/plugin-node-resolve":"^13.0.0","autoprefixer":"^10.2.6","buble":"^0.20.0","buble-jest":"^1.0.1","eslint":"^7.28.0","eslint-plugin-jest":"^24.3.6","jest":"^27.0.4","live-server":"^1.2.1","nodemon":"^2.0.7","npm-run-all":"^4.1.5","nunjucks":"^3.2.3","nunjucks-cli":"^1.0.0","postcss":"^8.3.0","postcss-cli":"^8.3.1","postcss-csso":"^5.0.1","postcss-flexbugs-fixes":"^5.0.2","rollup":"^2.51.0","rollup-plugin-terser":"^7.0.2","sass":"^1.34.1","stylelint":"^13.13.1","stylelint-config-recommended-scss":"^4.2.0","stylelint-scss":"^3.19.0"},"gitHead":"75c9915b1ba1c99876d787d7303978c10975abb4","_id":"wdfn-viz@1.11.1","_nodeVersion":"14.17.0","_npmVersion":"6.14.13","dist":{"integrity":"sha512-01fTQGW2e8GVMeuxkl9qpmMxbdtplRKIS3y5gaQ8acUB71MKfQQEz0d0ZTp35CG0eDVWUNKvWejBRPZANCj/bQ==","shasum":"cdf3587a32fdee264d46fa704fc71cd35472662b","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-1.11.1.tgz","fileCount":2398,"unpackedSize":8677597,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgvpX9CRA9TVsSAnZWagAADv8P/Rod2dDaVsQbqhGDzmq5\nnjeIDUIiDKErESBWkdpiUJ/MUTy3/Sndohp3QKqskc2J/DoQV2ClKI+dTHiZ\nk+RbuPqG3Xb8nxpVudFLWeXxFJ90+GACy0EVEoV4wPsP5Lyf60f65nEtq14U\nEuiwTQiTn+mylVbDixprMMd1k+opkBZMNtny12dm4uMeeVB9ko5InM2aAPdo\nsDMNAJcPWJVdUIbtPX3yGr0NRsR7rEdzPPS3AnL/Q/mRHbwMbIaG8X7GKLAf\n7HHgxUsWxb4kqAJLyY1+wjRqr/0ydTHw6WRIiEhgZrRI5irxVEhhaZfpcZX2\nj56F/0l+GNgJO6XM2l3oD4Y/YdailhYuxw1ie2DNmP3wbIe0YEpw4swvx5Cg\nkEqohhO1Xww3MPPhfFUADVRpw5q69E4H4eW3pvj5Ot63Hf5Imqgt6NqctMCZ\nokwcmT3t1ct/SBIHYZ0pSog0l3d2O8oQ+PAOMrnpjjuaBA4ql1klD2ffRo8C\nAp8xJwYTNs10SUMPDYEYv9uXyeebAKeD7Z8JlUb/t7ZrvyCMow1pzrnsR8NC\nBjN1pxtvNLR9lMlzsBKTvpKYI7rMLwbZibh5w0KrrAb4tqUuWm+U52QXq4Yi\na4FkV/CJ3yJc3Z3M7DFwZ/qtzthVg/8dl6O2H4adZEVgeWSqfCMIaayJGEYw\nFd/S\r\n=ARe5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICoTPn42nkLpBHD0GovTBeWnoWUOouGplitWKr5JEfWRAiEAlNyaU15aPq/FrZ6b6I+lsoe43ZtwUYZimCyuIclLmy8="}]},"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"maintainers":[{"name":"drsteini-usgs","email":"drsteini@contractor.usgs.gov"},{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},{"name":"mbucknell-usgs","email":"mbucknell@usgs.gov"},{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_1.11.1_1623102972982_0.19450463758841052"},"_hasShrinkwrap":false},"1.12.0-snapshot.1b1616c":{"name":"wdfn-viz","version":"1.12.0-snapshot.1b1616c","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"sass --load-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","build:uswdsinit":"cp -r node_modules/uswds/dist/js/uswds-init.min.* dist","clean":"rm -rf dist && mkdir dist","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"jest --collectCoverage=true","test:debug":"node --inspect-brk node_modules/.bin/jest --runInBand","test:watch":"jest --watch","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://github.com/usgs/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://github.com/usgs/wdfn-viz/issues"},"homepage":"https://github.com/usgs/wdfn-viz","engines":{"node":">= 10"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.11.2"},"devDependencies":{"@rollup/plugin-buble":"^0.21.3","@rollup/plugin-commonjs":"^19.0.0","@rollup/plugin-node-resolve":"^13.0.0","autoprefixer":"^10.2.6","buble":"^0.20.0","buble-jest":"^1.0.1","eslint":"^7.28.0","eslint-plugin-jest":"^24.3.6","jest":"^27.0.4","live-server":"^1.2.1","nodemon":"^2.0.7","npm-run-all":"^4.1.5","nunjucks":"^3.2.3","nunjucks-cli":"^1.0.0","postcss":"^8.3.0","postcss-cli":"^8.3.1","postcss-csso":"^5.0.1","postcss-flexbugs-fixes":"^5.0.2","rollup":"^2.51.0","rollup-plugin-terser":"^7.0.2","sass":"^1.34.1","stylelint":"^13.13.1","stylelint-config-recommended-scss":"^4.2.0","stylelint-scss":"^3.19.0"},"gitHead":"1b1616c8a03ed70af90e6dc3cb9975978397a427","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![Build Status](https://travis-ci.org/usgs/wdfn-viz.svg?branch=master)](https://travis-ci.org/usgs/wdfn-viz)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/6faaca8b97f34929b141c4444d919e4e)](https://www.codacy.com/app/usgs_wma_dev/wdfn-viz?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=usgs/wdfn-viz&amp;utm_campaign=Badge_Grade)\n\nProvides Sass stylesheets and images that can be used when creating web pages that need to\nmeet USGS visual identity standards. The stylesheets use USWDS (https://designsystem.digital.gov/)\nas the basis so all USWDS components are available.\n\n## Usage\n\nThe repo can be installed in an existing project by installing via npm.\n\n```bash\nnpm install wdfn-viz\n```\n\nTo install the latest development snapshot (containing the current state of the master branch):\n\n```bash\nnpm install wdfn-viz@snapshot\n```\n\nWe recommend building the stylesheets with Dart sass (npm install sass).\nThe main Sass stylesheet that should be imported into a web page's Sass file and is at /src/stylesheets/wdfnviz.scss.\nThis will also include the USWDS style sheets so a separate import is not required.  This directory should be \nspecified on the --load-path option along with the uswds/src/stylesheets when the site's Sass is built. When building \nthe style sheets the css should also be processed by postcss using the autoprefixer and postcss-csso using a postcss.config.js file:\n```javascript\nconst autoprefixerOptions = [\n    '> 2%',\n    'Last 2 versions',\n    'IE 11',\n    'not dead'\n];\n\nmodule.exports = ctx => ({\n    map: Object.assign({}, ctx.options.map, {inline: false}),\n    parser: ctx.options.parser,\n    plugins: {\n        autoprefixer: autoprefixerOptions,\n        'postcss-csso': {\n            forceMediaMerge: false\n        }\n    }\n});\n```\nYou may also want to include postcss-flexbugs-fixes plugin as is done for building wdfn-viz.\n\nBelow is an example of the process:\n```\n% sass --load-path node_modules/wdfn-viz/src/stylesheets --include-path node_modules/uswds/src/stylesheets src/styles.main.css dist/main.css\n% postcss dist/main.css  -o dist/main.css\n```\n\nPostcss generates internal sourcemaps by default. You may want to consider using the --map option to create external map files\nor if you want to minimize your css assets, you may want to disable entirely by using --no-map\n\nWhen building the assets, the images should be collected in a common directory and specified in the project's Sass\nfiles using the $theme-image-path variable. This should include the images in wdfn-viz/src/img that provide the USGS favicon and\nlogos. If using USWDS images those will also need to be collected. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nThe fonts should also be collected in a common directory and specified in the project's Sass files using the $theme-font-path\nvariable. Below are examples of commands that could be used to collect the image and font assets.\n```\n% mkdir -p dist/img && cp -r node_modules/uswds/src/img/* dist/img && cp -r node_modules/wdfn-viz/src/img/* dist/img\n% mkdir -p dist/fonts && cp -r node_modules/uswds/src/fonts/* dist/fonts\n```\n\nThe javascript should be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined. In order to use, a loading function should be defined which will be executed \nwhen the page loads. Below is a simple example:\n```javascript\nimport wdfnviz from 'wdfn-viz';\n\nconst load = function () {\n    null;  Add code that should get executed when the page is loaded\n}\n\nwdfnviz.main(load);\n\n\n```\nThe javascript bundle that is created (which will contain your project specific javascript as well as the USWDS javascript) should be loaded inside the <body> tag. We recommend that this is done as the first tag in the body. The async attribute can be used.\n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos. This includes the script for ```uswds-init.min.js``` which should be retreived before the css files are loaded as is done in the example header.html.\n\n## Using without building stylesheets and javascript bundling\nYou can use the prebuilt stylesheet and javascript bundle if desired. This can be done by including the following in your markup in the <head> section.\n```\n<link rel=\"stylesheet\" href=\"wdfnviz.css\">\n<script src=\"wdfnviz.js\"></script>\n```\n\n## Publishing to npm\n\nTravisCI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when commits are made to the master branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://github.com/usgs/wdfn-viz/blob/master/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit.\n","readmeFilename":"README.md","_id":"wdfn-viz@1.12.0-snapshot.1b1616c","_nodeVersion":"14.17.0","_npmVersion":"6.14.13","dist":{"integrity":"sha512-kL64NwJvSmTNF175x+9l3FmNaagmHkthv+VbnA3sZo9ERf6DrvFjNPYVXcV739bJ36mwrj5AmldtJDNTtRtEmQ==","shasum":"29c87fb4de24c123e0dad13264c2135ea93135f6","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-1.12.0-snapshot.1b1616c.tgz","fileCount":2398,"unpackedSize":8677629,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgvpf9CRA9TVsSAnZWagAA2MoQAIYcHb7UuLXmd29FaW8u\nMWgjC/gH45T9zgYaRcklMd+iNScLv5V6RCit96cwkcPDkvNs0af9/PdYQDKr\n7gPFyMseTKdUZge5d2BhBmz2YfEZXeY0aw5OSM9xYoVcnRaNvJ8CSb2aqFjW\nVVRv7wKwJyy2b1uMmjNVPTcWtVo0dbz/04AioYxttXLBq9VSXggt0AaATVBU\nwD4vQkQsIJYZVE0XrxTr5/Oy4DZVFthcZGwhuAYG49k7HEP8QTDio409ypnu\nEEMJFA57E09FqLZE3AYoo1HZGdHe0Qqv5RBpV17LJudBYFRy5CKtqtih2HE0\nKYAxwYOlVcC9KFPRS2uR49PuyiFQyPbvBFs8zKCsWNvVSm7IJAt70tRWCqBO\nkyOY2vEHm+w+Os4vGsYepr6iwTBXBsasfqEw44MqGWTYF1wabrNhNjljB7oa\nf9Z9l2/f6sDBoJzMYMzWdxnY6fiu5cCkLABoNrWsBJY409ziy7nm0Hk6I+6R\nS8qvQRblGuUiz236/pz4l8GJ8NnQQtGjo8WqBnnq27lRa6vakjY3fZNYypa1\n66MuoHjlwOW/xWZYMtIqVSx0bz+eVrjZq2VuKJZETr05cBXM5pYWWiCgTQF8\ndFAT/agkJtevbsWjJYbXIZcmk3SeGkM3SI/u4Jg0yyRaQxID9cnuBjSzXrCj\n2CO+\r\n=jJB7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFzSfVaVNkfF7Ko1o3HM2+/84g2Z5TF6ks2KJf6mV8moAiEA3t1G8j6v7liJIUCl8jnKU9gbCZp2qkuqsg2KX9PIyfs="}]},"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"maintainers":[{"name":"drsteini-usgs","email":"drsteini@contractor.usgs.gov"},{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},{"name":"mbucknell-usgs","email":"mbucknell@usgs.gov"},{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_1.12.0-snapshot.1b1616c_1623103484719_0.9212758422989917"},"_hasShrinkwrap":false},"1.12.0-snapshot":{"name":"wdfn-viz","version":"1.12.0-snapshot","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"sass --load-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","build:uswdsinit":"cp -r node_modules/uswds/dist/js/uswds-init.min.* dist","clean":"rm -rf dist && mkdir dist","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"jest --collectCoverage=true","test:debug":"node --inspect-brk node_modules/.bin/jest --runInBand","test:watch":"jest --watch","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://code.usgs.gov/wma/iow/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://code.usgs.gov/wma/iow/wdfn-viz/-/issues"},"homepage":"https://code.usgs.gov/wma/iow/wdfn-viz","engines":{"node":">= 10"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.11.2"},"devDependencies":{"@rollup/plugin-buble":"^0.21.3","@rollup/plugin-commonjs":"^19.0.0","@rollup/plugin-node-resolve":"^13.0.0","autoprefixer":"^10.2.6","buble":"^0.20.0","buble-jest":"^1.0.1","eslint":"^7.28.0","eslint-plugin-jest":"^24.3.6","jest":"^27.0.4","live-server":"^1.2.1","nodemon":"^2.0.7","npm-run-all":"^4.1.5","nunjucks":"^3.2.3","nunjucks-cli":"^1.0.0","postcss":"^8.3.0","postcss-cli":"^8.3.1","postcss-csso":"^5.0.1","postcss-flexbugs-fixes":"^5.0.2","rollup":"^2.51.0","rollup-plugin-terser":"^7.0.2","sass":"^1.34.1","stylelint":"^13.13.1","stylelint-config-recommended-scss":"^4.2.0","stylelint-scss":"^3.19.0"},"gitHead":"62160a6e52c5998ad4fd8fdb93ea4da620dfb644","_id":"wdfn-viz@1.12.0-snapshot","_nodeVersion":"14.17.3","_npmVersion":"6.14.13","dist":{"integrity":"sha512-EPPxzjQWnsPvSzIiL2W4WWYoCKpyuXFij+OlhKUvLxbqUVFQ8owVvL2y9k3ObH+jvtI80QBJPHIUnVksU5dDpA==","shasum":"5d5df0764e7d6b27f4852dcb283fd13427031811","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-1.12.0-snapshot.tgz","fileCount":17,"unpackedSize":43792,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg5bdcCRA9TVsSAnZWagAAVeoP/R6nISSBwVb8kqFiol3g\n32yIEmhT6iWrxFKfB5EjGdn2GO/G+8h67WaC9IPxckvywJfSGjv4NReGuhXV\nOt9Qx9wfdZUl8oO7ku9+mJ65Mzm9wo/Bf9G+2GiBQid8j6psWNER508Zjut0\nj4RFI5JR87L7KIeDLjGwgbBGyLnS0oAZN5tyuBO/mjtOjDh//LbOKoYbltIR\nBs/7E68CFSLNsZsaqvqBfS3Kdr02t66tAVftx3x8PXiCuklgSunBgm6AIeI8\nXYcvoKwYDcNbtvxacvPkuW1M5M4/5374+Bz2XMD1EYWKqOjqVKqSahgCHNPu\nOgs5eX3wGSeIKG3yPKqpSF3USNlx3E7oeJT7hXLyvhghXFXekKCSpdGQqcCj\nXUyypDRYSo/KbcMCLQmvtdfTxa+sv+p6xe/0Yx3ckwFUE5CxuWen7Qk7/pTS\njGfwFmrswQJlY1TrRGkWAnUKJ2crZFNJsEjyc5c2OmIg6edNI/fs54gcSrT9\nMAupGSAQD6IQ3ZmuxuxYze9FMpptKc3bU6TYMwlgoRkCipjNpCzdApBp0TzO\nEAazB1uKLMcdak9PcffdjLBQVUXsJxa6MWs0PmP+9VI6PFYapg0haeKUvcY3\nJ2EpbsygAl5cGHXjEYLYVqVuz6JN+exCMnXIP+xBSUNaK0kqxIxFWtFdIlQA\nI/Kt\r\n=EjtR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDxZCv5K/wh347/fWolfOJq+RTSthVAzmODA0jEpxDyYgIgf3/+MiT+uUe4qXRlXRVtgu39YSqFq5NZK24TKB4qK9s="}]},"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"maintainers":[{"name":"drsteini-usgs","email":"drsteini@contractor.usgs.gov"},{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},{"name":"mbucknell-usgs","email":"mbucknell@usgs.gov"},{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_1.12.0-snapshot_1625667420378_0.7616245474506127"},"_hasShrinkwrap":false},"1.12.0":{"name":"wdfn-viz","version":"1.12.0","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"sass --load-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","build:uswdsinit":"cp -r node_modules/uswds/dist/js/uswds-init.min.* dist","clean":"rm -rf dist && mkdir dist","lint":"run-p lint:*","lint:cs":"stylelint src/stylesheets ","lint:js":"eslint src/js","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"jest --collectCoverage=true","test:debug":"node --inspect-brk node_modules/.bin/jest --runInBand","test:watch":"jest --watch","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://code.usgs.gov/wma/iow/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://code.usgs.gov/wma/iow/wdfn-viz/-/issues"},"homepage":"https://code.usgs.gov/wma/iow/wdfn-viz","engines":{"node":">= 10"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.12.0"},"devDependencies":{"@rollup/plugin-buble":"^0.21.3","@rollup/plugin-commonjs":"^19.0.0","@rollup/plugin-node-resolve":"^13.0.0","autoprefixer":"^10.2.6","buble":"^0.20.0","buble-jest":"^1.0.1","eslint":"^7.30.0","eslint-plugin-jest":"^24.3.6","jest":"^27.0.6","live-server":"^1.2.1","nodemon":"^2.0.9","npm-run-all":"^4.1.5","nunjucks":"^3.2.3","nunjucks-cli":"^1.0.0","postcss":"^8.3.5","postcss-cli":"^8.3.1","postcss-csso":"^5.0.1","postcss-flexbugs-fixes":"^5.0.2","rollup":"^2.52.8","rollup-plugin-terser":"^7.0.2","sass":"^1.35.1","stylelint":"^13.13.1","stylelint-config-recommended-scss":"^4.2.0","stylelint-scss":"^3.19.0"},"gitHead":"b0f1eae7ebbd48769421828202a7e10fcbaeef44","_id":"wdfn-viz@1.12.0","_nodeVersion":"14.17.3","_npmVersion":"6.14.13","dist":{"integrity":"sha512-WoWfWFt3RoYuzPzVVHPrbEWgNqJH8ZaI6bIRFHlSCUVvgD7kBbWFQ1ibltE/pIO0yS555eqwnNxfUL9hT9Dg1Q==","shasum":"80d0d8e2d9146d9f4e147b2a47bcf44dc0eb2f20","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-1.12.0.tgz","fileCount":17,"unpackedSize":43182,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg5fvjCRA9TVsSAnZWagAAuWIQAIb6fXTNfCABZ2o4ui1C\nogjBRxmWtk1Oeobuup/Vx5NKDVY2da27cDxjxvl/KVggsdD3XeQemnaxpZyo\nwM4A0Y6aYA1RWss04fArxi/7sqbkdDDj0r6Y2hwmbRXZCd+iCLC9lQyIB6z7\nJqg9YZOFhmNvb7IBwg07G77+XvGwSYNXVCMO5XnLjYHXwXDq6jQ2xep8s9z7\nVLb7HVkmSAAaNWHdzOFyKRjnbLw8s9JLg5MtLmPdhdpQgv+YNno1nPTBmR8X\ng5IEVx3r65T6rUercOFIpqtpR2+uyhqxIVEYHfhpiqBFuUWwsQA41D+6CHcD\nwPazu12FJWcMIOTR1D0nBZfFSarXznCraNySLLKmAzRijCII6R74gOqiwAVU\n8b4mztIadSaFidsqwKU2N5928JOlZYqVscCV8AIZl+gX8PtRhU6wpRhOt+YZ\n2uULYhWtCPyLkUEieAmhjTzQxXNZqnIy1WjFBl3biuWE8VgW7/Cl/DCXHXpB\notBXEWhJERQ95ndXNNNrQk+ipOcUWGP+nuvptniY5aPL1TjBfuKQmb3hBsxG\nO8OgJ+8ux6ofeHa0PfAtI07LGgp8igHpt2SaspKXSxyhAqm8xpK0kAXkXksL\nDcp05wSs76qw5oJynqlkZREBOyAYKV0+LwcbVUrcc/sw+vFT6beOME83Ct+E\nz8t9\r\n=upVq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCa5yImvM05Bhppyztds47ycdxsoi/4uy9IhxOX1dlpMgIhAN1c0FCd4d3lkB6OW2iuy16Q9HIG7mkYWfUZsiGOnXlx"}]},"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"maintainers":[{"name":"drsteini-usgs","email":"drsteini@contractor.usgs.gov"},{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},{"name":"mbucknell-usgs","email":"mbucknell@usgs.gov"},{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_1.12.0_1625684963336_0.5391703897984916"},"_hasShrinkwrap":false},"1.13.0-snapshot":{"name":"wdfn-viz","version":"1.13.0-snapshot","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"sass --load-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","build:uswdsinit":"cp -r node_modules/uswds/dist/js/uswds-init.min.* dist","clean":"rm -rf dist && mkdir dist","lint":"run-p lint:*","lint:cs":"stylelint src/stylesheets ","lint:js":"eslint src/js","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"jest --collectCoverage=true","test:debug":"node --inspect-brk node_modules/.bin/jest --runInBand","test:watch":"jest --watch","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://code.usgs.gov/wma/iow/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://code.usgs.gov/wma/iow/wdfn-viz/-/issues"},"homepage":"https://code.usgs.gov/wma/iow/wdfn-viz","engines":{"node":">= 10"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.12.0"},"devDependencies":{"@rollup/plugin-buble":"^0.21.3","@rollup/plugin-commonjs":"^19.0.0","@rollup/plugin-node-resolve":"^13.0.0","autoprefixer":"^10.2.6","buble":"^0.20.0","buble-jest":"^1.0.1","eslint":"^7.30.0","eslint-plugin-jest":"^24.3.6","jest":"^27.0.6","live-server":"^1.2.1","nodemon":"^2.0.9","npm-run-all":"^4.1.5","nunjucks":"^3.2.3","nunjucks-cli":"^1.0.0","postcss":"^8.3.5","postcss-cli":"^8.3.1","postcss-csso":"^5.0.1","postcss-flexbugs-fixes":"^5.0.2","rollup":"^2.52.8","rollup-plugin-terser":"^7.0.2","sass":"^1.35.1","stylelint":"^13.13.1","stylelint-config-recommended-scss":"^4.2.0","stylelint-scss":"^3.19.0"},"gitHead":"be964e5e9f5d6efb2d3551db1b2d36f61c749b11","_id":"wdfn-viz@1.13.0-snapshot","_nodeVersion":"14.17.3","_npmVersion":"6.14.13","dist":{"integrity":"sha512-KGfeuLFkKEBPYKarI5AbcymeBas8X+BCdGj4UkpTPPs9j6O3nV3iOPLPzs+UaeldqoxyoaKlnLIgy5WIxpTPNA==","shasum":"426655ad6f71116d56812c41dacf910de7bd30e5","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-1.13.0-snapshot.tgz","fileCount":17,"unpackedSize":43191,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg5gJzCRA9TVsSAnZWagAAueAP/1TrGocqe9cZjmaIFeLj\noksvlv5B5NzRPSmLF+n8zNS4Gcr8damoUDLUqeogTH4aFSOplgkUWIL61YRv\naHWAldOGvxpE5CKza4xBEOGmT/aWz3j6HHnPAIzigYH1HUUTAduTDOmSpp9U\n60OrpJPivtMYXf1s2tq50XU/PIeWZ1laMGrJda3MowH6zNj0p9v6A008m9G6\nvGAx94mBznzN0PZHKshak4POAay8lr3c/fQThdX7gF5CfJwz+EXcs5cyQbgZ\nDbxBPIB7cXi0VXgFwa46Yj4FYYWuDYI8p5xfTI+hswzvb+5DETib9WheL3b0\n70sZF2BfCbvXjXCmH0BaHzkSYch1Ody6dkACABmdeJG0x2RN9QzWGXyfFiUS\nr8E3b95FyNPLd7S8tJ6smnt6tCqLLkIz8Yh+tzrT+XCvolNbFcn1eQ55Gbtc\n1HUf6NvK6KxQcj0sxU4BsfIXxieHzatCc1tqYV37NTP3XzbwRG4COjvemim7\nPxJXO93TE8hZOihnk43yaYHGtt6ge1vudfEUmMFkLFJB6xn1zqDjC5Lq+7Na\nKXHTNDS8Q6O+t3fe+cWAeQS+FUBnSkr6A6SxCkEnf3H9jw09waOCVB217ua9\nNaTVw1VWueCqD5GY37emPJrAGV8jL09a5kWyQxIxYEYvRu8sNyQcnPxxtaCp\n84HY\r\n=qf8Q\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBYn/BGWL8qjgZFGaWHMEg9v9ge49Hb/S5kguXJW6tCBAiBYn4bkQUMxvtVfztEMXTkm4yKaLBytM7s+eih5pzD3ig=="}]},"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"maintainers":[{"name":"drsteini-usgs","email":"drsteini@contractor.usgs.gov"},{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},{"name":"mbucknell-usgs","email":"mbucknell@usgs.gov"},{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_1.13.0-snapshot_1625686643318_0.09926582729615085"},"_hasShrinkwrap":false},"1.13.0":{"name":"wdfn-viz","version":"1.13.0","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"sass --load-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","build:uswdsinit":"cp -r node_modules/uswds/dist/js/uswds-init.min.* dist","clean":"rm -rf dist && mkdir dist","lint":"run-p lint:*","lint:cs":"stylelint src/stylesheets ","lint:js":"eslint src/js","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"jest --collectCoverage=true","test:debug":"node --inspect-brk node_modules/.bin/jest --runInBand","test:watch":"jest --watch","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://code.usgs.gov/wma/iow/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://code.usgs.gov/wma/iow/wdfn-viz/-/issues"},"homepage":"https://code.usgs.gov/wma/iow/wdfn-viz","engines":{"node":">= 10"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.12.0"},"devDependencies":{"@rollup/plugin-buble":"^0.21.3","@rollup/plugin-commonjs":"^19.0.0","@rollup/plugin-node-resolve":"^13.0.0","autoprefixer":"^10.2.6","buble":"^0.20.0","buble-jest":"^1.0.1","eslint":"^7.30.0","eslint-plugin-jest":"^24.3.6","jest":"^27.0.6","live-server":"^1.2.1","nodemon":"^2.0.9","npm-run-all":"^4.1.5","nunjucks":"^3.2.3","nunjucks-cli":"^1.0.0","postcss":"^8.3.5","postcss-cli":"^8.3.1","postcss-csso":"^5.0.1","postcss-flexbugs-fixes":"^5.0.2","rollup":"^2.52.8","rollup-plugin-terser":"^7.0.2","sass":"^1.35.1","stylelint":"^13.13.1","stylelint-config-recommended-scss":"^4.2.0","stylelint-scss":"^3.19.0"},"gitHead":"e102f7ee6079e37bf11558148ecf29c0c92caef4","_id":"wdfn-viz@1.13.0","_nodeVersion":"14.17.3","_npmVersion":"6.14.13","dist":{"integrity":"sha512-30C3Rf2Dehp5ue/GDN9PlV+PzwedvtAY3YRhAr5V6QvydI2ZEZ4U/nux13Cm/mHxcpGU7zx9X5LStuZt60NvGQ==","shasum":"6a747afdac96527994e0c95554fd2dfba8cafac4","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-1.13.0.tgz","fileCount":17,"unpackedSize":43182,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg7aKwCRA9TVsSAnZWagAADTMP/RljL9ojV1A520bUFhH8\nLyJOx8CKEynARCfPRBlwGihFHnMUtFRDifqZwCmXQGKSMpLuG7or705q9iYR\nxICdtcMefksJrZd/dSBQLFHgSPtuwZxziSMjp+ukOl5HVe573mB1pM3zel1b\nBlap5MHdyuz8OYcoVMUS6dDJRn7OJMi2nmzwK35DeoNHTYSBbIPD4x5WEd8C\nXU82MWAeuqmsAvObRH1Orp3BfUhSXX2zIOje6f6XeLaNfyo4b/F0nfbKlJ7s\nYqO8y15Guu7LoRPr6wNhmDqZxMrqjSqr4Zj6ol6jP9iPPDBaaZFWKyompCia\nrrO87awMRqn+OBNHwDpGUiP0nPMTB0L0V8SjFAVr4td7YxOQh2s6ev236AXT\nYmy225pdI2PHROjVfjqBjDXPobNp1X3am4a2ictU+k+nMX+J3dA/c1+PCQSV\nannJnu2LzCILHyuUxP6nGeOOBT2sxBUsE+PJFpRdo8wbk5Ni5Ywjq7kyxi2x\ngoLWTMZJqhgwBPpBKYSAgH29wqOvyuNlfjKKMacXAtsD9i+gfjyYKBL8LEjB\n6zhQVOv7wFDIip0KcYjj3Yz+3IZLjVbcuxT4+l94yQVrBXoNb4Ym08dCDmjy\n4xlJNGOEM6C8UQhXNf6fgGHADHYE/S79vxazimxzh2VDf7PFHcL0dmzTQTX0\nIzuI\r\n=pLj8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICFtXYeI4MjUYDjTAVmjZxwz5kA5p+DcsTb8upBQAb7/AiEAsBbmXXkshcMcofCuUVrqy/zGKCc4Sqvxw4YiqhfVqaM="}]},"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"maintainers":[{"name":"drsteini-usgs","email":"drsteini@contractor.usgs.gov"},{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},{"name":"mbucknell-usgs","email":"mbucknell@usgs.gov"},{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_1.13.0_1626186415620_0.7128609342895564"},"_hasShrinkwrap":false},"1.14.0-snapshot.0a20075":{"name":"wdfn-viz","version":"1.14.0-snapshot.0a20075","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"sass --load-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","build:uswdsinit":"cp -r node_modules/uswds/dist/js/uswds-init.min.* dist","clean":"rm -rf dist && mkdir dist","lint":"run-p lint:*","lint:cs":"stylelint src/stylesheets ","lint:js":"eslint src/js","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"jest --collectCoverage=true","test:debug":"node --inspect-brk node_modules/.bin/jest --runInBand","test:watch":"jest --watch","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://code.usgs.gov/wma/iow/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://code.usgs.gov/wma/iow/wdfn-viz/-/issues"},"homepage":"https://code.usgs.gov/wma/iow/wdfn-viz","engines":{"node":">= 10"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.12.0"},"devDependencies":{"@rollup/plugin-buble":"^0.21.3","@rollup/plugin-commonjs":"^19.0.0","@rollup/plugin-node-resolve":"^13.0.0","autoprefixer":"^10.2.6","buble":"^0.20.0","buble-jest":"^1.0.1","eslint":"^7.30.0","eslint-plugin-jest":"^24.3.6","jest":"^27.0.6","live-server":"^1.2.1","nodemon":"^2.0.9","npm-run-all":"^4.1.5","nunjucks":"^3.2.3","nunjucks-cli":"^1.0.0","postcss":"^8.3.5","postcss-cli":"^8.3.1","postcss-csso":"^5.0.1","postcss-flexbugs-fixes":"^5.0.2","rollup":"^2.52.8","rollup-plugin-terser":"^7.0.2","sass":"^1.35.1","stylelint":"^13.13.1","stylelint-config-recommended-scss":"^4.2.0","stylelint-scss":"^3.19.0"},"gitHead":"0a2007533044a1a740dc6992b0c065bf101fe865","_id":"wdfn-viz@1.14.0-snapshot.0a20075","_nodeVersion":"14.17.3","_npmVersion":"6.14.13","dist":{"integrity":"sha512-2p8W3q08DOxJ5DwHgV7DPYQVmGFWyc+y/giwdCMzutz703mWb6HMu7/xszbJ/BVu4nJnD38OXife2LpiN2qOiQ==","shasum":"dc523cff62bc9e4995fc408f6c7571741331fbc4","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-1.14.0-snapshot.0a20075.tgz","fileCount":17,"unpackedSize":43199,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg7aSwCRA9TVsSAnZWagAA+XAP+wU6H+YvWnetyWklQc4U\nvEE1MxT68eUuNWphZI/VGl6X3hoRGzWXsEVMeLz2xoZugBxrIXlZc2NRXF/u\nKbkjCt9/dFuAYClH9QEeicNnt0PEidQBM/NpiLJkv7ga7mF+ArDnSj1OwqZP\nILc1r2AWSdSj/iMrpwPcDDJYiA/ZUmxKe9b2dQu14JL8Qe3c4mERghzohkYE\nWFezlo6dQ4UWBlYY8oiKAsPzBNUk+7VfyalCz4dz1jDL+ZXPwN38g46tpSb4\nx/yh6FzIcDVPxzrN0QkQx1nz0oTsMhWYV8bWmHeukQ2BaXJfr+O19dmjcH7k\nVUeM+27aee9PRJNlB+GrIZ97FbhGhqO9xLZNAsvahp7OBWQnSPdbsUGWksYp\ndGk9eCDdWzeDMoJa7GDAZ6y1sXP0ldVlmi70JqtaDVyMxF+3BbMcKotHii2w\nQPzxbMBnRfOJen14cqx2M36m20dzDj/n7qlj60kmJNfv6Xm2ESLdXWzTnjwF\nUpv+D32C57x6tAYe2Qh18PIUxo45sdPHvYiD+Qf9se4zsrf+hflyfIsD0kWZ\nuNVklk+b3FITYozozkr/X27kucCLnrnAWTXPPMyBYG3mSF8UAqHaChgpc2jV\nBWjd9RVryEFFsKlFclw5/y4ngjzE478BKFdHP79oQ8/2kzH0AlEOoE4ZhipN\nNZJo\r\n=ARMQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD2fcOQy8ewaiG8ETeBdqUflLqhN1+37SkCWpvXlG1ETAIhAKwur/NVUo8LU70L7s4VzqDxj2Uk7TuItLTWxHkLWDo9"}]},"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"maintainers":[{"name":"drsteini-usgs","email":"drsteini@contractor.usgs.gov"},{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},{"name":"mbucknell-usgs","email":"mbucknell@usgs.gov"},{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_1.14.0-snapshot.0a20075_1626186928174_0.7146357068904985"},"_hasShrinkwrap":false},"1.14.0-snapshot.8c241cd":{"name":"wdfn-viz","version":"1.14.0-snapshot.8c241cd","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"sass --load-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","build:uswdsinit":"cp -r node_modules/uswds/dist/js/uswds-init.min.* dist","clean":"rm -rf dist && mkdir dist","lint":"run-p lint:*","lint:cs":"stylelint src/stylesheets ","lint:js":"eslint src/js","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"jest --collectCoverage=true","test:debug":"node --inspect-brk node_modules/.bin/jest --runInBand","test:watch":"jest --watch","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://code.usgs.gov/wma/iow/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://code.usgs.gov/wma/iow/wdfn-viz/-/issues"},"homepage":"https://code.usgs.gov/wma/iow/wdfn-viz","engines":{"node":">= 10"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.12.0"},"devDependencies":{"@rollup/plugin-buble":"^0.21.3","@rollup/plugin-commonjs":"^19.0.0","@rollup/plugin-node-resolve":"^13.0.0","autoprefixer":"^10.2.6","buble":"^0.20.0","buble-jest":"^1.0.1","eslint":"^7.30.0","eslint-plugin-jest":"^24.3.6","jest":"^27.0.6","live-server":"^1.2.1","nodemon":"^2.0.9","npm-run-all":"^4.1.5","nunjucks":"^3.2.3","nunjucks-cli":"^1.0.0","postcss":"^8.3.5","postcss-cli":"^8.3.1","postcss-csso":"^5.0.1","postcss-flexbugs-fixes":"^5.0.2","rollup":"^2.52.8","rollup-plugin-terser":"^7.0.2","sass":"^1.35.1","stylelint":"^13.13.1","stylelint-config-recommended-scss":"^4.2.0","stylelint-scss":"^3.19.0"},"gitHead":"8c241cdab0cff23ac8971443217e2ec5af2228a1","_id":"wdfn-viz@1.14.0-snapshot.8c241cd","_nodeVersion":"14.17.3","_npmVersion":"6.14.13","dist":{"integrity":"sha512-3Pl6lzm/lDxDZI/vDj/dL/OZr/QAeuzJ/2ZPUjKVon+q8CACSfgEBo6EcUKG+PUyEfAb5uI6zo9ExmVTt5a+0w==","shasum":"57feac06fd3e5b01bb1855058eccf63fb7a8b890","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-1.14.0-snapshot.8c241cd.tgz","fileCount":2407,"unpackedSize":8726913,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg7aXGCRA9TVsSAnZWagAAGTEP/j6T9d9C8yHG/PHVMTsj\nKcc0yTlwIqEhQR3ZlNzRgtsMoEHecQ/myiYBq+WUOcvNRfbn++92XyY5QAVc\nFf8fu9j8GpW8uXjBw8lVs9NNFgu9N0xthzNa4Db0HnKtUSJCijRFjBP0H3SE\nBleA/ZSoSx9dXBImTxxRbopW+nFjeAzXYeGgSrmJCP9aDd5f6WX9PkyBIAE1\ntCzQr23GQNx8Ws/aRbbbi4Yob/h09YepJ7UA4TLc5rrcEu9+ei4/zcXmNqut\nxELPFTMaJwxFWQ4i8w5BtX+wZQCb2iPVMtZyWQKHH+cgWYN55I6UYv1TexDx\nIEnw14dVy5zuzVx6fdDdhOkTR158JO8V3rPGzJASItPDML+evNON5BAlPLOz\n23iD76uRD2hJ4p9lotzbbtbGgdyZkEMXcwrC+PeYBGEkITESEhCxStkC6A4D\nrWuFW6j+lI/mO5eaZTKCH/k2QTWXLKS++Hvw4Ur5Apui7wclPixOPAsNj0E+\nqZb6r80+bufWpOwmex0IbbwpaIwWHUSzFubwgu6zpiWt0z2B8Q6VKO1vlo4J\nB/60EfwmraOodumh8+94OdkMN8sBNX85h/pfdoxyw9N+iKJYgYJsYEf3/1QK\nxpAH++AV0jg3Gya75LFuVHc3O1cFCqruOzk0QDaPVuK9MbvcBD/ZumqwNLJv\nNxiA\r\n=9Tmd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB8y2bUNEWJSAlw1qCDs7SYY2FvPnRypy5f8CMiPhrI7AiAL5e2istJ+cNsEWfMmfaiwlg1HggcUFblfuZ/g0SN+BA=="}]},"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"maintainers":[{"name":"drsteini-usgs","email":"drsteini@contractor.usgs.gov"},{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},{"name":"mbucknell-usgs","email":"mbucknell@usgs.gov"},{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_1.14.0-snapshot.8c241cd_1626187206267_0.3891148763614758"},"_hasShrinkwrap":false},"1.14.0-snapshot.308dd5f":{"name":"wdfn-viz","version":"1.14.0-snapshot.308dd5f","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"sass --load-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","build:uswdsinit":"cp -r node_modules/uswds/dist/js/uswds-init.min.* dist","clean":"rm -rf dist && mkdir dist","lint":"run-p lint:*","lint:cs":"stylelint src/stylesheets ","lint:js":"eslint src/js","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"jest --collectCoverage=true","test:debug":"node --inspect-brk node_modules/.bin/jest --runInBand","test:watch":"jest --watch","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://code.usgs.gov/wma/iow/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://code.usgs.gov/wma/iow/wdfn-viz/-/issues"},"homepage":"https://code.usgs.gov/wma/iow/wdfn-viz","engines":{"node":">= 10"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.12.0"},"devDependencies":{"@rollup/plugin-buble":"^0.21.3","@rollup/plugin-commonjs":"^19.0.0","@rollup/plugin-node-resolve":"^13.0.0","autoprefixer":"^10.2.6","buble":"^0.20.0","buble-jest":"^1.0.1","eslint":"^7.30.0","eslint-plugin-jest":"^24.3.6","jest":"^27.0.6","live-server":"^1.2.1","nodemon":"^2.0.9","npm-run-all":"^4.1.5","nunjucks":"^3.2.3","nunjucks-cli":"^1.0.0","postcss":"^8.3.5","postcss-cli":"^8.3.1","postcss-csso":"^5.0.1","postcss-flexbugs-fixes":"^5.0.2","rollup":"^2.52.8","rollup-plugin-terser":"^7.0.2","sass":"^1.35.1","stylelint":"^13.13.1","stylelint-config-recommended-scss":"^4.2.0","stylelint-scss":"^3.19.0"},"gitHead":"308dd5f3498eef0add79ad32dee6265e0ae799b7","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![pipeline status](https://code.usgs.gov/wma/iow/wdfn-viz/badges/main/pipeline.svg)](https://code.usgs.gov/wma/iow/wdfn-viz/-/commits/main)\n[![coverage report](https://code.usgs.gov/wma/iow/wdfn-viz/badges/main/coverage.svg)](https://code.usgs.gov/wma/iow/wdfn-viz/-/commits/main)\n\nProvides Sass stylesheets and images that can be used when creating web pages that need to\nmeet USGS visual identity standards. The stylesheets use USWDS (https://designsystem.digital.gov/)\nas the basis so all USWDS components are available.\n\n## Usage\n\nThe repo can be installed in an existing project by installing via npm.\n\n```bash\nnpm install wdfn-viz\n```\n\nTo install the latest development snapshot (containing the current state of the master branch):\n\n```bash\nnpm install wdfn-viz@snapshot\n```\n\nWe recommend building the stylesheets with Dart sass (npm install sass).\nThe main Sass stylesheet that should be imported into a web page's Sass file and is at /src/stylesheets/wdfnviz.scss.\nThis will also include the USWDS style sheets, so a separate import is not required.  This directory should be \nspecified on the --load-path option along with the uswds/src/stylesheets when building the site's stylesheets. When building \nthe style sheets the css should also be processed by postcss using the autoprefixer and postcss-csso using a postcss.config.js file:\n```javascript\nconst autoprefixerOptions = [\n    '> 2%',\n    'Last 2 versions',\n    'IE 11',\n    'not dead'\n];\n\nmodule.exports = ctx => ({\n    map: Object.assign({}, ctx.options.map, {inline: false}),\n    parser: ctx.options.parser,\n    plugins: {\n        autoprefixer: autoprefixerOptions,\n        'postcss-csso': {\n            forceMediaMerge: false\n        }\n    }\n});\n```\nYou may also want to include postcss-flexbugs-fixes plugin as is done for building wdfn-viz.\n\nBelow is an example of the process:\n```\n% sass --load-path node_modules/wdfn-viz/src/stylesheets --include-path node_modules/uswds/src/stylesheets src/styles.main.css dist/main.css\n% postcss dist/main.css  -o dist/main.css\n```\n\nPostcss generates internal sourcemaps by default. You may want to consider using the --map option to create external map files\nor if you want to minimize your css assets, you may want to disable entirely by using --no-map\n\nWhen building the assets, the images should be collected in a common directory and specified in the project's Sass\nfiles using the $theme-image-path variable. This should include the images in wdfn-viz/src/img that provide the USGS favicon and\nlogos. If using USWDS images those will also need to be collected. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nThe fonts should also be collected in a common directory and specified in the project's Sass files using the $theme-font-path\nvariable. Below are examples of commands that could be used to collect the image and font assets.\n```\n% mkdir -p dist/img && cp -r node_modules/uswds/src/img/* dist/img && cp -r node_modules/wdfn-viz/src/img/* dist/img\n% mkdir -p dist/fonts && cp -r node_modules/uswds/src/fonts/* dist/fonts\n```\n\nThe javascript should be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined. In order to use, a loading function should be defined which will be executed \nwhen the page loads. Below is a simple example:\n```javascript\nimport wdfnviz from 'wdfn-viz';\n\nconst load = function () {\n    null;  // Add code that should get executed when the page is loaded\n}\n\nwdfnviz.main(load);\n```\nThe javascript bundle that is created (which will contain your project specific javascript as well as the USWDS javascript) should be loaded inside the <body> tag. We recommend that this is done as the first tag in the body. The async attribute can be used.\n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos. This includes the script for ```uswds-init.min.js``` which should be retrieved before loading the css files as is done in the example header.html.\n\n## Using without building stylesheets and javascript bundling\nYou can use the prebuilt stylesheet and javascript bundle if desired. This can be done by including the following in your markup in the <head> section.\n```\n<link rel=\"stylesheet\" href=\"wdfnviz.css\">\n<script src=\"wdfnviz.js\"></script>\n```\n\n## Publishing to npm\n\nGitlab CI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when merging commits to the `main` branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://code.usgs.gov/wma/iow/wdfn-viz/-/blob/main/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit. Generally, once a release is published, the version number should be incremented to the next minor release number with `-snapshot` appended and the change committed to the `main` branch.\n","readmeFilename":"README.md","_id":"wdfn-viz@1.14.0-snapshot.308dd5f","_nodeVersion":"14.17.3","_npmVersion":"6.14.13","dist":{"integrity":"sha512-Eqad9F+i24/qbRbfqJAzeO+PeeUkY1EwOwY5j6I3NDX0awX2AFEIx9DyZXGZAZVvc/RxFmEBIaKqJFkfe6TMNg==","shasum":"e43591c5e059f3ee7c6cba73e65f98978990d97f","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-1.14.0-snapshot.308dd5f.tgz","fileCount":2407,"unpackedSize":8726913,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg7aqdCRA9TVsSAnZWagAA4kUQAIX4wpfw67QuWnAqBCPz\nRkWhqKQmVHGjiVBUoxBcD8g3OTakrxE8K9m08NpDf5tEeRk6DN50PYE5VRdn\nLzLV6lDrdcFaDx17Vym+m38XHrQuHczSvZLi90AX+HRTiTnySRqWmWUBrKoJ\nAFtnT0g9/+6mSKPKcIWibKLpqeCJjXMS0bA0yiBFW/biSeOQXlZHA87lL/vj\nsJZUMARah3hRp6o2g9Rnkg2l3kPxprQb4mbqu8Ieb/+X4esiBbsqNIKCtO4W\n8rmLyLvWYlosOGpHb6+OSkG9QgbkqvsU8WPULjCGrtuferwsIRh9+c1Z15cm\nliuznVDDCfiD73Duj7CZEA8uU3U/qNfN32v+kgefBC0eK+eTnqYwnXopI3aZ\nLVxSzXuT9AW85m4XWJCGBwRPB7jadSAqmn4WYNwfVypi1l2CbhQWog6rYQfs\ns/QrGbgUGKIstBYdP+jUyQIP0nFnhOG+1lmuOolqXkC1gdSWkac1rVF7nj9i\naq8YA7DN6+gaNRk5MLeUDyAFSLP+XmxFXTAumhy974NDdVyXiqhnIsJVztzr\nXzqhDGZstJCkb/dIESEDs6jHK2tXKBxybkJIhzIzLEGy0P9H/m4u54JPmwwk\nCdlGJ/+speQw6xU6xTbAG4RXRhj2bBNcwKbuLXgtc1C/GZCTI1sX/i9E9Vmy\nPSRd\r\n=u/fg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEkAjF/5lAOSYXPoChBD1KosTEYhgALgUeAdgtWte8izAiBoYJE51Ny5KYjCe9XLvNRgPVXxwWnkiB9UYsGu4SvpIQ=="}]},"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"maintainers":[{"name":"drsteini-usgs","email":"drsteini@contractor.usgs.gov"},{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},{"name":"mbucknell-usgs","email":"mbucknell@usgs.gov"},{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_1.14.0-snapshot.308dd5f_1626188444809_0.4369628685136877"},"_hasShrinkwrap":false},"1.14.0":{"name":"wdfn-viz","version":"1.14.0","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"sass --load-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","build:uswdsinit":"cp -r node_modules/uswds/dist/js/uswds-init.min.* dist","clean":"rm -rf dist && mkdir dist","lint":"run-p lint:*","lint:cs":"stylelint src/stylesheets ","lint:js":"eslint src/js","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"jest --collectCoverage=true","test:debug":"node --inspect-brk node_modules/.bin/jest --runInBand","test:watch":"jest --watch","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://code.usgs.gov/wma/iow/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://code.usgs.gov/wma/iow/wdfn-viz/-/issues"},"homepage":"https://code.usgs.gov/wma/iow/wdfn-viz","engines":{"node":">= 10"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.12.0"},"devDependencies":{"@rollup/plugin-buble":"^0.21.3","@rollup/plugin-commonjs":"^19.0.0","@rollup/plugin-node-resolve":"^13.0.0","autoprefixer":"^10.2.6","buble":"^0.20.0","buble-jest":"^1.0.1","eslint":"^7.30.0","eslint-plugin-jest":"^24.3.6","jest":"^27.0.6","live-server":"^1.2.1","nodemon":"^2.0.9","npm-run-all":"^4.1.5","nunjucks":"^3.2.3","nunjucks-cli":"^1.0.0","postcss":"^8.3.5","postcss-cli":"^8.3.1","postcss-csso":"^5.0.1","postcss-flexbugs-fixes":"^5.0.2","rollup":"^2.52.8","rollup-plugin-terser":"^7.0.2","sass":"^1.35.1","stylelint":"^13.13.1","stylelint-config-recommended-scss":"^4.2.0","stylelint-scss":"^3.19.0"},"gitHead":"95d82fe27900b8f071830c55df02422cf1d3ce4f","_id":"wdfn-viz@1.14.0","_nodeVersion":"14.17.3","_npmVersion":"6.14.13","dist":{"integrity":"sha512-FzdWtVvJ89kMSfV1AXabQWUzXU970JauX9UU+dw9WA7yeIfI0XbB6T5k0vaFbE5E1EVzI7Iyo8bGiaRrm7kQWA==","shasum":"0ba181d425d7f98ab04df95b838bd141cc4e5c24","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-1.14.0.tgz","fileCount":2407,"unpackedSize":8726896,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg7axHCRA9TVsSAnZWagAAl4cP/iLP3YZCdIWEHmuWTAQO\nt7BLX66ewe8SaedSkj1hZivN5nFrSf9YE0BharcSlz2QZ5nM7zAWLk4pYg5t\n9jvJAxRx5hwFKS2OStWjfAcR3TR1tYZs3o+ajADkyB+E7xUmtlo4XOZab9oO\nZXW2OkmMNyl3tSDjOsSDLLRNVZrakcwDWPIoUaBsP+jMUclr6ou7SHaYUsjc\n1pSvbOcs8e9p2XGqPfNooc20wNpMrouIExEVpyMo7mHYcljgOUPc/NqzS6fX\nDpkGR7ZrTN8b6Xzw5haaQpZdtM5IsXW2wJkXF220zPPgh0LiC/qtUOCTEv/6\ntQymFFcgzxAoAgpK0phi11udEIHOLAnf/fMHy+iW77xVDs+PiddiBqHPCPdV\nNFeTJfm8AST3NgmQ48Ka94cMlDv6X76Oe6YchDz1jz9y0QiOXAjSKaqXDyu2\nBvMIsCtdt6Bjr5A5Otk5xQMWXKMYA1I09fmN5wNmUqKgnTZuZMO0+GXNngWb\nVvbsM4EHqJWwrMYa3o2ltqsTCliInQNdnSdPGohLEWPWY1Ppy0weVHmr7CF8\nqfZlHi0KFnATR8Q2vjzaPJVd0IM3ubhIK5UzIW1fQ/iYEbetNtPGIyKfNm8+\nO40s7AeCAhG3hvJ0KRiUxQ92i+6A0xiP5x9jgaUdmiS8nu1eAECbklIf8HM9\nRtTG\r\n=eapm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBrKHb5gZu1fCL36vP/moyl9E2nUeJo23kU//R5gDVogAiEAvG4B8UplR6wuUXPuO4lrPymoE/E2wAPhZHhkCYKZdE4="}]},"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"maintainers":[{"name":"drsteini-usgs","email":"drsteini@contractor.usgs.gov"},{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},{"name":"mbucknell-usgs","email":"mbucknell@usgs.gov"},{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_1.14.0_1626188871057_0.9568647592426887"},"_hasShrinkwrap":false},"1.15.0-snapshot.1669a7d":{"name":"wdfn-viz","version":"1.15.0-snapshot.1669a7d","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"sass --load-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","build:uswdsinit":"cp -r node_modules/uswds/dist/js/uswds-init.min.* dist","clean":"rm -rf dist && mkdir dist","lint":"run-p lint:*","lint:cs":"stylelint src/stylesheets ","lint:js":"eslint src/js","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"jest --collectCoverage=true","test:debug":"node --inspect-brk node_modules/.bin/jest --runInBand","test:watch":"jest --watch","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://code.usgs.gov/wma/iow/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://code.usgs.gov/wma/iow/wdfn-viz/-/issues"},"homepage":"https://code.usgs.gov/wma/iow/wdfn-viz","engines":{"node":">= 10"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.12.0"},"devDependencies":{"@rollup/plugin-buble":"^0.21.3","@rollup/plugin-commonjs":"^19.0.0","@rollup/plugin-node-resolve":"^13.0.0","autoprefixer":"^10.2.6","buble":"^0.20.0","buble-jest":"^1.0.1","eslint":"^7.30.0","eslint-plugin-jest":"^24.3.6","jest":"^27.0.6","live-server":"^1.2.1","nodemon":"^2.0.9","npm-run-all":"^4.1.5","nunjucks":"^3.2.3","nunjucks-cli":"^1.0.0","postcss":"^8.3.5","postcss-cli":"^8.3.1","postcss-csso":"^5.0.1","postcss-flexbugs-fixes":"^5.0.2","rollup":"^2.52.8","rollup-plugin-terser":"^7.0.2","sass":"^1.35.1","stylelint":"^13.13.1","stylelint-config-recommended-scss":"^4.2.0","stylelint-scss":"^3.19.0"},"gitHead":"1669a7d5c024a7f248a89454cca9ededa44e1cab","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![pipeline status](https://code.usgs.gov/wma/iow/wdfn-viz/badges/main/pipeline.svg)](https://code.usgs.gov/wma/iow/wdfn-viz/-/commits/main)\n[![coverage report](https://code.usgs.gov/wma/iow/wdfn-viz/badges/main/coverage.svg)](https://code.usgs.gov/wma/iow/wdfn-viz/-/commits/main)\n\nProvides Sass stylesheets and images that can be used when creating web pages that need to\nmeet USGS visual identity standards. The stylesheets use USWDS (https://designsystem.digital.gov/)\nas the basis so all USWDS components are available.\n\n## Usage\n\nThe repo can be installed in an existing project by installing via npm.\n\n```bash\nnpm install wdfn-viz\n```\n\nTo install the latest development snapshot (containing the current state of the master branch):\n\n```bash\nnpm install wdfn-viz@snapshot\n```\n\nWe recommend building the stylesheets with Dart sass (npm install sass).\nThe main Sass stylesheet that should be imported into a web page's Sass file and is at /src/stylesheets/wdfnviz.scss.\nThis will also include the USWDS style sheets, so a separate import is not required.  This directory should be \nspecified on the --load-path option along with the uswds/src/stylesheets when building the site's stylesheets. When building \nthe style sheets the css should also be processed by postcss using the autoprefixer and postcss-csso using a postcss.config.js file:\n```javascript\nconst autoprefixerOptions = [\n    '> 2%',\n    'Last 2 versions',\n    'IE 11',\n    'not dead'\n];\n\nmodule.exports = ctx => ({\n    map: Object.assign({}, ctx.options.map, {inline: false}),\n    parser: ctx.options.parser,\n    plugins: {\n        autoprefixer: autoprefixerOptions,\n        'postcss-csso': {\n            forceMediaMerge: false\n        }\n    }\n});\n```\nYou may also want to include postcss-flexbugs-fixes plugin as is done for building wdfn-viz.\n\nBelow is an example of the process:\n```\n% sass --load-path node_modules/wdfn-viz/src/stylesheets --include-path node_modules/uswds/src/stylesheets src/styles.main.css dist/main.css\n% postcss dist/main.css  -o dist/main.css\n```\n\nPostcss generates internal sourcemaps by default. You may want to consider using the --map option to create external map files\nor if you want to minimize your css assets, you may want to disable entirely by using --no-map\n\nWhen building the assets, the images should be collected in a common directory and specified in the project's Sass\nfiles using the $theme-image-path variable. This should include the images in wdfn-viz/src/img that provide the USGS favicon and\nlogos. If using USWDS images those will also need to be collected. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nThe fonts should also be collected in a common directory and specified in the project's Sass files using the $theme-font-path\nvariable. Below are examples of commands that could be used to collect the image and font assets.\n```\n% mkdir -p dist/img && cp -r node_modules/uswds/src/img/* dist/img && cp -r node_modules/wdfn-viz/src/img/* dist/img\n% mkdir -p dist/fonts && cp -r node_modules/uswds/src/fonts/* dist/fonts\n```\n\nThe javascript should be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined. In order to use, a loading function should be defined which will be executed \nwhen the page loads. Below is a simple example:\n```javascript\nimport wdfnviz from 'wdfn-viz';\n\nconst load = function () {\n    null;  // Add code that should get executed when the page is loaded\n}\n\nwdfnviz.main(load);\n```\nThe javascript bundle that is created (which will contain your project specific javascript as well as the USWDS javascript) should be loaded inside the <body> tag. We recommend that this is done as the first tag in the body. The async attribute can be used.\n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos. This includes the script for ```uswds-init.min.js``` which should be retrieved before loading the css files as is done in the example header.html.\n\n## Using without building stylesheets and javascript bundling\nYou can use the prebuilt stylesheet and javascript bundle if desired. This can be done by including the following in your markup in the <head> section.\n```\n<link rel=\"stylesheet\" href=\"wdfnviz.css\">\n<script src=\"wdfnviz.js\"></script>\n```\n\n## Publishing to npm\n\nGitlab CI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when merging commits to the `main` branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://code.usgs.gov/wma/iow/wdfn-viz/-/blob/main/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit. Generally, once a release is published, the version number should be incremented to the next minor release number with `-snapshot` appended and the change committed to the `main` branch.\n","readmeFilename":"README.md","_id":"wdfn-viz@1.15.0-snapshot.1669a7d","_nodeVersion":"14.17.3","_npmVersion":"6.14.13","dist":{"integrity":"sha512-Nz/Q7bTgkkE9MTPho1qZVTv2X+v6kV7W7Qg33WoH0/+w13i1vBcTaSC1k5NFyArABFUO37qzFwYzyuFvERUnzw==","shasum":"386915b77439730a0149fe8ee9b0f19e1643261d","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-1.15.0-snapshot.1669a7d.tgz","fileCount":2407,"unpackedSize":8726913,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg7ba0CRA9TVsSAnZWagAA21wP/iNs/qRLeuHaM5JcpCw6\nEyF7cyf1uFKz6pSj2uD21Y/f1dBLeZhKb4A0GyqpgJCgFE+2btYEw8z3YVNI\nFZ1YR96YqhpwBFVYRqWLjXzJkcBMTW20abe0FP2CqmYQFvxnzvkQ4S8SFLdJ\n3Mn36Xe7Y4egbk99Po8Oufhpm7hrJybmpcuTnCBdVbVfgs7plgPOEMzdDk9e\nJ65njCT2k17dxQKkwPoQPWg0cQ7c18jIbz3lBDy/JYTQ59OLokxP0tB11C9F\nTKsvLKcPhR5ZeYLHf2aD27CqpsQXcj6uF+b3QQFxdN3kyzrmpJ/SbZTZh1sZ\ny8gYFtbRwOFoiP5cg0zAXo7gD0vGM8Qfig2DWvRQ1NBL3kpl6n9LxlgMCdm1\nf/anJ5V77erkTmSCEuMIxSrq6oSjcWWbOm8OqY4+UIxzStFA5OnA0fo/8GY+\nkUNay545Y5uY7VuKbdDVl7V01HizE5oCIwbYgCOSzzrGVTYhlOWdHCntNMcT\njmvymyMA+40eUcaR4E8BppGV3A2O+HnG4HiPEN+JUlvlsQSusgbFcCcnuj+b\n/shSbKrrFympGOx1B4+vNW90Hp24O247FbkWdhSVwr6+/dVIODTlgNyFXD2j\nPuJA2cNWkhmeOid8iwG0yUo/rZMGbNlbADnBEALQnAKUa88Hi5bj0uM4HNea\n+nWa\r\n=E6jv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBxHRM4QtT9xJR4iMAj+DcXROtIEMzifmP9CDw49U9FNAiB5LtupsyqSFoweEuHzYiOY/6+gsD/iSr+mXEnwHRyNFA=="}]},"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"maintainers":[{"name":"drsteini-usgs","email":"drsteini@contractor.usgs.gov"},{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},{"name":"mbucknell-usgs","email":"mbucknell@usgs.gov"},{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_1.15.0-snapshot.1669a7d_1626191539635_0.26185587749322936"},"_hasShrinkwrap":false},"1.15.0-snapshot.2e132c6":{"name":"wdfn-viz","version":"1.15.0-snapshot.2e132c6","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"sass --load-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","build:uswdsinit":"cp -r node_modules/uswds/dist/js/uswds-init.min.* dist","clean":"rm -rf dist && mkdir dist","lint":"run-p lint:*","lint:cs":"stylelint src/stylesheets ","lint:js":"eslint src/js","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"jest --collectCoverage=true","test:debug":"node --inspect-brk node_modules/.bin/jest --runInBand","test:watch":"jest --watch","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://code.usgs.gov/wma/iow/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://code.usgs.gov/wma/iow/wdfn-viz/-/issues"},"homepage":"https://code.usgs.gov/wma/iow/wdfn-viz","engines":{"node":">= 10"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.12.0"},"devDependencies":{"@rollup/plugin-buble":"^0.21.3","@rollup/plugin-commonjs":"^19.0.0","@rollup/plugin-node-resolve":"^13.0.0","autoprefixer":"^10.2.6","buble":"^0.20.0","buble-jest":"^1.0.1","eslint":"^7.30.0","eslint-plugin-jest":"^24.3.6","jest":"^27.0.6","live-server":"^1.2.1","nodemon":"^2.0.9","npm-run-all":"^4.1.5","nunjucks":"^3.2.3","nunjucks-cli":"^1.0.0","postcss":"^8.3.5","postcss-cli":"^8.3.1","postcss-csso":"^5.0.1","postcss-flexbugs-fixes":"^5.0.2","rollup":"^2.52.8","rollup-plugin-terser":"^7.0.2","sass":"^1.35.1","stylelint":"^13.13.1","stylelint-config-recommended-scss":"^4.2.0","stylelint-scss":"^3.19.0"},"gitHead":"2e132c635130dc763b2bbfa9f3a538bed2a5a19c","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![pipeline status](https://code.usgs.gov/wma/iow/wdfn-viz/badges/main/pipeline.svg)](https://code.usgs.gov/wma/iow/wdfn-viz/-/commits/main)\n[![coverage report](https://code.usgs.gov/wma/iow/wdfn-viz/badges/main/coverage.svg)](https://code.usgs.gov/wma/iow/wdfn-viz/-/commits/main)\n\nProvides Sass stylesheets and images that can be used when creating web pages that need to\nmeet USGS visual identity standards. The stylesheets use USWDS (https://designsystem.digital.gov/)\nas the basis so all USWDS components are available.\n\n## Usage\n\nThe repo can be installed in an existing project by installing via npm.\n\n```bash\nnpm install wdfn-viz\n```\n\nTo install the latest development snapshot (containing the current state of the master branch):\n\n```bash\nnpm install wdfn-viz@snapshot\n```\n\nWe recommend building the stylesheets with Dart sass (npm install sass).\nThe main Sass stylesheet that should be imported into a web page's Sass file and is at /src/stylesheets/wdfnviz.scss.\nThis will also include the USWDS style sheets, so a separate import is not required.  This directory should be \nspecified on the --load-path option along with the uswds/src/stylesheets when building the site's stylesheets. When building \nthe style sheets the css should also be processed by postcss using the autoprefixer and postcss-csso using a postcss.config.js file:\n```javascript\nconst autoprefixerOptions = [\n    '> 2%',\n    'Last 2 versions',\n    'IE 11',\n    'not dead'\n];\n\nmodule.exports = ctx => ({\n    map: Object.assign({}, ctx.options.map, {inline: false}),\n    parser: ctx.options.parser,\n    plugins: {\n        autoprefixer: autoprefixerOptions,\n        'postcss-csso': {\n            forceMediaMerge: false\n        }\n    }\n});\n```\nYou may also want to include postcss-flexbugs-fixes plugin as is done for building wdfn-viz.\n\nBelow is an example of the process:\n```\n% sass --load-path node_modules/wdfn-viz/src/stylesheets --include-path node_modules/uswds/src/stylesheets src/styles.main.css dist/main.css\n% postcss dist/main.css  -o dist/main.css\n```\n\nPostcss generates internal sourcemaps by default. You may want to consider using the --map option to create external map files\nor if you want to minimize your css assets, you may want to disable entirely by using --no-map\n\nWhen building the assets, the images should be collected in a common directory and specified in the project's Sass\nfiles using the $theme-image-path variable. This should include the images in wdfn-viz/src/img that provide the USGS favicon and\nlogos. If using USWDS images those will also need to be collected. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nThe fonts should also be collected in a common directory and specified in the project's Sass files using the $theme-font-path\nvariable. Below are examples of commands that could be used to collect the image and font assets.\n```\n% mkdir -p dist/img && cp -r node_modules/uswds/src/img/* dist/img && cp -r node_modules/wdfn-viz/src/img/* dist/img\n% mkdir -p dist/fonts && cp -r node_modules/uswds/src/fonts/* dist/fonts\n```\n\nThe javascript should be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined. In order to use, a loading function should be defined which will be executed \nwhen the page loads. Below is a simple example:\n```javascript\nimport wdfnviz from 'wdfn-viz';\n\nconst load = function () {\n    null;  // Add code that should get executed when the page is loaded\n}\n\nwdfnviz.main(load);\n```\nThe javascript bundle that is created (which will contain your project specific javascript as well as the USWDS javascript) should be loaded inside the <body> tag. We recommend that this is done as the first tag in the body. The async attribute can be used.\n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos. This includes the script for ```uswds-init.min.js``` which should be retrieved before loading the css files as is done in the example header.html.\n\n## Using without building stylesheets and javascript bundling\nYou can use the prebuilt stylesheet and javascript bundle if desired. This can be done by including the following in your markup in the <head> section.\n```\n<link rel=\"stylesheet\" href=\"wdfnviz.css\">\n<script src=\"wdfnviz.js\"></script>\n```\n\n## Publishing to npm\n\nGitlab CI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when merging commits to the `main` branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://code.usgs.gov/wma/iow/wdfn-viz/-/blob/main/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit. Generally, once a release is published, the version number should be incremented to the next minor release number with `-snapshot` appended and the change committed to the `main` branch.\n","readmeFilename":"README.md","_id":"wdfn-viz@1.15.0-snapshot.2e132c6","_nodeVersion":"14.17.3","_npmVersion":"6.14.13","dist":{"integrity":"sha512-lBvSfZxj6H19jHeqFvp+ZMgeM1OX7zkdEF10wkixYems1guaBaIPJFT5rsyZH9KhzfNShN2pntrc7hOtqObp9A==","shasum":"ccc9ba406e397a36837ee6d0a3ca59ad46a64bc0","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-1.15.0-snapshot.2e132c6.tgz","fileCount":2407,"unpackedSize":8726913,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg7y+ACRA9TVsSAnZWagAAb0QP/3BREaXjYEGxHGWUo0Mp\nlCSG9+QUFi1SnTSjkOMKerh65rN0Q3JLZxmat+1nellfJ+gu9uU/3QW1CwFe\nkSZUfS0ihW9DRLl4h+0NROGp16WCJREKrQypmSEvYcJg03fOYpcXqJkB7prT\npvhjeMoanPX8CcTPF2ScvGRUba3un1LrWmCgpj6HCGLZZwuW5WaQgqTMmpiY\nHV9MdO2Ow+6FCveT11mKmRoXyKs7J6sbQvGCTIbhNTQJXd0P2XGhhrqdyeY2\nAnVSSKqBWGb1406pDa+6e5B2ut7I0sJ+8j/4lCp5sF+jGJj5cWtuTGbnx3cU\nlDn6LboIyXG4UrrWiIrZYp9QUhcR9TYoyse1n/5HnnJW7tGdl/mBVRVtWDgc\n3pfuuG6MTk4uDdMEnuyAsH6vuw1xP5TA9jAT46Zn9bvoVTDVgu+hJHJXfhwS\nOgBG3KxbcKGzxhTiW5PnB/iHaOcBS/QA/vDqScFQZhAOdcHRlkSz7E94f15l\nWhgXJsBb1UrHT4sauNKZg/iqAGzW80XTdTyLSeKbu1/RIL8tnRUqpvd0Gu75\niFci84mUokCmBh4ewqqAEnesgeOqcRXOxG7hqyujqODW+RIeB4ArUljiLaHw\n3k/AMMFQ0uiVVak9pOFxh5//GfXgXxSJQIj4piHyQUe0G0EdBjs/1PmBKbJ+\nmoJY\r\n=7JoO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCVZFPdKYnd05WXjvlWLsxDf23kS/vE5UCNH4V5gQdsGgIgQSQSo/3bQmlJMtSirsaFU+ITUVCMLPWrFAcemJmOTAc="}]},"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"maintainers":[{"name":"drsteini-usgs","email":"drsteini@contractor.usgs.gov"},{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},{"name":"mbucknell-usgs","email":"mbucknell@usgs.gov"},{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_1.15.0-snapshot.2e132c6_1626288000191_0.16484481049885158"},"_hasShrinkwrap":false},"1.15.0-snapshot.739c58e":{"name":"wdfn-viz","version":"1.15.0-snapshot.739c58e","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"sass --load-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","build:uswdsinit":"cp -r node_modules/uswds/dist/js/uswds-init.min.* dist","clean":"rm -rf dist && mkdir dist","lint":"run-p lint:*","lint:cs":"stylelint src/stylesheets ","lint:js":"eslint src/js","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"jest --collectCoverage=true","test:debug":"node --inspect-brk node_modules/.bin/jest --runInBand","test:watch":"jest --watch","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://code.usgs.gov/wma/iow/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://code.usgs.gov/wma/iow/wdfn-viz/-/issues"},"homepage":"https://code.usgs.gov/wma/iow/wdfn-viz","engines":{"node":">= 10"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.12.0"},"devDependencies":{"@rollup/plugin-buble":"0.21.3","@rollup/plugin-commonjs":"19.0.1","@rollup/plugin-node-resolve":"13.0.2","autoprefixer":"10.3.1","buble":"0.20.0","buble-jest":"1.0.1","eslint":"7.31.0","eslint-plugin-jest":"24.3.7","jest":"27.0.6","live-server":"1.2.1","nodemon":"2.0.12","npm-run-all":"4.1.5","nunjucks":"3.2.3","nunjucks-cli":"1.0.0","postcss":"8.3.5","postcss-cli":"8.3.1","postcss-csso":"5.0.1","postcss-flexbugs-fixes":"5.0.2","rollup":"2.53.3","rollup-plugin-terser":"7.0.2","sass":"1.35.2","stylelint":"13.13.1","stylelint-config-recommended-scss":"4.3.0","stylelint-scss":"3.20.1"},"gitHead":"739c58e6338ec9d6fd6f1dd54e7d4ef12b286301","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![pipeline status](https://code.usgs.gov/wma/iow/wdfn-viz/badges/main/pipeline.svg)](https://code.usgs.gov/wma/iow/wdfn-viz/-/commits/main)\n[![coverage report](https://code.usgs.gov/wma/iow/wdfn-viz/badges/main/coverage.svg)](https://code.usgs.gov/wma/iow/wdfn-viz/-/commits/main)\n\nProvides Sass stylesheets and images that can be used when creating web pages that need to\nmeet USGS visual identity standards. The stylesheets use USWDS (https://designsystem.digital.gov/)\nas the basis so all USWDS components are available.\n\n## Usage\n\nThe repo can be installed in an existing project by installing via npm.\n\n```bash\nnpm install wdfn-viz\n```\n\nTo install the latest development snapshot (containing the current state of the master branch):\n\n```bash\nnpm install wdfn-viz@snapshot\n```\n\nWe recommend building the stylesheets with Dart sass (npm install sass).\nThe main Sass stylesheet that should be imported into a web page's Sass file and is at /src/stylesheets/wdfnviz.scss.\nThis will also include the USWDS style sheets, so a separate import is not required.  This directory should be \nspecified on the --load-path option along with the uswds/src/stylesheets when building the site's stylesheets. When building \nthe style sheets the css should also be processed by postcss using the autoprefixer and postcss-csso using a postcss.config.js file:\n```javascript\nconst autoprefixerOptions = [\n    '> 2%',\n    'Last 2 versions',\n    'IE 11',\n    'not dead'\n];\n\nmodule.exports = ctx => ({\n    map: Object.assign({}, ctx.options.map, {inline: false}),\n    parser: ctx.options.parser,\n    plugins: {\n        autoprefixer: autoprefixerOptions,\n        'postcss-csso': {\n            forceMediaMerge: false\n        }\n    }\n});\n```\nYou may also want to include postcss-flexbugs-fixes plugin as is done for building wdfn-viz.\n\nBelow is an example of the process:\n```\n% sass --load-path node_modules/wdfn-viz/src/stylesheets --include-path node_modules/uswds/src/stylesheets src/styles.main.css dist/main.css\n% postcss dist/main.css  -o dist/main.css\n```\n\nPostcss generates internal sourcemaps by default. You may want to consider using the --map option to create external map files\nor if you want to minimize your css assets, you may want to disable entirely by using --no-map\n\nWhen building the assets, the images should be collected in a common directory and specified in the project's Sass\nfiles using the $theme-image-path variable. This should include the images in wdfn-viz/src/img that provide the USGS favicon and\nlogos. If using USWDS images those will also need to be collected. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nThe fonts should also be collected in a common directory and specified in the project's Sass files using the $theme-font-path\nvariable. Below are examples of commands that could be used to collect the image and font assets.\n```\n% mkdir -p dist/img && cp -r node_modules/uswds/src/img/* dist/img && cp -r node_modules/wdfn-viz/src/img/* dist/img\n% mkdir -p dist/fonts && cp -r node_modules/uswds/src/fonts/* dist/fonts\n```\n\nThe javascript should be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined. In order to use, a loading function should be defined which will be executed \nwhen the page loads. Below is a simple example:\n```javascript\nimport wdfnviz from 'wdfn-viz';\n\nconst load = function () {\n    null;  // Add code that should get executed when the page is loaded\n}\n\nwdfnviz.main(load);\n```\nThe javascript bundle that is created (which will contain your project specific javascript as well as the USWDS javascript) should be loaded inside the <body> tag. We recommend that this is done as the first tag in the body. The async attribute can be used.\n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos. This includes the script for ```uswds-init.min.js``` which should be retrieved before loading the css files as is done in the example header.html.\n\n## Using without building stylesheets and javascript bundling\nYou can use the prebuilt stylesheet and javascript bundle if desired. This can be done by including the following in your markup in the <head> section.\n```\n<link rel=\"stylesheet\" href=\"wdfnviz.css\">\n<script src=\"wdfnviz.js\"></script>\n```\n\n## Publishing to npm\n\nGitlab CI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when merging commits to the `main` branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://code.usgs.gov/wma/iow/wdfn-viz/-/blob/main/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit. Generally, once a release is published, the version number should be incremented to the next minor release number with `-snapshot` appended and the change committed to the `main` branch.\n","readmeFilename":"README.md","_id":"wdfn-viz@1.15.0-snapshot.739c58e","_nodeVersion":"14.17.3","_npmVersion":"6.14.13","dist":{"integrity":"sha512-H03Bb1DRTPW1Itn8j2RVuAHpBw/zgrfMhsT8b5YyBU7xAuBLx0XrE7wVDRsCey/+39GePDPlsmMloU/fFzi8Lg==","shasum":"b1084ca5ec021a0dc503722d6f231adde169a683","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-1.15.0-snapshot.739c58e.tgz","fileCount":2407,"unpackedSize":8726890,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg+CLuCRA9TVsSAnZWagAAOboQAI9iTjq/WvmtFK4DeKZi\nZTMvWXGkegfc7m+dKZlzXhlcSY/f1MD6bvRLIBbujlI2VPipcnLsakQxvchn\nm+2NB6UjessslHWiZwq87VHjW9962SVRyjLaMnZTvNOd6UnBicgRzVzdLg07\naoi3YW4IKX2teqeIZxfhsQE0sror7v/HLHle3bCXV7Hy5q7slETLZwdmUNIL\n6BakjdkhoL1dOIM9YVsEn6nLyzzRvrdGgCh/k4eVaEhvDH3wI18z/5iXmxhn\n5eTH2bQZWrNsuzQ1xXWc00zYIqUvUHmMsx1oi94YABMEXllEKy/LQnEefTQ3\nd5rGLuyg7R7oDUbTQppPQPFy97YWHCEHpRGngRFuA1LcWSVaDe9w6zFO8wfR\nTz1negr0lt9dHxV8lWIdcu5smgJB2gmsOsP1o4dUiaDuGbnlQJttK+Hbr72e\n6uiq+jNM1lIU1zCmaw9F5F6D0CnDWhyacjPwS3iYT6gUmF+f2ahPlRdLFV7d\n2ENpECqzsO9yY1fYFKYlG1pTaljLBs7Xo2jAi5ywEPUL5WdsUedVC3HBP2/z\nwZetd8YzaFS5rBLS9ip1GxPFYZkduGyEVvDHxGVkDe6DXtaTlrqAjtJX9hrV\ndaCac4u7rEuUcFYrh4SLQ0tUda0vAF7nMc1W9wrYlmFXYvp9MEAIL6iqUfhJ\nzXXv\r\n=6IfH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDpVHlr7QZQ34MejOhTCGIx4C7LEc8bNVsVac/EPRgSvQIhAMvahqtS79OCvfizWaILyV7SIKAlbPqGSTnKQ7nBL9kp"}]},"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"maintainers":[{"name":"drsteini-usgs","email":"drsteini@contractor.usgs.gov"},{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},{"name":"mbucknell-usgs","email":"mbucknell@usgs.gov"},{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_1.15.0-snapshot.739c58e_1626874605894_0.5890524841389968"},"_hasShrinkwrap":false},"1.15.0-snapshot.d5ee581":{"name":"wdfn-viz","version":"1.15.0-snapshot.d5ee581","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"sass --load-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","build:uswdsinit":"cp -r node_modules/uswds/dist/js/uswds-init.min.* dist","clean":"rm -rf dist && mkdir dist","lint":"run-p lint:*","lint:cs":"stylelint src/stylesheets ","lint:js":"eslint src/js","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"jest --collectCoverage=true","test:debug":"node --inspect-brk node_modules/.bin/jest --runInBand","test:watch":"jest --watch","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://code.usgs.gov/wma/iow/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://code.usgs.gov/wma/iow/wdfn-viz/-/issues"},"homepage":"https://code.usgs.gov/wma/iow/wdfn-viz","engines":{"node":">= 10"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.12.0"},"devDependencies":{"@rollup/plugin-buble":"0.21.3","@rollup/plugin-commonjs":"19.0.1","@rollup/plugin-node-resolve":"13.0.2","autoprefixer":"10.3.1","buble":"0.20.0","buble-jest":"1.0.1","eslint":"7.31.0","eslint-plugin-jest":"24.3.7","jest":"27.0.6","live-server":"1.2.1","nodemon":"2.0.12","npm-run-all":"4.1.5","nunjucks":"3.2.3","nunjucks-cli":"1.0.0","postcss":"8.3.5","postcss-cli":"8.3.1","postcss-csso":"5.0.1","postcss-flexbugs-fixes":"5.0.2","rollup":"2.53.3","rollup-plugin-terser":"7.0.2","sass":"1.35.2","stylelint":"13.13.1","stylelint-config-recommended-scss":"4.3.0","stylelint-scss":"3.20.1"},"gitHead":"d5ee5818b7094770d01baecf1ab9fa843defef2d","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![pipeline status](https://code.usgs.gov/wma/iow/wdfn-viz/badges/main/pipeline.svg)](https://code.usgs.gov/wma/iow/wdfn-viz/-/commits/main)\n[![coverage report](https://code.usgs.gov/wma/iow/wdfn-viz/badges/main/coverage.svg)](https://code.usgs.gov/wma/iow/wdfn-viz/-/commits/main)\n\nProvides Sass stylesheets and images that can be used when creating web pages that need to\nmeet USGS visual identity standards. The stylesheets use USWDS (https://designsystem.digital.gov/)\nas the basis so all USWDS components are available.\n\n## Usage\n\nThe repo can be installed in an existing project by installing via npm.\n\n```bash\nnpm install wdfn-viz\n```\n\nTo install the latest development snapshot (containing the current state of the master branch):\n\n```bash\nnpm install wdfn-viz@snapshot\n```\n\nWe recommend building the stylesheets with Dart sass (npm install sass).\nThe main Sass stylesheet that should be imported into a web page's Sass file and is at /src/stylesheets/wdfnviz.scss.\nThis will also include the USWDS style sheets, so a separate import is not required.  This directory should be \nspecified on the --load-path option along with the uswds/src/stylesheets when building the site's stylesheets. When building \nthe style sheets the css should also be processed by postcss using the autoprefixer and postcss-csso using a postcss.config.js file:\n```javascript\nconst autoprefixerOptions = [\n    '> 2%',\n    'Last 2 versions',\n    'IE 11',\n    'not dead'\n];\n\nmodule.exports = ctx => ({\n    map: Object.assign({}, ctx.options.map, {inline: false}),\n    parser: ctx.options.parser,\n    plugins: {\n        autoprefixer: autoprefixerOptions,\n        'postcss-csso': {\n            forceMediaMerge: false\n        }\n    }\n});\n```\nYou may also want to include postcss-flexbugs-fixes plugin as is done for building wdfn-viz.\n\nBelow is an example of the process:\n```\n% sass --load-path node_modules/wdfn-viz/src/stylesheets --include-path node_modules/uswds/src/stylesheets src/styles.main.css dist/main.css\n% postcss dist/main.css  -o dist/main.css\n```\n\nPostcss generates internal sourcemaps by default. You may want to consider using the --map option to create external map files\nor if you want to minimize your css assets, you may want to disable entirely by using --no-map\n\nWhen building the assets, the images should be collected in a common directory and specified in the project's Sass\nfiles using the $theme-image-path variable. This should include the images in wdfn-viz/src/img that provide the USGS favicon and\nlogos. If using USWDS images those will also need to be collected. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nThe fonts should also be collected in a common directory and specified in the project's Sass files using the $theme-font-path\nvariable. Below are examples of commands that could be used to collect the image and font assets.\n```\n% mkdir -p dist/img && cp -r node_modules/uswds/src/img/* dist/img && cp -r node_modules/wdfn-viz/src/img/* dist/img\n% mkdir -p dist/fonts && cp -r node_modules/uswds/src/fonts/* dist/fonts\n```\n\nThe javascript should be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined. In order to use, a loading function should be defined which will be executed \nwhen the page loads. Below is a simple example:\n```javascript\nimport wdfnviz from 'wdfn-viz';\n\nconst load = function () {\n    null;  // Add code that should get executed when the page is loaded\n}\n\nwdfnviz.main(load);\n```\nThe javascript bundle that is created (which will contain your project specific javascript as well as the USWDS javascript) should be loaded inside the <body> tag. We recommend that this is done as the first tag in the body. The async attribute can be used.\n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos. This includes the script for ```uswds-init.min.js``` which should be retrieved before loading the css files as is done in the example header.html.\n\n## Using without building stylesheets and javascript bundling\nYou can use the prebuilt stylesheet and javascript bundle if desired. This can be done by including the following in your markup in the <head> section.\n```\n<link rel=\"stylesheet\" href=\"wdfnviz.css\">\n<script src=\"wdfnviz.js\"></script>\n```\n\n## Publishing to npm\n\nGitlab CI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when merging commits to the `main` branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://code.usgs.gov/wma/iow/wdfn-viz/-/blob/main/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit. Generally, once a release is published, the version number should be incremented to the next minor release number with `-snapshot` appended and the change committed to the `main` branch.\n","readmeFilename":"README.md","_id":"wdfn-viz@1.15.0-snapshot.d5ee581","_nodeVersion":"14.17.3","_npmVersion":"6.14.13","dist":{"integrity":"sha512-SCALCtj6MwL5699tddLhEmjmbH6fG2rbdXEqu2kbLK5zwDLtSAuCl+CCgTh+JB4F2a1rvvINKx4u9c8Y6N9Zjw==","shasum":"4c4830ff13eca54a3f16d60732f72e944130bafb","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-1.15.0-snapshot.d5ee581.tgz","fileCount":2407,"unpackedSize":8726890,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhAW28CRA9TVsSAnZWagAA318P/1hCfrRO6w+vxwYMjzhA\nVlVJAi2Ic71mA3mu99yQzuWDdLUT6k3H9WJ8bA2MztwUjyk1dXvAYv4xGhql\nJlNSpWJVgzvp7vzGptUEKcAIiGU7SAGoW1E3kKsary2+TyXIxMBSdO+2hSgQ\nuoaZ6wMhHsWSvzNUE4bDuRRsn75oX7lp1zROdCROfEDsF18feNWpVSlc/eHh\n49Jrm1AOnaEpp8AE0BNwxlf7AaWfNUAyG69wyjStx8HDofNNCJ70Mr3wmOdq\nurggwKM64MQ7DSlwXcJAfC1aYPuSz3/ywE592QjheDOWIunmi0+RsV65PZRE\nZLTKsy9Olo8vLaypgEpvGu8jhKw8VXeXQdPbvty7EQv1J7F2SQ+nGMHftR8X\n/EQ8logWWUv4tj9FqX3QcIMlKc+LssertvG8yDlhO+rtOA+lVZ4WSCROEi+8\nzaHiqQv0OukKJ3hS5dhqikXfJv5wpw5vU0j66cwGkDA2b4dK2JAXkHpQvQwn\n+inCMU6Qtf8ISI9RNhUIK9U4CqJaYUsuZP8GO9tUhRnCTxu38g2LaQWFDgRl\nFsUkIASej2GHBg4ymiASg9uK804JJ27E0gY2fF9Bh0rnn6xvpl157BjxdqHR\nM9ILf92vUmGplB4VVhRIWqqNIfYOlp3NgSSj+u9VopCbG4YHwsrfQpURuOp2\njUCY\r\n=oGi2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF/FilXrzrbpTpac2GxG14XzTWrdreh1iF0LytD3TjajAiEA/WDXDpqIZOidy69ErHe7x80PWS396wODV3sKOPWUeCc="}]},"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"maintainers":[{"name":"drsteini-usgs","email":"drsteini@contractor.usgs.gov"},{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},{"name":"mbucknell-usgs","email":"mbucknell@usgs.gov"},{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_1.15.0-snapshot.d5ee581_1627483580410_0.48715885171342577"},"_hasShrinkwrap":false},"1.15.0-snapshot.1a0bb68":{"name":"wdfn-viz","version":"1.15.0-snapshot.1a0bb68","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"sass --load-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","build:uswdsinit":"cp -r node_modules/uswds/dist/js/uswds-init.min.* dist","clean":"rm -rf dist && mkdir dist","lint":"run-p lint:*","lint:cs":"stylelint src/stylesheets ","lint:js":"eslint src/js","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"jest --collectCoverage=true","test:debug":"node --inspect-brk node_modules/.bin/jest --runInBand","test:watch":"jest --watch","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://code.usgs.gov/wma/iow/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://code.usgs.gov/wma/iow/wdfn-viz/-/issues"},"homepage":"https://code.usgs.gov/wma/iow/wdfn-viz","engines":{"node":">= 10"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.12.0"},"devDependencies":{"@rollup/plugin-buble":"0.21.3","@rollup/plugin-commonjs":"19.0.1","@rollup/plugin-node-resolve":"13.0.2","autoprefixer":"10.3.1","buble":"0.20.0","buble-jest":"1.0.1","eslint":"7.31.0","eslint-plugin-jest":"24.3.7","jest":"27.0.6","live-server":"1.2.1","nodemon":"2.0.12","npm-run-all":"4.1.5","nunjucks":"3.2.3","nunjucks-cli":"1.0.0","postcss":"8.3.5","postcss-cli":"8.3.1","postcss-csso":"5.0.1","postcss-flexbugs-fixes":"5.0.2","rollup":"2.53.3","rollup-plugin-terser":"7.0.2","sass":"1.35.2","stylelint":"13.13.1","stylelint-config-recommended-scss":"4.3.0","stylelint-scss":"3.20.1"},"gitHead":"1a0bb683fc9ff2d85264fdc148434a7514d98c35","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![pipeline status](https://code.usgs.gov/wma/iow/wdfn-viz/badges/main/pipeline.svg)](https://code.usgs.gov/wma/iow/wdfn-viz/-/commits/main)\n[![coverage report](https://code.usgs.gov/wma/iow/wdfn-viz/badges/main/coverage.svg)](https://code.usgs.gov/wma/iow/wdfn-viz/-/commits/main)\n\nProvides Sass stylesheets and images that can be used when creating web pages that need to\nmeet USGS visual identity standards. The stylesheets use USWDS (https://designsystem.digital.gov/)\nas the basis so all USWDS components are available.\n\n## Usage\n\nThe repo can be installed in an existing project by installing via npm.\n\n```bash\nnpm install wdfn-viz\n```\n\nTo install the latest development snapshot (containing the current state of the master branch):\n\n```bash\nnpm install wdfn-viz@snapshot\n```\n\nWe recommend building the stylesheets with Dart sass (npm install sass).\nThe main Sass stylesheet that should be imported into a web page's Sass file and is at /src/stylesheets/wdfnviz.scss.\nThis will also include the USWDS style sheets, so a separate import is not required.  This directory should be \nspecified on the --load-path option along with the uswds/src/stylesheets when building the site's stylesheets. When building \nthe style sheets the css should also be processed by postcss using the autoprefixer and postcss-csso using a postcss.config.js file:\n```javascript\nconst autoprefixerOptions = [\n    '> 2%',\n    'Last 2 versions',\n    'IE 11',\n    'not dead'\n];\n\nmodule.exports = ctx => ({\n    map: Object.assign({}, ctx.options.map, {inline: false}),\n    parser: ctx.options.parser,\n    plugins: {\n        autoprefixer: autoprefixerOptions,\n        'postcss-csso': {\n            forceMediaMerge: false\n        }\n    }\n});\n```\nYou may also want to include postcss-flexbugs-fixes plugin as is done for building wdfn-viz.\n\nBelow is an example of the process:\n```\n% sass --load-path node_modules/wdfn-viz/src/stylesheets --include-path node_modules/uswds/src/stylesheets src/styles.main.css dist/main.css\n% postcss dist/main.css  -o dist/main.css\n```\n\nPostcss generates internal sourcemaps by default. You may want to consider using the --map option to create external map files\nor if you want to minimize your css assets, you may want to disable entirely by using --no-map\n\nWhen building the assets, the images should be collected in a common directory and specified in the project's Sass\nfiles using the $theme-image-path variable. This should include the images in wdfn-viz/src/img that provide the USGS favicon and\nlogos. If using USWDS images those will also need to be collected. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nThe fonts should also be collected in a common directory and specified in the project's Sass files using the $theme-font-path\nvariable. Below are examples of commands that could be used to collect the image and font assets.\n```\n% mkdir -p dist/img && cp -r node_modules/uswds/src/img/* dist/img && cp -r node_modules/wdfn-viz/src/img/* dist/img\n% mkdir -p dist/fonts && cp -r node_modules/uswds/src/fonts/* dist/fonts\n```\n\nThe javascript should be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined. In order to use, a loading function should be defined which will be executed \nwhen the page loads. Below is a simple example:\n```javascript\nimport wdfnviz from 'wdfn-viz';\n\nconst load = function () {\n    null;  // Add code that should get executed when the page is loaded\n}\n\nwdfnviz.main(load);\n```\nThe javascript bundle that is created (which will contain your project specific javascript as well as the USWDS javascript) should be loaded inside the <body> tag. We recommend that this is done as the first tag in the body. The async attribute can be used.\n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos. This includes the script for ```uswds-init.min.js``` which should be retrieved before loading the css files as is done in the example header.html.\n\n## Using without building stylesheets and javascript bundling\nYou can use the prebuilt stylesheet and javascript bundle if desired. This can be done by including the following in your markup in the <head> section.\n```\n<link rel=\"stylesheet\" href=\"wdfnviz.css\">\n<script src=\"wdfnviz.js\"></script>\n```\n\n## Publishing to npm\n\nGitlab CI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when merging commits to the `main` branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://code.usgs.gov/wma/iow/wdfn-viz/-/blob/main/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit. Generally, once a release is published, the version number should be incremented to the next minor release number with `-snapshot` appended and the change committed to the `main` branch.\n","readmeFilename":"README.md","_id":"wdfn-viz@1.15.0-snapshot.1a0bb68","_nodeVersion":"14.17.3","_npmVersion":"6.14.13","dist":{"integrity":"sha512-556ZuohMOeLz+6CeSMQbWNtcHkn+f33Xln1HO3mvFnSESbK0CghJrISRB7yla0HE/yxe2tudibs0VG/cgAJeeA==","shasum":"725abbf42b4cbd49efb765cab1d77dfe13db77a4","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-1.15.0-snapshot.1a0bb68.tgz","fileCount":2407,"unpackedSize":8726890,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhAXN0CRA9TVsSAnZWagAALfkP/jdtLBb9AtbkDC6FGpGj\n6krUFODrjI9iC9PGhgXsqKqCo501F/ObawhQslJNWdJSHBoC8PMoIFtTLAMs\nu8sqY87cjvX/lIka6A/40NIzrwlePPQ9N5Zz7qY+3ivdNsW3Vr58z3CNxZTO\ntmkYhrkVvk+czxUIkG3hqLtenTbYgZ0WwGwf1mex3d+cBTCktM9X01OrzWFk\nkyO4HGgKkc4aVIDX2jXBVQZ32akbJVYRgCp+OdK0/tr9wpdjhb5FMkgTbwjT\n0ovmg34w69RqfTiuorjY37iolAckn+kjtYdgVL18pPjNoDA944S4brfyCrOW\nN8xy8xqJewHbjalTxL0gFORyEXvAEHMB9ostdLUDoW0fPYJ99EV6XDVP5yV/\n8g36tbRRTqL0pVLaqxZXAq6ZjAIe0vmtwNwcHPVNkNHictUX364xQYqh8lKe\nbdO2TEmZkp1Dy+CexWEWS4dZfBZTAR01aHv2zGkCsgLP8V5Jti4p2UM4lY5v\nrhQzRs4qFDwAKzkzYjSJ7JzPpu3FtGbImHRlx8TxvCWsvhbXY5gVEEyliZPa\nsI94hYYhvfxBy5BTGvu5/PdMLRNppaUOFz9zsRSL8Bvg7c2Z3XNvnlaEXyIK\nKP5BI0foQIjxLBkaO0xFVSqCIQNj+onbY7IdNK0ok6aS9SexTpApcYvZAEiY\n/twT\r\n=9cB7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBNHLAKWS+x8vGQkBIlJ6qG53YJJSzIDg1/o98diSIskAiBrQYSuqOLQmo0D1+jRMzLxh0+fg15CkMDvoLU7dnNwwA=="}]},"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"maintainers":[{"name":"drsteini-usgs","email":"drsteini@contractor.usgs.gov"},{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},{"name":"mbucknell-usgs","email":"mbucknell@usgs.gov"},{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_1.15.0-snapshot.1a0bb68_1627485044335_0.5095998828419064"},"_hasShrinkwrap":false},"1.14.1":{"name":"wdfn-viz","version":"1.14.1","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"sass --load-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","build:uswdsinit":"cp -r node_modules/uswds/dist/js/uswds-init.min.* dist","clean":"rm -rf dist && mkdir dist","lint":"run-p lint:*","lint:cs":"stylelint src/stylesheets ","lint:js":"eslint src/js","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"jest --collectCoverage=true","test:debug":"node --inspect-brk node_modules/.bin/jest --runInBand","test:watch":"jest --watch","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://code.usgs.gov/wma/iow/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://code.usgs.gov/wma/iow/wdfn-viz/-/issues"},"homepage":"https://code.usgs.gov/wma/iow/wdfn-viz","engines":{"node":">= 10"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.12.1"},"devDependencies":{"@rollup/plugin-buble":"0.21.3","@rollup/plugin-commonjs":"20.0.0","@rollup/plugin-node-resolve":"13.0.4","autoprefixer":"10.3.3","buble":"0.20.0","buble-jest":"1.0.1","eslint":"7.32.0","eslint-plugin-jest":"24.4.0","jest":"27.1.0","live-server":"1.2.1","nodemon":"2.0.12","npm-run-all":"4.1.5","nunjucks":"3.2.3","nunjucks-cli":"1.0.0","postcss":"8.3.6","postcss-cli":"8.3.1","postcss-csso":"5.0.1","postcss-flexbugs-fixes":"5.0.2","rollup":"2.56.3","rollup-plugin-terser":"7.0.2","sass":"1.38.1","stylelint":"13.13.1","stylelint-config-recommended-scss":"4.3.0","stylelint-scss":"3.20.1"},"gitHead":"6c5eb41e01b2aa98fc43b589257f62ff5bdc08ae","_id":"wdfn-viz@1.14.1","_nodeVersion":"14.17.5","_npmVersion":"6.14.14","dist":{"integrity":"sha512-z1lHt0z8N5Im7BS533pjIB0bdo1YOf4ddyZU5h/FPCpt+gu7SvmX6hzzfPe6PdnWIJgCwreL3W2/BdwxvXlUjQ==","shasum":"2c51ba7551b3fd9e3282110b3912a952fbae81ed","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-1.14.1.tgz","fileCount":2407,"unpackedSize":8625796,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhKQxnCRA9TVsSAnZWagAAgm8P/RLDbZU/k2Y3+FOZiF/R\nqeHqdIV7CEle5WR/2ynwd01ZmdKr+OmEes/pDxh0tmUhJ1J6AQj9WV3s9O6j\n1MI+Rx0LbO8kw4YCRd+7FfJxyxFyulbG/4uvjwOy5hfygDlTJtIETb18po6o\nDQd6gkL8oJDO/lylo04ZBYzYJlSQtrtd3hpR5VkSeH+5yrf7rwlIUmyV9y/W\n8ouFvUa5i6d8ki8hvWb83WuvUvlr755TVLLSMxZFSL0vjrKOsHSI/kG+a87B\nEU8TMwd9RV20qUVV7839w7gJ2Pbo3JANkon4t046uK3n2/SmkYMHQUq5yf7L\nvcXcYXMXsVWlQxpMrO1bMYVUTAV6FIACMjAJxh5uw/fRZpfJwiXdP16GQJSF\n9PZ4fhqbcskAge8GCki63cE1qgO0N6SKhQy0IVr2/DN1Mt2BXENMry+JrP2f\nolAwRR1ZWqepEehW/XVMsQ/+BiGajAHAvshzUepWkiuCl+MDdFi6QuW0oIXf\ncIByohLMV07q6VogsW+U6U8csZqRE96MasxPm3Z3H4EVrYy/ZpZa4+GLNuJL\nG5R4Gut7iVBta9aHMeQJyQ+buj1zQob+9kf8qTL5irasxLKTMdk9jVxBaBsL\nDGc1H2T+hVO0lbTHQ9YCZ2VtwuujrKJc0BhTHlXdVkt2yBnoq1oea500Mut5\njNDK\r\n=rMr/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDxFssKTatGdceqQg0iBMyIgX6bqNpsuIq3ufTyaAnaBQIhAOH8WIKqUm3NrRgRNHzplfzk1xDQoy8S7ddNth7PgICT"}]},"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"maintainers":[{"name":"drsteini-usgs","email":"drsteini@contractor.usgs.gov"},{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},{"name":"mbucknell-usgs","email":"mbucknell@usgs.gov"},{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_1.14.1_1630080102834_0.2896489916687426"},"_hasShrinkwrap":false},"1.15.0-snapshot.ef4a9f9":{"name":"wdfn-viz","version":"1.15.0-snapshot.ef4a9f9","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"sass --load-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","build:uswdsinit":"cp -r node_modules/uswds/dist/js/uswds-init.min.* dist","clean":"rm -rf dist && mkdir dist","lint":"run-p lint:*","lint:cs":"stylelint src/stylesheets ","lint:js":"eslint src/js","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"jest --collectCoverage=true","test:debug":"node --inspect-brk node_modules/.bin/jest --runInBand","test:watch":"jest --watch","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://code.usgs.gov/wma/iow/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://code.usgs.gov/wma/iow/wdfn-viz/-/issues"},"homepage":"https://code.usgs.gov/wma/iow/wdfn-viz","engines":{"node":">= 10"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.12.1"},"devDependencies":{"@rollup/plugin-buble":"0.21.3","@rollup/plugin-commonjs":"20.0.0","@rollup/plugin-node-resolve":"13.0.4","autoprefixer":"10.3.3","buble":"0.20.0","buble-jest":"1.0.1","eslint":"7.32.0","eslint-plugin-jest":"24.4.0","jest":"27.1.0","live-server":"1.2.1","nodemon":"2.0.12","npm-run-all":"4.1.5","nunjucks":"3.2.3","nunjucks-cli":"1.0.0","postcss":"8.3.6","postcss-cli":"8.3.1","postcss-csso":"5.0.1","postcss-flexbugs-fixes":"5.0.2","rollup":"2.56.3","rollup-plugin-terser":"7.0.2","sass":"1.38.1","stylelint":"13.13.1","stylelint-config-recommended-scss":"4.3.0","stylelint-scss":"3.20.1"},"gitHead":"ef4a9f9e506fb684f1955d3793c23b8add86a272","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![pipeline status](https://code.usgs.gov/wma/iow/wdfn-viz/badges/main/pipeline.svg)](https://code.usgs.gov/wma/iow/wdfn-viz/-/commits/main)\n[![coverage report](https://code.usgs.gov/wma/iow/wdfn-viz/badges/main/coverage.svg)](https://code.usgs.gov/wma/iow/wdfn-viz/-/commits/main)\n\nProvides Sass stylesheets and images that can be used when creating web pages that need to\nmeet USGS visual identity standards. The stylesheets use USWDS (https://designsystem.digital.gov/)\nas the basis so all USWDS components are available.\n\n## Usage\n\nThe repo can be installed in an existing project by installing via npm.\n\n```bash\nnpm install wdfn-viz\n```\n\nTo install the latest development snapshot (containing the current state of the master branch):\n\n```bash\nnpm install wdfn-viz@snapshot\n```\n\nWe recommend building the stylesheets with Dart sass (npm install sass).\nThe main Sass stylesheet that should be imported into a web page's Sass file and is at /src/stylesheets/wdfnviz.scss.\nThis will also include the USWDS style sheets, so a separate import is not required.  This directory should be \nspecified on the --load-path option along with the uswds/src/stylesheets when building the site's stylesheets. When building \nthe style sheets the css should also be processed by postcss using the autoprefixer and postcss-csso using a postcss.config.js file:\n```javascript\nconst autoprefixerOptions = [\n    '> 2%',\n    'Last 2 versions',\n    'IE 11',\n    'not dead'\n];\n\nmodule.exports = ctx => ({\n    map: Object.assign({}, ctx.options.map, {inline: false}),\n    parser: ctx.options.parser,\n    plugins: {\n        autoprefixer: autoprefixerOptions,\n        'postcss-csso': {\n            forceMediaMerge: false\n        }\n    }\n});\n```\nYou may also want to include postcss-flexbugs-fixes plugin as is done for building wdfn-viz.\n\nBelow is an example of the process:\n```\n% sass --load-path node_modules/wdfn-viz/src/stylesheets --include-path node_modules/uswds/src/stylesheets src/styles.main.css dist/main.css\n% postcss dist/main.css  -o dist/main.css\n```\n\nPostcss generates internal sourcemaps by default. You may want to consider using the --map option to create external map files\nor if you want to minimize your css assets, you may want to disable entirely by using --no-map\n\nWhen building the assets, the images should be collected in a common directory and specified in the project's Sass\nfiles using the $theme-image-path variable. This should include the images in wdfn-viz/src/img that provide the USGS favicon and\nlogos. If using USWDS images those will also need to be collected. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nThe fonts should also be collected in a common directory and specified in the project's Sass files using the $theme-font-path\nvariable. Below are examples of commands that could be used to collect the image and font assets.\n```\n% mkdir -p dist/img && cp -r node_modules/uswds/src/img/* dist/img && cp -r node_modules/wdfn-viz/src/img/* dist/img\n% mkdir -p dist/fonts && cp -r node_modules/uswds/src/fonts/* dist/fonts\n```\n\nThe javascript should be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined. In order to use, a loading function should be defined which will be executed \nwhen the page loads. Below is a simple example:\n```javascript\nimport wdfnviz from 'wdfn-viz';\n\nconst load = function () {\n    null;  // Add code that should get executed when the page is loaded\n}\n\nwdfnviz.main(load);\n```\nThe javascript bundle that is created (which will contain your project specific javascript as well as the USWDS javascript) should be loaded inside the <body> tag. We recommend that this is done as the first tag in the body. The async attribute can be used.\n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos. This includes the script for ```uswds-init.min.js``` which should be retrieved before loading the css files as is done in the example header.html.\n\n## Using without building stylesheets and javascript bundling\nYou can use the prebuilt stylesheet and javascript bundle if desired. This can be done by including the following in your markup in the <head> section.\n```\n<link rel=\"stylesheet\" href=\"wdfnviz.css\">\n<script src=\"wdfnviz.js\"></script>\n```\n\n## Publishing to npm\n\nGitlab CI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when merging commits to the `main` branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://code.usgs.gov/wma/iow/wdfn-viz/-/blob/main/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit. Generally, once a release is published, the version number should be incremented to the next minor release number with `-snapshot` appended and the change committed to the `main` branch.\n","readmeFilename":"README.md","_id":"wdfn-viz@1.15.0-snapshot.ef4a9f9","_nodeVersion":"14.17.5","_npmVersion":"6.14.14","dist":{"integrity":"sha512-CS0IUQBCNKsys0sYmm0imsuSY02ST99c2srfLyOrlNESSbm+qBJPsA0XMe/1BG+77RMmnuKkflJq3dAeTvIIjA==","shasum":"4d12c8e97cf2dfcb09fc05cd6e84eb316cb809d2","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-1.15.0-snapshot.ef4a9f9.tgz","fileCount":2407,"unpackedSize":8625813,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhKRFUCRA9TVsSAnZWagAAW44P/0b44zchEbzKGMCO3nNB\nOZwSzePzSn4UC5IoGGVHokP47uTwo4AxJBRewpDiUEWiA5/7Z2RVTS8r5YmF\nEKuW7oZHr/uuP1spE2ElWjb+12uISKYD+x1UUFPD5hwFUgWJMcYh5vxE8Rnk\nn59Lkmo+7hd2v1ToJPwDb+4So1Yq3qVA/kzSiq6m7AXpCGuk5Im9lWDTwK7m\n1VzTyL4IBTCArdC+8p06L/r174cHWPRVXJa2Y6o2syOkdtFFb/79eI7EtfLj\n9OFWbBtwRmzfU7k5NfRgropMGppL1MjBZqjbj/yEk/jZcLfehcwxeTdADiQu\nlCCKJFbeYEQd9IhWzNqGWwQWEY7oVhjEKGDedAzvJtB13UOBFPhteqhUI+fx\nPxTSthbciO4R4nxyHfyVf6YlOf1DX0V70fHz0dlgHLwZ7q/ip0dxYU9U+Tl5\nRzMfKEQFKBLvl45BqnsBncfdrvnkg9AhqgRQPavK+aV1fiGjibU0eUZ+j9KV\n3Meaq3Dctxs3OR0A2F6R612zXTzcBuVtDku8r8lyGpnpcyKg6DEfJh3RN3+q\nKdC/umqZtAetx1gGECB1lFPWuJc4+xQWfrxPFFX8McWf3Q3wjS2fceGeuzQZ\n7uI5wMDLk3/F/pa2yBG5i5G6o6nJbq/7XnjekBTxDj2cYUsXV0bRu7sGWGsq\ndEP/\r\n=r8K6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDx0wVAxtrVhMs9VjFFtdwn+eRytOLtyiJlXL+qg5iV7AIhAMklA0aPnTIjpOmCr9svNrYjjDjZ55oZMHib0D6Lck4+"}]},"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"maintainers":[{"name":"drsteini-usgs","email":"drsteini@contractor.usgs.gov"},{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},{"name":"mbucknell-usgs","email":"mbucknell@usgs.gov"},{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_1.15.0-snapshot.ef4a9f9_1630081364249_0.24950051600099754"},"_hasShrinkwrap":false},"1.15.0-snapshot.52ec74b":{"name":"wdfn-viz","version":"1.15.0-snapshot.52ec74b","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"sass --load-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","build:uswdsinit":"cp -r node_modules/uswds/dist/js/uswds-init.min.* dist","clean":"rm -rf dist && mkdir dist","lint":"run-p lint:*","lint:cs":"stylelint src/stylesheets ","lint:js":"eslint src/js","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"jest --collectCoverage=true","test:debug":"node --inspect-brk node_modules/.bin/jest --runInBand","test:watch":"jest --watch","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://code.usgs.gov/wma/iow/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://code.usgs.gov/wma/iow/wdfn-viz/-/issues"},"homepage":"https://code.usgs.gov/wma/iow/wdfn-viz","engines":{"node":">= 10"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.12.1"},"devDependencies":{"@rollup/plugin-buble":"0.21.3","@rollup/plugin-commonjs":"20.0.0","@rollup/plugin-node-resolve":"13.0.5","autoprefixer":"10.3.6","buble":"0.20.0","buble-jest":"1.0.1","eslint":"7.32.0","eslint-plugin-jest":"24.4.3","jest":"27.2.3","live-server":"1.2.1","nodemon":"2.0.13","npm-run-all":"4.1.5","nunjucks":"3.2.3","nunjucks-cli":"1.0.0","postcss":"8.3.8","postcss-cli":"9.0.1","postcss-csso":"5.0.1","postcss-flexbugs-fixes":"5.0.2","rollup":"2.57.0","rollup-plugin-terser":"7.0.2","sass":"1.42.1","stylelint":"13.13.1","stylelint-config-recommended-scss":"4.3.0","stylelint-scss":"3.21.0"},"gitHead":"52ec74b18a8f7e3a2de535b5ad7488adc4449fb4","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![pipeline status](https://code.usgs.gov/wma/iow/wdfn-viz/badges/main/pipeline.svg)](https://code.usgs.gov/wma/iow/wdfn-viz/-/commits/main)\n[![coverage report](https://code.usgs.gov/wma/iow/wdfn-viz/badges/main/coverage.svg)](https://code.usgs.gov/wma/iow/wdfn-viz/-/commits/main)\n\nProvides Sass stylesheets and images that can be used when creating web pages that need to\nmeet USGS visual identity standards. The stylesheets use USWDS (https://designsystem.digital.gov/)\nas the basis so all USWDS components are available.\n\n## Usage\n\nThe repo can be installed in an existing project by installing via npm.\n\n```bash\nnpm install wdfn-viz\n```\n\nTo install the latest development snapshot (containing the current state of the master branch):\n\n```bash\nnpm install wdfn-viz@snapshot\n```\n\nWe recommend building the stylesheets with Dart sass (npm install sass).\nThe main Sass stylesheet that should be imported into a web page's Sass file and is at /src/stylesheets/wdfnviz.scss.\nThis will also include the USWDS style sheets, so a separate import is not required.  This directory should be \nspecified on the --load-path option along with the uswds/src/stylesheets when building the site's stylesheets. When building \nthe style sheets the css should also be processed by postcss using the autoprefixer and postcss-csso using a postcss.config.js file:\n```javascript\nconst autoprefixerOptions = [\n    '> 2%',\n    'Last 2 versions',\n    'IE 11',\n    'not dead'\n];\n\nmodule.exports = ctx => ({\n    map: Object.assign({}, ctx.options.map, {inline: false}),\n    parser: ctx.options.parser,\n    plugins: {\n        autoprefixer: autoprefixerOptions,\n        'postcss-csso': {\n            forceMediaMerge: false\n        }\n    }\n});\n```\nYou may also want to include postcss-flexbugs-fixes plugin as is done for building wdfn-viz.\n\nBelow is an example of the process:\n```\n% sass --load-path node_modules/wdfn-viz/src/stylesheets --include-path node_modules/uswds/src/stylesheets src/styles.main.css dist/main.css\n% postcss dist/main.css  -o dist/main.css\n```\n\nPostcss generates internal sourcemaps by default. You may want to consider using the --map option to create external map files\nor if you want to minimize your css assets, you may want to disable entirely by using --no-map\n\nWhen building the assets, the images should be collected in a common directory and specified in the project's Sass\nfiles using the $theme-image-path variable. This should include the images in wdfn-viz/src/img that provide the USGS favicon and\nlogos. If using USWDS images those will also need to be collected. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nThe fonts should also be collected in a common directory and specified in the project's Sass files using the $theme-font-path\nvariable. Below are examples of commands that could be used to collect the image and font assets.\n```\n% mkdir -p dist/img && cp -r node_modules/uswds/src/img/* dist/img && cp -r node_modules/wdfn-viz/src/img/* dist/img\n% mkdir -p dist/fonts && cp -r node_modules/uswds/src/fonts/* dist/fonts\n```\n\nThe javascript should be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined. In order to use, a loading function should be defined which will be executed \nwhen the page loads. Below is a simple example:\n```javascript\nimport wdfnviz from 'wdfn-viz';\n\nconst load = function () {\n    null;  // Add code that should get executed when the page is loaded\n}\n\nwdfnviz.main(load);\n```\nThe javascript bundle that is created (which will contain your project specific javascript as well as the USWDS javascript) should be loaded inside the body tag. We recommend that this is done as the last tag in the body. \n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos. This includes the script for ```uswds-init.min.js``` which should be retrieved before loading the css files as is done in the example header.html.\n\n## Using without building stylesheets and javascript bundling\nYou can use the prebuilt stylesheet and javascript bundle if desired. This can be done by including the following in your markup in the <head> section.\n```\n<link rel=\"stylesheet\" href=\"wdfnviz.css\">\n<script src=\"wdfnviz.js\"></script>\n```\n\n## Publishing to npm\n\nGitlab CI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when merging commits to the `main` branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://code.usgs.gov/wma/iow/wdfn-viz/-/blob/main/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit. Generally, once a release is published, the version number should be incremented to the next minor release number with `-snapshot` appended and the change committed to the `main` branch.\n","readmeFilename":"README.md","_id":"wdfn-viz@1.15.0-snapshot.52ec74b","_nodeVersion":"14.18.0","_npmVersion":"6.14.15","dist":{"integrity":"sha512-a6QMN3LncQvPLZNa/CEIYbQ6+I8IWwO7mfZhElkvhP0Sdrsg0e9ZQr+mpw1bNGkhw8AEqvqXgn85rXF4USL78g==","shasum":"593eeb22916ab1d47e6970ee692dce1b8e02e6ca","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-1.15.0-snapshot.52ec74b.tgz","fileCount":2407,"unpackedSize":8625769,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD76Vm4HxIfjbe3Nd4KY3vhBxKK4o2B4iS3BEGyLXZzEwIhAIFzH47qKgBxH6a+PgOtQtEenA4MuWdnxEZ2T3I1mTFT"}]},"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"maintainers":[{"name":"drsteini-usgs","email":"drsteini@contractor.usgs.gov"},{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},{"name":"mbucknell-usgs","email":"mbucknell@usgs.gov"},{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_1.15.0-snapshot.52ec74b_1632861674641_0.3801145201314635"},"_hasShrinkwrap":false},"1.15.0-snapshot.addad5e":{"name":"wdfn-viz","version":"1.15.0-snapshot.addad5e","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"sass --load-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","build:uswdsinit":"cp -r node_modules/uswds/dist/js/uswds-init.min.* dist","clean":"rm -rf dist && mkdir dist","lint":"run-p lint:*","lint:cs":"stylelint src/stylesheets ","lint:js":"eslint src/js","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"jest --collectCoverage=true","test:debug":"node --inspect-brk node_modules/.bin/jest --runInBand","test:watch":"jest --watch","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://code.usgs.gov/wma/iow/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://code.usgs.gov/wma/iow/wdfn-viz/-/issues"},"homepage":"https://code.usgs.gov/wma/iow/wdfn-viz","engines":{"node":">= 10"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.12.1"},"devDependencies":{"@rollup/plugin-buble":"0.21.3","@rollup/plugin-commonjs":"20.0.0","@rollup/plugin-node-resolve":"13.0.5","autoprefixer":"10.3.6","buble":"0.20.0","buble-jest":"1.0.1","eslint":"7.32.0","eslint-plugin-jest":"24.4.3","jest":"27.2.3","live-server":"1.2.1","nodemon":"2.0.13","npm-run-all":"4.1.5","nunjucks":"3.2.3","nunjucks-cli":"1.0.0","postcss":"8.3.8","postcss-cli":"9.0.1","postcss-csso":"5.0.1","postcss-flexbugs-fixes":"5.0.2","rollup":"2.57.0","rollup-plugin-terser":"7.0.2","sass":"1.42.1","stylelint":"13.13.1","stylelint-config-recommended-scss":"4.3.0","stylelint-scss":"3.21.0"},"gitHead":"addad5ec3a975b07d88ecfabce39793d877acf9d","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![pipeline status](https://code.usgs.gov/wma/iow/wdfn-viz/badges/main/pipeline.svg)](https://code.usgs.gov/wma/iow/wdfn-viz/-/commits/main)\n[![coverage report](https://code.usgs.gov/wma/iow/wdfn-viz/badges/main/coverage.svg)](https://code.usgs.gov/wma/iow/wdfn-viz/-/commits/main)\n\nProvides Sass stylesheets and images that can be used when creating web pages that need to\nmeet USGS visual identity standards. The stylesheets use USWDS (https://designsystem.digital.gov/)\nas the basis so all USWDS components are available.\n\n## Usage\n\nThe repo can be installed in an existing project by installing via npm.\n\n```bash\nnpm install wdfn-viz\n```\n\nTo install the latest development snapshot (containing the current state of the master branch):\n\n```bash\nnpm install wdfn-viz@snapshot\n```\n\nWe recommend building the stylesheets with Dart sass (npm install sass).\nThe main Sass stylesheet that should be imported into a web page's Sass file and is at /src/stylesheets/wdfnviz.scss.\nThis will also include the USWDS style sheets, so a separate import is not required.  This directory should be \nspecified on the --load-path option along with the uswds/src/stylesheets when building the site's stylesheets. When building \nthe style sheets the css should also be processed by postcss using the autoprefixer and postcss-csso using a postcss.config.js file:\n```javascript\nconst autoprefixerOptions = [\n    '> 2%',\n    'Last 2 versions',\n    'IE 11',\n    'not dead'\n];\n\nmodule.exports = ctx => ({\n    map: Object.assign({}, ctx.options.map, {inline: false}),\n    parser: ctx.options.parser,\n    plugins: {\n        autoprefixer: autoprefixerOptions,\n        'postcss-csso': {\n            forceMediaMerge: false\n        }\n    }\n});\n```\nYou may also want to include postcss-flexbugs-fixes plugin as is done for building wdfn-viz.\n\nBelow is an example of the process:\n```\n% sass --load-path node_modules/wdfn-viz/src/stylesheets --include-path node_modules/uswds/src/stylesheets src/styles.main.css dist/main.css\n% postcss dist/main.css  -o dist/main.css\n```\n\nPostcss generates internal sourcemaps by default. You may want to consider using the --map option to create external map files\nor if you want to minimize your css assets, you may want to disable entirely by using --no-map\n\nWhen building the assets, the images should be collected in a common directory and specified in the project's Sass\nfiles using the $theme-image-path variable. This should include the images in wdfn-viz/src/img that provide the USGS favicon and\nlogos. If using USWDS images those will also need to be collected. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nThe fonts should also be collected in a common directory and specified in the project's Sass files using the $theme-font-path\nvariable. Below are examples of commands that could be used to collect the image and font assets.\n```\n% mkdir -p dist/img && cp -r node_modules/uswds/src/img/* dist/img && cp -r node_modules/wdfn-viz/src/img/* dist/img\n% mkdir -p dist/fonts && cp -r node_modules/uswds/src/fonts/* dist/fonts\n```\n\nThe javascript should be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined. In order to use, a loading function should be defined which will be executed \nwhen the page loads. Below is a simple example:\n```javascript\nimport wdfnviz from 'wdfn-viz';\n\nconst load = function () {\n    null;  // Add code that should get executed when the page is loaded\n}\n\nwdfnviz.main(load);\n```\nThe javascript bundle that is created (which will contain your project specific javascript as well as the USWDS javascript) should be loaded inside the body tag. We recommend that this is done as the last tag in the body. \n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos. This includes the script for ```uswds-init.min.js``` which should be retrieved before loading the css files as is done in the example header.html.\n\n## Using without building stylesheets and javascript bundling\nYou can use the prebuilt stylesheet and javascript bundle if desired. This can be done by including the following in your markup in the <head> section.\n```\n<link rel=\"stylesheet\" href=\"wdfnviz.css\">\n<script src=\"wdfnviz.js\"></script>\n```\n\n## Publishing to npm\n\nGitlab CI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when merging commits to the `main` branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://code.usgs.gov/wma/iow/wdfn-viz/-/blob/main/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit. Generally, once a release is published, the version number should be incremented to the next minor release number with `-snapshot` appended and the change committed to the `main` branch.\n","readmeFilename":"README.md","_id":"wdfn-viz@1.15.0-snapshot.addad5e","_nodeVersion":"14.18.1","_npmVersion":"6.14.15","dist":{"integrity":"sha512-OMMsOUdx/ea75ruiXe9WAS/QvtTKGR4uwMFf3QLBLvCx2dj63igQeydiUOTLfjAgGmKf/12ZUVDcTcwUJG3Mfw==","shasum":"40e41cd6e3d20dfc43d9ee4ce5d45079f967fedd","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-1.15.0-snapshot.addad5e.tgz","fileCount":2407,"unpackedSize":8626079,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCTawZxM9pq9d5ufNtRa/oBSg1vdkEwpHzXRLSQ2DMsUQIge/GWELKuLDKvsH+BNwUBpUg1orJflwWgQSqa0QhXdhs="}]},"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"maintainers":[{"name":"drsteini-usgs","email":"drsteini@contractor.usgs.gov"},{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},{"name":"mbucknell-usgs","email":"mbucknell@usgs.gov"},{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_1.15.0-snapshot.addad5e_1634149516323_0.2973505796417786"},"_hasShrinkwrap":false},"1.15.0-snapshot.4ff648b":{"name":"wdfn-viz","version":"1.15.0-snapshot.4ff648b","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"sass --load-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","build:uswdsinit":"cp -r node_modules/uswds/dist/js/uswds-init.min.* dist","clean":"rm -rf dist && mkdir dist","lint":"run-p lint:*","lint:cs":"stylelint src/stylesheets ","lint:js":"eslint src/js","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"jest --collectCoverage=true","test:debug":"node --inspect-brk node_modules/.bin/jest --runInBand","test:watch":"jest --watch","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://code.usgs.gov/wma/iow/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://code.usgs.gov/wma/iow/wdfn-viz/-/issues"},"homepage":"https://code.usgs.gov/wma/iow/wdfn-viz","engines":{"node":">= 10"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.12.1"},"devDependencies":{"@rollup/plugin-buble":"0.21.3","@rollup/plugin-commonjs":"21.0.0","@rollup/plugin-node-resolve":"13.0.5","autoprefixer":"10.3.7","buble":"0.20.0","buble-jest":"1.0.1","eslint":"8.0.1","eslint-plugin-jest":"25.2.2","jest":"27.3.0","live-server":"1.2.1","nodemon":"2.0.13","npm-run-all":"4.1.5","nunjucks":"3.2.3","nunjucks-cli":"1.0.0","postcss":"8.3.9","postcss-cli":"9.0.1","postcss-csso":"5.0.1","postcss-flexbugs-fixes":"5.0.2","rollup":"2.58.0","rollup-plugin-terser":"7.0.2","sass":"1.43.2","stylelint":"13.13.1","stylelint-config-recommended-scss":"4.3.0","stylelint-scss":"3.21.0"},"gitHead":"4ff648bee85fe6cad5cdc81f50fad3d36bec8468","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![pipeline status](https://code.usgs.gov/wma/iow/wdfn-viz/badges/main/pipeline.svg)](https://code.usgs.gov/wma/iow/wdfn-viz/-/commits/main)\n[![coverage report](https://code.usgs.gov/wma/iow/wdfn-viz/badges/main/coverage.svg)](https://code.usgs.gov/wma/iow/wdfn-viz/-/commits/main)\n\nProvides Sass stylesheets and images that can be used when creating web pages that need to\nmeet USGS visual identity standards. The stylesheets use USWDS (https://designsystem.digital.gov/)\nas the basis so all USWDS components are available.\n\n## Usage\n\nThe repo can be installed in an existing project by installing via npm.\n\n```bash\nnpm install wdfn-viz\n```\n\nTo install the latest development snapshot (containing the current state of the master branch):\n\n```bash\nnpm install wdfn-viz@snapshot\n```\n\nWe recommend building the stylesheets with Dart sass (npm install sass).\nThe main Sass stylesheet that should be imported into a web page's Sass file and is at /src/stylesheets/wdfnviz.scss.\nThis will also include the USWDS style sheets, so a separate import is not required.  This directory should be \nspecified on the --load-path option along with the uswds/src/stylesheets when building the site's stylesheets. When building \nthe style sheets the css should also be processed by postcss using the autoprefixer and postcss-csso using a postcss.config.js file:\n```javascript\nconst autoprefixerOptions = [\n    '> 2%',\n    'Last 2 versions',\n    'IE 11',\n    'not dead'\n];\n\nmodule.exports = ctx => ({\n    map: Object.assign({}, ctx.options.map, {inline: false}),\n    parser: ctx.options.parser,\n    plugins: {\n        autoprefixer: autoprefixerOptions,\n        'postcss-csso': {\n            forceMediaMerge: false\n        }\n    }\n});\n```\nYou may also want to include postcss-flexbugs-fixes plugin as is done for building wdfn-viz.\n\nBelow is an example of the process:\n```\n% sass --load-path node_modules/wdfn-viz/src/stylesheets --include-path node_modules/uswds/src/stylesheets src/styles.main.css dist/main.css\n% postcss dist/main.css  -o dist/main.css\n```\n\nPostcss generates internal sourcemaps by default. You may want to consider using the --map option to create external map files\nor if you want to minimize your css assets, you may want to disable entirely by using --no-map\n\nWhen building the assets, the images should be collected in a common directory and specified in the project's Sass\nfiles using the $theme-image-path variable. This should include the images in wdfn-viz/src/img that provide the USGS favicon and\nlogos. If using USWDS images those will also need to be collected. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nThe fonts should also be collected in a common directory and specified in the project's Sass files using the $theme-font-path\nvariable. Below are examples of commands that could be used to collect the image and font assets.\n```\n% mkdir -p dist/img && cp -r node_modules/uswds/src/img/* dist/img && cp -r node_modules/wdfn-viz/src/img/* dist/img\n% mkdir -p dist/fonts && cp -r node_modules/uswds/src/fonts/* dist/fonts\n```\n\nThe javascript should be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined. In order to use, a loading function should be defined which will be executed \nwhen the page loads. Below is a simple example:\n```javascript\nimport wdfnviz from 'wdfn-viz';\n\nconst load = function () {\n    null;  // Add code that should get executed when the page is loaded\n}\n\nwdfnviz.main(load);\n```\nThe javascript bundle that is created (which will contain your project specific javascript as well as the USWDS javascript) should be loaded inside the body tag. We recommend that this is done as the last tag in the body. \n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos. This includes the script for ```uswds-init.min.js``` which should be retrieved before loading the css files as is done in the example header.html.\n\n## Using without building stylesheets and javascript bundling\nYou can use the prebuilt stylesheet and javascript bundle if desired. This can be done by including the following in your markup in the <head> section.\n```\n<link rel=\"stylesheet\" href=\"wdfnviz.css\">\n<script src=\"wdfnviz.js\"></script>\n```\n\n## Publishing to npm\n\nGitlab CI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when merging commits to the `main` branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://code.usgs.gov/wma/iow/wdfn-viz/-/blob/main/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit. Generally, once a release is published, the version number should be incremented to the next minor release number with `-snapshot` appended and the change committed to the `main` branch.\n","readmeFilename":"README.md","_id":"wdfn-viz@1.15.0-snapshot.4ff648b","_nodeVersion":"14.18.1","_npmVersion":"6.14.15","dist":{"integrity":"sha512-7npaSbEgpwYEzeXW2NDVhdDuIZjVFXReqCfMxQ7db+/xrtzb15G6X/m+qgKO9o5c0sZja8C1Njs3+SLTNXKWWA==","shasum":"4decc5d4500a7487131eaa08d49ee683037e3d91","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-1.15.0-snapshot.4ff648b.tgz","fileCount":2407,"unpackedSize":8626078,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIClav0eisOxEwDmRwhhNMVAp4i1W3tJu8eA69o7BbfVXAiANRgyHrzkyPJnSRi1xoSK3jQQHYzejqUz9Bd/3kHX0Ew=="}]},"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"maintainers":[{"name":"drsteini-usgs","email":"drsteini@contractor.usgs.gov"},{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},{"name":"mbucknell-usgs","email":"mbucknell@usgs.gov"},{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_1.15.0-snapshot.4ff648b_1634592737037_0.08210366247336398"},"_hasShrinkwrap":false},"2.0.0":{"name":"wdfn-viz","version":"2.0.0","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"sass --load-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","build:uswdsinit":"cp -r node_modules/uswds/dist/js/uswds-init.min.* dist","clean":"rm -rf dist && mkdir dist","lint":"run-p lint:*","lint:cs":"stylelint src/stylesheets ","lint:js":"eslint src/js","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"jest --collectCoverage=true","test:debug":"node --inspect-brk node_modules/.bin/jest --runInBand","test:watch":"jest --watch","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://code.usgs.gov/wma/iow/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://code.usgs.gov/wma/iow/wdfn-viz/-/issues"},"homepage":"https://code.usgs.gov/wma/iow/wdfn-viz","engines":{"node":">= 10"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.12.1"},"devDependencies":{"@rollup/plugin-buble":"0.21.3","@rollup/plugin-commonjs":"21.0.0","@rollup/plugin-node-resolve":"13.0.5","autoprefixer":"10.3.7","buble":"0.20.0","buble-jest":"1.0.1","eslint":"8.0.1","eslint-plugin-jest":"25.2.2","jest":"27.3.0","live-server":"1.2.1","nodemon":"2.0.13","npm-run-all":"4.1.5","nunjucks":"3.2.3","nunjucks-cli":"1.0.0","postcss":"8.3.9","postcss-cli":"9.0.1","postcss-csso":"5.0.1","postcss-flexbugs-fixes":"5.0.2","rollup":"2.58.0","rollup-plugin-terser":"7.0.2","sass":"1.43.2","stylelint":"13.13.1","stylelint-config-recommended-scss":"4.3.0","stylelint-scss":"3.21.0"},"gitHead":"840e25cdbe29a9b82b67ce4b16ebc53fd918edd3","_id":"wdfn-viz@2.0.0","_nodeVersion":"14.18.1","_npmVersion":"6.14.15","dist":{"integrity":"sha512-lnCIGmm+OgLsfYHbMOPImk4AFop86c0EOoazkEC5F+smSCNmGwmQ0iFc/QfSASkxAml8Hiv4Jihim81IqYx3zA==","shasum":"50858bf9ac4f195138ada09af0840e984603c359","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-2.0.0.tgz","fileCount":2407,"unpackedSize":8626892,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDTYV1MWG4dGFlUVNhFbxPLFI5Oon0r4b8WCdksVBbI3AiEAwsiDFEqYp18sCDSDZp4VzIoeFI2PKCJ8VqnWsQRlvN4="}]},"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"maintainers":[{"name":"drsteini-usgs","email":"drsteini@contractor.usgs.gov"},{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},{"name":"mbucknell-usgs","email":"mbucknell@usgs.gov"},{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_2.0.0_1634666285090_0.23631939684271686"},"_hasShrinkwrap":false},"2.1.0-snapshot.1b62dc2":{"name":"wdfn-viz","version":"2.1.0-snapshot.1b62dc2","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"sass --load-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","build:uswdsinit":"cp -r node_modules/uswds/dist/js/uswds-init.min.* dist","clean":"rm -rf dist && mkdir dist","lint":"run-p lint:*","lint:cs":"stylelint src/stylesheets ","lint:js":"eslint src/js","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"jest --collectCoverage=true","test:debug":"node --inspect-brk node_modules/.bin/jest --runInBand","test:watch":"jest --watch","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://code.usgs.gov/wma/iow/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://code.usgs.gov/wma/iow/wdfn-viz/-/issues"},"homepage":"https://code.usgs.gov/wma/iow/wdfn-viz","engines":{"node":">= 10"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.12.1"},"devDependencies":{"@rollup/plugin-buble":"0.21.3","@rollup/plugin-commonjs":"21.0.0","@rollup/plugin-node-resolve":"13.0.5","autoprefixer":"10.3.7","buble":"0.20.0","buble-jest":"1.0.1","eslint":"8.0.1","eslint-plugin-jest":"25.2.2","jest":"27.3.0","live-server":"1.2.1","nodemon":"2.0.13","npm-run-all":"4.1.5","nunjucks":"3.2.3","nunjucks-cli":"1.0.0","postcss":"8.3.9","postcss-cli":"9.0.1","postcss-csso":"5.0.1","postcss-flexbugs-fixes":"5.0.2","rollup":"2.58.0","rollup-plugin-terser":"7.0.2","sass":"1.43.2","stylelint":"13.13.1","stylelint-config-recommended-scss":"4.3.0","stylelint-scss":"3.21.0"},"gitHead":"1b62dc242ad88c174fbf3f0932ca6b1dd021d42c","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![pipeline status](https://code.usgs.gov/wma/iow/wdfn-viz/badges/main/pipeline.svg)](https://code.usgs.gov/wma/iow/wdfn-viz/-/commits/main)\n[![coverage report](https://code.usgs.gov/wma/iow/wdfn-viz/badges/main/coverage.svg)](https://code.usgs.gov/wma/iow/wdfn-viz/-/commits/main)\n\nProvides Sass stylesheets and images that can be used when creating web pages that need to\nmeet USGS visual identity standards. The stylesheets use USWDS (https://designsystem.digital.gov/)\nas the basis so all USWDS components are available.\n\n## Usage\n\nThe repo can be installed in an existing project by installing via npm.\n\n```bash\nnpm install wdfn-viz\n```\n\nTo install the latest development snapshot (containing the current state of the master branch):\n\n```bash\nnpm install wdfn-viz@snapshot\n```\n\nWe recommend building the stylesheets with Dart sass (npm install sass).\nThe main Sass stylesheet should be imported using '@use' into a web page's Sass file and is at /src/stylesheets/wdfnviz.scss.\nThis will also include the USWDS style sheets, so a separate '@use' is not required.  However, you will likely want to at least set the font path and image path variables. These and other variables can be set as follows:\n```sass\n@use 'uswds' with (\n  $theme-font-path: './fonts',\n  $theme-image-path: './img'\n);\n@use 'wdfnviz';\n```\nIn order to use USWDS mixins and variables you will need to use the \"uswds\" namespace. For example:\n```sass\n#main-content {\n    @include uswds.grid-container;\n}\n```\nThis directory (~node_modules/wdfn-viz/src/stylesheets should be) \nspecified on the --load-path option along with the uswds/src/stylesheets when building the site's stylesheets. When building \nthe style sheets the css should also be processed by postcss using the autoprefixer and postcss-csso using a postcss.config.js file:\n```javascript\nconst autoprefixerOptions = [\n    '> 2%',\n    'Last 2 versions',\n    'IE 11',\n    'not dead'\n];\n\nmodule.exports = ctx => ({\n    map: Object.assign({}, ctx.options.map, {inline: false}),\n    parser: ctx.options.parser,\n    plugins: {\n        autoprefixer: autoprefixerOptions,\n        'postcss-csso': {\n            forceMediaMerge: false\n        }\n    }\n});\n```\nYou may also want to include postcss-flexbugs-fixes plugin as is done for building wdfn-viz.\n\nBelow is an example of the process:\n```\n% sass --load-path node_modules/wdfn-viz/src/stylesheets --include-path node_modules/uswds/src/stylesheets src/styles.main.css dist/main.css\n% postcss dist/main.css  -o dist/main.css\n```\n\nPostcss generates internal sourcemaps by default. You may want to consider using the --map option to create external map files\nor if you want to minimize your css assets, you may want to disable entirely by using --no-map\n\nWhen building the assets, the images should be collected in a common directory and specified in the project's Sass\nfiles using the $theme-image-path variable. This should include the images in wdfn-viz/src/img that provide the USGS favicon and\nlogos. If using USWDS images those will also need to be collected. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nThe fonts should also be collected in a common directory and specified in the project's Sass files using the $theme-font-path\nvariable. Below are examples of commands that could be used to collect the image and font assets.\n```\n% mkdir -p dist/img && cp -r node_modules/uswds/src/img/* dist/img && cp -r node_modules/wdfn-viz/src/img/* dist/img\n% mkdir -p dist/fonts && cp -r node_modules/uswds/src/fonts/* dist/fonts\n```\n\nThe javascript should be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined. In order to use, a loading function should be defined which will be executed \nwhen the page loads. Below is a simple example:\n```javascript\nimport wdfnviz from 'wdfn-viz';\n\nconst load = function () {\n    null;  // Add code that should get executed when the page is loaded\n}\n\nwdfnviz.main(load);\n```\nThe javascript bundle that is created (which will contain your project specific javascript as well as the USWDS javascript) should be loaded inside the body tag. We recommend that this is done as the last tag in the body. \n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos. This includes the script for ```uswds-init.min.js``` which should be retrieved before loading the css files as is done in the example header.html.\n\n## Using without building stylesheets and javascript bundling\nYou can use the prebuilt stylesheet and javascript bundle if desired. This can be done by including the following in your markup in the <head> section.\n```\n<link rel=\"stylesheet\" href=\"wdfnviz.css\">\n<script src=\"wdfnviz.js\"></script>\n```\n\n## Publishing to npm\n\nGitlab CI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when merging commits to the `main` branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://code.usgs.gov/wma/iow/wdfn-viz/-/blob/main/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit. Generally, once a release is published, the version number should be incremented to the next minor release number with `-snapshot` appended and the change committed to the `main` branch.\n","readmeFilename":"README.md","_id":"wdfn-viz@2.1.0-snapshot.1b62dc2","_nodeVersion":"14.18.1","_npmVersion":"6.14.15","dist":{"integrity":"sha512-wBxBN8f6Eoup5OkoOYxCUjdY8Mfq/0kzZ1saQHlKz4qXtIAM2z3Dfwznx5AGl+I0nXuAR4IAVCWCBXatPHkAUg==","shasum":"a456f5469acde57e18f925be78a8f3fa7a68a822","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-2.1.0-snapshot.1b62dc2.tgz","fileCount":2407,"unpackedSize":8626909,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDUtSeGEcJTmsdfsqRI0iqKJGqeDaALgrTnxdRadMuEQQIhALxsSPkrBWLMWFcxOeXyMYec5OyUEuZVrOD73uQWRIPs"}]},"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"maintainers":[{"name":"drsteini-usgs","email":"drsteini@contractor.usgs.gov"},{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},{"name":"mbucknell-usgs","email":"mbucknell@usgs.gov"},{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_2.1.0-snapshot.1b62dc2_1634666832661_0.8460209629070414"},"_hasShrinkwrap":false},"2.1.0-snapshot.01e5503":{"name":"wdfn-viz","version":"2.1.0-snapshot.01e5503","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"sass --load-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","build:uswdsinit":"cp -r node_modules/uswds/dist/js/uswds-init.min.* dist","clean":"rm -rf dist && mkdir dist","lint":"run-p lint:*","lint:cs":"stylelint src/stylesheets ","lint:js":"eslint src/js","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"jest --collectCoverage=true","test:debug":"node --inspect-brk node_modules/.bin/jest --runInBand","test:watch":"jest --watch","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://code.usgs.gov/wma/iow/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://code.usgs.gov/wma/iow/wdfn-viz/-/issues"},"homepage":"https://code.usgs.gov/wma/iow/wdfn-viz","engines":{"node":">= 10"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.12.1"},"devDependencies":{"@rollup/plugin-buble":"0.21.3","@rollup/plugin-commonjs":"21.0.0","@rollup/plugin-node-resolve":"13.0.5","autoprefixer":"10.3.7","buble":"0.20.0","buble-jest":"1.0.1","eslint":"8.0.1","eslint-plugin-jest":"25.2.2","jest":"27.3.0","live-server":"1.2.1","nodemon":"2.0.13","npm-run-all":"4.1.5","nunjucks":"3.2.3","nunjucks-cli":"1.0.0","postcss":"8.3.9","postcss-cli":"9.0.1","postcss-csso":"5.0.1","postcss-flexbugs-fixes":"5.0.2","rollup":"2.58.0","rollup-plugin-terser":"7.0.2","sass":"1.43.2","stylelint":"13.13.1","stylelint-config-recommended-scss":"4.3.0","stylelint-scss":"3.21.0"},"gitHead":"01e5503b044eee6aa58334a4dfef831d18b52616","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![pipeline status](https://code.usgs.gov/wma/iow/wdfn-viz/badges/main/pipeline.svg)](https://code.usgs.gov/wma/iow/wdfn-viz/-/commits/main)\n[![coverage report](https://code.usgs.gov/wma/iow/wdfn-viz/badges/main/coverage.svg)](https://code.usgs.gov/wma/iow/wdfn-viz/-/commits/main)\n\nProvides Sass stylesheets and images that can be used when creating web pages that need to\nmeet USGS visual identity standards. The stylesheets use USWDS (https://designsystem.digital.gov/)\nas the basis so all USWDS components are available.\n\n## Usage\n\nThe repo can be installed in an existing project by installing via npm.\n\n```bash\nnpm install wdfn-viz\n```\n\nTo install the latest development snapshot (containing the current state of the master branch):\n\n```bash\nnpm install wdfn-viz@snapshot\n```\n\nWe recommend building the stylesheets with Dart sass (npm install sass).\nThe main Sass stylesheet should be imported using '@use' into a web page's Sass file and is at /src/stylesheets/wdfnviz.scss.\nThis will also include the USWDS style sheets, so a separate '@use' is not required.  However, you will likely want to at least set the font path and image path variables. These and other variables can be set as follows:\n```sass\n@use 'uswds' with (\n  $theme-font-path: './fonts',\n  $theme-image-path: './img'\n);\n@use 'wdfnviz';\n```\nIn order to use USWDS mixins and variables you will need to add '@use uswds' and use the \"uswds\" namespace. For example:\n```sass\n@use 'uswds';\n#main-content {\n    @include uswds.grid-container;\n}\n```\nThis directory (~node_modules/wdfn-viz/src/stylesheets should be) \nspecified on the --load-path option along with the uswds/src/stylesheets when building the site's stylesheets. When building \nthe style sheets the css should also be processed by postcss using the autoprefixer and postcss-csso using a postcss.config.js file:\n```javascript\nconst autoprefixerOptions = [\n    '> 2%',\n    'Last 2 versions',\n    'IE 11',\n    'not dead'\n];\n\nmodule.exports = ctx => ({\n    map: Object.assign({}, ctx.options.map, {inline: false}),\n    parser: ctx.options.parser,\n    plugins: {\n        autoprefixer: autoprefixerOptions,\n        'postcss-csso': {\n            forceMediaMerge: false\n        }\n    }\n});\n```\nYou may also want to include postcss-flexbugs-fixes plugin as is done for building wdfn-viz.\n\nBelow is an example of the process:\n```\n% sass --load-path node_modules/wdfn-viz/src/stylesheets --include-path node_modules/uswds/src/stylesheets src/styles.main.css dist/main.css\n% postcss dist/main.css  -o dist/main.css\n```\n\nPostcss generates internal sourcemaps by default. You may want to consider using the --map option to create external map files\nor if you want to minimize your css assets, you may want to disable entirely by using --no-map\n\nWhen building the assets, the images should be collected in a common directory and specified in the project's Sass\nfiles using the $theme-image-path variable. This should include the images in wdfn-viz/src/img that provide the USGS favicon and\nlogos. If using USWDS images those will also need to be collected. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nThe fonts should also be collected in a common directory and specified in the project's Sass files using the $theme-font-path\nvariable. Below are examples of commands that could be used to collect the image and font assets.\n```\n% mkdir -p dist/img && cp -r node_modules/uswds/src/img/* dist/img && cp -r node_modules/wdfn-viz/src/img/* dist/img\n% mkdir -p dist/fonts && cp -r node_modules/uswds/src/fonts/* dist/fonts\n```\n\nThe javascript should be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined. In order to use, a loading function should be defined which will be executed \nwhen the page loads. Below is a simple example:\n```javascript\nimport wdfnviz from 'wdfn-viz';\n\nconst load = function () {\n    null;  // Add code that should get executed when the page is loaded\n}\n\nwdfnviz.main(load);\n```\nThe javascript bundle that is created (which will contain your project specific javascript as well as the USWDS javascript) should be loaded inside the body tag. We recommend that this is done as the last tag in the body. \n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos. This includes the script for ```uswds-init.min.js``` which should be retrieved before loading the css files as is done in the example header.html.\n\n## Using without building stylesheets and javascript bundling\nYou can use the prebuilt stylesheet and javascript bundle if desired. This can be done by including the following in your markup in the <head> section.\n```\n<link rel=\"stylesheet\" href=\"wdfnviz.css\">\n<script src=\"wdfnviz.js\"></script>\n```\n\n## Publishing to npm\n\nGitlab CI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when merging commits to the `main` branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://code.usgs.gov/wma/iow/wdfn-viz/-/blob/main/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit. Generally, once a release is published, the version number should be incremented to the next minor release number with `-snapshot` appended and the change committed to the `main` branch.\n","readmeFilename":"README.md","_id":"wdfn-viz@2.1.0-snapshot.01e5503","_nodeVersion":"14.18.1","_npmVersion":"6.14.15","dist":{"integrity":"sha512-AyumkZhzay0xu0OmaDh64e7VDtr+r3EMNRw9CCHIBbuYM0kwsrp9OjHp2cybG0AwhP9SEsjY28IAwk7sJZYdUg==","shasum":"fb9bbe2ff1701e15edbd368bcaf6f84e250834de","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-2.1.0-snapshot.01e5503.tgz","fileCount":2407,"unpackedSize":8626944,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD3uTiSTEkh0VBMmSzj+Q68H7yN/OH/KSaTIw5YZopv+AIhAMX3kKfFirh8Bi8/Gm9CZwMcru24Zwi+KnM2WQPtwv8n"}]},"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"maintainers":[{"name":"drsteini-usgs","email":"drsteini@contractor.usgs.gov"},{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},{"name":"mbucknell-usgs","email":"mbucknell@usgs.gov"},{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_2.1.0-snapshot.01e5503_1634667014811_0.19472907311490717"},"_hasShrinkwrap":false},"2.0.1-snapshot.b6199e9":{"name":"wdfn-viz","version":"2.0.1-snapshot.b6199e9","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"sass --load-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","build:uswdsinit":"cp -r node_modules/uswds/dist/js/uswds-init.min.* dist","clean":"rm -rf dist && mkdir dist","lint":"run-p lint:*","lint:cs":"stylelint src/stylesheets ","lint:js":"eslint src/js","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"jest --collectCoverage=true","test:debug":"node --inspect-brk node_modules/.bin/jest --runInBand","test:watch":"jest --watch","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://code.usgs.gov/wma/iow/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://code.usgs.gov/wma/iow/wdfn-viz/-/issues"},"homepage":"https://code.usgs.gov/wma/iow/wdfn-viz","engines":{"node":">= 10"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.12.1"},"devDependencies":{"@rollup/plugin-buble":"0.21.3","@rollup/plugin-commonjs":"21.0.0","@rollup/plugin-node-resolve":"13.0.5","autoprefixer":"10.3.7","buble":"0.20.0","buble-jest":"1.0.1","eslint":"8.0.1","eslint-plugin-jest":"25.2.2","jest":"27.3.0","live-server":"1.2.1","nodemon":"2.0.13","npm-run-all":"4.1.5","nunjucks":"3.2.3","nunjucks-cli":"1.0.0","postcss":"8.3.9","postcss-cli":"9.0.1","postcss-csso":"5.0.1","postcss-flexbugs-fixes":"5.0.2","rollup":"2.58.0","rollup-plugin-terser":"7.0.2","sass":"1.43.2","stylelint":"13.13.1","stylelint-config-recommended-scss":"4.3.0","stylelint-scss":"3.21.0"},"gitHead":"b6199e9af1897fbf57a70b1bdcd66f1fdba9f434","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![pipeline status](https://code.usgs.gov/wma/iow/wdfn-viz/badges/main/pipeline.svg)](https://code.usgs.gov/wma/iow/wdfn-viz/-/commits/main)\n[![coverage report](https://code.usgs.gov/wma/iow/wdfn-viz/badges/main/coverage.svg)](https://code.usgs.gov/wma/iow/wdfn-viz/-/commits/main)\n\nProvides Sass stylesheets and images that can be used when creating web pages that need to\nmeet USGS visual identity standards. The stylesheets use USWDS (https://designsystem.digital.gov/)\nas the basis so all USWDS components are available.\n\n## Usage\n\nThe repo can be installed in an existing project by installing via npm.\n\n```bash\nnpm install wdfn-viz\n```\n\nTo install the latest development snapshot (containing the current state of the master branch):\n\n```bash\nnpm install wdfn-viz@snapshot\n```\n\nWe recommend building the stylesheets with Dart sass (npm install sass).\nThe main Sass stylesheet should be imported using '@use' into a web page's Sass file and is at /src/stylesheets/wdfnviz.scss.\nThis will also include the USWDS style sheets, so a separate '@use' is not required.  However, you will likely want to at least set the font path and image path variables. These and other variables can be set as follows:\n```sass\n@use 'uswds' with (\n  $theme-font-path: './fonts',\n  $theme-image-path: './img'\n);\n@use 'wdfnviz';\n```\nIn order to use USWDS mixins and variables you will need to add '@use uswds' and use the \"uswds\" namespace. For example:\n```sass\n@use 'uswds';\n#main-content {\n    @include uswds.grid-container;\n}\n```\nThis directory (~node_modules/wdfn-viz/src/stylesheets should be) \nspecified on the --load-path option along with the uswds/src/stylesheets when building the site's stylesheets. When building \nthe style sheets the css should also be processed by postcss using the autoprefixer and postcss-csso using a postcss.config.js file:\n```javascript\nconst autoprefixerOptions = [\n    '> 2%',\n    'Last 2 versions',\n    'IE 11',\n    'not dead'\n];\n\nmodule.exports = ctx => ({\n    map: Object.assign({}, ctx.options.map, {inline: false}),\n    parser: ctx.options.parser,\n    plugins: {\n        autoprefixer: autoprefixerOptions,\n        'postcss-csso': {\n            forceMediaMerge: false\n        }\n    }\n});\n```\nYou may also want to include postcss-flexbugs-fixes plugin as is done for building wdfn-viz.\n\nBelow is an example of the process:\n```\n% sass --load-path node_modules/wdfn-viz/src/stylesheets --include-path node_modules/uswds/src/stylesheets src/styles.main.css dist/main.css\n% postcss dist/main.css  -o dist/main.css\n```\n\nPostcss generates internal sourcemaps by default. You may want to consider using the --map option to create external map files\nor if you want to minimize your css assets, you may want to disable entirely by using --no-map\n\nWhen building the assets, the images should be collected in a common directory and specified in the project's Sass\nfiles using the $theme-image-path variable. This should include the images in wdfn-viz/src/img that provide the USGS favicon and\nlogos. If using USWDS images those will also need to be collected. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nThe fonts should also be collected in a common directory and specified in the project's Sass files using the $theme-font-path\nvariable. Below are examples of commands that could be used to collect the image and font assets.\n```\n% mkdir -p dist/img && cp -r node_modules/uswds/src/img/* dist/img && cp -r node_modules/wdfn-viz/src/img/* dist/img\n% mkdir -p dist/fonts && cp -r node_modules/uswds/src/fonts/* dist/fonts\n```\n\nThe javascript should be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined. In order to use, a loading function should be defined which will be executed \nwhen the page loads. Below is a simple example:\n```javascript\nimport wdfnviz from 'wdfn-viz';\n\nconst load = function () {\n    null;  // Add code that should get executed when the page is loaded\n}\n\nwdfnviz.main(load);\n```\nThe javascript bundle that is created (which will contain your project specific javascript as well as the USWDS javascript) should be loaded inside the body tag. We recommend that this is done as the last tag in the body. \n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos. This includes the script for ```uswds-init.min.js``` which should be retrieved before loading the css files as is done in the example header.html.\n\n## Using without building stylesheets and javascript bundling\nYou can use the prebuilt stylesheet and javascript bundle if desired. This can be done by including the following in your markup in the <head> section.\n```\n<link rel=\"stylesheet\" href=\"wdfnviz.css\">\n<script src=\"wdfnviz.js\"></script>\n```\n\n## Publishing to npm\n\nGitlab CI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when merging commits to the `main` branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://code.usgs.gov/wma/iow/wdfn-viz/-/blob/main/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit. Generally, once a release is published, the version number should be incremented to the next minor release number with `-snapshot` appended and the change committed to the `main` branch.\n","readmeFilename":"README.md","_id":"wdfn-viz@2.0.1-snapshot.b6199e9","_nodeVersion":"14.18.1","_npmVersion":"6.14.15","dist":{"integrity":"sha512-vg8vrWaWEo10B1UT1AQWFtXVJwh1pll4JKnjdHO4QZs09T3fGAv3hoXqLlf1YCmIpDw65hKWqIWzfx2LCdzCNw==","shasum":"77a58f3bd51cfac7f39b27df4790350fde160324","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-2.0.1-snapshot.b6199e9.tgz","fileCount":2407,"unpackedSize":8626949,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCFJcVfpNHZ33QF5z+BEKVzmxmF8nYl6YVUSyEi283NGgIgcEMEwpnVgGop4D0pppPY+wilXcIV+f54fUx1u6gXN20="}]},"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"maintainers":[{"name":"drsteini-usgs","email":"drsteini@contractor.usgs.gov"},{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},{"name":"mbucknell-usgs","email":"mbucknell@usgs.gov"},{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_2.0.1-snapshot.b6199e9_1636406567506_0.4391474268026234"},"_hasShrinkwrap":false},"2.0.1":{"name":"wdfn-viz","version":"2.0.1","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"sass --load-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","build:uswdsinit":"cp -r node_modules/uswds/dist/js/uswds-init.min.* dist","clean":"rm -rf dist && mkdir dist","lint":"run-p lint:*","lint:cs":"stylelint src/stylesheets ","lint:js":"eslint src/js","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"jest --collectCoverage=true","test:debug":"node --inspect-brk node_modules/.bin/jest --runInBand","test:watch":"jest --watch","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://code.usgs.gov/wma/iow/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://code.usgs.gov/wma/iow/wdfn-viz/-/issues"},"homepage":"https://code.usgs.gov/wma/iow/wdfn-viz","engines":{"node":">= 10"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.12.1"},"devDependencies":{"@rollup/plugin-buble":"0.21.3","@rollup/plugin-commonjs":"21.0.0","@rollup/plugin-node-resolve":"13.0.5","autoprefixer":"10.3.7","buble":"0.20.0","buble-jest":"1.0.1","eslint":"8.0.1","eslint-plugin-jest":"25.2.2","jest":"27.3.0","live-server":"1.2.1","nodemon":"2.0.13","npm-run-all":"4.1.5","nunjucks":"3.2.3","nunjucks-cli":"1.0.0","postcss":"8.3.9","postcss-cli":"9.0.1","postcss-csso":"5.0.1","postcss-flexbugs-fixes":"5.0.2","rollup":"2.58.0","rollup-plugin-terser":"7.0.2","sass":"1.43.2","stylelint":"13.13.1","stylelint-config-recommended-scss":"4.3.0","stylelint-scss":"3.21.0"},"gitHead":"37ad9b8f8ed434709054906efc0842f054fecbbf","_id":"wdfn-viz@2.0.1","_nodeVersion":"14.18.1","_npmVersion":"6.14.15","dist":{"integrity":"sha512-vZLFknkJERyVwQXU7PlHUKgIKf2GKvamew1O897WcwxpmjN+4GMLoDaO4TNy+SHfdELYWIP60F0bUAMGEOsUHA==","shasum":"5e04179258d48dab0875e58d49bbb800d686807f","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-2.0.1.tgz","fileCount":2407,"unpackedSize":8626959,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDQk5hzFrPvFogxGJKFT4mbisxtjBuLXjORvWW+h37ezAIhAJY7igR5LZ4hvcdDUeCzEAp7m9XICRbbfhZvfAwCPwds"}]},"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"maintainers":[{"name":"drsteini-usgs","email":"drsteini@contractor.usgs.gov"},{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},{"name":"mbucknell-usgs","email":"mbucknell@usgs.gov"},{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_2.0.1_1636408868664_0.4996417541378577"},"_hasShrinkwrap":false},"2.1.0-snapshot.410cb74":{"name":"wdfn-viz","version":"2.1.0-snapshot.410cb74","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"sass --load-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","build:uswdsinit":"cp -r node_modules/uswds/dist/js/uswds-init.min.* dist","clean":"rm -rf dist && mkdir dist","lint":"run-p lint:*","lint:cs":"stylelint src/stylesheets ","lint:js":"eslint src/js","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"jest --collectCoverage=true","test:debug":"node --inspect-brk node_modules/.bin/jest --runInBand","test:watch":"jest --watch","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://code.usgs.gov/wma/iow/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://code.usgs.gov/wma/iow/wdfn-viz/-/issues"},"homepage":"https://code.usgs.gov/wma/iow/wdfn-viz","engines":{"node":">= 10"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.12.1"},"devDependencies":{"@rollup/plugin-buble":"0.21.3","@rollup/plugin-commonjs":"21.0.0","@rollup/plugin-node-resolve":"13.0.5","autoprefixer":"10.3.7","buble":"0.20.0","buble-jest":"1.0.1","eslint":"8.0.1","eslint-plugin-jest":"25.2.2","jest":"27.3.0","live-server":"1.2.1","nodemon":"2.0.13","npm-run-all":"4.1.5","nunjucks":"3.2.3","nunjucks-cli":"1.0.0","postcss":"8.3.9","postcss-cli":"9.0.1","postcss-csso":"5.0.1","postcss-flexbugs-fixes":"5.0.2","rollup":"2.58.0","rollup-plugin-terser":"7.0.2","sass":"1.43.2","stylelint":"13.13.1","stylelint-config-recommended-scss":"4.3.0","stylelint-scss":"3.21.0"},"gitHead":"410cb7427e0beee5aff4e66a9fe5530cbf405b62","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![pipeline status](https://code.usgs.gov/wma/iow/wdfn-viz/badges/main/pipeline.svg)](https://code.usgs.gov/wma/iow/wdfn-viz/-/commits/main)\n[![coverage report](https://code.usgs.gov/wma/iow/wdfn-viz/badges/main/coverage.svg)](https://code.usgs.gov/wma/iow/wdfn-viz/-/commits/main)\n\nProvides Sass stylesheets and images that can be used when creating web pages that need to\nmeet USGS visual identity standards. The stylesheets use USWDS (https://designsystem.digital.gov/)\nas the basis so all USWDS components are available.\n\n## Usage\n\nThe repo can be installed in an existing project by installing via npm.\n\n```bash\nnpm install wdfn-viz\n```\n\nTo install the latest development snapshot (containing the current state of the master branch):\n\n```bash\nnpm install wdfn-viz@snapshot\n```\n\nWe recommend building the stylesheets with Dart sass (npm install sass).\nThe main Sass stylesheet should be imported using '@use' into a web page's Sass file and is at /src/stylesheets/wdfnviz.scss.\n```\n@use 'wdfnviz';\n```\nIn order to use USWDS mixins and variables you will need to add '@use uswds' and use the \"uswds\" namespace. For example:\n```sass\n@use 'uswds';\n#main-content {\n    @include uswds.grid-container;\n}\n```\nThis directory ,~node_modules/wdfn-viz/src/stylesheets, should be\nspecified on the --load-path option along with the uswds/src/stylesheets when building the site's stylesheets. When building \nthe style sheets the css should also be processed by postcss using the autoprefixer and postcss-csso using a postcss.config.js file:\n```javascript\nconst autoprefixerOptions = [\n    '> 2%',\n    'Last 2 versions',\n    'IE 11',\n    'not dead'\n];\n\nmodule.exports = ctx => ({\n    map: Object.assign({}, ctx.options.map, {inline: false}),\n    parser: ctx.options.parser,\n    plugins: {\n        autoprefixer: autoprefixerOptions,\n        'postcss-csso': {\n            forceMediaMerge: false\n        }\n    }\n});\n```\nYou may also want to include postcss-flexbugs-fixes plugin as is done for building wdfn-viz.\n\nBelow is an example of the process:\n```\n% sass --load-path node_modules/wdfn-viz/src/stylesheets --include-path node_modules/uswds/src/stylesheets src/styles.main.css dist/main.css\n% postcss dist/main.css  -o dist/main.css\n```\n\nPostcss generates internal sourcemaps by default. You may want to consider using the --map option to create external map files\nor if you want to minimize your css assets, you may want to disable entirely by using --no-map\n\nWhen building the assets, the images should be collected in a directory, 'img', that is the at the same place where your final style sheet resides (typically a dist directory). This should include the images in wdfn-viz/src/img that provide the USGS favicon and\nlogos. If using USWDS images those will also need to be collected. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nThe fonts should also be collected in a directory, 'fonts', that is the at the same place where your final style sheet resides (typically a dist directory). Below are examples of commands that could be used to collect the image and font assets.\n```\n% mkdir -p dist/img && cp -r node_modules/uswds/src/img/* dist/img && cp -r node_modules/wdfn-viz/src/img/* dist/img\n% mkdir -p dist/fonts && cp -r node_modules/uswds/src/fonts/* dist/fonts\n```\n\nThe javascript should be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined. In order to use, a loading function should be defined which will be executed \nwhen the page loads. Below is a simple example:\n```javascript\nimport wdfnviz from 'wdfn-viz';\n\nconst load = function () {\n    null;  // Add code that should get executed when the page is loaded\n}\n\nwdfnviz.main(load);\n```\nThe javascript bundle that is created (which will contain your project specific javascript as well as the USWDS javascript) should be loaded inside the body tag. We recommend that this is done as the last tag in the body. \n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos. This includes the script for ```uswds-init.min.js``` which should be retrieved before loading the css files as is done in the example header.html.\n\n## Using without building stylesheets and javascript bundling\nYou can use the prebuilt stylesheet and javascript bundle if desired. This can be done by copying the wdfnviz.css, wdfnviz.js, uswds-init.min.js, the img directory, and the fonts directory into the directory where your static is served and the using the appropriate url.\n```\n<link rel=\"stylesheet\" href=\"wdfnviz.css\">\n<script src=\"wdfnviz.js\"></script>\n```\n\n## Publishing to npm\n\nGitlab CI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when merging commits to the `main` branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://code.usgs.gov/wma/iow/wdfn-viz/-/blob/main/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit. Generally, once a release is published, the version number should be incremented to the next minor release number with `-snapshot` appended and the change committed to the `main` branch.\n","readmeFilename":"README.md","_id":"wdfn-viz@2.1.0-snapshot.410cb74","_nodeVersion":"14.18.1","_npmVersion":"6.14.15","dist":{"integrity":"sha512-JF1CIUmDSQfAifwRXW+ys6veZIDZYbh+KKeT10hN4j/IYPjW5IsnNW/3Lqxi+LDRPKI1fyLr5bR+3tKe8SeSCQ==","shasum":"feca4038f6d957cf33b8edbd9f8a188c2996962b","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-2.1.0-snapshot.410cb74.tgz","fileCount":2407,"unpackedSize":8626976,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDgrM2nxp0/QCvXRaOiBOi3cMY+j7R8G1DhxFazl0c+GQIgPcsL0PVwXwn4y9Gterzf6vSq8KKvpGzNjyJ45VehFRU="}]},"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"maintainers":[{"name":"drsteini-usgs","email":"drsteini@contractor.usgs.gov"},{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},{"name":"mbucknell-usgs","email":"mbucknell@usgs.gov"},{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_2.1.0-snapshot.410cb74_1636410403020_0.6017709914026803"},"_hasShrinkwrap":false},"2.1.0":{"name":"wdfn-viz","version":"2.1.0","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"sass --load-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","build:uswdsinit":"cp -r node_modules/uswds/dist/js/uswds-init.min.* dist","clean":"rm -rf dist && mkdir dist","lint":"run-p lint:*","lint:cs":"stylelint src/stylesheets ","lint:js":"eslint src/js","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"jest --collectCoverage=true","test:debug":"node --inspect-brk node_modules/.bin/jest --runInBand","test:watch":"jest --watch","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://code.usgs.gov/wma/iow/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://code.usgs.gov/wma/iow/wdfn-viz/-/issues"},"homepage":"https://code.usgs.gov/wma/iow/wdfn-viz","engines":{"node":">= 10"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.13.0"},"devDependencies":{"@rollup/plugin-buble":"0.21.3'","@rollup/plugin-commonjs":"21.0.1","@rollup/plugin-node-resolve":"13.1.1","autoprefixer":"10.4.0","buble":"0.20.0","buble-jest":"1.0.1","eslint":"8.5.0","eslint-plugin-jest":"25.3.0","jest":"27.4.5","live-server":"1.2.1","nodemon":"2.0.15","npm-run-all":"4.1.5","nunjucks":"3.2.3","nunjucks-cli":"1.0.0","postcss":"8.4.5","postcss-cli":"9.1.0","postcss-csso":"6.0.0","postcss-flexbugs-fixes":"5.0.2","rollup":"2.61.1","rollup-plugin-terser":"7.0.2","sass":"1.45.0","stylelint":"14.1.0","stylelint-config-recommended-scss":"5.0.2","stylelint-scss":"4.0.1"},"gitHead":"3dcc77b665a490db94b0a1d8948c6ed281da0e51","_id":"wdfn-viz@2.1.0","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"integrity":"sha512-VDHw5WsnR0ZNWwC5eS1hvIcSRzIoqHqaUDeZrSqz5HG+DU0p099uiMPxecFEjcqNS7J1ofdsVChshkBe9v0cEA==","shasum":"ff0286117edfe65d660fc11960ebd2339ed3bc07","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-2.1.0.tgz","fileCount":2403,"unpackedSize":8655541,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhwJxCCRA9TVsSAnZWagAANqQP/1shOlE8IKqr85viVIhh\nNs223hztG4/LAPAEtcMld1MA+j7LXATj+0auliEi15ooFG37R1vTEFz4MFOA\nZzuLqcSashxFOvUJcPPdm3Nx77FOgAYu57oKNcuhsmF3Cnt2JS5d1xLm8vAp\n6i7IyXLdpFGh9/28nKBH5UA2JTMfT16lyrg/1GKOLRZNGEahrLCTmSFrUT1R\nV1Pxj7mkZh0biyip9Z+l1Pjm5s7jXdynx91jgAzbrdrxSA5eGZ5BWLgSs8Ym\n93qYjUtcm7Qu4tC9wkQ4n+eR5yvQ+6cjJdF6zmofhCqqgS7P9Y3VvaI3li8I\nUDDfl2Z5dK9i9aXcikgNvru8FFSkxdx2nppMylFdaU3o9Byy+9Qqi/uBExmp\nptOycrE1r/PYcRfqfwWgfvzePs8XPuRE6SaBtJ0x77iXICdyL7OORFZJBZX4\nENXsd/IQtG0WrmQnNWT/4LdvSl4B2QHn0vS0p8eMmDeBrkSbsVs6ZzjKik2O\nhXFeqX1dloHxWDGZc3U5c7CrUgtjW2SmWZx5e/bie23iBF2v6/02KWTqAnB9\nfisb70ELRtCsqH+vJKhffPFYBXRmwsddmJw741yvPas4ON5Msifz3PrDvou9\n4dBQaQjXBl5DIcYY427PELwzy+SzJviT52XNdevlsCeEVMYind0IGLy+un12\nve2y\r\n=Bd1B\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDewDi/ybi2LJ+1OpfW85JZWU7cmjeZ3mLhg9Dx/nAqCgIgCC+oHgFkU3CXkTK7QErgPN2GZWDdKluFwfMo7h57ua4="}]},"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"maintainers":[{"name":"drsteini-usgs","email":"drsteini@contractor.usgs.gov"},{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},{"name":"mbucknell-usgs","email":"mbucknell@usgs.gov"},{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_2.1.0_1640012865860_0.40165104851155453"},"_hasShrinkwrap":false},"2.2.0-snapshot.e6e465d":{"name":"wdfn-viz","version":"2.2.0-snapshot.e6e465d","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"sass --load-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","build:uswdsinit":"cp -r node_modules/uswds/dist/js/uswds-init.min.* dist","clean":"rm -rf dist && mkdir dist","lint":"run-p lint:*","lint:cs":"stylelint src/stylesheets ","lint:js":"eslint src/js","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"jest --collectCoverage=true","test:debug":"node --inspect-brk node_modules/.bin/jest --runInBand","test:watch":"jest --watch","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://code.usgs.gov/wma/iow/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://code.usgs.gov/wma/iow/wdfn-viz/-/issues"},"homepage":"https://code.usgs.gov/wma/iow/wdfn-viz","engines":{"node":">= 10"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.13.0"},"devDependencies":{"@rollup/plugin-buble":"0.21.3'","@rollup/plugin-commonjs":"21.0.1","@rollup/plugin-node-resolve":"13.1.1","autoprefixer":"10.4.0","buble":"0.20.0","buble-jest":"1.0.1","eslint":"8.5.0","eslint-plugin-jest":"25.3.0","jest":"27.4.5","live-server":"1.2.1","nodemon":"2.0.15","npm-run-all":"4.1.5","nunjucks":"3.2.3","nunjucks-cli":"1.0.0","postcss":"8.4.5","postcss-cli":"9.1.0","postcss-csso":"6.0.0","postcss-flexbugs-fixes":"5.0.2","rollup":"2.61.1","rollup-plugin-terser":"7.0.2","sass":"1.45.0","stylelint":"14.1.0","stylelint-config-recommended-scss":"5.0.2","stylelint-scss":"4.0.1"},"gitHead":"e6e465d9a733f42b5d39a15ff08374cf75214ddd","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![pipeline status](https://code.usgs.gov/wma/iow/wdfn-viz/badges/main/pipeline.svg)](https://code.usgs.gov/wma/iow/wdfn-viz/-/commits/main)\n[![coverage report](https://code.usgs.gov/wma/iow/wdfn-viz/badges/main/coverage.svg)](https://code.usgs.gov/wma/iow/wdfn-viz/-/commits/main)\n\nProvides Sass stylesheets and images that can be used when creating web pages that need to\nmeet USGS visual identity standards. The stylesheets use USWDS (https://designsystem.digital.gov/)\nas the basis so all USWDS components are available.\n\n## Usage\n\nThe repo can be installed in an existing project by installing via npm.\n\n```bash\nnpm install wdfn-viz\n```\n\nTo install the latest development snapshot (containing the current state of the master branch):\n\n```bash\nnpm install wdfn-viz@snapshot\n```\n\nWe recommend building the stylesheets with Dart sass (npm install sass).\nThe main Sass stylesheet should be imported using '@use' into a web page's Sass file and is at /src/stylesheets/wdfnviz.scss.\n```\n@use 'wdfnviz';\n```\nIn order to use USWDS mixins and variables you will need to add '@use uswds' and use the \"uswds\" namespace. For example:\n```sass\n@use 'uswds';\n#main-content {\n    @include uswds.grid-container;\n}\n```\nThis directory ,~node_modules/wdfn-viz/src/stylesheets, should be\nspecified on the --load-path option along with the uswds/src/stylesheets when building the site's stylesheets. When building \nthe style sheets the css should also be processed by postcss using the autoprefixer and postcss-csso using a postcss.config.js file:\n```javascript\nconst autoprefixerOptions = [\n    '> 2%',\n    'Last 2 versions',\n    'IE 11',\n    'not dead'\n];\n\nmodule.exports = ctx => ({\n    map: Object.assign({}, ctx.options.map, {inline: false}),\n    parser: ctx.options.parser,\n    plugins: {\n        autoprefixer: autoprefixerOptions,\n        'postcss-csso': {\n            forceMediaMerge: false\n        }\n    }\n});\n```\nYou may also want to include postcss-flexbugs-fixes plugin as is done for building wdfn-viz.\n\nBelow is an example of the process:\n```\n% sass --load-path node_modules/wdfn-viz/src/stylesheets --include-path node_modules/uswds/src/stylesheets src/styles.main.css dist/main.css\n% postcss dist/main.css  -o dist/main.css\n```\n\nPostcss generates internal sourcemaps by default. You may want to consider using the --map option to create external map files\nor if you want to minimize your css assets, you may want to disable entirely by using --no-map\n\nWhen building the assets, the images should be collected in a directory, 'img', that is the at the same place where your final style sheet resides (typically a dist directory). This should include the images in wdfn-viz/src/img that provide the USGS favicon and\nlogos. If using USWDS images those will also need to be collected. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nThe fonts should also be collected in a directory, 'fonts', that is the at the same place where your final style sheet resides (typically a dist directory). Below are examples of commands that could be used to collect the image and font assets.\n```\n% mkdir -p dist/img && cp -r node_modules/uswds/src/img/* dist/img && cp -r node_modules/wdfn-viz/src/img/* dist/img\n% mkdir -p dist/fonts && cp -r node_modules/uswds/src/fonts/* dist/fonts\n```\n\nThe javascript should be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined. In order to use, a loading function should be defined which will be executed \nwhen the page loads. Below is a simple example:\n```javascript\nimport wdfnviz from 'wdfn-viz';\n\nconst load = function () {\n    null;  // Add code that should get executed when the page is loaded\n}\n\nwdfnviz.main(load);\n```\nThe javascript bundle that is created (which will contain your project specific javascript as well as the USWDS javascript) should be loaded inside the body tag. We recommend that this is done as the last tag in the body. \n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos. This includes the script for ```uswds-init.min.js``` which should be retrieved before loading the css files as is done in the example header.html.\n\n## Using without building stylesheets and javascript bundling\nYou can use the prebuilt stylesheet and javascript bundle if desired. This can be done by copying the wdfnviz.css, wdfnviz.js, uswds-init.min.js, the img directory, and the fonts directory into the directory where your static is served and the using the appropriate url.\n```\n<link rel=\"stylesheet\" href=\"wdfnviz.css\">\n<script src=\"wdfnviz.js\"></script>\n```\n\n## Publishing to npm\n\nGitlab CI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when merging commits to the `main` branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://code.usgs.gov/wma/iow/wdfn-viz/-/blob/main/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit. Generally, once a release is published, the version number should be incremented to the next minor release number with `-snapshot` appended and the change committed to the `main` branch.\n","readmeFilename":"README.md","_id":"wdfn-viz@2.2.0-snapshot.e6e465d","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"integrity":"sha512-JnQg9ghtITDCx6cjBn3P//ld/ILwDT3VhwOyz8uRwRqhxHwnHARI2COjulXqwEhfqp1gCrnJAp8Dp4GQxXFS9g==","shasum":"f60f7607aea80015a4b84a6ecfd62cf115f42774","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-2.2.0-snapshot.e6e465d.tgz","fileCount":2403,"unpackedSize":8655558,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhwJ2uCRA9TVsSAnZWagAAP6oP/2+Q+40dZHNr1BPmt944\nWx8FfTu0kGI16346lijo8IaXtDPZbuTBBTjKF7SdiaUsaW/TjMW/KdykOOLg\nN1NPMdQ9+WD4chkxCnCo/7bg6yIZ/azB3goc+MuHHbuhW0jPgyOmDtnuHsbz\ndOghfW79a7Lale2iOBmVue7z7p+JBB9g1aUjD73l24ja51m+Cu1OYoZJqx5Z\nvVgKlzhJwBVYFZDLA+rID9I5XDAtp3IMokwZ67TM7i4S5OSSIjrzD+s0kuFR\nduSu+f5pE2q0K8fJ6CfruzCD7U11a/LG9UNGaJZeQzesxYTUGI25luAE//R1\nXLg3Fv1vF9GEKqonltcqvL2btvLO3tTHBEkw3ZeKEbY06AVhORoJHnLhvHaj\nKQJlEnsFcG6Hg8ZVZTAmJ7K5XlXDDePpbq653cyzBeUiF+/KTNPzQgFckyLX\npmo9rITwqPbsJNgldgWLQs6hvKp3qkWtJc7pYPYp/quWgQemu30XoI61y80p\nI35f/3cQVzaC0OVf8sdkmRYKuflugV/SoFEY9rH/SXyaBOHPF1Mv0bTi2vMl\nFLlh8/5SMx+DjpiaNuVqvwQsE/cIWlR48DviUlTDKqYwluiZjjIzDOwmCd/s\nKKeV55fVOUrKpajYtzD6UPujMzqZGNQe3aPvjA2iNT7PpltBe2IyWsgUeOzb\n/UEl\r\n=64GO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDhYSGgvpo8DcUB7UStpkke5FOCCfl67nC4JKhzoPyHVAIhAKWfA3d0oYt25ts0UdTDmDfxK0y0gMsNN//nMFSCH2Ra"}]},"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"maintainers":[{"name":"drsteini-usgs","email":"drsteini@contractor.usgs.gov"},{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},{"name":"mbucknell-usgs","email":"mbucknell@usgs.gov"},{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_2.2.0-snapshot.e6e465d_1640013230073_0.8111275850042166"},"_hasShrinkwrap":false},"2.2.0-snapshot.3999b36":{"name":"wdfn-viz","version":"2.2.0-snapshot.3999b36","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"sass --load-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","build:uswdsinit":"cp -r node_modules/uswds/dist/js/uswds-init.min.* dist","clean":"rm -rf dist && mkdir dist","lint":"run-p lint:*","lint:cs":"stylelint src/stylesheets ","lint:js":"eslint src/js","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"jest --collectCoverage=true","test:debug":"node --inspect-brk node_modules/.bin/jest --runInBand","test:watch":"jest --watch","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://code.usgs.gov/wma/iow/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://code.usgs.gov/wma/iow/wdfn-viz/-/issues"},"homepage":"https://code.usgs.gov/wma/iow/wdfn-viz","engines":{"node":">= 10"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.13.0"},"devDependencies":{"@rollup/plugin-buble":"0.21.3","@rollup/plugin-commonjs":"21.0.1","@rollup/plugin-node-resolve":"13.1.3","autoprefixer":"10.4.2","buble":"0.20.0","buble-jest":"1.0.1","eslint":"8.6.0","eslint-plugin-jest":"25.3.4","jest":"27.4.7","live-server":"1.2.1","nodemon":"2.0.15","npm-run-all":"4.1.5","nunjucks":"3.2.3","nunjucks-cli":"1.0.0","postcss":"8.4.5","postcss-cli":"9.1.0","postcss-csso":"6.0.0","postcss-flexbugs-fixes":"5.0.2","rollup":"2.64.0","rollup-plugin-terser":"7.0.2","sass":"1.45.2","stylelint":"14.2.0","stylelint-config-recommended-scss":"5.0.2","stylelint-scss":"4.1.0"},"gitHead":"3999b366e5716b85cda71c52cefb02b8719dc799","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![pipeline status](https://code.usgs.gov/wma/iow/wdfn-viz/badges/main/pipeline.svg)](https://code.usgs.gov/wma/iow/wdfn-viz/-/commits/main)\n[![coverage report](https://code.usgs.gov/wma/iow/wdfn-viz/badges/main/coverage.svg)](https://code.usgs.gov/wma/iow/wdfn-viz/-/commits/main)\n\nProvides Sass stylesheets and images that can be used when creating web pages that need to\nmeet USGS visual identity standards. The stylesheets use USWDS (https://designsystem.digital.gov/)\nas the basis so all USWDS components are available.\n\n## Usage\n\nThe repo can be installed in an existing project by installing via npm.\n\n```bash\nnpm install wdfn-viz\n```\n\nTo install the latest development snapshot (containing the current state of the master branch):\n\n```bash\nnpm install wdfn-viz@snapshot\n```\n\nWe recommend building the stylesheets with Dart sass (npm install sass).\nThe main Sass stylesheet should be imported using '@use' into a web page's Sass file and is at /src/stylesheets/wdfnviz.scss.\n```\n@use 'wdfnviz';\n```\nIn order to use USWDS mixins and variables you will need to add '@use uswds' and use the \"uswds\" namespace. For example:\n```sass\n@use 'uswds';\n#main-content {\n    @include uswds.grid-container;\n}\n```\nThis directory ,~node_modules/wdfn-viz/src/stylesheets, should be\nspecified on the --load-path option along with the uswds/src/stylesheets when building the site's stylesheets. When building \nthe style sheets the css should also be processed by postcss using the autoprefixer and postcss-csso using a postcss.config.js file:\n```javascript\nconst autoprefixerOptions = [\n    '> 2%',\n    'Last 2 versions',\n    'IE 11',\n    'not dead'\n];\n\nmodule.exports = ctx => ({\n    map: Object.assign({}, ctx.options.map, {inline: false}),\n    parser: ctx.options.parser,\n    plugins: {\n        autoprefixer: autoprefixerOptions,\n        'postcss-csso': {\n            forceMediaMerge: false\n        }\n    }\n});\n```\nYou may also want to include postcss-flexbugs-fixes plugin as is done for building wdfn-viz.\n\nBelow is an example of the process:\n```\n% sass --load-path node_modules/wdfn-viz/src/stylesheets --include-path node_modules/uswds/src/stylesheets src/styles.main.css dist/main.css\n% postcss dist/main.css  -o dist/main.css\n```\n\nPostcss generates internal sourcemaps by default. You may want to consider using the --map option to create external map files\nor if you want to minimize your css assets, you may want to disable entirely by using --no-map\n\nWhen building the assets, the images should be collected in a directory, 'img', that is the at the same place where your final style sheet resides (typically a dist directory). This should include the images in wdfn-viz/src/img that provide the USGS favicon and\nlogos. If using USWDS images those will also need to be collected. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nThe fonts should also be collected in a directory, 'fonts', that is the at the same place where your final style sheet resides (typically a dist directory). Below are examples of commands that could be used to collect the image and font assets.\n```\n% mkdir -p dist/img && cp -r node_modules/uswds/src/img/* dist/img && cp -r node_modules/wdfn-viz/src/img/* dist/img\n% mkdir -p dist/fonts && cp -r node_modules/uswds/src/fonts/* dist/fonts\n```\n\nThe javascript should be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined. In order to use, a loading function should be defined which will be executed \nwhen the page loads. Below is a simple example:\n```javascript\nimport wdfnviz from 'wdfn-viz';\n\nconst load = function () {\n    null;  // Add code that should get executed when the page is loaded\n}\n\nwdfnviz.main(load);\n```\nThe javascript bundle that is created (which will contain your project specific javascript as well as the USWDS javascript) should be loaded inside the body tag. We recommend that this is done as the last tag in the body. \n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos. This includes the script for ```uswds-init.min.js``` which should be retrieved before loading the css files as is done in the example header.html.\n\n## Using without building stylesheets and javascript bundling\nYou can use the prebuilt stylesheet and javascript bundle if desired. This can be done by copying the wdfnviz.css, wdfnviz.js, uswds-init.min.js, the img directory, and the fonts directory into the directory where your static is served and the using the appropriate url.\n```\n<link rel=\"stylesheet\" href=\"wdfnviz.css\">\n<script src=\"wdfnviz.js\"></script>\n```\n\n## Publishing to npm\n\nGitlab CI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when merging commits to the `main` branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://code.usgs.gov/wma/iow/wdfn-viz/-/blob/main/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit. Generally, once a release is published, the version number should be incremented to the next minor release number with `-snapshot` appended and the change committed to the `main` branch.\n","readmeFilename":"README.md","_id":"wdfn-viz@2.2.0-snapshot.3999b36","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-NXWMo2JkK4UwplFILyaNUqbt5IIzrQzmWt4HAFKN7Ixzg/5t7gcMSCMj8tDmqfGK+gn51F6LzGmCVrmXysPYhg==","shasum":"72a68f4fde86b67c56edfb755570e4b1f8cef933","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-2.2.0-snapshot.3999b36.tgz","fileCount":2403,"unpackedSize":8655519,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh4e4QCRA9TVsSAnZWagAAe9AP/1cyMNsXomoQUor7YE5Q\nq8ay7WYuLpQxDe4H/hNB5QmvkuNhHIxSsFcHR1UXO2hBkl232fesRe9Vn+tF\n0VI0XencIcuLky4A2X+Q/KNHBUVJeOIk554w7usEHM53qPN0evklJhowmCaQ\ndhML4FYNvybNhfbnUJafrXzd28m5GiQrdqLvCKV+FlMI6ONpDhZE8BMTKcn8\nkxmlCVS/XQd7WRpSoiOpLt/gsLjd5dr/VAFPU0LCWw1TdbqmKqbnkutzU49/\nHhEdhSbbc/uRsFdxQeZ3SAZmNVrYIrcLUyQ3DJPOMzwqcz/V+i7taZ4iiFUG\nd1zMLUPESHhg/K0J61vFygV+rZMjdNeAcFChp+zp3BoyKldTLflUPwbxRtsk\nyaG3dvMmQyCXcpzKxUMLgCrrBamsoW5doYoK1Y99FUwr2oedYsQ9ndHuyQT5\n06U8JbiC4e8Hzd7F/R3LPP2KAFoM8WYODUtuTHh5s6zrLwoGA4FOvXwINaSZ\nl2RxYtH3TDKSA4eeCVZGeXkVU4KscKnQJ1OlFP4QPKRAbNVtqjSXTo1/tmYq\nYcDF717QEyXQTEg25jZnM/ctjlTY70f0wcpGK2TXXXl6K03sHLr7iHX5YLYv\n5nyUFVDW9SzJT7oP/X4TnVkjBgMcy3k5UlwOLUADQQdfosVj7O8nUTB8Fuko\nOgJK\r\n=tER6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDZ4SmaxoxNe/G9plGmrVoisrXLMZVUCGxWk4Bs166UhAiAIXHl8FnSAiSflHIinmPnAYQbohedAO1h/yk23lSjrQw=="}]},"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"maintainers":[{"name":"drsteini-usgs","email":"drsteini@contractor.usgs.gov"},{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},{"name":"mbucknell-usgs","email":"mbucknell@usgs.gov"},{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_2.2.0-snapshot.3999b36_1642196496551_0.2753730522062592"},"_hasShrinkwrap":false},"2.1.1":{"name":"wdfn-viz","version":"2.1.1","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"sass --load-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","build:uswdsinit":"cp -r node_modules/uswds/dist/js/uswds-init.min.* dist","clean":"rm -rf dist && mkdir dist","lint":"run-p lint:*","lint:cs":"stylelint src/stylesheets ","lint:js":"eslint src/js","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"jest --collectCoverage=true","test:debug":"node --inspect-brk node_modules/.bin/jest --runInBand","test:watch":"jest --watch","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://code.usgs.gov/wma/iow/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://code.usgs.gov/wma/iow/wdfn-viz/-/issues"},"homepage":"https://code.usgs.gov/wma/iow/wdfn-viz","engines":{"node":">= 10"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.13.1"},"devDependencies":{"@rollup/plugin-buble":"0.21.3","@rollup/plugin-commonjs":"21.0.1","@rollup/plugin-node-resolve":"13.1.3","autoprefixer":"10.4.2","buble":"0.20.0","buble-jest":"1.0.1","eslint":"8.8.0","eslint-plugin-jest":"26.0.0","jest":"27.4.7","live-server":"1.2.1","nodemon":"2.0.15","npm-run-all":"4.1.5","nunjucks":"3.2.3","nunjucks-cli":"1.0.0","postcss":"8.4.6","postcss-cli":"9.1.0","postcss-csso":"6.0.0","postcss-flexbugs-fixes":"5.0.2","rollup":"2.67.0","rollup-plugin-terser":"7.0.2","sass":"1.49.7","stylelint":"14.3.0","stylelint-config-recommended-scss":"5.0.2","stylelint-scss":"4.1.0"},"gitHead":"303caa553c7574e16d3401f9d097b7817c0f63f6","_id":"wdfn-viz@2.1.1","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-99cDuo2x56qiKfj69bad/8A65i7dFTnY0MvDfxmoFzGQTmzAlyzudKKRpBb6OWtyed3y9GisU7VHl/mfzHDm6g==","shasum":"5878264e33f5af13ebfca4ad418cabebe2a2b8f1","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-2.1.1.tgz","fileCount":2403,"unpackedSize":8658203,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh+qHUCRA9TVsSAnZWagAA/vUP/3vwNuOe70k9+iBFe+WF\n5JGZmcqgQy3DtCO+Hf5hNtWD0N0DbzgoCkQqhQjy2+0XU0QjT8ZPA9Ic9EPi\nDNO0eDnIcUKdFlmn9kPvTM+w1LuR4COs4x/OaTS0FwP6+9BtJovlQqWZNVcX\n36s+Ki3bs00D6nTkGkl550d5WpNAuL12B7ebuR+FuSYIs6LQ9ywlszlf0g8y\ngPvIuLMSjaUhB011SyuHk62JQhRvKnNs1bk/+BMXTm9UqoXI/AQfIRH4i/6V\nfdczCsgK3/iS5R0OeueVgh1nM13qgMdKiq6E02RCsVShQ20drKvUkb6LKwbY\n3seHfnCrhj+QfwTCSROmDFYyJHEilNN7exh7Ir/IhGsDkny99uAzRdh6CEc2\nGmQ5bTDd8IGfERDVyI+EjieRHpD3RdFFVmP5ZDkD9e3FzmtEZ6+NKh4Q7+Q8\nRT5fYMLjAfKlVEzb80mTyHjA5I9cfW27jjcAj8RmpEiRocQRj9bgdwO1fBki\n17Ian9RrCySbDNTbp65ggzTipEEGMq4qsFqy0T2O5M5WnTWcGfMq6+aUdeuE\n4H5hH/ipxApIECE1rUQ05VanRMobiTk3WZRO45LEBozM5u+ISzIG/cdFU5pj\nDfAIuzjVsgghyBpfNB8pOhpcRHknaOeQDW3EvnvSyCvXuWXIeTR5JuxzNtAu\nOGmc\r\n=2IxI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCmCX07YJnA4OPpMiO9qrDroYKBvs9DHI2YqP/krClTlQIhALELMfNepCej3RAhJ9u5HnU752r0MbJXpPBOjm2Ox2xC"}]},"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"maintainers":[{"name":"drsteini-usgs","email":"drsteini@contractor.usgs.gov"},{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},{"name":"mbucknell-usgs","email":"mbucknell@usgs.gov"},{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_2.1.1_1643815380682_0.3345430422951612"},"_hasShrinkwrap":false},"2.2.0-snapshot.c30507c":{"name":"wdfn-viz","version":"2.2.0-snapshot.c30507c","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"sass --load-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","build:uswdsinit":"cp -r node_modules/uswds/dist/js/uswds-init.min.* dist","clean":"rm -rf dist && mkdir dist","lint":"run-p lint:*","lint:cs":"stylelint src/stylesheets ","lint:js":"eslint src/js","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"jest --collectCoverage=true","test:debug":"node --inspect-brk node_modules/.bin/jest --runInBand","test:watch":"jest --watch","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://code.usgs.gov/wma/iow/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://code.usgs.gov/wma/iow/wdfn-viz/-/issues"},"homepage":"https://code.usgs.gov/wma/iow/wdfn-viz","engines":{"node":">= 10"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.13.1"},"devDependencies":{"@rollup/plugin-buble":"0.21.3","@rollup/plugin-commonjs":"21.0.1","@rollup/plugin-node-resolve":"13.1.3","autoprefixer":"10.4.2","buble":"0.20.0","buble-jest":"1.0.1","eslint":"8.8.0","eslint-plugin-jest":"26.0.0","jest":"27.4.7","live-server":"1.2.1","nodemon":"2.0.15","npm-run-all":"4.1.5","nunjucks":"3.2.3","nunjucks-cli":"1.0.0","postcss":"8.4.6","postcss-cli":"9.1.0","postcss-csso":"6.0.0","postcss-flexbugs-fixes":"5.0.2","rollup":"2.67.0","rollup-plugin-terser":"7.0.2","sass":"1.49.7","stylelint":"14.3.0","stylelint-config-recommended-scss":"5.0.2","stylelint-scss":"4.1.0"},"gitHead":"c30507cff2a07be6a6b00583321d5eeef80347b7","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![pipeline status](https://code.usgs.gov/wma/iow/wdfn-viz/badges/main/pipeline.svg)](https://code.usgs.gov/wma/iow/wdfn-viz/-/commits/main)\n[![coverage report](https://code.usgs.gov/wma/iow/wdfn-viz/badges/main/coverage.svg)](https://code.usgs.gov/wma/iow/wdfn-viz/-/commits/main)\n\nProvides Sass stylesheets and images that can be used when creating web pages that need to\nmeet USGS visual identity standards. The stylesheets use USWDS (https://designsystem.digital.gov/)\nas the basis so all USWDS components are available.\n\n## Usage\n\nThe repo can be installed in an existing project by installing via npm.\n\n```bash\nnpm install wdfn-viz\n```\n\nTo install the latest development snapshot (containing the current state of the master branch):\n\n```bash\nnpm install wdfn-viz@snapshot\n```\n\nWe recommend building the stylesheets with Dart sass (npm install sass).\nThe main Sass stylesheet should be imported using '@use' into a web page's Sass file and is at /src/stylesheets/wdfnviz.scss.\n```\n@use 'wdfnviz';\n```\nIn order to use USWDS mixins and variables you will need to add '@use uswds' and use the \"uswds\" namespace. For example:\n```sass\n@use 'uswds';\n#main-content {\n    @include uswds.grid-container;\n}\n```\nThis directory ,~node_modules/wdfn-viz/src/stylesheets, should be\nspecified on the --load-path option along with the uswds/src/stylesheets when building the site's stylesheets. When building \nthe style sheets the css should also be processed by postcss using the autoprefixer and postcss-csso using a postcss.config.js file:\n```javascript\nconst autoprefixerOptions = [\n    '> 2%',\n    'Last 2 versions',\n    'IE 11',\n    'not dead'\n];\n\nmodule.exports = ctx => ({\n    map: Object.assign({}, ctx.options.map, {inline: false}),\n    parser: ctx.options.parser,\n    plugins: {\n        autoprefixer: autoprefixerOptions,\n        'postcss-csso': {\n            forceMediaMerge: false\n        }\n    }\n});\n```\nYou may also want to include postcss-flexbugs-fixes plugin as is done for building wdfn-viz.\n\nBelow is an example of the process:\n```\n% sass --load-path node_modules/wdfn-viz/src/stylesheets --include-path node_modules/uswds/src/stylesheets src/styles.main.css dist/main.css\n% postcss dist/main.css  -o dist/main.css\n```\n\nPostcss generates internal sourcemaps by default. You may want to consider using the --map option to create external map files\nor if you want to minimize your css assets, you may want to disable entirely by using --no-map\n\nWhen building the assets, the images should be collected in a directory, 'img', that is the at the same place where your final style sheet resides (typically a dist directory). This should include the images in wdfn-viz/src/img that provide the USGS favicon and\nlogos. If using USWDS images those will also need to be collected. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nThe fonts should also be collected in a directory, 'fonts', that is the at the same place where your final style sheet resides (typically a dist directory). Below are examples of commands that could be used to collect the image and font assets.\n```\n% mkdir -p dist/img && cp -r node_modules/uswds/src/img/* dist/img && cp -r node_modules/wdfn-viz/src/img/* dist/img\n% mkdir -p dist/fonts && cp -r node_modules/uswds/src/fonts/* dist/fonts\n```\n\nThe javascript should be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined. In order to use, a loading function should be defined which will be executed \nwhen the page loads. Below is a simple example:\n```javascript\nimport wdfnviz from 'wdfn-viz';\n\nconst load = function () {\n    null;  // Add code that should get executed when the page is loaded\n}\n\nwdfnviz.main(load);\n```\nThe javascript bundle that is created (which will contain your project specific javascript as well as the USWDS javascript) should be loaded inside the body tag. We recommend that this is done as the last tag in the body. \n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos. This includes the script for ```uswds-init.min.js``` which should be retrieved before loading the css files as is done in the example header.html.\n\n## Using without building stylesheets and javascript bundling\nYou can use the prebuilt stylesheet and javascript bundle if desired. This can be done by copying the wdfnviz.css, wdfnviz.js, uswds-init.min.js, the img directory, and the fonts directory into the directory where your static is served and the using the appropriate url.\n```\n<link rel=\"stylesheet\" href=\"wdfnviz.css\">\n<script src=\"wdfnviz.js\"></script>\n```\n\n## Publishing to npm\n\nGitlab CI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when merging commits to the `main` branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://code.usgs.gov/wma/iow/wdfn-viz/-/blob/main/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit. Generally, once a release is published, the version number should be incremented to the next minor release number with `-snapshot` appended and the change committed to the `main` branch.\n","readmeFilename":"README.md","_id":"wdfn-viz@2.2.0-snapshot.c30507c","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-U1ZB7JOnLyDXh4zyRaP99bbXe+CjI8gT//ghZY2n1A62maI6FEGlirT2JyvAFiUNnqbFu8Pj8OLrJQd/LOwoHw==","shasum":"3d2b060ab342a327e8b1cfda35b64c9d56ee9b5b","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-2.2.0-snapshot.c30507c.tgz","fileCount":2403,"unpackedSize":8658220,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh+qM/CRA9TVsSAnZWagAAG4QP/jkVuJfgu4GK7XArcA/i\nyWv74VZqq0NzZx5QcIyzaHX4FI9B5rS3zTitIZ2RjS/J6H/kTV9VYY6bCtaX\nVDiD1q6S0V9caze6IGuXX9zO0+H56UrKM5S/EVeOhITUsONPRkSfE6SJNEEA\nVG4M+tazxExpcnA84mC2DjgJWBGZCtUw1r8En1HwAyr325yBKdq/v2GwrXX7\n+zvBSSD0yoJ+Zt2WJdpAuJKgHhYVNFecuWEfv+YqpRVbCpyvQ/IOtcza3T52\n7iRdxA66+ON7O/miakXe5xtA5Kxr/qNK3w4eVH0e3x+HbYwrqpPzK7DEzdS9\n8hbeCq4FSteygQVySGlM+H1BDzRv5J6UarfqM0rvPOzVNp9J3cNJbjSJ+u7g\nYmt38FGYIYOqDT9jbp46yEJUfQwpKMX2/n4yxFfwEuKUmSvfUF5qaWaFyMOm\nCanLSae7N23YvRqgis/QtZMn5Q0HXDjaG1gJx96zXgnRXSouVqvhwRiZmc86\nTE0zIAqKDy/A54gk9xVvHUuqcDd2eNy9Pw0TFyGkNJqq7cnQqis997IaLwQz\ns4VGPkKpurgLdv3aU1qHqLnHIHyEdULAlTohwkRyR/HTMiWnRexg0xwReHZ/\nSfI62biQhIgebunMhuul6n6EA9Yogb37OQmWNVd4mEI+5zXeALCKmE/2nozi\nRMtE\r\n=AwLn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC7FUq+gU7Ua2fQccTWNmY806AnmCwQ5VFCLe/0oGkaUgIhAJlgny2Bl1xaqZvd1IwSy8bQSFifrpC8rPezRU4grMfr"}]},"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"maintainers":[{"name":"drsteini-usgs","email":"drsteini@contractor.usgs.gov"},{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},{"name":"mbucknell-usgs","email":"mbucknell@usgs.gov"},{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_2.2.0-snapshot.c30507c_1643815743400_0.9330572528110299"},"_hasShrinkwrap":false},"2.1.2":{"name":"wdfn-viz","version":"2.1.2","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"sass --load-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","build:uswdsinit":"cp -r node_modules/uswds/dist/js/uswds-init.min.* dist","clean":"rm -rf dist && mkdir dist","lint":"run-p lint:*","lint:cs":"stylelint src/stylesheets ","lint:js":"eslint src/js","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"jest --collectCoverage=true","test:debug":"node --inspect-brk node_modules/.bin/jest --runInBand","test:watch":"jest --watch","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://code.usgs.gov/wma/iow/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://code.usgs.gov/wma/iow/wdfn-viz/-/issues"},"homepage":"https://code.usgs.gov/wma/iow/wdfn-viz","engines":{"node":">= 10"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.13.2"},"devDependencies":{"@rollup/plugin-buble":"0.21.3","@rollup/plugin-commonjs":"21.0.2","@rollup/plugin-node-resolve":"13.1.3","autoprefixer":"10.4.3","buble":"0.20.0","buble-jest":"1.0.1","eslint":"8.11.0","eslint-plugin-jest":"26.1.1","jest":"27.5.1","live-server":"1.2.1","nodemon":"2.0.15","npm-run-all":"4.1.5","nunjucks":"3.2.3","nunjucks-cli":"1.0.0","postcss":"8.4.11","postcss-cli":"9.1.0","postcss-csso":"6.0.0","postcss-flexbugs-fixes":"5.0.2","rollup":"2.70.1","rollup-plugin-terser":"7.0.2","sass":"1.49.9","stylelint":"14.5.3","stylelint-config-recommended-scss":"5.0.2","stylelint-scss":"4.2.0"},"gitHead":"fd07687e148bd2ea011316223384ede78e2b1408","_id":"wdfn-viz@2.1.2","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-t2GFKRKaFlgAERlTi6h3vX0JaNhFSxAc0hM6wm4uCtiEaajWuaUIuKxtts712vzV/MwMZbCYk5gejMuEXsxMHA==","shasum":"cac0d924ac8772058e42c46472143b1dfdba04f0","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-2.1.2.tgz","fileCount":2403,"unpackedSize":8657032,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiMQ1QACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrDUQ/5AFIi/sXNGWd8gBwQMCJvapMiTIoVXt81NyOb7ukrieE+0Qiv\r\n8JHF4Roh1yFTtcxUpveOUy3UE25Ec8YXPOeTsu8cSiL4VF7HWfrOQZ6TxJCc\r\nmZzFeD1dZuykdkvDr3RVltSGGi2fb84MMqc6SyZHzmYBYqDGkv7P3C/hBn8K\r\nJe0yfS0f+T6QS4BxoK5PPZLdwVexMv2i9ML33uloFD/lTcDCO6zB/TXg4WzO\r\n/sisXekTxgGYgpSc7hb28rIWc8IdOrXG95axXl6OJePaaZcBdeyBnkC8U3Wm\r\nX0iSc0AhTv7UzRpv6mtwiFAOsafIYrZ+XpHzQHZF4PPzIudYG2hnwzcc6SfA\r\nUxFoipl16GLJpxZW7sdJ6ItcG5Q0TUchJlepWXgi1G/38FsedWzb5m9Y+v3x\r\nsSQH0E/YBXgexr6XKencDIg17JscQR5MPUBHRiG2U7kgUVlSBCAIqvLJzPIf\r\nUZEMgFkQUnrOzCKY8CCakQoM4E1+X8Kwb0iFLSUGMmFgotMIwZ8Q+6zYfdWe\r\n8MOpXWCUbQBmmEYQky6hV/9TFiNFsgV+NCmWkOYdyg9EnCOqEjE/9frKoWj/\r\nlVte8PaeT0p2Y8evp+RTnGjsYnARItzRNmpcl/Svk9WhI/YjG/0DrsPnQKeE\r\nAAHzCR17/VB7K1B4GmE19f2z5gSYpQPvZdE=\r\n=5Hen\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICIiEN1GvB2QbhWj7TzD3cR64frjswzEjQgFuu7WG3TuAiEA35RsNqfk9AMJAns41q5tq7cCoyRHbHGyXwlBHjM3eV4="}]},"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"maintainers":[{"name":"drsteini-usgs","email":"drsteini@contractor.usgs.gov"},{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},{"name":"mbucknell-usgs","email":"mbucknell@usgs.gov"},{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_2.1.2_1647381840219_0.8567131719913876"},"_hasShrinkwrap":false},"2.2.0-snapshot.c87447e":{"name":"wdfn-viz","version":"2.2.0-snapshot.c87447e","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"sass --load-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","build:uswdsinit":"cp -r node_modules/uswds/dist/js/uswds-init.min.* dist","clean":"rm -rf dist && mkdir dist","lint":"run-p lint:*","lint:cs":"stylelint src/stylesheets ","lint:js":"eslint src/js","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"jest --collectCoverage=true","test:debug":"node --inspect-brk node_modules/.bin/jest --runInBand","test:watch":"jest --watch","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://code.usgs.gov/wma/iow/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://code.usgs.gov/wma/iow/wdfn-viz/-/issues"},"homepage":"https://code.usgs.gov/wma/iow/wdfn-viz","engines":{"node":">= 10"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.13.2"},"devDependencies":{"@rollup/plugin-buble":"0.21.3","@rollup/plugin-commonjs":"21.0.2","@rollup/plugin-node-resolve":"13.1.3","autoprefixer":"10.4.3","buble":"0.20.0","buble-jest":"1.0.1","eslint":"8.11.0","eslint-plugin-jest":"26.1.1","jest":"27.5.1","live-server":"1.2.1","nodemon":"2.0.15","npm-run-all":"4.1.5","nunjucks":"3.2.3","nunjucks-cli":"1.0.0","postcss":"8.4.11","postcss-cli":"9.1.0","postcss-csso":"6.0.0","postcss-flexbugs-fixes":"5.0.2","rollup":"2.70.1","rollup-plugin-terser":"7.0.2","sass":"1.49.9","stylelint":"14.5.3","stylelint-config-recommended-scss":"5.0.2","stylelint-scss":"4.2.0"},"gitHead":"c87447ebc39425d3bed555188069d15d5f4d2730","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![pipeline status](https://code.usgs.gov/wma/iow/wdfn-viz/badges/main/pipeline.svg)](https://code.usgs.gov/wma/iow/wdfn-viz/-/commits/main)\n[![coverage report](https://code.usgs.gov/wma/iow/wdfn-viz/badges/main/coverage.svg)](https://code.usgs.gov/wma/iow/wdfn-viz/-/commits/main)\n\nProvides Sass stylesheets and images that can be used when creating web pages that need to\nmeet USGS visual identity standards. The stylesheets use USWDS (https://designsystem.digital.gov/)\nas the basis so all USWDS components are available.\n\n## Usage\n\nThe repo can be installed in an existing project by installing via npm.\n\n```bash\nnpm install wdfn-viz\n```\n\nTo install the latest development snapshot (containing the current state of the master branch):\n\n```bash\nnpm install wdfn-viz@snapshot\n```\n\nWe recommend building the stylesheets with Dart sass (npm install sass).\nThe main Sass stylesheet should be imported using '@use' into a web page's Sass file and is at /src/stylesheets/wdfnviz.scss.\n```\n@use 'wdfnviz';\n```\nIn order to use USWDS mixins and variables you will need to add '@use uswds' and use the \"uswds\" namespace. For example:\n```sass\n@use 'uswds';\n#main-content {\n    @include uswds.grid-container;\n}\n```\nThis directory ,~node_modules/wdfn-viz/src/stylesheets, should be\nspecified on the --load-path option along with the uswds/src/stylesheets when building the site's stylesheets. When building \nthe style sheets the css should also be processed by postcss using the autoprefixer and postcss-csso using a postcss.config.js file:\n```javascript\nconst autoprefixerOptions = [\n    '> 2%',\n    'Last 2 versions',\n    'IE 11',\n    'not dead'\n];\n\nmodule.exports = ctx => ({\n    map: Object.assign({}, ctx.options.map, {inline: false}),\n    parser: ctx.options.parser,\n    plugins: {\n        autoprefixer: autoprefixerOptions,\n        'postcss-csso': {\n            forceMediaMerge: false\n        }\n    }\n});\n```\nYou may also want to include postcss-flexbugs-fixes plugin as is done for building wdfn-viz.\n\nBelow is an example of the process:\n```\n% sass --load-path node_modules/wdfn-viz/src/stylesheets --include-path node_modules/uswds/src/stylesheets src/styles.main.css dist/main.css\n% postcss dist/main.css  -o dist/main.css\n```\n\nPostcss generates internal sourcemaps by default. You may want to consider using the --map option to create external map files\nor if you want to minimize your css assets, you may want to disable entirely by using --no-map\n\nWhen building the assets, the images should be collected in a directory, 'img', that is the at the same place where your final style sheet resides (typically a dist directory). This should include the images in wdfn-viz/src/img that provide the USGS favicon and\nlogos. If using USWDS images those will also need to be collected. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nThe fonts should also be collected in a directory, 'fonts', that is the at the same place where your final style sheet resides (typically a dist directory). Below are examples of commands that could be used to collect the image and font assets.\n```\n% mkdir -p dist/img && cp -r node_modules/uswds/src/img/* dist/img && cp -r node_modules/wdfn-viz/src/img/* dist/img\n% mkdir -p dist/fonts && cp -r node_modules/uswds/src/fonts/* dist/fonts\n```\n\nThe javascript should be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined. In order to use, a loading function should be defined which will be executed \nwhen the page loads. Below is a simple example:\n```javascript\nimport wdfnviz from 'wdfn-viz';\n\nconst load = function () {\n    null;  // Add code that should get executed when the page is loaded\n}\n\nwdfnviz.main(load);\n```\nThe javascript bundle that is created (which will contain your project specific javascript as well as the USWDS javascript) should be loaded inside the body tag. We recommend that this is done as the last tag in the body. \n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos. This includes the script for ```uswds-init.min.js``` which should be retrieved before loading the css files as is done in the example header.html.\n\n## Using without building stylesheets and javascript bundling\nYou can use the prebuilt stylesheet and javascript bundle if desired. This can be done by copying the wdfnviz.css, wdfnviz.js, uswds-init.min.js, the img directory, and the fonts directory into the directory where your static is served and the using the appropriate url.\n```\n<link rel=\"stylesheet\" href=\"wdfnviz.css\">\n<script src=\"wdfnviz.js\"></script>\n```\n\n## Publishing to npm\n\nGitlab CI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when merging commits to the `main` branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://code.usgs.gov/wma/iow/wdfn-viz/-/blob/main/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit. Generally, once a release is published, the version number should be incremented to the next minor release number with `-snapshot` appended and the change committed to the `main` branch.\n","readmeFilename":"README.md","_id":"wdfn-viz@2.2.0-snapshot.c87447e","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-Pd97bSJWfzYRkM6Q8Mxv3W2M9DVKfUxYNJHLlkVoJ6ywcVk2mia1f8i+hz/Z9P9zSdvknwTXjtNTDAFpE/kKaQ==","shasum":"27849cba9d7018783cd2142e123035a24417d76b","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-2.2.0-snapshot.c87447e.tgz","fileCount":2403,"unpackedSize":8657049,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiMQ7pACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq0uw/7B6vqrSWg93d6yFVoPD+U7OOFpQerrfuVTC2XE2t7LHWT2jOY\r\neuxmjAs273OYeHAGggWJr1d3eBtNfPyT941Rl41tLIjpyu4FFQ1mecuV2UPk\r\niOAEgU9ketD4aFMtaP+ENQ+qLThgzEwoWyyw2rRAhd/nsUahERjMT6Cn5Jez\r\nloBhVtLNHaPkrz2y+paSpI2T9+n4kHrdIwKWMUsmdixzwwSVggQm5fiOLT+I\r\nLeZ6t7u4Tlz8oNaZ2Sgz4sbFLIjnrx+uXspPs9TDQeSq9Yk2wTP70g7Uu0jh\r\nJs9xCz3akh/+xn+H928FpjC55DfkBHVaw8G6Jrza236yPZN8yeWfOA2mWHmU\r\no/l99Y7KKtA0uZnm+n0xiSLaW81zA4wHW9cRE/X7wCz1wS6MjyKkvPsy4O5G\r\nQW0czstl9SC+Db6UT7xowmf4Zk5lHYJ2Jz6IYSBPUcaoLMQgEYahCs+DjzlI\r\nY1Edt+BKBAzYvw95w3kUUuiJf5kjoBdianqvz4IgewzrkuBsL/uf/QzqQIHJ\r\nkcGTqkN6G8wui+b+mi56/zFQ2wUQ8djypMC0dphzdKYJehoWwLOwC8Z9C89D\r\nyAt2xje7YoUFv5aJ0fYIlXdOFgQaPtHVYMbn96/wJaFSZ/SyDUknMqThIzBL\r\nWEfBixSXLpI2h1PzryOg5v6E8f4eFjJqs20=\r\n=AGE2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD4JvpVghEiX1+eSxBivvhXww8gbjsS1F8j2/m/+wwIsAIgVpoZX0qqs7wkW5T/kIe/J1hPRv4wiIKr/SoCeIk4bCQ="}]},"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"maintainers":[{"name":"drsteini-usgs","email":"drsteini@contractor.usgs.gov"},{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},{"name":"mbucknell-usgs","email":"mbucknell@usgs.gov"},{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_2.2.0-snapshot.c87447e_1647382248761_0.9693614436064377"},"_hasShrinkwrap":false},"2.2.0-snapshot.b40ca90":{"name":"wdfn-viz","version":"2.2.0-snapshot.b40ca90","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"sass --load-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","build:uswdsinit":"cp -r node_modules/uswds/dist/js/uswds-init.min.* dist","clean":"rm -rf dist && mkdir dist","lint":"run-p lint:*","lint:cs":"stylelint src/stylesheets ","lint:js":"eslint src/js","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"jest --collectCoverage=true","test:debug":"node --inspect-brk node_modules/.bin/jest --runInBand","test:watch":"jest --watch","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://code.usgs.gov/wma/iow/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://code.usgs.gov/wma/iow/wdfn-viz/-/issues"},"homepage":"https://code.usgs.gov/wma/iow/wdfn-viz","engines":{"node":">= 10"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.13.2"},"devDependencies":{"@rollup/plugin-buble":"0.21.3","@rollup/plugin-commonjs":"21.0.3","@rollup/plugin-node-resolve":"13.1.3","autoprefixer":"10.4.4","buble":"0.20.0","buble-jest":"1.0.1","eslint":"8.12.0","eslint-plugin-jest":"26.1.3","jest":"27.5.1","live-server":"1.2.1","nodemon":"2.0.15","npm-run-all":"4.1.5","nunjucks":"3.2.3","nunjucks-cli":"1.0.0","postcss":"8.4.12","postcss-cli":"9.1.0","postcss-csso":"6.0.0","postcss-flexbugs-fixes":"5.0.2","rollup":"2.70.1","rollup-plugin-terser":"7.0.2","sass":"1.49.9","stylelint":"14.6.1","stylelint-config-recommended-scss":"6.0.0","stylelint-scss":"4.2.0"},"gitHead":"b40ca904eea20e3cbf1e01e7582d02a17cb95902","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![pipeline status](https://code.usgs.gov/wma/iow/wdfn-viz/badges/main/pipeline.svg)](https://code.usgs.gov/wma/iow/wdfn-viz/-/commits/main)\n[![coverage report](https://code.usgs.gov/wma/iow/wdfn-viz/badges/main/coverage.svg)](https://code.usgs.gov/wma/iow/wdfn-viz/-/commits/main)\n\nProvides Sass stylesheets and images that can be used when creating web pages that need to\nmeet USGS visual identity standards. The stylesheets use USWDS (https://designsystem.digital.gov/)\nas the basis so all USWDS components are available.\n\n## Usage\n\nThe repo can be installed in an existing project by installing via npm.\n\n```bash\nnpm install wdfn-viz\n```\n\nTo install the latest development snapshot (containing the current state of the master branch):\n\n```bash\nnpm install wdfn-viz@snapshot\n```\n\nWe recommend building the stylesheets with Dart sass (npm install sass).\nThe main Sass stylesheet should be imported using '@use' into a web page's Sass file and is at /src/stylesheets/wdfnviz.scss.\n```\n@use 'wdfnviz';\n```\nIn order to use USWDS mixins and variables you will need to add '@use uswds' and use the \"uswds\" namespace. For example:\n```sass\n@use 'uswds';\n#main-content {\n    @include uswds.grid-container;\n}\n```\nThis directory ,~node_modules/wdfn-viz/src/stylesheets, should be\nspecified on the --load-path option along with the uswds/src/stylesheets when building the site's stylesheets. When building \nthe style sheets the css should also be processed by postcss using the autoprefixer and postcss-csso using a postcss.config.js file:\n```javascript\nconst autoprefixerOptions = [\n    '> 2%',\n    'Last 2 versions',\n    'IE 11',\n    'not dead'\n];\n\nmodule.exports = ctx => ({\n    map: Object.assign({}, ctx.options.map, {inline: false}),\n    parser: ctx.options.parser,\n    plugins: {\n        autoprefixer: autoprefixerOptions,\n        'postcss-csso': {\n            forceMediaMerge: false\n        }\n    }\n});\n```\nYou may also want to include postcss-flexbugs-fixes plugin as is done for building wdfn-viz.\n\nBelow is an example of the process:\n```\n% sass --load-path node_modules/wdfn-viz/src/stylesheets --include-path node_modules/uswds/src/stylesheets src/styles.main.css dist/main.css\n% postcss dist/main.css  -o dist/main.css\n```\n\nPostcss generates internal sourcemaps by default. You may want to consider using the --map option to create external map files\nor if you want to minimize your css assets, you may want to disable entirely by using --no-map\n\nWhen building the assets, the images should be collected in a directory, 'img', that is the at the same place where your final style sheet resides (typically a dist directory). This should include the images in wdfn-viz/src/img that provide the USGS favicon and\nlogos. If using USWDS images those will also need to be collected. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nThe fonts should also be collected in a directory, 'fonts', that is the at the same place where your final style sheet resides (typically a dist directory). Below are examples of commands that could be used to collect the image and font assets.\n```\n% mkdir -p dist/img && cp -r node_modules/uswds/src/img/* dist/img && cp -r node_modules/wdfn-viz/src/img/* dist/img\n% mkdir -p dist/fonts && cp -r node_modules/uswds/src/fonts/* dist/fonts\n```\n\nThe javascript should be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined. In order to use, a loading function should be defined which will be executed \nwhen the page loads. Below is a simple example:\n```javascript\nimport wdfnviz from 'wdfn-viz';\n\nconst load = function () {\n    null;  // Add code that should get executed when the page is loaded\n}\n\nwdfnviz.main(load);\n```\nThe javascript bundle that is created (which will contain your project specific javascript as well as the USWDS javascript) should be loaded inside the body tag. We recommend that this is done as the last tag in the body. \n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos. This includes the script for ```uswds-init.min.js``` which should be retrieved before loading the css files as is done in the example header.html.\n\n## Using without building stylesheets and javascript bundling\nYou can use the prebuilt stylesheet and javascript bundle if desired. This can be done by copying the wdfnviz.css, wdfnviz.js, uswds-init.min.js, the img directory, and the fonts directory into the directory where your static is served and the using the appropriate url.\n```\n<link rel=\"stylesheet\" href=\"wdfnviz.css\">\n<script src=\"wdfnviz.js\"></script>\n```\n\n## Publishing to npm\n\nGitlab CI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when merging commits to the `main` branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://code.usgs.gov/wma/iow/wdfn-viz/-/blob/main/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit. Generally, once a release is published, the version number should be incremented to the next minor release number with `-snapshot` appended and the change committed to the `main` branch.\n","readmeFilename":"README.md","_id":"wdfn-viz@2.2.0-snapshot.b40ca90","_nodeVersion":"16.14.2","_npmVersion":"8.5.0","dist":{"integrity":"sha512-EEeiJvNKl3KHLDOWGUgd/rQfcV823DFqqvgLaFvFcI7rNiMNQzhc8xVOQerW1jP83UQsfY30dwo7LYUoYU5kdA==","shasum":"69233a3cb91cbf3e6dd0abb8d366e99d92013ec7","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-2.2.0-snapshot.b40ca90.tgz","fileCount":2403,"unpackedSize":8657337,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiQxKWACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq4Yw//fBMKzEje8ZRduAB9kAP8Ryel2YPBeTnNeY9Ve39CQMEMkRw7\r\n7w9rj7/wD0THb5QQI/V4e5+TSUFiUgDWnI20xcand+0WCDjF8tlZLIHqvXDy\r\n/ncbxccOGc/vsPiFSskwgIFeDZAhmmnzWB65WAxFWGRC8V78SuaKUy3e4GeP\r\nSLg138Sfxf8zZW7c+noFnRyKyyepB2xYnBrMx3IgnXRhi6GA+thDdUJHPwvs\r\nlmAjnVBk/6spbT5Y/9PuUvjCn+79YqCbEL+EuVnmIGBNDN8y5Zgw5wBDKvsg\r\nNtrAtkBOwuGnfYBW5oPSD/3viVpp3JWldVFoyO9NP1dd8RMVvhg/Ik+itoxX\r\niV3O7gSs0Dhe/pX+GaB+6FECVm8UVcH2Lo90SjrP3wbU9V5QTMLcva+OyJPS\r\nVSHI9Ya8npRLK8k1BnOzR2KJK4yqqIw9EeuX8StKrc5I9n4wP0l0KeocwrMi\r\nnCvwOE05g6msXKlLf5a9sVnXrYVeEuFdAbSb1XJc3ab8tlymagb6fjE6zARk\r\nC0sVfLC3yWftNWrqlQR/0llMJV3pmDm7MoTfWdFceMR8mDIfRkwAgW5cjYmc\r\nY/ZR3AcMKL3mBv9OntrD8O4zcPNHvQLiyvtpmfIIJ3oWTBfljrJkTpBhDdnI\r\nlT14qd5+pPO4t+d8MWNhrNK4wxij+ZPGRqU=\r\n=u1iQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBeglYdPZ5YJRmreYIXop5nmM2dl/TshULj9AX+UQCqIAiEA/Od1VFHUhNMCxI7HhmgOQStSi+bvDfPNxurEgMN2f2s="}]},"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"maintainers":[{"name":"drsteini-usgs","email":"drsteini@contractor.usgs.gov"},{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},{"name":"mbucknell-usgs","email":"mbucknell@usgs.gov"},{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_2.2.0-snapshot.b40ca90_1648562838190_0.5856017377499494"},"_hasShrinkwrap":false},"2.2.0-snapshot.074493a":{"name":"wdfn-viz","version":"2.2.0-snapshot.074493a","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"sass --load-path node_modules/uswds/src/stylesheets src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/uswds/dist/scss/* dist/sass","build:uswdsinit":"cp -r node_modules/uswds/dist/js/uswds-init.min.* dist","clean":"rm -rf dist && mkdir dist","lint":"run-p lint:*","lint:cs":"stylelint src/stylesheets ","lint:js":"eslint src/js","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"jest --collectCoverage=true","test:debug":"node --inspect-brk node_modules/.bin/jest --runInBand","test:watch":"jest --watch","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://code.usgs.gov/wma/iow/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://code.usgs.gov/wma/iow/wdfn-viz/-/issues"},"homepage":"https://code.usgs.gov/wma/iow/wdfn-viz","engines":{"node":">= 10"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"uswds":"2.13.2"},"devDependencies":{"@rollup/plugin-buble":"0.21.3","@rollup/plugin-commonjs":"21.0.3","@rollup/plugin-node-resolve":"13.1.3","autoprefixer":"10.4.4","buble":"0.20.0","buble-jest":"1.0.1","eslint":"8.12.0","eslint-plugin-jest":"26.1.3","jest":"27.5.1","live-server":"1.2.1","nodemon":"2.0.15","npm-run-all":"4.1.5","nunjucks":"3.2.3","nunjucks-cli":"1.0.0","postcss":"8.4.12","postcss-cli":"9.1.0","postcss-csso":"6.0.0","postcss-flexbugs-fixes":"5.0.2","rollup":"2.70.1","rollup-plugin-terser":"7.0.2","sass":"1.49.9","stylelint":"14.6.1","stylelint-config-recommended-scss":"6.0.0","stylelint-scss":"4.2.0"},"gitHead":"074493a68e0e4fcb19d49568b601b6a2c0d22ddd","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![pipeline status](https://code.usgs.gov/wma/iow/wdfn-viz/badges/main/pipeline.svg)](https://code.usgs.gov/wma/iow/wdfn-viz/-/commits/main)\n[![coverage report](https://code.usgs.gov/wma/iow/wdfn-viz/badges/main/coverage.svg)](https://code.usgs.gov/wma/iow/wdfn-viz/-/commits/main)\n\nProvides Sass stylesheets and images that can be used when creating web pages that need to\nmeet USGS visual identity standards. The stylesheets use USWDS (https://designsystem.digital.gov/)\nas the basis so all USWDS components are available.\n\n## Usage\n\nThe repo can be installed in an existing project by installing via npm.\n\n```bash\nnpm install wdfn-viz\n```\n\nTo install the latest development snapshot (containing the current state of the master branch):\n\n```bash\nnpm install wdfn-viz@snapshot\n```\n\nWe recommend building the stylesheets with Dart sass (npm install sass).\nThe main Sass stylesheet should be imported using '@use' into a web page's Sass file and is at /src/stylesheets/wdfnviz.scss.\n```\n@use 'wdfnviz';\n```\nIn order to use USWDS mixins and variables you will need to add '@use uswds' and use the \"uswds\" namespace. For example:\n```sass\n@use 'uswds';\n#main-content {\n    @include uswds.grid-container;\n}\n```\nThis directory ,~node_modules/wdfn-viz/src/stylesheets, should be\nspecified on the --load-path option along with the uswds/src/stylesheets when building the site's stylesheets. When building \nthe style sheets the css should also be processed by postcss using the autoprefixer and postcss-csso using a postcss.config.js file:\n```javascript\nconst autoprefixerOptions = [\n    '> 2%',\n    'Last 2 versions',\n    'IE 11',\n    'not dead'\n];\n\nmodule.exports = ctx => ({\n    map: Object.assign({}, ctx.options.map, {inline: false}),\n    parser: ctx.options.parser,\n    plugins: {\n        autoprefixer: autoprefixerOptions,\n        'postcss-csso': {\n            forceMediaMerge: false\n        }\n    }\n});\n```\nYou may also want to include postcss-flexbugs-fixes plugin as is done for building wdfn-viz.\n\nBelow is an example of the process:\n```\n% sass --load-path node_modules/wdfn-viz/src/stylesheets --include-path node_modules/uswds/src/stylesheets src/styles.main.css dist/main.css\n% postcss dist/main.css  -o dist/main.css\n```\n\nPostcss generates internal sourcemaps by default. You may want to consider using the --map option to create external map files\nor if you want to minimize your css assets, you may want to disable entirely by using --no-map\n\nWhen building the assets, the images should be collected in a directory, 'img', that is the at the same place where your final style sheet resides (typically a dist directory). This should include the images in wdfn-viz/src/img that provide the USGS favicon and\nlogos. If using USWDS images those will also need to be collected. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nThe fonts should also be collected in a directory, 'fonts', that is the at the same place where your final style sheet resides (typically a dist directory). Below are examples of commands that could be used to collect the image and font assets.\n```\n% mkdir -p dist/img && cp -r node_modules/uswds/src/img/* dist/img && cp -r node_modules/wdfn-viz/src/img/* dist/img\n% mkdir -p dist/fonts && cp -r node_modules/uswds/src/fonts/* dist/fonts\n```\n\nThe javascript should be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined. In order to use, a loading function should be defined which will be executed \nwhen the page loads. Below is a simple example:\n```javascript\nimport wdfnviz from 'wdfn-viz';\n\nconst load = function () {\n    null;  // Add code that should get executed when the page is loaded\n}\n\nwdfnviz.main(load);\n```\nThe javascript bundle that is created (which will contain your project specific javascript as well as the USWDS javascript) should be loaded inside the body tag. We recommend that this is done as the last tag in the body. \n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos. This includes the script for ```uswds-init.min.js``` which should be retrieved before loading the css files as is done in the example header.html.\n\n## Using without building stylesheets and javascript bundling\nYou can use the prebuilt stylesheet and javascript bundle if desired. This can be done by copying the wdfnviz.css, wdfnviz.js, uswds-init.min.js, the img directory, and the fonts directory into the directory where your static is served and the using the appropriate url.\n```\n<link rel=\"stylesheet\" href=\"wdfnviz.css\">\n<script src=\"wdfnviz.js\"></script>\n```\n\n## Publishing to npm\n\nGitlab CI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when merging commits to the `main` branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://code.usgs.gov/wma/iow/wdfn-viz/-/blob/main/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit. Generally, once a release is published, the version number should be incremented to the next minor release number with `-snapshot` appended and the change committed to the `main` branch.\n","readmeFilename":"README.md","_id":"wdfn-viz@2.2.0-snapshot.074493a","_nodeVersion":"16.14.2","_npmVersion":"8.5.0","dist":{"integrity":"sha512-x23dPeAMcu5+RIrYgze9GJW5wfdbh650iW+BAiInOpq182gEUY8y9B5+pNDRX/LxREQ8C4AVftlQpNSFMWcc8w==","shasum":"946754c705b3b52e2a6b92a45f028a400e6072cc","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-2.2.0-snapshot.074493a.tgz","fileCount":2403,"unpackedSize":8657451,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiQyE9ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpjjxAApCeFNPYqVXfipWhYstPJZRbOv95A8dgoOpUXIDLArEy1gwOL\r\nEmpVy66Y9+wKyP9eg2zSEs21r6sKJ8zhrbxhopCwrPs/a3FnKr1bwLx1hqVO\r\n60ESaT7YIHro4RvUtHQPDTFvXkFsrZvkI+ngws7adrvcmrJDUztrGdJCvvEL\r\n/FIV943bxesnq1kpXkFTG546L8TOvU9Zhd5ruuwgstRwfPuNpbpHpmgYClrI\r\nB6OPr1HCEGU93HwwQ/JIF+Zyat/gZTNFpqWkxqmKN4HM6Hu/LXNuNfZS/qcE\r\nzeJU8X7CwGuLpYimqECjZ7fBNroeZ24LhKNcX6Oq6InxoKBdy9WwwOKuUGyo\r\n36U7WOux/xHesRgcX4n2ysNDrJdWTuKLFoSdrh8/x0hbxUkXdUrehcDqKxau\r\nIvHUEaXgsnaQc6h4arWBBbHP1cDz5WpFF507jYuB3DUl4za/i1jjl6Yy3JE4\r\nGno9Z0VeX/jOvjMfW8UJ4quGEUTZPNZ8E3WOxiyAOX0ePuaS3ZBW2+Jd1vx0\r\nSwxFYxsQa5CovLg2Pr6OJt2JOWnxzrZANSc9svfF8Owwka0knnHc4Odqi+7w\r\nBnPGQfRww/wyR4UTy5S9VOvw2+0rhWOQ0D7RMwQiiMQ4rO3NuUp16NBYw41s\r\nI/4gRSJ7HqFbhT1tZTRNvIDC9anpXtq9T6I=\r\n=m0Mp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCmnmxQZ9UBrX9Wd8qxIdCxa8Avo0bSnYUTQborDkjpTwIhAJNPdWwF0aWSUun3WIixcIHGzfg0EDiejAEy83MjBVEw"}]},"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"maintainers":[{"name":"drsteini-usgs","email":"drsteini@contractor.usgs.gov"},{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},{"name":"mbucknell-usgs","email":"mbucknell@usgs.gov"},{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_2.2.0-snapshot.074493a_1648566588774_0.4392002428737183"},"_hasShrinkwrap":false},"3.0.0-snapshot.c4df2c5":{"name":"wdfn-viz","version":"3.0.0-snapshot.c4df2c5","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"sass --load-path node_modules/@uswds/uswds/src/stylesheets --load-path node_modules/@uswds/uswds/packages src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/@uswds/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/@uswds/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/@uswds/uswds/dist/scss/* dist/sass","build:uswdsinit":"cp -r node_modules/@uswds/uswds/dist/js/uswds-init.min.* dist","clean":"rm -rf dist && mkdir dist","lint":"run-p lint:*","lint:cs":"stylelint src/stylesheets ","lint:js":"eslint src/js","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"jest --collectCoverage=true","test:debug":"node --inspect-brk node_modules/.bin/jest --runInBand","test:watch":"jest --watch","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://code.usgs.gov/wma/iow/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://code.usgs.gov/wma/iow/wdfn-viz/-/issues"},"homepage":"https://code.usgs.gov/wma/iow/wdfn-viz","engines":{"node":">= 10"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","dependencies":{"@uswds/uswds":"3.0.0-beta.4"},"devDependencies":{"@rollup/plugin-buble":"0.21.3","@rollup/plugin-commonjs":"21.0.3","@rollup/plugin-node-resolve":"13.1.3","autoprefixer":"10.4.4","buble":"0.20.0","buble-jest":"1.0.1","eslint":"8.12.0","eslint-plugin-jest":"26.1.3","jest":"27.5.1","live-server":"1.2.1","nodemon":"2.0.15","npm-run-all":"4.1.5","nunjucks":"3.2.3","nunjucks-cli":"1.0.0","postcss":"8.4.12","postcss-cli":"9.1.0","postcss-csso":"6.0.0","postcss-flexbugs-fixes":"5.0.2","rollup":"2.70.1","rollup-plugin-terser":"7.0.2","sass":"1.49.9","stylelint":"14.6.1","stylelint-config-recommended-scss":"6.0.0","stylelint-scss":"4.2.0"},"gitHead":"c4df2c5d704c049ba1965b21bde366154b1031e9","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![pipeline status](https://code.usgs.gov/wma/iow/wdfn-viz/badges/main/pipeline.svg)](https://code.usgs.gov/wma/iow/wdfn-viz/-/commits/main)\n[![coverage report](https://code.usgs.gov/wma/iow/wdfn-viz/badges/main/coverage.svg)](https://code.usgs.gov/wma/iow/wdfn-viz/-/commits/main)\n\nProvides Sass stylesheets and images that can be used when creating web pages that need to\nmeet USGS visual identity standards. The stylesheets use USWDS (https://designsystem.digital.gov/)\nas the basis so all USWDS components are available.\n\n## Usage\n\nThe repo can be installed in an existing project by installing via npm.\n\n```bash\nnpm install wdfn-viz\n```\n\nTo install the latest development snapshot (containing the current state of the master branch):\n\n```bash\nnpm install wdfn-viz@snapshot\n```\n\nWe recommend building the stylesheets with Dart sass (npm install sass).\nThe main Sass stylesheet should be imported using '@use' into a web page's Sass file and is at /src/stylesheets/wdfnviz.scss.\n```\n@use 'wdfnviz';\n```\nIn order to use USWDS mixins and variables you will need to add '@use uswds' and use the \"uswds\" namespace. For example:\n```sass\n@use 'uswds';\n#main-content {\n    @include uswds.grid-container;\n}\n```\nThis directory ,~node_modules/wdfn-viz/src/stylesheets, should be\nspecified on the --load-path option along with the uswds/src/stylesheets when building the site's stylesheets. When building \nthe style sheets the css should also be processed by postcss using the autoprefixer and postcss-csso using a postcss.config.js file:\n```javascript\nconst autoprefixerOptions = [\n    '> 2%',\n    'Last 2 versions',\n    'IE 11',\n    'not dead'\n];\n\nmodule.exports = ctx => ({\n    map: Object.assign({}, ctx.options.map, {inline: false}),\n    parser: ctx.options.parser,\n    plugins: {\n        autoprefixer: autoprefixerOptions,\n        'postcss-csso': {\n            forceMediaMerge: false\n        }\n    }\n});\n```\nYou may also want to include postcss-flexbugs-fixes plugin as is done for building wdfn-viz.\n\nBelow is an example of the process:\n```\n% sass --load-path node_modules/wdfn-viz/src/stylesheets --include-path node_modules/uswds/src/stylesheets src/styles.main.css dist/main.css\n% postcss dist/main.css  -o dist/main.css\n```\n\nPostcss generates internal sourcemaps by default. You may want to consider using the --map option to create external map files\nor if you want to minimize your css assets, you may want to disable entirely by using --no-map\n\nWhen building the assets, the images should be collected in a directory, 'img', that is the at the same place where your final style sheet resides (typically a dist directory). This should include the images in wdfn-viz/src/img that provide the USGS favicon and\nlogos. If using USWDS images those will also need to be collected. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nThe fonts should also be collected in a directory, 'fonts', that is the at the same place where your final style sheet resides (typically a dist directory). Below are examples of commands that could be used to collect the image and font assets.\n```\n% mkdir -p dist/img && cp -r node_modules/@uswds/uswds/dist/img/* dist/img && cp -r node_modules/wdfn-viz/src/img/* dist/img\n% mkdir -p dist/fonts && cp -r node_modules/@uswds/uswds/dist/fonts/* dist/fonts\n```\n\nThe javascript should be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined. In order to use, a loading function should be defined which will be executed \nwhen the page loads. Below is a simple example:\n```javascript\nimport wdfnviz from 'wdfn-viz';\n\nconst load = function () {\n    null;  // Add code that should get executed when the page is loaded\n}\n\nwdfnviz.main(load);\n```\nThe javascript bundle that is created (which will contain your project specific javascript as well as the USWDS javascript) should be loaded inside the body tag. We recommend that this is done as the last tag in the body. \n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos. This includes the script for ```uswds-init.min.js``` which should be retrieved before loading the css files as is done in the example header.html.\n\n## Using without building stylesheets and javascript bundling\nYou can use the prebuilt stylesheet and javascript bundle if desired. This can be done by copying the wdfnviz.css, wdfnviz.js, uswds-init.min.js, the img directory, and the fonts directory into the directory where your static is served and the using the appropriate url.\n```\n<link rel=\"stylesheet\" href=\"wdfnviz.css\">\n<script src=\"wdfnviz.js\"></script>\n```\n\n## Updated guidance for building stylesheets with USWDS 3.0.0\nNeed to fill out details here as well as explore ways of building the wdfn-viz artifact so that it is smaller.\n\n## Publishing to npm\n\nGitlab CI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when merging commits to the `main` branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://code.usgs.gov/wma/iow/wdfn-viz/-/blob/main/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit. Generally, once a release is published, the version number should be incremented to the next minor release number with `-snapshot` appended and the change committed to the `main` branch.\n","readmeFilename":"README.md","_id":"wdfn-viz@3.0.0-snapshot.c4df2c5","_nodeVersion":"16.14.2","_npmVersion":"8.5.0","dist":{"integrity":"sha512-H7VEi501xI/FLUgMCoR/BCaGk/rWSdV+Snt63YwiiyJ/TvfXPd3SQRPyysqiIBKRO2WR0xvNhkRuK86hKCbMdw==","shasum":"af8703185a4c7d256f3b844577fda001597cd516","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-3.0.0-snapshot.c4df2c5.tgz","fileCount":2066,"unpackedSize":7954476,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDFu6dckw/fVZarLZUrfAFPch28f8QW71PrVK5o/62WIAIhAKtH9YmvS/9/zZ+ka78zUoWgvGrZlD3+AX/ZaC+4Cbxd"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiRKOFACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrxlg/+Mj86r08kbDKaYBXanvCEKycKIgGKI2GfWQC45kdRdDJ0+gEe\r\nLJ3WnU/y+odgm9WAjtqzPN6qu3xe8CEQafigosJ2hOOP7GYXod3todO/HQGo\r\n4lJongY36iDF2/gwISHVjCOU57eMMn/KJWMXY4BJDJyLDCjwtUJOZ4I2NVL2\r\ngQPcRp3UDeOc0/zkwJuYwhOA3a48aOKVG7wjd1+ZDsNpeBxSTljeBO4CMmeW\r\n4asoCtyqUVAaJd8xul20PbgwQwxLKZlfhI2IUF/w2QjC4dld7Zk8W6UK5ij5\r\nDqlvi1aSzt/huKNOTF/fUR4+A5GME8UgTKqURO2cVcqewrfV/RLiWGCakiv6\r\n4J3KA9UTRSPiJDFhytjrA0jEMQKmqLFhZZBGfjCnS6NGI3bLJbEUMi8JfxpY\r\n4gt8CVzhjG7JeMyOfgtv8jqR49aJ8+VDLMU+6MudR3Ji0qn5o7Sc3m2YXbc3\r\nvpVPAkkmS3pXxgFDWbg/rWeMs+/g5jNx/uKaiXMBdhNVFkNfz9p/wbM8tdub\r\nry03bni74w+l+vaMhzLbmgLBKO0o7eQgw2Xajl3TiQweBJXLub8FDjbeFxmY\r\n3fGEbcCMb3kN4YEWR/TKdNg7h9I6OQ3Xv7bqNfwJo6f679X8xH1Qd03g9Ly9\r\nshqUUnLuv7aXn7CFRLDqA1kOjGhAZ2i9KS0=\r\n=Byga\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"maintainers":[{"name":"drsteini-usgs","email":"drsteini@contractor.usgs.gov"},{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},{"name":"mbucknell-usgs","email":"mbucknell@usgs.gov"},{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_3.0.0-snapshot.c4df2c5_1648665476912_0.9250426822198194"},"_hasShrinkwrap":false},"3.0.0-snapshot.7dde1ab":{"name":"wdfn-viz","version":"3.0.0-snapshot.7dde1ab","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"sass --load-path node_modules/@uswds/uswds/src/stylesheets --load-path node_modules/@uswds/uswds/packages src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/@uswds/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/@uswds/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/@uswds/uswds/dist/scss/* dist/sass","build:uswdsinit":"cp -r node_modules/@uswds/uswds/dist/js/uswds-init.min.* dist","clean":"rm -rf dist && mkdir dist","lint":"run-p lint:*","lint:cs":"stylelint src/stylesheets ","lint:js":"eslint src/js","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"jest --collectCoverage=true","test:debug":"node --inspect-brk node_modules/.bin/jest --runInBand","test:watch":"jest --watch","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://code.usgs.gov/wma/iow/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://code.usgs.gov/wma/iow/wdfn-viz/-/issues"},"homepage":"https://code.usgs.gov/wma/iow/wdfn-viz","engines":{"node":">= 12"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","devDependencies":{"@rollup/plugin-buble":"0.21.3","@rollup/plugin-commonjs":"22.0.0","@rollup/plugin-node-resolve":"13.3.0","autoprefixer":"10.4.7","buble":"0.20.0","buble-jest":"1.0.1","eslint":"8.14.0","eslint-plugin-jest":"26.1.5","jest":"27.5.1","live-server":"1.2.2","nodemon":"2.0.16","npm-run-all":"4.1.5","nunjucks":"3.2.3","nunjucks-cli":"1.0.0","postcss":"8.4.13","postcss-cli":"9.1.0","postcss-csso":"6.0.0","postcss-flexbugs-fixes":"5.0.2","rollup":"2.71.1","rollup-plugin-terser":"7.0.2","sass":"1.51.0","stylelint":"14.8.2","stylelint-config-recommended-scss":"6.0.0","stylelint-scss":"4.2.0"},"dependencies":{"@uswds/uswds":"3.0.0"},"gitHead":"7dde1abad4274aa9a9a68a24c58d85a5461b0b4c","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![pipeline status](https://code.usgs.gov/wma/iow/wdfn-viz/badges/main/pipeline.svg)](https://code.usgs.gov/wma/iow/wdfn-viz/-/commits/main)\n[![coverage report](https://code.usgs.gov/wma/iow/wdfn-viz/badges/main/coverage.svg)](https://code.usgs.gov/wma/iow/wdfn-viz/-/commits/main)\n\nProvides Sass stylesheets and images that can be used when creating web pages that need to\nmeet USGS visual identity standards. The stylesheets use USWDS (https://designsystem.digital.gov/)\nas the basis so all USWDS components are available.\n\n## Usage\n\nThe repo can be installed in an existing project by installing via npm.\n\n```bash\nnpm install wdfn-viz\n```\n\nTo install the latest development snapshot (containing the current state of the master branch):\n\n```bash\nnpm install wdfn-viz@snapshot\n```\n\nWe recommend building the stylesheets with Dart sass (npm install sass).\nThe main Sass stylesheet should be imported using '@use' into a web page's Sass file and is at /src/stylesheets/wdfnviz.scss.\n```\n@use 'wdfnviz';\n```\nIn order to use USWDS mixins and variables you will need to add '@use uswds' and use the \"uswds\" namespace. For example:\n```sass\n@use 'uswds';\n#main-content {\n    @include uswds.grid-container;\n}\n```\nThis directory ,~node_modules/wdfn-viz/src/stylesheets, should be\nspecified on the --load-path option along with the uswds/src/stylesheets when building the site's stylesheets. When building \nthe style sheets the css should also be processed by postcss using the autoprefixer and postcss-csso using a postcss.config.js file:\n```javascript\nconst autoprefixerOptions = [\n    '> 2%',\n    'Last 2 versions',\n    'IE 11',\n    'not dead'\n];\n\nmodule.exports = ctx => ({\n    map: Object.assign({}, ctx.options.map, {inline: false}),\n    parser: ctx.options.parser,\n    plugins: {\n        autoprefixer: autoprefixerOptions,\n        'postcss-csso': {\n            forceMediaMerge: false\n        }\n    }\n});\n```\nYou may also want to include postcss-flexbugs-fixes plugin as is done for building wdfn-viz.\n\nBelow is an example of the process:\n```\n% sass --load-path node_modules/wdfn-viz/src/stylesheets --load-path node_modules/@uswds/uswds/packages --include-path node_modules/@uswds/uswds/src/stylesheets src/styles.main.css dist/main.css\n% postcss dist/main.css  -o dist/main.css\n```\n\nPostcss generates internal sourcemaps by default. You may want to consider using the --map option to create external map files\nor if you want to minimize your css assets, you may want to disable entirely by using --no-map\n\nWhen building the assets, the images should be collected in a directory, 'img', that is the at the same place where your final style sheet resides (typically a dist directory). This should include the images in wdfn-viz/src/img that provide the USGS favicon and\nlogos. If using USWDS images those will also need to be collected. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nThe fonts should also be collected in a directory, 'fonts', that is the at the same place where your final style sheet resides (typically a dist directory). Below are examples of commands that could be used to collect the image and font assets.\n```\n% mkdir -p dist/img && cp -r node_modules/@uswds/uswds/dist/img/* dist/img && cp -r node_modules/wdfn-viz/src/img/* dist/img\n% mkdir -p dist/fonts && cp -r node_modules/@uswds/uswds/dist/fonts/* dist/fonts\n```\n\nThe javascript should be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined. In order to use, a loading function should be defined which will be executed \nwhen the page loads. Below is a simple example:\n```javascript\nimport wdfnviz from 'wdfn-viz';\n\nconst load = function () {\n    null;  // Add code that should get executed when the page is loaded\n}\n\nwdfnviz.main(load);\n```\nThe javascript bundle that is created (which will contain your project specific javascript as well as the USWDS javascript) should be loaded inside the body tag. We recommend that this is done as the last tag in the body. \n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos. This includes the script for ```uswds-init.min.js``` which should be retrieved before loading the css files as is done in the example header.html.\n\n## Using without building stylesheets and javascript bundling\nYou can use the prebuilt stylesheet and javascript bundle if desired. This can be done by copying the wdfnviz.css, wdfnviz.js, uswds-init.min.js, the img directory, and the fonts directory into the directory where your static is served and the using the appropriate url.\n```\n<link rel=\"stylesheet\" href=\"wdfnviz.css\">\n<script src=\"wdfnviz.js\"></script>\n```\n\n## Updated guidance for building stylesheets with USWDS 3.0.0\nWe recommend that if your project is building it's own stylesheet that the release notes be consulted: https://github.com/uswds/uswds/releases/tag/v3.0.0 . You can potentially compile smaller assets but you can also continue to @use the entire uswds style sheet.\n\n## Publishing to npm\n\nGitlab CI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when merging commits to the `main` branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://code.usgs.gov/wma/iow/wdfn-viz/-/blob/main/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit. Generally, once a release is published, the version number should be incremented to the next minor release number with `-snapshot` appended and the change committed to the `main` branch.\n","readmeFilename":"README.md","_id":"wdfn-viz@3.0.0-snapshot.7dde1ab","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-YKHdovkBalZK2zAnMpLB/h+WrNPO+tUc/68/I0VD8pNaUDBVkr8KOYS3j9ZHfj05qEAmyQhJja5ykNLnU0Lpsw==","shasum":"f1a812586b8193ab192b637633dc184b2619ee7e","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-3.0.0-snapshot.7dde1ab.tgz","fileCount":2075,"unpackedSize":8017614,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDc6d8o/CbvoMmQJiikP6j8yzj1xi2ao02ASppFKt2JvgIhAIVyDGEjjFry09DcfigCCyEbDx5f2tpngDKJj9uxkh7p"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJictedACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo+7g//Zi87E6Iyz+oyr9axAOISrJ2PNisNj+88QVpwBuH2bVv0pANH\r\nQxw/q3zoe9diFNeux8B2BvJHR2INnGrgTfOfVHqg2IzHGJJghr7JTNKxEvQZ\r\nmfrx9eUksgay1QIWrJN0GxrVkJfMq6agpvZsdd3bCRyS7QT1e4Yt2KPibaK9\r\nShaa61amtIjMvNjJ/UIvm89bIjrHVsMY1A6U9dQnCdcmJNGCSztphDIz6RcH\r\nt05d3K6NnoSiZV3FNI7JcsIYKIdPzsvZPcrfjeI8ZUTkVZxUyFdF8/JB5Km1\r\nNLeLElTtYEqmMjL18wgmj2QYDXQBFas7UsgfzTyu+D1E6iwinX5WATjjLAUe\r\nRQiNAYZHkYUErdTzOEjpmqkew0Ln56i4YbPjWUFEo73kyCZUJlGqbKNYbodQ\r\n8hXJ5AGABhSL6eMNiJhANgnRd+2aSpfodDKjOU3iRE7JtAcedx400lZWb5Is\r\nQm58L+od+fJFCZVd21aF7GuHWk6kALw6JfMtdE3RpcD+avCB/sgriUz7uXUe\r\nFnKylve1PX+wgh+0QJHf9+EDD+j7PnHQNaJKh1PleVephgcVmIi9/w7btQov\r\nCf53D60Cr61t4CuvrSGKXUky+OhzUP/kLy55pT8dJgfnpnhBQgpMHyp1qtk4\r\nDhAmacS9EVZKGN+PSMFVWpPWKQc9HA57lfE=\r\n=o/h/\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"maintainers":[{"name":"drsteini-usgs","email":"drsteini@contractor.usgs.gov"},{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},{"name":"mbucknell-usgs","email":"mbucknell@usgs.gov"},{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_3.0.0-snapshot.7dde1ab_1651693469016_0.3503515386691549"},"_hasShrinkwrap":false},"3.0.0":{"name":"wdfn-viz","version":"3.0.0","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"sass --load-path node_modules/@uswds/uswds/src/stylesheets --load-path node_modules/@uswds/uswds/packages src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/@uswds/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/@uswds/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/@uswds/uswds/dist/scss/* dist/sass","build:uswdsinit":"cp -r node_modules/@uswds/uswds/dist/js/uswds-init.min.* dist","clean":"rm -rf dist && mkdir dist","lint":"run-p lint:*","lint:cs":"stylelint src/stylesheets ","lint:js":"eslint src/js","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"jest --collectCoverage=true","test:debug":"node --inspect-brk node_modules/.bin/jest --runInBand","test:watch":"jest --watch","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://code.usgs.gov/wma/iow/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://code.usgs.gov/wma/iow/wdfn-viz/-/issues"},"homepage":"https://code.usgs.gov/wma/iow/wdfn-viz","engines":{"node":">= 12"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","devDependencies":{"@rollup/plugin-buble":"0.21.3","@rollup/plugin-commonjs":"22.0.0","@rollup/plugin-node-resolve":"13.3.0","autoprefixer":"10.4.7","buble":"0.20.0","buble-jest":"1.0.1","eslint":"8.14.0","eslint-plugin-jest":"26.1.5","jest":"27.5.1","live-server":"1.2.2","nodemon":"2.0.16","npm-run-all":"4.1.5","nunjucks":"3.2.3","nunjucks-cli":"1.0.0","postcss":"8.4.13","postcss-cli":"9.1.0","postcss-csso":"6.0.0","postcss-flexbugs-fixes":"5.0.2","rollup":"2.71.1","rollup-plugin-terser":"7.0.2","sass":"1.51.0","stylelint":"14.8.2","stylelint-config-recommended-scss":"6.0.0","stylelint-scss":"4.2.0"},"dependencies":{"@uswds/uswds":"3.0.0"},"gitHead":"b4073bee685de52a0d40e0c840f8be6103863d82","_id":"wdfn-viz@3.0.0","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-HTwLIHYbnmJMeY69Bk812RQyBBiuJvOFboHUcqMwNRh+MyInUC1GAS5sbKsclt6mBgiq4A5B0s5TNnMp16EnPA==","shasum":"94217f9821f4d393b86e8232c77a48eaaf503de0","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-3.0.0.tgz","fileCount":2075,"unpackedSize":8017597,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD0N59NFLkBujfqnTqftD+w275DOD2qcgINnQnZI2orcQIgXgTge2WAmaywnO46RabfRoW6PNsuzmaS3B+IdC2RbHQ="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJict2rACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrNlw//Yiqpp1hZzK7u+KoLp/x66/XM35zEZ0wuwri0UsK82ByfmIPT\r\nmmFMXklWtP7JxoE1wLE0DN1QnlTKU3cDObe1NZkp38gL2wUnVNLKd49Q5V8m\r\nXMgVVy5F1ZeZIs8T2Yi55utRvSzDsRJqtOP8kkdKjc/nOvJ02XZR6GnB0Rao\r\nfiBp43jzLtAn5SYB/x2c+elLfzbO9PyzXa5GKsS8z6YlauZHieBhIMccbN5Z\r\nMBsxag3SmdWEsEipHN4/1bnombHKiI6gzsMUo1CUYmnnQgzuY980cKKJ90uO\r\nXUqz7fLXVcoKI5xYzL42HiuwX3qTq3xGCAs0hfB3UoGWEwqNajgtEHoy0Fkl\r\nqGJ+eIIu66yuvOv0rk6Iy0K7ux/aO/lwq6TDpQcv9yYhl0wA8dkmsRKcBCDJ\r\nBQDs3A2KUVB2vsh/RCk5ZtJsksM81uBE4NHghV+l/9u8af33ckOnQQGHVIu1\r\ncCyzlvLyv6d6tYZ3RpNqHpHDE8zsajBZF/mq8zmVFentin6JEPTx46FhJOXb\r\nFyhij6RHhHgAeuNEvaPId0I0QSilaegpdbMyI+obYXWyGd12bhVLVV5rlIUE\r\nGs8xCQ0Hbqu97CkvZCH11xMW4leR3NPRKW/6HNrul6HhS54rcQkS5AOEgCQA\r\n5shq4s6pSMGvUyEaQRd3oLogo9yHG9HjUMQ=\r\n=WEjH\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"maintainers":[{"name":"drsteini-usgs","email":"drsteini@contractor.usgs.gov"},{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},{"name":"mbucknell-usgs","email":"mbucknell@usgs.gov"},{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_3.0.0_1651695019408_0.6902650612945844"},"_hasShrinkwrap":false},"3.1.0-snapshot.fc94f56":{"name":"wdfn-viz","version":"3.1.0-snapshot.fc94f56","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"sass --load-path node_modules/@uswds/uswds/src/stylesheets --load-path node_modules/@uswds/uswds/packages src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/@uswds/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/@uswds/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/@uswds/uswds/dist/scss/* dist/sass","build:uswdsinit":"cp -r node_modules/@uswds/uswds/dist/js/uswds-init.min.* dist","clean":"rm -rf dist && mkdir dist","lint":"run-p lint:*","lint:cs":"stylelint src/stylesheets ","lint:js":"eslint src/js","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"jest --collectCoverage=true","test:debug":"node --inspect-brk node_modules/.bin/jest --runInBand","test:watch":"jest --watch","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://code.usgs.gov/wma/iow/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://code.usgs.gov/wma/iow/wdfn-viz/-/issues"},"homepage":"https://code.usgs.gov/wma/iow/wdfn-viz","engines":{"node":">= 12"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","devDependencies":{"@rollup/plugin-buble":"0.21.3","@rollup/plugin-commonjs":"22.0.0","@rollup/plugin-node-resolve":"13.3.0","autoprefixer":"10.4.7","buble":"0.20.0","buble-jest":"1.0.1","eslint":"8.14.0","eslint-plugin-jest":"26.1.5","jest":"27.5.1","live-server":"1.2.2","nodemon":"2.0.16","npm-run-all":"4.1.5","nunjucks":"3.2.3","nunjucks-cli":"1.0.0","postcss":"8.4.13","postcss-cli":"9.1.0","postcss-csso":"6.0.0","postcss-flexbugs-fixes":"5.0.2","rollup":"2.71.1","rollup-plugin-terser":"7.0.2","sass":"1.51.0","stylelint":"14.8.2","stylelint-config-recommended-scss":"6.0.0","stylelint-scss":"4.2.0"},"dependencies":{"@uswds/uswds":"3.0.0"},"gitHead":"fc94f563a582f1fcd676fbbfd29ff47cd9d4f3c3","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![pipeline status](https://code.usgs.gov/wma/iow/wdfn-viz/badges/main/pipeline.svg)](https://code.usgs.gov/wma/iow/wdfn-viz/-/commits/main)\n[![coverage report](https://code.usgs.gov/wma/iow/wdfn-viz/badges/main/coverage.svg)](https://code.usgs.gov/wma/iow/wdfn-viz/-/commits/main)\n\nProvides Sass stylesheets and images that can be used when creating web pages that need to\nmeet USGS visual identity standards. The stylesheets use USWDS (https://designsystem.digital.gov/)\nas the basis so all USWDS components are available.\n\n## Usage\n\nThe repo can be installed in an existing project by installing via npm.\n\n```bash\nnpm install wdfn-viz\n```\n\nTo install the latest development snapshot (containing the current state of the master branch):\n\n```bash\nnpm install wdfn-viz@snapshot\n```\n\nWe recommend building the stylesheets with Dart sass (npm install sass).\nThe main Sass stylesheet should be imported using '@use' into a web page's Sass file and is at /src/stylesheets/wdfnviz.scss.\n```\n@use 'wdfnviz';\n```\nIn order to use USWDS mixins and variables you will need to add '@use uswds' and use the \"uswds\" namespace. For example:\n```sass\n@use 'uswds';\n#main-content {\n    @include uswds.grid-container;\n}\n```\nThis directory ,~node_modules/wdfn-viz/src/stylesheets, should be\nspecified on the --load-path option along with the uswds/src/stylesheets when building the site's stylesheets. When building \nthe style sheets the css should also be processed by postcss using the autoprefixer and postcss-csso using a postcss.config.js file:\n```javascript\nconst autoprefixerOptions = [\n    '> 2%',\n    'Last 2 versions',\n    'IE 11',\n    'not dead'\n];\n\nmodule.exports = ctx => ({\n    map: Object.assign({}, ctx.options.map, {inline: false}),\n    parser: ctx.options.parser,\n    plugins: {\n        autoprefixer: autoprefixerOptions,\n        'postcss-csso': {\n            forceMediaMerge: false\n        }\n    }\n});\n```\nYou may also want to include postcss-flexbugs-fixes plugin as is done for building wdfn-viz.\n\nBelow is an example of the process:\n```\n% sass --load-path node_modules/wdfn-viz/src/stylesheets --load-path node_modules/@uswds/uswds/packages --include-path node_modules/@uswds/uswds/src/stylesheets src/styles.main.css dist/main.css\n% postcss dist/main.css  -o dist/main.css\n```\n\nPostcss generates internal sourcemaps by default. You may want to consider using the --map option to create external map files\nor if you want to minimize your css assets, you may want to disable entirely by using --no-map\n\nWhen building the assets, the images should be collected in a directory, 'img', that is the at the same place where your final style sheet resides (typically a dist directory). This should include the images in wdfn-viz/src/img that provide the USGS favicon and\nlogos. If using USWDS images those will also need to be collected. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nThe fonts should also be collected in a directory, 'fonts', that is the at the same place where your final style sheet resides (typically a dist directory). Below are examples of commands that could be used to collect the image and font assets.\n```\n% mkdir -p dist/img && cp -r node_modules/@uswds/uswds/dist/img/* dist/img && cp -r node_modules/wdfn-viz/src/img/* dist/img\n% mkdir -p dist/fonts && cp -r node_modules/@uswds/uswds/dist/fonts/* dist/fonts\n```\n\nThe javascript should be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined. In order to use, a loading function should be defined which will be executed \nwhen the page loads. Below is a simple example:\n```javascript\nimport wdfnviz from 'wdfn-viz';\n\nconst load = function () {\n    null;  // Add code that should get executed when the page is loaded\n}\n\nwdfnviz.main(load);\n```\nThe javascript bundle that is created (which will contain your project specific javascript as well as the USWDS javascript) should be loaded inside the body tag. We recommend that this is done as the last tag in the body. \n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos. This includes the script for ```uswds-init.min.js``` which should be retrieved before loading the css files as is done in the example header.html.\n\n## Using without building stylesheets and javascript bundling\nYou can use the prebuilt stylesheet and javascript bundle if desired. This can be done by copying the wdfnviz.css, wdfnviz.js, uswds-init.min.js, the img directory, and the fonts directory into the directory where your static is served and the using the appropriate url.\n```\n<link rel=\"stylesheet\" href=\"wdfnviz.css\">\n<script src=\"wdfnviz.js\"></script>\n```\n\n## Updated guidance for building stylesheets with USWDS 3.0.0\nWe recommend that if your project is building it's own stylesheet that the release notes be consulted: https://github.com/uswds/uswds/releases/tag/v3.0.0 . You can potentially compile smaller assets but you can also continue to @use the entire uswds style sheet.\n\n## Publishing to npm\n\nGitlab CI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when merging commits to the `main` branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://code.usgs.gov/wma/iow/wdfn-viz/-/blob/main/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit. Generally, once a release is published, the version number should be incremented to the next minor release number with `-snapshot` appended and the change committed to the `main` branch.\n","readmeFilename":"README.md","_id":"wdfn-viz@3.1.0-snapshot.fc94f56","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-O1m7Cbl25Qyzw9KAoEG05QsZEWRhV02bwLZ79ptpMiHGSVaZuvTbhKb89DE5GV4/yCTAEbwrVMcOf6IkW3fdFg==","shasum":"bef52f0e672d2a636900c783a8d5330493eeb55a","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-3.1.0-snapshot.fc94f56.tgz","fileCount":2075,"unpackedSize":8017614,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDip3YfB88IbBOG/sHC9YUiijpOcz5e/MkT+ittDDMBjwIgKS4qX9NSaXhF+jOWxaTTWjWa2bJhJoNZNH8oDuZua7s="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJicuBUACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoO0g/8DIuuydC4LUPS1QJLOED4N7G5rYTvpTtb0O7TAiUwEHu1v325\r\nzvDGvLlcHX5BiFz89KMLb1+7YRXu1A3p7WlFfbdES892HC45Fluv2EyaaP3F\r\naopZSyOp2A7mlVfQaQQ9CuT5JN1hCiAahKXVxbH33EZwwiM2j2k0k2tiaXJb\r\nEIqHQIFjEY5aR/De3xNP0eOntAoUJS0aYlXQCz+FCKBhHXyNbirelDQXs9JG\r\nAZfk1y7hzG1Z9VbqLkhyrl8h+BSnIcrPLOXi6X7oiG7kNhgIwPmHVw9twiGV\r\nc1aK0DhtQXTH+RpUDMFOYDuItvqS4jYdBlm3AEf4OblcUCJRnjK9QRpqa+RY\r\neM8R+y2LUhy0a9iNQpxIXJ4e8QDQ9biCiXDWTK0JMtkZwPBH+f5mNImSpj4M\r\nANKmDqcvk/a5vmhW5VOh7OrX2j1UR5MNHAa7qtIYGX2dbDwwIZymdlUZq64I\r\nLb1J1qHhb3YNwAzR1WojzfeRtp50OxURkSJy9OAtISPGZp1DGHX1lH6Hglt5\r\nLSmEIKZ6G6whZ/nXRe1qrxc9tthCcb0JlvvHYm58SmylbRFwDcd9B8o+jT0i\r\nwntJJs0/0uJSIdkhYehOVaj4/jRHPj6xGBvqcOvTRc8gXe2Agc0lFyDWhCac\r\nP/SrVxy/arSgp3elCnwNCiekUwE4O4H6cM4=\r\n=JYDO\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"maintainers":[{"name":"drsteini-usgs","email":"drsteini@contractor.usgs.gov"},{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},{"name":"mbucknell-usgs","email":"mbucknell@usgs.gov"},{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_3.1.0-snapshot.fc94f56_1651695699909_0.06097197310821789"},"_hasShrinkwrap":false},"3.1.0-snapshot.2f8c054":{"name":"wdfn-viz","version":"3.1.0-snapshot.2f8c054","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:css":"sass --load-path node_modules/@uswds/uswds/src/stylesheets --load-path node_modules/@uswds/uswds/packages src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/@uswds/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/@uswds/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/@uswds/uswds/dist/scss/* dist/sass","build:uswdsinit":"cp -r node_modules/@uswds/uswds/dist/js/uswds-init.min.* dist","clean":"rm -rf dist && mkdir dist","lint":"run-p lint:*","lint:cs":"stylelint src/stylesheets ","lint:js":"eslint src/js","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"jest --collectCoverage=true","test:debug":"node --inspect-brk node_modules/.bin/jest --runInBand","test:watch":"jest --watch","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://code.usgs.gov/wma/iow/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://code.usgs.gov/wma/iow/wdfn-viz/-/issues"},"homepage":"https://code.usgs.gov/wma/iow/wdfn-viz","engines":{"node":">= 12"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","devDependencies":{"@rollup/plugin-buble":"0.21.3","@rollup/plugin-commonjs":"22.0.0","@rollup/plugin-node-resolve":"13.3.0","autoprefixer":"10.4.7","buble":"0.20.0","buble-jest":"1.0.1","eslint":"8.14.0","eslint-plugin-jest":"26.1.5","jest":"27.5.1","live-server":"1.2.2","nodemon":"2.0.16","npm-run-all":"4.1.5","nunjucks":"3.2.3","nunjucks-cli":"1.0.0","postcss":"8.4.13","postcss-cli":"9.1.0","postcss-csso":"6.0.0","postcss-flexbugs-fixes":"5.0.2","rollup":"2.71.1","rollup-plugin-terser":"7.0.2","sass":"1.51.0","stylelint":"14.8.2","stylelint-config-recommended-scss":"6.0.0","stylelint-scss":"4.2.0"},"dependencies":{"@uswds/uswds":"3.0.0"},"gitHead":"2f8c054dcd27851b7d64ec7e7641dd957510cc42","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![pipeline status](https://code.usgs.gov/wma/iow/wdfn-viz/badges/main/pipeline.svg)](https://code.usgs.gov/wma/iow/wdfn-viz/-/commits/main)\n[![coverage report](https://code.usgs.gov/wma/iow/wdfn-viz/badges/main/coverage.svg)](https://code.usgs.gov/wma/iow/wdfn-viz/-/commits/main)\n\nProvides Sass stylesheets and images that can be used when creating web pages that need to\nmeet USGS visual identity standards. The stylesheets use USWDS (https://designsystem.digital.gov/)\nas the basis so all USWDS components are available.\n\n## Usage\n\nThe repo can be installed in an existing project by installing via npm.\n\n```bash\nnpm install wdfn-viz\n```\n\nTo install the latest development snapshot (containing the current state of the master branch):\n\n```bash\nnpm install wdfn-viz@snapshot\n```\n\nWe recommend building the stylesheets with Dart sass (npm install sass).\nThe main Sass stylesheet should be imported using '@use' into a web page's Sass file and is at /src/stylesheets/wdfnviz.scss.\n```\n@use 'wdfnviz';\n```\nIn order to use USWDS mixins and variables you will need to add '@use uswds' and use the \"uswds\" namespace. For example:\n```sass\n@use 'uswds';\n#main-content {\n    @include uswds.grid-container;\n}\n```\nThis directory ,~node_modules/wdfn-viz/src/stylesheets, should be\nspecified on the --load-path option along with the uswds/src/stylesheets when building the site's stylesheets. When building \nthe style sheets the css should also be processed by postcss using the autoprefixer and postcss-csso using a postcss.config.js file:\n```javascript\nconst autoprefixerOptions = [\n    '> 2%',\n    'Last 2 versions',\n    'IE 11',\n    'not dead'\n];\n\nmodule.exports = ctx => ({\n    map: Object.assign({}, ctx.options.map, {inline: false}),\n    parser: ctx.options.parser,\n    plugins: {\n        autoprefixer: autoprefixerOptions,\n        'postcss-csso': {\n            forceMediaMerge: false\n        }\n    }\n});\n```\nYou may also want to include postcss-flexbugs-fixes plugin as is done for building wdfn-viz.\n\nBelow is an example of the process:\n```\n% sass --load-path node_modules/wdfn-viz/src/stylesheets --load-path node_modules/@uswds/uswds/packages --include-path node_modules/@uswds/uswds/src/stylesheets src/styles.main.css dist/main.css\n% postcss dist/main.css  -o dist/main.css\n```\n\nPostcss generates internal sourcemaps by default. You may want to consider using the --map option to create external map files\nor if you want to minimize your css assets, you may want to disable entirely by using --no-map\n\nWhen building the assets, the images should be collected in a directory, 'img', that is the at the same place where your final style sheet resides (typically a dist directory). This should include the images in wdfn-viz/src/img that provide the USGS favicon and\nlogos. If using USWDS images those will also need to be collected. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nThe fonts should also be collected in a directory, 'fonts', that is the at the same place where your final style sheet resides (typically a dist directory). Below are examples of commands that could be used to collect the image and font assets.\n```\n% mkdir -p dist/img && cp -r node_modules/@uswds/uswds/dist/img/* dist/img && cp -r node_modules/wdfn-viz/src/img/* dist/img\n% mkdir -p dist/fonts && cp -r node_modules/@uswds/uswds/dist/fonts/* dist/fonts\n```\n\nThe javascript should be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined. In order to use, a loading function should be defined which will be executed \nwhen the page loads. Below is a simple example:\n```javascript\nimport wdfnviz from 'wdfn-viz';\n\nconst load = function () {\n    null;  // Add code that should get executed when the page is loaded\n}\n\nwdfnviz.main(load);\n```\nThe javascript bundle that is created (which will contain your project specific javascript as well as the USWDS javascript) should be loaded inside the body tag. We recommend that this is done as the last tag in the body. \n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos. This includes the script for ```uswds-init.min.js``` which should be retrieved before loading the css files as is done in the example header.html.\n\n## Using without building stylesheets and javascript bundling\nYou can use the prebuilt stylesheet and javascript bundle if desired. This can be done by copying the wdfnviz.css, wdfnviz.js, uswds-init.min.js, the img directory, and the fonts directory into the directory where your static is served and the using the appropriate url.\n```\n<link rel=\"stylesheet\" href=\"wdfnviz.css\">\n<script src=\"wdfnviz.js\"></script>\n```\n\n## Updated guidance for building stylesheets with USWDS 3.0.0\nWe recommend that if your project is building it's own stylesheet that the release notes be consulted: https://github.com/uswds/uswds/releases/tag/v3.0.0 . You can potentially compile smaller assets but you can also continue to @use the entire uswds style sheet.\n\n## Publishing to npm\n\nGitlab CI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when merging commits to the `main` branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://code.usgs.gov/wma/iow/wdfn-viz/-/blob/main/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit. Generally, once a release is published, the version number should be incremented to the next minor release number with `-snapshot` appended and the change committed to the `main` branch.\n","readmeFilename":"README.md","_id":"wdfn-viz@3.1.0-snapshot.2f8c054","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-5fPGlF4LgOo2tBDoxtDXiv/FU/ETMYrJ1VSowlCjPpurSZ+1kGjkYsyJVaAXkdfDuvWR+MvYJ94SOI8gILZkxA==","shasum":"3a2cf3a5cf1a29d7ac9a85c38bf9559542c7589a","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-3.1.0-snapshot.2f8c054.tgz","fileCount":2075,"unpackedSize":7524187,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCuARE455mmLzuyT1zAGkiXKpxx32i3oz0f4myOmG+m/AIhALlvyiqJQG4ewF9N5e4gO+97mv9N0gNqJ/IRuRGyQFmL"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJidDToACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrAGxAAjxkraeoPMXihXbmYcDY7QKOnOycQ4+HNKOUbgobN8DwK9JaH\r\n50uxw5kRNF6b99DlBJLkQZzinVlBx8J6tkm/HdOxZQfcF2jWa6/yt+j2CXip\r\ninbMKKQ6WSf0tuiH3WNp8jIe3tt+NFzD4nJ1AOBmBhc/PkzjH7NzV6K3m8K1\r\nv5LUhd1mrR6AcMX/FXOffawhSvUhEO/oMF+MMIcF/GGj3z/bPTLs6yfRPSLK\r\nHhnjlnFug9C9cRnnsI3Vy8t2wUL/5d3loSFf4PalwLKudXm/NNiS97lozRWn\r\n1PiUuC1q0E9saqipaU2BPf8EU6ieonUfei3LSOJbFw1yZLjt2MrKXCbuW3J2\r\nQWVBnHLJfcIYYpNewG/IlT9cdVxpeny+6K/u3UTvKpvkul0wS3b9dKUnmhYH\r\nhqP9lzeNldxhzhE6Aa4GAHnJ1pfHx4ga3JqJGRXdsJt4i60YYMlJC3gmgQvT\r\nX4eZ9aihQltsvihWpz6MfGr7aBjpFvyS70uld85eO9RnKgtShCcnnvvg8mq/\r\nHRJh+hFDnylII0LgHjPv91K1Pb+RnM0xFVbHv54pXXRai23CWy6CEkn+Jlhi\r\nhTDaDaEDZkRSkKN82uQmNYZLJL7c35y9teNgBL44q3MMmbSXjE29bdCzhzyK\r\nM+QjB9gF9phUG9Un5AsAWJjfh2m4n+9tC4g=\r\n=u3Aa\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"maintainers":[{"name":"drsteini-usgs","email":"drsteini@contractor.usgs.gov"},{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},{"name":"mbucknell-usgs","email":"mbucknell@usgs.gov"},{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_3.1.0-snapshot.2f8c054_1651782888222_0.2602498721675892"},"_hasShrinkwrap":false},"3.0.1":{"name":"wdfn-viz","version":"3.0.1","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:csswdfnall":"sass --load-path node_modules/@uswds/uswds/src/stylesheets --load-path node_modules/@uswds/uswds/packages src/stylesheets/wdfnviz-uswds-all.scss dist/wdfnviz-all.css && postcss dist/wdfnviz-all.css -o dist/wdfnviz-all.css","build:csswdfnviz":"sass --load-path node_modules/@uswds/uswds/src/stylesheets --load-path node_modules/@uswds/uswds/packages src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/@uswds/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/@uswds/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/@uswds/uswds/dist/scss/* dist/sass","build:uswdsinit":"cp -r node_modules/@uswds/uswds/dist/js/uswds-init.min.* dist","clean":"rm -rf dist && mkdir dist","lint":"run-p lint:*","lint:cs":"stylelint src/stylesheets ","lint:js":"eslint src/js","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"jest --collectCoverage=true","test:debug":"node --inspect-brk node_modules/.bin/jest --runInBand","test:watch":"jest --watch","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://code.usgs.gov/wma/iow/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://code.usgs.gov/wma/iow/wdfn-viz/-/issues"},"homepage":"https://code.usgs.gov/wma/iow/wdfn-viz","engines":{"node":">= 12"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","devDependencies":{"@rollup/plugin-buble":"0.21.3","@rollup/plugin-commonjs":"22.0.0","@rollup/plugin-node-resolve":"13.3.0","autoprefixer":"10.4.7","buble":"0.20.0","buble-jest":"1.0.1","eslint":"8.14.0","eslint-plugin-jest":"26.1.5","jest":"27.5.1","live-server":"1.2.2","nodemon":"2.0.16","npm-run-all":"4.1.5","nunjucks":"3.2.3","nunjucks-cli":"1.0.0","postcss":"8.4.13","postcss-cli":"9.1.0","postcss-csso":"6.0.0","postcss-flexbugs-fixes":"5.0.2","rollup":"2.71.1","rollup-plugin-terser":"7.0.2","sass":"1.51.0","stylelint":"14.8.2","stylelint-config-recommended-scss":"6.0.0","stylelint-scss":"4.2.0"},"dependencies":{"@uswds/uswds":"3.0.0"},"gitHead":"c2386f42f4b6c34a6c2e6b88abf958f1b92fb5b1","_id":"wdfn-viz@3.0.1","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-kSGEp4whlqKcAIwbnXpYqzi68f/MhnWLAlYS5yOdPpi+XB1Qcndz+Q0n+KvHj4p8d35n9zpaJ7OCg5jX+I8RLQ==","shasum":"63361ae7270f7618f1329cad77c05fcb6c5f0654","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-3.0.1.tgz","fileCount":2079,"unpackedSize":8152920,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC6ZsaI9iQrjuNsuJ3RhJ1iOiuknW9Mu3M6XSeXvIFbbAiEAkp73pmDFK+Mz6EbJHPH166yXhthuJybugWi79DxkEjI="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJieVJNACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqkCQ/5ANQogPZMUFpC2EMjMVYYvXWdl7JHWv67/8Cmzb2s6hsPLRs1\r\nI+zL5deeCnLkAq4I0WbWCyhCtRacwhJ53DxIHekvpefdHhbOu2J43ZOQa4e0\r\nWCc0yy7JtumfjND3Nyb9dyl/ovsp2E6BaQTGCnGebm8kULBVQopkA1kZ6zuK\r\n1o6yXDfqB2Bq20M7S/pDNMNAilZFzB1/de6sfgtyYUcS6UOto+HeJR8/jCcT\r\nSNWef+bHnPwtDkPxeUMqD4xSWsBFDhCQDQ8xYEn3wpQvAW+zjmdPL2j/2rgG\r\nTwNEbEQ3QH12B7viVbMQNNChH3TeZI1BDYIGpoy8JSebkxn6pd1oY97PZQs0\r\nVJhJOZmZ/D/vxnP8jKIaRbASasUhJ+UdLDoTPYJGcuNm/GakYZIXPAdSyaUO\r\n3t1YzVG61xICOCYEwrRCGo9IoKVTtZXS0luUXaCZ4S9cWFE7BlzYArdXWA7V\r\nxEN6prYI2I7D90Kyyjgj9YAL3KsK2RA++iIQO+zFfGcM3SvnNSW53xPMeD6N\r\nXTSY44hFC3yiWK22knaPH/0ChwznXYsyRTTxuYTuRIy4dabOfyOm5RSM4y+n\r\nJ48+9dG/Mx/xSg1jjT4Oaaz2Vt2yO23PYK1JntnJMbOTFajHAEvuSIgT24X8\r\n/0SfNdNQCCAf+rUHNm5OimiNxYVd4CseKM8=\r\n=sut1\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"maintainers":[{"name":"drsteini-usgs","email":"drsteini@contractor.usgs.gov"},{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},{"name":"mbucknell-usgs","email":"mbucknell@usgs.gov"},{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_3.0.1_1652118092898_0.9895578254293755"},"_hasShrinkwrap":false},"3.1.0-snapshot.91ca0a1":{"name":"wdfn-viz","version":"3.1.0-snapshot.91ca0a1","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:csswdfnall":"sass --load-path node_modules/@uswds/uswds/src/stylesheets --load-path node_modules/@uswds/uswds/packages src/stylesheets/wdfnviz-uswds-all.scss dist/wdfnviz-all.css && postcss dist/wdfnviz-all.css -o dist/wdfnviz-all.css","build:csswdfnviz":"sass --load-path node_modules/@uswds/uswds/src/stylesheets --load-path node_modules/@uswds/uswds/packages src/stylesheets/wdfnviz.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/@uswds/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/@uswds/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/@uswds/uswds/dist/scss/* dist/sass","build:uswdsinit":"cp -r node_modules/@uswds/uswds/dist/js/uswds-init.min.* dist","clean":"rm -rf dist && mkdir dist","lint":"run-p lint:*","lint:cs":"stylelint src/stylesheets ","lint:js":"eslint src/js","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"jest --collectCoverage=true","test:debug":"node --inspect-brk node_modules/.bin/jest --runInBand","test:watch":"jest --watch","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://code.usgs.gov/wma/iow/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://code.usgs.gov/wma/iow/wdfn-viz/-/issues"},"homepage":"https://code.usgs.gov/wma/iow/wdfn-viz","engines":{"node":">= 12"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","devDependencies":{"@rollup/plugin-buble":"0.21.3","@rollup/plugin-commonjs":"22.0.0","@rollup/plugin-node-resolve":"13.3.0","autoprefixer":"10.4.7","buble":"0.20.0","buble-jest":"1.0.1","eslint":"8.14.0","eslint-plugin-jest":"26.1.5","jest":"27.5.1","live-server":"1.2.2","nodemon":"2.0.16","npm-run-all":"4.1.5","nunjucks":"3.2.3","nunjucks-cli":"1.0.0","postcss":"8.4.13","postcss-cli":"9.1.0","postcss-csso":"6.0.0","postcss-flexbugs-fixes":"5.0.2","rollup":"2.71.1","rollup-plugin-terser":"7.0.2","sass":"1.51.0","stylelint":"14.8.2","stylelint-config-recommended-scss":"6.0.0","stylelint-scss":"4.2.0"},"dependencies":{"@uswds/uswds":"3.0.0"},"gitHead":"91ca0a18707777ebb64b824b3a75f5c5c4b33d91","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![pipeline status](https://code.usgs.gov/wma/iow/wdfn-viz/badges/main/pipeline.svg)](https://code.usgs.gov/wma/iow/wdfn-viz/-/commits/main)\n[![coverage report](https://code.usgs.gov/wma/iow/wdfn-viz/badges/main/coverage.svg)](https://code.usgs.gov/wma/iow/wdfn-viz/-/commits/main)\n\nWDFN Viz provides stylesheets, fonts and images that can be used when creating web pages that can be used to meet USGS visual identity standards. You can choose either to use a prebuilt css stylesheet or build your own app specific style sheet by starting with the available Sass style sheets. The repo as provides a javacript bundle which includes the USWDS javascript along with a load function that can be used to include your application's custom javascript. The stylesheets and javascript bundles use the US Web Design System (USWDS).\n\n## Installation\nBefore starting we recommend becoming familiar with [USWDS](https://designsystem.digital.gov/)\nThis package can be installed in an existing project by installing via npm.\n```bash\nnpm install wdfn-viz --save-exact\n```\nWe recommend pinning the version of wdfn-viz in your package.json. We try to update this package everytime USWDS publishes a new version. Changes will be recorded in [CHANGELOG.md](https://code.usgs.gov/wma/iow/wdfn-viz/-/blob/main/CHANGELOG.md). Before updating to a new version of wdfn-viz we recommend checking the release notes for the corresponding updated version of USWDS (if it has been updated).\n\nTo install the latest development snapshot (containing the current state of the master branch):\n```bash\nnpm install wdfn-viz@snapshot\n```\n\n## Usage\nThe package provides both style sheets and javascript that must be used in order for your markup to work as desired. Below are instructions on how to include these in your html markup.\n\n### Using the prebuilt css files\nIf your project is not building stylesheets using Sass and you would rather just load a prebuilt style sheet, then we have two options. If you want to automatically include all of USWDS, then load the wdfnviz-all.css. Doing this allows your page to use USWDS markup and utility classes and if you are not building your own style sheets we *strongly* recommend that you use this. \n\nIf your project only needs to use the USGS/USWDS headers, navigation and footers and will not be using USWDS for the rest of the markup, you can use the second style sheet, wdfnviz.css, which includes only the USWDS style needed to style the header, navigation, and footer. \n\nOnce you choose which prebuilt style sheet to use, place the chosen style sheet from ```./node_modules/wdfn-viz/dist/``` in the directory where your assets are served and add a link tag to your markup in the header.\n\n### Using the Sass files to build a custom style sheet\nWe recommend building the stylesheets with Dart sass (npm install sass). Please note that the use of @import is now deprecated in favor of using the @use syntax to include Sass files. The main wdfn-viz Sass stylesheet should be included (using @use 'wdfnviz') in the application's Sass file.\n\nIn order to use USWDS mixins and variables you will need to add '```@use uswds``` or if you want to optimize your stylesheet to include only the parts of USWDS that you need then use the ```@forward``` directive to include the parts of USWDS that you need. The [USWDS 3.0.0 migration guide](https://designsystem.digital.gov/documentation/migration/), part 6 has a wealth of information that will help guide you to what needs to be done based on the needs of your application.\n\nFor example to automatically include all of  USWDS components, mixins, variables, and utility classes:\n```sass\n@use 'wdfnviz'\n@use 'uswds';\n#main-content {\n    @include uswds.grid-container;\n}\n```\nIf you choose to optimize your build then you would write something like this:\n```scss\n@use 'wdfnviz';\n//The line below sets the namespace to uswds and allows access to USWDS variables and mixins\n@use 'uswds-core' as uswds;\n// Add @forward for those parts of USWDS that you need. You do not need to repeat the ones in src/styles/wdfnviz.scss but it is not harmful to do so.\n@forward 'usa-alert';\n@forward 'usa-list';\n```\nWhen building the style sheet these two directories, ```node_modules/wdfn-viz/src/stylesheets``` and ```node_modules/@uswds/uswds/packages```, should be\nspecified on the --load-path option along with the need USWDS style sheets. \n\nOnce a stylesheet is produced, it should be further processed by postcss using autoprefixer and postcss-csso using a postcss.config.js file:\n```javascript\nconst autoprefixerOptions = [\n    '> 2%',\n    'Last 2 versions',\n    'IE 11',\n    'not dead'\n];\n\nmodule.exports = ctx => ({\n    map: Object.assign({}, ctx.options.map, {inline: false}),\n    parser: ctx.options.parser,\n    plugins: {\n        autoprefixer: autoprefixerOptions,\n        'postcss-csso': {\n            forceMediaMerge: false\n        }\n    }\n});\n```\nYou may also want to include postcss-flexbugs-fixes plugin as is done for building wdfn-viz.\n\nBelow is an example of the process:\n```\n% sass --load-path node_modules/wdfn-viz/src/stylesheets --load-path node_modules/@uswds/uswds/packages --load-path node_modules/@uswds/uswds/src/stylesheets src/styles.main.css dist/main.css\n% postcss dist/main.css  -o dist/main.css\n```\n\nPostcss generates internal sourcemaps by default. You may want to consider using the --map option to create external map files\nor if you want to minimize your css assets, you may want to disable entirely by using --no-map\n\n### Collecting the images and fonts\nWhen building the assets, the images should be collected in a directory, 'img', that is the at the same place where your final style sheet resides (typically a dist directory). This should include the images in wdfn-viz/src/img that provide the USGS favicon and\nlogos. If using USWDS images those will also need to be collected. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nThe fonts should also be collected in a directory, 'fonts', that is in the same place where your final style sheet resides (typically a dist directory). Below are examples of commands that could be used to collect the image and font assets.\n```\n% mkdir -p dist/img && cp -r node_modules/@uswds/uswds/dist/img/* dist/img && cp -r node_modules/wdfn-viz/src/img/* dist/img\n% mkdir -p dist/fonts && cp -r node_modules/@uswds/uswds/dist/fonts/* dist/fonts\n```\n### Including uswds-init.min.js\nRegardless of whether you are using the prebuilt javascript bundle or will be bundling your own javascript with wdfn-viz, you will need to load, ```uswds-init.min.js```. This should be loaded before loading your style sheet within the <head> tag. You will need to copy the file, located at node_modules/wdfn-viz/uswds-init.min.js, to the directory where your assets are served. Below is an example (where you would use a prebuilt style sheet or your sass generated style sheet) \n```html\n<head>\n    <script src=\"uswds-init.min.js\"></script>\n    <link rel=\"stylesheet\" href=\"wdfnviz-all.css\"\n</head>\n```\n\n### Building custom javascript bundle\nThe javascript should be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined. In order to use, a loading function should be defined which will be executed \nwhen the page loads. Below is a simple example:\n```javascript\nimport wdfnviz from 'wdfn-viz';\n\nconst load = function () {\n    null;  // Add code that should get executed when the page is loaded\n}\n\nwdfnviz.main(load);\n```\nThe javascript bundle that is created (which will contain your project specific javascript as well as the USWDS javascript) should be loaded inside the body tag. We recommend that this is done as the last tag in the body. \n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos. This includes the script for ```uswds-init.min.js``` which should be retrieved before loading the css files as is done in the example header.html.\n\n### Using prebuilt javascript bundle\nIn order for some USWDS components to work as expected including the header, you must include the prebuilt javascript bundle if you are not building your own javascript bundle. Simply copy the prebuilt bundle, ```node_modules/wdfnviz/dist/wdfnviz.js``` to the directory where your assets are served and add the script to the body tag in your markup, preferably as the last tag before the body tag is closed.\n\n## Publishing this repo to npm\n\nGitlab CI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when merging commits to the `main` branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://code.usgs.gov/wma/iow/wdfn-viz/-/blob/main/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit. Generally, once a release is published, the version number should be incremented to the next minor release number with `-snapshot` appended and the change committed to the `main` branch.\n","readmeFilename":"README.md","_id":"wdfn-viz@3.1.0-snapshot.91ca0a1","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-rxFkWG1akDxaNvDIX1UGjjpUqDFuvMSkhrekRYsK/DuQY5FrI75WB3WTaznFGEMy2FLnnpLEMS2kc9v3u/y7SA==","shasum":"a94bab002937232f8fcfe6bd72ec3f464d8da0f3","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-3.1.0-snapshot.91ca0a1.tgz","fileCount":2079,"unpackedSize":8152937,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDGGJZqOvA1s8FBs+jecvLz70L1s5jNsNVifNj5NiYpBwIgKbSMUqXwRiB2bvIOXaYRy5/dOQm4gOdugek5UammqOA="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJieVZVACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr9Gg/+J+7LbHRVl+lVnd//4M8LA/O7IOSuscghBEtWylAVmBWnpM7Z\r\nQq/RaWRW9wYvEGsVYhBrBJRAAh5AUOEDriBsriQcwe6s+A7ZpKXdv0/llGhr\r\nLM8NaHMqHuD5Z9qb2BaZ33pGocu6hSdy3WVgI+VV+lEV3mybYl/lGcjnXdOF\r\nOghYBasuGulsPNlbwxDasWu6Qqar7qG6Fp8MGqHQxazAI254Z2Hh/qd1kFgp\r\nfxUqc0Plw8HMCRsuOo8PFlvjxHsCSFzPx3aBAtsrFDQ9QQKe/nJetzoOIH8D\r\n+4IHPKbhT2HbZ+WgnKbmBdN4UYcoXSbDvgE30scjG/auPXQFKDVk2SLv9oYV\r\nYjFOCJSQKMOpvXXTlV+Q1ypyK/KnMSbfQ3lCmHoZlU20JLe1dzTI3UemUfZv\r\nOPUTgp0oVPvLDhlR8Og26PZrh3Adg5oyY89W1I/8JLqEeYbU8QEltdKF694l\r\n/+woH1YzuaaS6sxpHpuqYzE7BLfyv+AZ/VvM+9YsGbe2c3nKSouqX78n0nOI\r\nZU9VP5+ts2brItgKR5O/L33ySUdBcn12hw9ho/HqWhYlCwQVauEBZrB+3P+o\r\nB2H1TUkp/MPCTMDkx8Dd10jo4OLjtp1c1Ti8Ypxf9twlEil26ct9HUOtKGuc\r\nBqAZX4JS/5DGU+2UHvYeRniOU2L/PpAjkBQ=\r\n=nDbK\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"maintainers":[{"name":"drsteini-usgs","email":"drsteini@contractor.usgs.gov"},{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},{"name":"mbucknell-usgs","email":"mbucknell@usgs.gov"},{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_3.1.0-snapshot.91ca0a1_1652119124991_0.5754743332476859"},"_hasShrinkwrap":false},"3.1.0-snapshot.852a41e":{"name":"wdfn-viz","version":"3.1.0-snapshot.852a41e","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:csswdfnall":"sass --load-path node_modules/@uswds/uswds/src/stylesheets --load-path node_modules/@uswds/uswds/packages src/stylesheets/wdfnviz-uswds-all.scss dist/wdfnviz-all.css && postcss dist/wdfnviz-all.css -o dist/wdfnviz-all.css","build:csswdfnviz":"sass --load-path node_modules/@uswds/uswds/src/stylesheets --load-path node_modules/@uswds/uswds/packages src/stylesheets/wdfnviz-header-footer.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/@uswds/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/@uswds/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/@uswds/uswds/dist/scss/* dist/sass","build:uswdsinit":"cp -r node_modules/@uswds/uswds/dist/js/uswds-init.min.* dist","clean":"rm -rf dist && mkdir dist","lint":"run-p lint:*","lint:cs":"stylelint src/stylesheets ","lint:js":"eslint src/js","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"jest --collectCoverage=true","test:debug":"node --inspect-brk node_modules/.bin/jest --runInBand","test:watch":"jest --watch","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://code.usgs.gov/wma/iow/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://code.usgs.gov/wma/iow/wdfn-viz/-/issues"},"homepage":"https://code.usgs.gov/wma/iow/wdfn-viz","engines":{"node":">= 12"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","devDependencies":{"@babel/preset-env":"7.17.12","@rollup/plugin-commonjs":"22.0.0","@rollup/plugin-node-resolve":"13.3.0","autoprefixer":"10.4.7","eslint":"8.14.0","eslint-plugin-jest":"26.1.5","jest":"28.1.0","jest-environment-jsdom":"28.1.0","live-server":"1.2.2","nodemon":"2.0.16","npm-run-all":"4.1.5","nunjucks":"3.2.3","nunjucks-cli":"1.0.0","postcss":"8.4.13","postcss-cli":"9.1.0","postcss-csso":"6.0.0","postcss-flexbugs-fixes":"5.0.2","rollup":"2.71.1","rollup-plugin-terser":"7.0.2","sass":"1.51.0","stylelint":"14.8.2","stylelint-config-recommended-scss":"6.0.0","stylelint-scss":"4.2.0"},"dependencies":{"@uswds/uswds":"3.0.0"},"gitHead":"852a41eef841c636ab96222f68d51e22c0996342","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![pipeline status](https://code.usgs.gov/wma/iow/wdfn-viz/badges/main/pipeline.svg)](https://code.usgs.gov/wma/iow/wdfn-viz/-/commits/main)\n[![coverage report](https://code.usgs.gov/wma/iow/wdfn-viz/badges/main/coverage.svg)](https://code.usgs.gov/wma/iow/wdfn-viz/-/commits/main)\n\nWDFN Viz provides stylesheets, fonts and images that can be used when creating web pages that can be used to meet USGS visual identity standards. You can choose either to use a prebuilt css stylesheet or build your own app specific style sheet by starting with the available Sass style sheets. The repo as provides a javacript bundle which includes the USWDS javascript along with a load function that can be used to include your application's custom javascript. The stylesheets and javascript bundles use the US Web Design System (USWDS).\n\n## Installation\nBefore starting we recommend becoming familiar with [USWDS](https://designsystem.digital.gov/)\nThis package can be installed in an existing project by installing via npm.\n```bash\nnpm install wdfn-viz --save-exact\n```\nWe recommend pinning the version of wdfn-viz in your package.json. We try to update this package everytime USWDS publishes a new version. Changes will be recorded in [CHANGELOG.md](https://code.usgs.gov/wma/iow/wdfn-viz/-/blob/main/CHANGELOG.md). Before updating to a new version of wdfn-viz we recommend checking the release notes for the corresponding updated version of USWDS (if it has been updated).\n\nTo install the latest development snapshot (containing the current state of the master branch):\n```bash\nnpm install wdfn-viz@snapshot\n```\n\n## Usage\nThe package provides both style sheets and javascript that must be used in order for your markup to work as desired. Below are instructions on how to include these in your html markup.\n\n### Using the prebuilt css files\nIf your project is not building stylesheets using Sass and you would rather just load a prebuilt style sheet, then we have two options. If you want to automatically include all of USWDS, then load the wdfnviz-all.css. Doing this allows your page to use USWDS markup and utility classes and if you are not building your own style sheets we *strongly* recommend that you use this. \n\nIf your project only needs to use the USGS/USWDS headers, navigation and footers and will not be using USWDS for the rest of the markup, you can use the second style sheet, wdfnviz.css, which includes only the USWDS style needed to style the header, navigation, and footer. \n\nOnce you choose which prebuilt style sheet to use, place the chosen style sheet from ```./node_modules/wdfn-viz/dist/``` in the directory where your assets are served and add a link tag to your markup in the header.\n\n### Using the Sass files to build a custom style sheet\nWe recommend building the stylesheets with Dart sass (npm install sass). Please note that the use of @import is now deprecated in favor of using the @use syntax to include Sass files. The main wdfn-viz Sass stylesheet should be included (using @use 'wdfnviz') in the application's Sass file.\n\nIn order to use USWDS mixins and variables you will need to add '```@use uswds``` or if you want to optimize your stylesheet to include only the parts of USWDS that you need then use the ```@forward``` directive to include the parts of USWDS that you need. The [USWDS 3.0.0 migration guide](https://designsystem.digital.gov/documentation/migration/), part 6 has a wealth of information that will help guide you to what needs to be done based on the needs of your application.\n\nFor example to automatically include all of  USWDS components, mixins, variables, and utility classes:\n```sass\n@use 'wdfnviz'\n@use 'uswds';\n#main-content {\n    @include uswds.grid-container;\n}\n```\nIf you choose to optimize your build then you would write something like this:\n```scss\n@use 'wdfnviz';\n//The line below sets the namespace to uswds and allows access to USWDS variables and mixins\n@use 'uswds-core' as uswds;\n// Add @forward for those parts of USWDS that you need. You do not need to repeat the ones in src/styles/wdfnviz.scss but it is not harmful to do so.\n@forward 'usa-alert';\n@forward 'usa-list';\n```\nWhen building the style sheet these two directories, ```node_modules/wdfn-viz/src/stylesheets``` and ```node_modules/@uswds/uswds/packages```, should be\nspecified on the --load-path option along with the need USWDS style sheets. \n\nOnce a stylesheet is produced, it should be further processed by postcss using autoprefixer and postcss-csso using a postcss.config.js file:\n```javascript\nconst autoprefixerOptions = [\n    '> 2%',\n    'Last 2 versions',\n    'IE 11',\n    'not dead'\n];\n\nmodule.exports = ctx => ({\n    map: Object.assign({}, ctx.options.map, {inline: false}),\n    parser: ctx.options.parser,\n    plugins: {\n        autoprefixer: autoprefixerOptions,\n        'postcss-csso': {\n            forceMediaMerge: false\n        }\n    }\n});\n```\nYou may also want to include postcss-flexbugs-fixes plugin as is done for building wdfn-viz.\n\nBelow is an example of the process:\n```\n% sass --load-path node_modules/wdfn-viz/src/stylesheets --load-path node_modules/@uswds/uswds/packages --load-path node_modules/@uswds/uswds/src/stylesheets src/styles.main.css dist/main.css\n% postcss dist/main.css  -o dist/main.css\n```\n\nPostcss generates internal sourcemaps by default. You may want to consider using the --map option to create external map files\nor if you want to minimize your css assets, you may want to disable entirely by using --no-map\n\n### Collecting the images and fonts\nWhen building the assets, the images should be collected in a directory, 'img', that is the at the same place where your final style sheet resides (typically a dist directory). This should include the images in wdfn-viz/src/img that provide the USGS favicon and\nlogos and USWDS images. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nThe fonts should also be collected in a directory, 'fonts', that is in the same place where your final style sheet resides (typically a dist directory). Below are examples of commands that could be used to collect the image and font assets.\n```\n% mkdir -p dist/img && cp -r node_modules/wdfn-viz/dist/img/* dist/img\n% mkdir -p dist/fonts && cp -r node_modules/wdfn-viz/dist/fonts/* dist/fonts\n```\n### Including uswds-init.min.js\nRegardless of whether you are using the prebuilt javascript bundle or will be bundling your own javascript with wdfn-viz, you will need to load, ```uswds-init.min.js```. This should be loaded before loading your style sheet within the <head> tag. You will need to copy the file, located at node_modules/wdfn-viz/uswds-init.min.js, to the directory where your assets are served. Below is an example (where you would use a prebuilt style sheet or your sass generated style sheet) \n```html\n<head>\n    <script src=\"uswds-init.min.js\"></script>\n    <link rel=\"stylesheet\" href=\"wdfnviz-all.css\"\n</head>\n```\n\n### Building custom javascript bundle\nThe javascript should be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined. In order to use, a loading function should be defined which will be executed \nwhen the page loads. Below is a simple example:\n```javascript\nimport wdfnviz from 'wdfn-viz';\n\nconst load = function () {\n    null;  // Add code that should get executed when the page is loaded\n}\n\nwdfnviz.main(load);\n```\nThe javascript bundle that is created (which will contain your project specific javascript as well as the USWDS javascript) should be loaded inside the body tag. We recommend that this is done as the last tag in the body. \n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos. This includes the script for ```uswds-init.min.js``` which should be retrieved before loading the css files as is done in the example header.html.\n\n### Using prebuilt javascript bundle\nIn order for some USWDS components to work as expected including the header, you must include the prebuilt javascript bundle if you are not building your own javascript bundle. Simply copy the prebuilt bundle, ```node_modules/wdfnviz/dist/wdfnviz.js``` to the directory where your assets are served and add the script to the body tag in your markup, preferably as the last tag before the body tag is closed.\n\n## Publishing this repo to npm\n\nGitlab CI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when merging commits to the `main` branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://code.usgs.gov/wma/iow/wdfn-viz/-/blob/main/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit. Generally, once a release is published, the version number should be incremented to the next minor release number with `-snapshot` appended and the change committed to the `main` branch.\n","readmeFilename":"README.md","_id":"wdfn-viz@3.1.0-snapshot.852a41e","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-sNEes8dTX1lz50+MMmRUjIU8lM3b4ljG2MGPCFbi+icXNCNwo0QpWngCm4I9N2wYJL6RZEnOtyLv+219JDcQ1A==","shasum":"f2d74ebfbd4f5988e948cc5f4e7e7af9d1f0de82","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-3.1.0-snapshot.852a41e.tgz","fileCount":2081,"unpackedSize":8153091,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGFG/3PELmZjoGQ7A1F7iCKRAxE6hQTLOzKFkiHXZpxCAiBPagiBEa6eSyO2OfCGxkveqMfQLCNwIJplqoS7a6BO5Q=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJihSEjACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmog8BAAmwznI2UG0qGrHAaCH7+8QknBUMpPXtMfYONHaY+sieVLdKzY\r\nl8yBjx7/UU1jzYc5odlGjP/nVGG1V5JkrdoJ1emDNbp+3Sx1hZ+4dl2wNpTq\r\nKQdOZMRFHP1X2iuJvsPJPimKbNl1sKm0tUCM+S5WhfmW3aA+KAW5bBH+lTTE\r\nUkGkp4QaGGvmrlBempxQB3hyWfQCnEG9XeNyIsVOLdlhU4p286118zs/YQgE\r\nDwQhEkB28qX4pnzOuxo0ENJ0j05JH0B7pTpHCpXNtihlRKOowFl52Fud7z67\r\nzW7w6hNvMpCimffRjqNxAs06+QJelV3v1cI+zqta12dr4pu6Aggl491ghkzK\r\nn6UHsikyO4D66kFOOrDh0Mhw3Yy75nozwXW8HbapB6jgI9RKg4D2KVwrnvmX\r\nU0LYoMixONMrbIyiPd/NMqd2AA8iFVmpV859ZE9P804FmTrb5iBoPPvw5pLw\r\nK5Ij0O7NGZIN2mKU7cnywnCHCps23ArdxJzrT2mI+taLoJ04YcLgSGhVCLNL\r\nF4Bk4FEiGbviK8UAo6OxaHXDNvDHMZxSXcep9bdKaOxU5Tfblw8oDHOnMf6v\r\ne+vzv0GrcWJq8ybmwSdmzkNjyEhWsYbfuYXhrtYjG+mv68B8seJbbLuXuEt6\r\nHFaW4aU/tbs3cIaAnQVNmQoXeDlzLw2P0B8=\r\n=MmuA\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"maintainers":[{"name":"drsteini-usgs","email":"drsteini@contractor.usgs.gov"},{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},{"name":"mbucknell-usgs","email":"mbucknell@usgs.gov"},{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_3.1.0-snapshot.852a41e_1652891939014_0.2741594012070492"},"_hasShrinkwrap":false},"3.1.0":{"name":"wdfn-viz","version":"3.1.0","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:csswdfnall":"sass --load-path node_modules/@uswds/uswds/src/stylesheets --load-path node_modules/@uswds/uswds/packages src/stylesheets/wdfnviz-uswds-all.scss dist/wdfnviz-all.css && postcss dist/wdfnviz-all.css -o dist/wdfnviz-all.css","build:csswdfnviz":"sass --load-path node_modules/@uswds/uswds/src/stylesheets --load-path node_modules/@uswds/uswds/packages src/stylesheets/wdfnviz-header-footer.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/@uswds/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/@uswds/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/@uswds/uswds/dist/scss/* dist/sass","build:uswdsinit":"cp -r node_modules/@uswds/uswds/dist/js/uswds-init.min.* dist","clean":"rm -rf dist && mkdir dist","lint":"run-p lint:*","lint:cs":"stylelint src/stylesheets ","lint:js":"eslint src/js","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"jest --collectCoverage=true","test:debug":"node --inspect-brk node_modules/.bin/jest --runInBand","test:watch":"jest --watch","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://code.usgs.gov/wma/iow/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://code.usgs.gov/wma/iow/wdfn-viz/-/issues"},"homepage":"https://code.usgs.gov/wma/iow/wdfn-viz","engines":{"node":">= 12"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","devDependencies":{"@babel/preset-env":"7.17.12","@rollup/plugin-commonjs":"22.0.0","@rollup/plugin-node-resolve":"13.3.0","autoprefixer":"10.4.7","eslint":"8.14.0","eslint-plugin-jest":"26.1.5","jest":"28.1.0","jest-environment-jsdom":"28.1.0","live-server":"1.2.2","nodemon":"2.0.16","npm-run-all":"4.1.5","nunjucks":"3.2.3","nunjucks-cli":"1.0.0","postcss":"8.4.13","postcss-cli":"9.1.0","postcss-csso":"6.0.0","postcss-flexbugs-fixes":"5.0.2","rollup":"2.71.1","rollup-plugin-terser":"7.0.2","sass":"1.51.0","stylelint":"14.8.2","stylelint-config-recommended-scss":"6.0.0","stylelint-scss":"4.2.0"},"dependencies":{"@uswds/uswds":"3.0.1"},"gitHead":"f5ffc3404a3e33852b58ba8367e9d789c7e81ffd","_id":"wdfn-viz@3.1.0","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-S5Mm/z5Q5CwXSo+kl/Z81G8ixRDkXEDfZFD/myLOQlWfUQvL7uqQOEN1xaPPSRnZraWnFCZllj2NHSToR71mNw==","shasum":"baa228943c831bcc8cef84f4cb6dece6668df88c","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-3.1.0.tgz","fileCount":2081,"unpackedSize":8153656,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCKrH6x9MAFBBGJBFa+B3Po4Z5mCvtM5tDtzxZNY9vTGAIgTMiKpFfP0sKrNAI+EK/R/W1u6n+3p1XR9ZBqhrMgy2A="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJihU0qACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmohaw//Q6U/8TypyU8vQeDewzsC2DyrbKanx+DlH4cculWFbQq1q6kR\r\nPR5mvhfePLRP2NZGAG+WQhNsAXKCbsR+VVAgLDQfd0CNXE9fWugMq1O1/qHM\r\n+xC7xvaClogDNPe52xsvI9iKGwY20qo7kig+h+8aSNlZo/EEteb6cl/+2etI\r\nsY9sr6b18PAlvIkqTZV0wt8R4cbIM+5hBLR3wmego1WB9P4oLoCDvTKuImW6\r\nmVOS/TOdquGyoBUDp4+i1ri0dZD5XHpVE0GZioYKzXXiHJKQ4yZjZ5FkTkqG\r\nJzjg0ALNv5POlaz0JoF/QGI2HsysKH33E05gyZXauu/yzHViqYwcK85bA3UE\r\np82RdU8B0xCwbRzkXJiuo79PKLwSC6B7YEZjRleGa9Au6AB3hbEeETmlx3yp\r\nMO3CZhQnQqm9JP7rYnlhzlhAaZatceIB2nIHYLv7mE/SXzDSrDabQdLXH6fv\r\n2jMtzouPPgCpFPorNsy7k16iUGdtFlDJD/ZSEA8o7CkEthTkc5JgaiaddC0X\r\nHBqo3zBeRUD/krlS3lrWCsa0ImN2Czr5SCJQ1R24NpkI9neq3VC7RlT8wjXL\r\nFiTMvC9XaOcivh7to0UM6dhtu0NS1uT/l26RxmajH3i9KvrYWItOVw0nxUp2\r\n7OMvLrqpXHoZCsujFU26pO1MENH9lRLOl98=\r\n=vR7C\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"maintainers":[{"name":"drsteini-usgs","email":"drsteini@contractor.usgs.gov"},{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},{"name":"mbucknell-usgs","email":"mbucknell@usgs.gov"},{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_3.1.0_1652903210213_0.1075820205879865"},"_hasShrinkwrap":false},"3.2.0-snaphot":{"name":"wdfn-viz","version":"3.2.0-snaphot","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:csswdfnall":"sass --load-path node_modules/@uswds/uswds/src/stylesheets --load-path node_modules/@uswds/uswds/packages src/stylesheets/wdfnviz-uswds-all.scss dist/wdfnviz-all.css && postcss dist/wdfnviz-all.css -o dist/wdfnviz-all.css","build:csswdfnviz":"sass --load-path node_modules/@uswds/uswds/src/stylesheets --load-path node_modules/@uswds/uswds/packages src/stylesheets/wdfnviz-header-footer.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/@uswds/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/@uswds/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/@uswds/uswds/dist/scss/* dist/sass","build:uswdsinit":"cp -r node_modules/@uswds/uswds/dist/js/uswds-init.min.* dist","clean":"rm -rf dist && mkdir dist","lint":"run-p lint:*","lint:cs":"stylelint src/stylesheets ","lint:js":"eslint src/js","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"jest --collectCoverage=true","test:debug":"node --inspect-brk node_modules/.bin/jest --runInBand","test:watch":"jest --watch","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://code.usgs.gov/wma/iow/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://code.usgs.gov/wma/iow/wdfn-viz/-/issues"},"homepage":"https://code.usgs.gov/wma/iow/wdfn-viz","engines":{"node":">= 12"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","devDependencies":{"@babel/preset-env":"7.17.12","@rollup/plugin-commonjs":"22.0.0","@rollup/plugin-node-resolve":"13.3.0","autoprefixer":"10.4.7","eslint":"8.14.0","eslint-plugin-jest":"26.1.5","jest":"28.1.0","jest-environment-jsdom":"28.1.0","live-server":"1.2.2","nodemon":"2.0.16","npm-run-all":"4.1.5","nunjucks":"3.2.3","nunjucks-cli":"1.0.0","postcss":"8.4.13","postcss-cli":"9.1.0","postcss-csso":"6.0.0","postcss-flexbugs-fixes":"5.0.2","rollup":"2.71.1","rollup-plugin-terser":"7.0.2","sass":"1.51.0","stylelint":"14.8.2","stylelint-config-recommended-scss":"6.0.0","stylelint-scss":"4.2.0"},"dependencies":{"@uswds/uswds":"3.0.1"},"gitHead":"d3be8a0ae6b4ba36a9907892911385ad7253b506","_id":"wdfn-viz@3.2.0-snaphot","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-4IL9jhtrMQ9ZxAT0d8PQ3t523kkciol6DYqHvZSPViNzu2Pj8t4NfJPruBLKg772Sq/VZg3OAbwPQqTCMKSOZQ==","shasum":"2354903248b55537a4e13e004d7826e90279e2e7","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-3.2.0-snaphot.tgz","fileCount":2081,"unpackedSize":8153664,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCwJcI1yD46Q0H+rj3giZwBrscg4qUc0cjZqoEycqQY0wIgDbQX2UWmRwl1OODg0V/X/5aR5uNMQc39D+wNbzbE+bM="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJihU+zACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrZRA//URWah0BrXwcGXTXGhaXDBHnzQ+i/oyN9XCyF0xpZyDa8vNge\r\nBOMGNS6JeLn1eWD64Y40quEZNb3lDtA4nfgdfbBxze/VvLQuNAzBon30rYIE\r\nzmr+uMNu0vLgUAa+PrGtQnt2vBTrjIKZTJYGfzFhNHdrSJFyZTGw/8rjOGKL\r\nC/6OfdZxN+KTIqYs0feV+716G4gWKFXHB5gAx/SzFHtmr9+ANADv+Ct39HYm\r\nuj5+AAt51PkqxFaNUu493Kud2HEJsXcrRVmdc2f8x77EBYVVjulrjx5JIo6n\r\nIwb0eZxO96R9iW2xU69qDcMdkoRXf76VHzIlp15aTCOzxoR3MSJbTUecdhGi\r\n6RZbKz2Mdgw3zwd0daTaOk92wStqZG2Ey7HdtgGDnJCZzuVzB1br+sFMP4hP\r\nGBWxOiwifCo0sN7NjP6fmuu0PTK3G9R7T+3675Fha1PENRDwC3jxa3IQoW2j\r\nhrHd0XdBsNtHgBjPV93t46pjYB1QzZbDNRmz43Z9V7YN1wm+ErK32g0I5WBp\r\n+qKV4dcOKhhTzkM2J+KEYahHbe+YSX42Jh2m2seKoXuRxJMPXBek5Hb3gsEw\r\n0XhdzVg2PZfgdTLH9THrDug1Hy9FiX3bu8mRpPCnkSAoiQYn84az1YFwzl0w\r\nxKqM5GFncqDck3ue1sQbh5dUMffVJIo1Fk4=\r\n=ovnN\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"maintainers":[{"name":"drsteini-usgs","email":"drsteini@contractor.usgs.gov"},{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},{"name":"mbucknell-usgs","email":"mbucknell@usgs.gov"},{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_3.2.0-snaphot_1652903859213_0.8791723095556638"},"_hasShrinkwrap":false},"3.2.0":{"name":"wdfn-viz","version":"3.2.0","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:csswdfnall":"sass --load-path node_modules/@uswds/uswds/src/stylesheets --load-path node_modules/@uswds/uswds/packages src/stylesheets/wdfnviz-uswds-all.scss dist/wdfnviz-all.css && postcss dist/wdfnviz-all.css -o dist/wdfnviz-all.css","build:csswdfnviz":"sass --load-path node_modules/@uswds/uswds/src/stylesheets --load-path node_modules/@uswds/uswds/packages src/stylesheets/wdfnviz-header-footer.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/@uswds/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/@uswds/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/@uswds/uswds/dist/scss/* dist/sass","build:uswdsinit":"cp -r node_modules/@uswds/uswds/dist/js/uswds-init.min.* dist","clean":"rm -rf dist && mkdir dist","lint":"run-p lint:*","lint:cs":"stylelint src/stylesheets ","lint:js":"eslint src/js","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"jest --collectCoverage=true","test:debug":"node --inspect-brk node_modules/.bin/jest --runInBand","test:watch":"jest --watch","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://code.usgs.gov/wma/iow/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://code.usgs.gov/wma/iow/wdfn-viz/-/issues"},"homepage":"https://code.usgs.gov/wma/iow/wdfn-viz","engines":{"node":">= 12"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","devDependencies":{"@babel/preset-env":"7.17.12","@rollup/plugin-commonjs":"22.0.0","@rollup/plugin-node-resolve":"13.3.0","autoprefixer":"10.4.7","eslint":"8.14.0","eslint-plugin-jest":"26.1.5","jest":"28.1.0","jest-environment-jsdom":"28.1.0","live-server":"1.2.2","nodemon":"2.0.16","npm-run-all":"4.1.5","nunjucks":"3.2.3","nunjucks-cli":"1.0.0","postcss":"8.4.13","postcss-cli":"9.1.0","postcss-csso":"6.0.0","postcss-flexbugs-fixes":"5.0.2","rollup":"2.71.1","rollup-plugin-terser":"7.0.2","sass":"1.51.0","stylelint":"14.8.2","stylelint-config-recommended-scss":"6.0.0","stylelint-scss":"4.2.0"},"dependencies":{"@uswds/uswds":"3.0.1"},"gitHead":"2e259cddb38fec8eb9e4ce929fffa8f992b6252b","_id":"wdfn-viz@3.2.0","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-Lwda3jg8efG/K9v8G1+ybvDOyQgwDU92CXFpsE0oau99yr+Rkj6XImybKXea9P4QFMo2Ar0ff7paS5MoQh+zvA==","shasum":"2bedb2bea43d388ba1b03f7781fa7b64fe0ab9e1","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-3.2.0.tgz","fileCount":2081,"unpackedSize":8153656,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEz4XMA/Wi1CO8cKh3QyhWz1wRF63IP4QYhNPaZD4j3xAiBrX8uv7YnBBTZMvDtSsvc0f9FpJ9/hAHi68pHFCAXHFg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJihVMfACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqJ8A//QtTt0sgej+Vmh/rQ3rSmloXY4meOjUyNnV+AomWNdAbalFk/\r\nCx5s+lE9sOnHBktIZZOX8Lk12mIHH8APTmgWkBNz3ypF3jMTFGCV1356ky6h\r\nsaVuxi86AKH05bZg4VXx32fWFYyTnt+1zQ4I0+mIwhEGpdUF4hDIEYG0U7+0\r\nWkPwiHCDa3ZEJc0pV3menlwuNFfPszqLwJtuVPNJGLAXqFQolZ0CpVobst/J\r\nuEuOvBHs7bb8JVPioBLc7C5pyL0nPtJo4Q6yZOclb4SRx4PLoaxuxttEdRpD\r\nqLvnRPxwemQNLD91NHwIeVdQcqbzsPT7jtT98ih3YlKRqD3pNtrvE0HJf1fm\r\nmqbLGMJ3gDQYMrsPsaWibZM4l6G310LRgX7GLhf/qBq/Qa3RhtXIemluNVqw\r\nuBnPDkBlA52ZFLJg+PtrzgLZLVOnn5uGum6U2aZouA3iAkrE5kLiOc3vZJLW\r\nBtQRvp8Lgf+Y3JXO2vhHkAIXFubSIqAqKfRLM0oPQVMbzEu5d9CYdBDPhzQx\r\nSuhq4s5Tu+bs4R4wphGQeJ/zict0MIrNtHTxQyXtp1T+5VfIXckp5s3saVkJ\r\nPCVfetmjcYtP8xEkS0Y8W1Uan8fQNRAQclTxF9UG96Lb4UFnOUhMY69uC9jd\r\nkA8GDbwJdxWTIZYsWPgMzvzzB3T7VN0Lv2I=\r\n=f1dX\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"maintainers":[{"name":"drsteini-usgs","email":"drsteini@contractor.usgs.gov"},{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},{"name":"mbucknell-usgs","email":"mbucknell@usgs.gov"},{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_3.2.0_1652904734758_0.683328599991653"},"_hasShrinkwrap":false},"3.3.0-snapshot.c4a041b":{"name":"wdfn-viz","version":"3.3.0-snapshot.c4a041b","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:csswdfnall":"sass --load-path node_modules/@uswds/uswds/src/stylesheets --load-path node_modules/@uswds/uswds/packages src/stylesheets/wdfnviz-uswds-all.scss dist/wdfnviz-all.css && postcss dist/wdfnviz-all.css -o dist/wdfnviz-all.css","build:csswdfnviz":"sass --load-path node_modules/@uswds/uswds/src/stylesheets --load-path node_modules/@uswds/uswds/packages src/stylesheets/wdfnviz-header-footer.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/@uswds/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/@uswds/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/@uswds/uswds/dist/scss/* dist/sass","build:uswdsinit":"cp -r node_modules/@uswds/uswds/dist/js/uswds-init.min.* dist","clean":"rm -rf dist && mkdir dist","lint":"run-p lint:*","lint:cs":"stylelint src/stylesheets ","lint:js":"eslint src/js","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"jest --collectCoverage=true","test:debug":"node --inspect-brk node_modules/.bin/jest --runInBand","test:watch":"jest --watch","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://code.usgs.gov/wma/iow/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://code.usgs.gov/wma/iow/wdfn-viz/-/issues"},"homepage":"https://code.usgs.gov/wma/iow/wdfn-viz","engines":{"node":">= 12"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","devDependencies":{"@babel/preset-env":"7.17.12","@rollup/plugin-commonjs":"22.0.0","@rollup/plugin-node-resolve":"13.3.0","autoprefixer":"10.4.7","eslint":"8.14.0","eslint-plugin-jest":"26.1.5","jest":"28.1.0","jest-environment-jsdom":"28.1.0","live-server":"1.2.2","nodemon":"2.0.16","npm-run-all":"4.1.5","nunjucks":"3.2.3","nunjucks-cli":"1.0.0","postcss":"8.4.13","postcss-cli":"9.1.0","postcss-csso":"6.0.0","postcss-flexbugs-fixes":"5.0.2","rollup":"2.71.1","rollup-plugin-terser":"7.0.2","sass":"1.51.0","stylelint":"14.8.2","stylelint-config-recommended-scss":"6.0.0","stylelint-scss":"4.2.0"},"dependencies":{"@uswds/uswds":"3.0.1"},"gitHead":"c4a041b4b85f494effe8ab310f027312337568f5","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![pipeline status](https://code.usgs.gov/wma/iow/wdfn-viz/badges/main/pipeline.svg)](https://code.usgs.gov/wma/iow/wdfn-viz/-/commits/main)\n[![coverage report](https://code.usgs.gov/wma/iow/wdfn-viz/badges/main/coverage.svg)](https://code.usgs.gov/wma/iow/wdfn-viz/-/commits/main)\n\nWDFN Viz provides stylesheets, fonts and images that can be used when creating web pages that can be used to meet USGS visual identity standards. You can choose either to use a prebuilt css stylesheet or build your own app specific style sheet by starting with the available Sass style sheets. The repo as provides a javacript bundle which includes the USWDS javascript along with a load function that can be used to include your application's custom javascript. The stylesheets and javascript bundles use the US Web Design System (USWDS).\n\n## Installation\nBefore starting we recommend becoming familiar with [USWDS](https://designsystem.digital.gov/)\nThis package can be installed in an existing project by installing via npm.\n```bash\nnpm install wdfn-viz --save-exact\n```\nWe recommend pinning the version of wdfn-viz in your package.json. We try to update this package everytime USWDS publishes a new version. Changes will be recorded in [CHANGELOG.md](https://code.usgs.gov/wma/iow/wdfn-viz/-/blob/main/CHANGELOG.md). Before updating to a new version of wdfn-viz we recommend checking the release notes for the corresponding updated version of USWDS (if it has been updated).\n\nTo install the latest development snapshot (containing the current state of the master branch):\n```bash\nnpm install wdfn-viz@snapshot\n```\n\n## Usage\nThe package provides both style sheets and javascript that must be used in order for your markup to work as desired. Below are instructions on how to include these in your html markup.\n\n### Using the prebuilt css files\nIf your project is not building stylesheets using Sass and you would rather just load a prebuilt style sheet, then we have two options. If you want to automatically include all of USWDS, then load the wdfnviz-all.css. Doing this allows your page to use USWDS markup and utility classes and if you are not building your own style sheets we *strongly* recommend that you use this. \n\nIf your project only needs to use the USGS/USWDS headers, navigation and footers and will not be using USWDS for the rest of the markup, you can use the second style sheet, wdfnviz.css, which includes only the USWDS style needed to style the header, navigation, and footer. \n\nOnce you choose which prebuilt style sheet to use, place the chosen style sheet from ```./node_modules/wdfn-viz/dist/``` in the directory where your assets are served and add a link tag to your markup in the header.\n\n### Using the Sass files to build a custom style sheet\nWe recommend building the stylesheets with Dart sass (npm install sass). Please note that the use of @import is now deprecated in favor of using the @use syntax to include Sass files. The main wdfn-viz Sass stylesheet should be included (using @use 'wdfnviz') in the application's Sass file.\n\nIn order to use USWDS mixins and variables you will need to add '```@use uswds``` or if you want to optimize your stylesheet to include only the parts of USWDS that you need then use the ```@forward``` directive to include the parts of USWDS that you need. The [USWDS 3.0.0 migration guide](https://designsystem.digital.gov/documentation/migration/), part 6 has a wealth of information that will help guide you to what needs to be done based on the needs of your application.\n\nYou will also likely need to at least set some of the USWDS theme variables. The most common ones that will need to be set are $theme-font-path and $theme-image-path. These need to be set relative to where the assets are served, typically your dist directory. Below are two examples of setting these theme variables. Others would go in the same section\n\nFor example to automatically include all of  USWDS components, mixins, variables, and utility classes:\n```scss\n@use 'uswds-core' with (\n  $theme-font-path: './fonts',\n  $theme-image-path: './img'\n);\n@use 'wdfnviz';\n@use 'uswds';\n#main-content {\n    @include uswds.grid-container;\n}\n```\nIf you choose to optimize your build then you would write something like this:\n```scss\n//The line below sets the namespace to uswds, sets any USWDS theme variables and allows access to USWDS variables and mixins\n@use 'uswds-core' as uswds with (\n  $theme-font-path: './fonts',\n  $theme-image-path: './img'\n);\n@use 'wdfnviz';\n\n// Add @forward for those parts of USWDS that you need. You do not need to repeat the ones in src/styles/wdfnviz.scss but it is not harmful to do so.\n@forward 'usa-alert';\n@forward 'usa-list';\n```\nWhen building the style sheet these three directories, ```node_modules/wdfn-viz/dist/sass```, ```node_modules/@uswds/uswds/src/stylesheets```, and ```node_modules/@uswds/uswds/packages```, should be\nspecified on the --load-path option along with the need USWDS style sheets. \n\nOnce a stylesheet is produced, it should be further processed by postcss using autoprefixer and postcss-csso using a postcss.config.js file:\n```javascript\nconst autoprefixerOptions = [\n    '> 2%',\n    'Last 2 versions',\n    'IE 11',\n    'not dead'\n];\n\nmodule.exports = ctx => ({\n    map: Object.assign({}, ctx.options.map, {inline: false}),\n    parser: ctx.options.parser,\n    plugins: {\n        autoprefixer: autoprefixerOptions,\n        'postcss-csso': {\n            forceMediaMerge: false\n        }\n    }\n});\n```\nYou may also want to include postcss-flexbugs-fixes plugin as is done for building wdfn-viz.\n\nBelow is an example of the process:\n```\n% sass --load-path node_modules/wdfn-viz/dist/sass --load-path node_modules/@uswds/uswds/src/stylesheets --load-path node_modules/@uswds/uswds/packages src/styles.main.css dist/main.css\n% postcss dist/main.css  -o dist/main.css\n```\n\nPostcss generates internal sourcemaps by default. You may want to consider using the --map option to create external map files\nor if you want to minimize your css assets, you may want to disable entirely by using --no-map\n\n### Collecting the images and fonts\nWhen building the assets, the images should be collected in a directory, 'img', that is the at the same place where your final style sheet resides (typically a dist directory). This should include the images in wdfn-viz/src/img that provide the USGS favicon,\nlogos and USWDS images. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nThe fonts should also be collected in a directory, 'fonts', that is in the same place where your final style sheet resides (typically a dist directory). Below are examples of commands that could be used to collect the image and font assets.\n```\n% mkdir -p dist/img && cp -r node_modules/wdfn-viz/dist/img/* dist/img\n% mkdir -p dist/fonts && cp -r node_modules/wdfn-viz/dist/fonts/* dist/fonts\n```\n### Including uswds-init.min.js\nRegardless of whether you are using the prebuilt javascript bundle or will be bundling your own javascript with wdfn-viz, you will need to load, ```uswds-init.min.js```. This should be loaded before loading your style sheet within the <head> tag. You will need to copy the file, located at node_modules/wdfn-viz/uswds-init.min.js, to the directory where your assets are served. Below is an example (where you would use a prebuilt style sheet or your sass generated style sheet) \n```html\n<head>\n    <script src=\"uswds-init.min.js\"></script>\n    <link rel=\"stylesheet\" href=\"wdfnviz-all.css\"\n</head>\n```\n\n### Building custom javascript bundle\nThe javascript should be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined. In order to use, a loading function should be defined which will be executed \nwhen the page loads. Below is a simple example:\n```javascript\nimport wdfnviz from 'wdfn-viz';\n\nconst load = function () {\n    null;  // Add code that should get executed when the page is loaded\n}\n\nwdfnviz.main(load);\n```\nThe javascript bundle that is created (which will contain your project specific javascript as well as the USWDS javascript) should be loaded inside the body tag. We recommend that this is done as the last tag in the body. \n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos. This includes the script for ```uswds-init.min.js``` which should be retrieved before loading the css files as is done in the example header.html.\n\n### Using prebuilt javascript bundle\nIn order for some USWDS components to work as expected including the header, you must include the prebuilt javascript bundle if you are not building your own javascript bundle. Simply copy the prebuilt bundle, ```node_modules/wdfnviz/dist/wdfnviz.js``` to the directory where your assets are served and add the script to the body tag in your markup, preferably as the last tag before the body tag is closed.\n\n## Publishing this repo to npm\n\nGitlab CI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when merging commits to the `main` branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://code.usgs.gov/wma/iow/wdfn-viz/-/blob/main/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit. Generally, once a release is published, the version number should be incremented to the next minor release number with `-snapshot` appended and the change committed to the `main` branch.\n","readmeFilename":"README.md","_id":"wdfn-viz@3.3.0-snapshot.c4a041b","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-3x8QAnSRpGWi56gOlFFf7IfRY8rf33szoISrXDuF5l/MA2zCUWU9ea/0myISytu998HtNcODxvK9rZeGBOd3rQ==","shasum":"234edf14d832a9863cec85a5d8925bf76d69735c","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-3.3.0-snapshot.c4a041b.tgz","fileCount":2081,"unpackedSize":8153673,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCX7IcIAED02YY5fq/c94ZVihVYGczbJ8f95cn5d86EeAIhANXbXD93GwRZa/b2I74pYFrQt/WrZUSHdJcjB1r4/bb9"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJihVQcACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmroVhAAhWFATLxiFWpvZ92rkYXNxxgVfwPK7Isg4TdEPdQy7nZuMkzD\r\n/CBLwzElonSFVmPtvoJ5diEcUjQV5MUvc5u0bsfzPMsIybMOb72isJ9EM1oA\r\nSdEbNKYQvVwBWKAnbDF0NjH4BYUF66bEsGx7hzgYN8HmhEpAnUIFU06B3TUG\r\nWM/enVlCEse+9BYphqRcsCg0wumKxSvQnx5adoxxrst4ZBckOdMJJZMFSc/p\r\nJqmlIf7H07CinrMHfhwFGPFhSvrBa2R13esXhTy8HY4bWJxwbR/Ai5lU69hz\r\nSyLyccjYGbs/G3tmNbtgiNwBtEVeOJ8EHd3zJX9pVqkuXjj9wM8YNUX1qGoT\r\n3jEcP36DDjqN8GsoI1JtnctCZ8uH9qjh2WJS8Ts4h8iVx3ySnZP8rnDKlMcb\r\nauV+FSCPYKbI2rjDtBWEhOpQzvGghGLS5enyQLKZ+TF9GqfaA9P5Y/d6WQwx\r\nIcf1ucqxBoPKEvkOpRr+Ao64JMQibv3NbVVpOy4+5Viiq77vQ3FXD0hODNKG\r\nYvrYr4Z38qPLHxqxp/EaDw4rVd9p0GCJc+lQOrhf7U3loMOHYiFKxRqRZkeC\r\n8lppH5hjVxVMp2/9rFmXe0Dyewx4HG5EEgtURbwHDFUtKMsUTN0ET3KmUeww\r\nxUw/CQEqJ5AcfMMwyq0Ld+8odSWdUFdH0LQ=\r\n=K4yZ\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"maintainers":[{"name":"drsteini-usgs","email":"drsteini@contractor.usgs.gov"},{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},{"name":"mbucknell-usgs","email":"mbucknell@usgs.gov"},{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_3.3.0-snapshot.c4a041b_1652904988448_0.3233266574588036"},"_hasShrinkwrap":false},"3.2.1":{"name":"wdfn-viz","version":"3.2.1","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:csswdfnall":"sass --load-path node_modules/@uswds/uswds/src/stylesheets --load-path node_modules/@uswds/uswds/packages src/stylesheets/wdfnviz-uswds-all.scss dist/wdfnviz-all.css && postcss dist/wdfnviz-all.css -o dist/wdfnviz-all.css","build:csswdfnviz":"sass --load-path node_modules/@uswds/uswds/src/stylesheets --load-path node_modules/@uswds/uswds/packages src/stylesheets/wdfnviz-header-footer.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/@uswds/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/@uswds/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/@uswds/uswds/dist/scss/* dist/sass","build:uswdsinit":"cp -r node_modules/@uswds/uswds/dist/js/uswds-init.min.* dist","clean":"rm -rf dist && mkdir dist","lint":"run-p lint:*","lint:cs":"stylelint src/stylesheets ","lint:js":"eslint src/js","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"jest --collectCoverage=true","test:debug":"node --inspect-brk node_modules/.bin/jest --runInBand","test:watch":"jest --watch","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://code.usgs.gov/wma/iow/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://code.usgs.gov/wma/iow/wdfn-viz/-/issues"},"homepage":"https://code.usgs.gov/wma/iow/wdfn-viz","engines":{"node":">= 12"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","devDependencies":{"@babel/preset-env":"7.18.2","@rollup/plugin-commonjs":"22.0.0","@rollup/plugin-node-resolve":"13.3.0","autoprefixer":"10.4.7","eslint":"8.18.0","eslint-plugin-jest":"26.5.3","jest":"28.1.1","jest-environment-jsdom":"28.1.1","live-server":"1.2.2","nodemon":"2.0.16","npm-run-all":"4.1.5","nunjucks":"3.2.3","nunjucks-cli":"1.0.0","postcss":"8.4.14","postcss-cli":"9.1.0","postcss-csso":"6.0.0","postcss-flexbugs-fixes":"5.0.2","rollup":"2.75.7","rollup-plugin-terser":"7.0.2","sass":"1.52.3","stylelint":"14.9.1","stylelint-config-recommended-scss":"6.0.0","stylelint-scss":"4.2.0"},"dependencies":{"@uswds/uswds":"3.0.2"},"gitHead":"3a7e4d7e99fafb60070bb831e305d129041924e5","_id":"wdfn-viz@3.2.1","_nodeVersion":"16.15.1","_npmVersion":"8.11.0","dist":{"integrity":"sha512-pQQHfHsa++sfj9AQVK08xXmm0gTkmOBMBuEO4Nq9HhFw0v08wr6DuD1F275b7rR6Sp7LTEX+UkDBU24bQLh7Ag==","shasum":"d62c35bff0eafa9956ceedbe4f57e3a52b028efe","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-3.2.1.tgz","fileCount":2698,"unpackedSize":8335244,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDYiHjmPVzrvg3wD+w66g9Lz3vUHg4pIAmMMvhqRIjEZgIgKSdnlva8G+QWAtEWX81AybGQCQ478k1VtlYPkEXB7H8="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJisd+qACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmopoQ/9ETDZXDX3gijqdaBogMcUzxfzvg79FBVuzNxaXThsUwD6Ztqr\r\nlRcm4WvuVLrJB8z48GleDyMSBtg9WnOarkxv3/utjvwvjUPj4Iu+hypYNbXT\r\nTlVkm8+sqs5X7e7GVrkBAqUT+mttUDYLGIbZfsJk5HlNjO662lyqFBuiYEaJ\r\nfdHYGQAUoyX5yguOmEylIckOIo9BzUEGSnwDyfBdBAkDni2zk0HOBesjzTCy\r\n6oknTDUMvqSwQCPiQ6Ihs2tdIN7G1XX5Y/PdQw49eAMADsVNXvS1Q/vL0jG0\r\nj+feNHJ7eBLNMIgLMvUJa/9Gk4k6XjbAk7a3QCHLT+qXbJGMUznbnJEpADuP\r\nw6tt0nnwnHlDpt8+m4sTupTEuxeu4aXj9qzG47Muz7xPSfOwp1lHaLuJoBxQ\r\nhpnLyIwbjIgNmPqWpOFO0znX0X7X78zG2ciLxtDKCdnBXD8wXUvfMhmlGjkE\r\njiWk7Wiyce/hLximuVJZffeLd03M8o9Fcc/P8S60dpzGICOztCqMuIgcTjba\r\nYyE9Bus+xLMfrQ9aIf8XBIVFj3DykWiQGgXDlexdjwD+u1VlX3gN3NN8pVwn\r\nnBs9MtDjqnWqa+jB2UEshe5H9t07igCtXppH6dR4LjnaUXrh4QRmnk/BHcu/\r\nwPzI6FAGU9CSVufcEbBe1ke0QQfnumETR50=\r\n=AKeW\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"maintainers":[{"name":"drsteini-usgs","email":"drsteini@contractor.usgs.gov"},{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},{"name":"mbucknell-usgs","email":"mbucknell@usgs.gov"},{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_3.2.1_1655824297764_0.04625347040371275"},"_hasShrinkwrap":false},"3.3.0-snapshot.d1ff35a":{"name":"wdfn-viz","version":"3.3.0-snapshot.d1ff35a","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:csswdfnall":"sass --load-path node_modules/@uswds/uswds/src/stylesheets --load-path node_modules/@uswds/uswds/packages src/stylesheets/wdfnviz-uswds-all.scss dist/wdfnviz-all.css && postcss dist/wdfnviz-all.css -o dist/wdfnviz-all.css","build:csswdfnviz":"sass --load-path node_modules/@uswds/uswds/src/stylesheets --load-path node_modules/@uswds/uswds/packages src/stylesheets/wdfnviz-header-footer.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/@uswds/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/@uswds/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/@uswds/uswds/dist/scss/* dist/sass","build:uswdsinit":"cp -r node_modules/@uswds/uswds/dist/js/uswds-init.min.* dist","clean":"rm -rf dist && mkdir dist","lint":"run-p lint:*","lint:cs":"stylelint src/stylesheets ","lint:js":"eslint src/js","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"jest --collectCoverage=true","test:debug":"node --inspect-brk node_modules/.bin/jest --runInBand","test:watch":"jest --watch","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://code.usgs.gov/wma/iow/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://code.usgs.gov/wma/iow/wdfn-viz/-/issues"},"homepage":"https://code.usgs.gov/wma/iow/wdfn-viz","engines":{"node":">= 12"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","devDependencies":{"@babel/preset-env":"7.18.2","@rollup/plugin-commonjs":"22.0.0","@rollup/plugin-node-resolve":"13.3.0","autoprefixer":"10.4.7","eslint":"8.18.0","eslint-plugin-jest":"26.5.3","jest":"28.1.1","jest-environment-jsdom":"28.1.1","live-server":"1.2.2","nodemon":"2.0.16","npm-run-all":"4.1.5","nunjucks":"3.2.3","nunjucks-cli":"1.0.0","postcss":"8.4.14","postcss-cli":"9.1.0","postcss-csso":"6.0.0","postcss-flexbugs-fixes":"5.0.2","rollup":"2.75.7","rollup-plugin-terser":"7.0.2","sass":"1.52.3","stylelint":"14.9.1","stylelint-config-recommended-scss":"6.0.0","stylelint-scss":"4.2.0"},"dependencies":{"@uswds/uswds":"3.0.2"},"gitHead":"d1ff35a218667250b9e989353c3d1018e69ad305","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![pipeline status](https://code.usgs.gov/wma/iow/wdfn-viz/badges/main/pipeline.svg)](https://code.usgs.gov/wma/iow/wdfn-viz/-/commits/main)\n[![coverage report](https://code.usgs.gov/wma/iow/wdfn-viz/badges/main/coverage.svg)](https://code.usgs.gov/wma/iow/wdfn-viz/-/commits/main)\n\nWDFN Viz provides stylesheets, fonts and images that can be used when creating web pages that can be used to meet USGS visual identity standards. You can choose either to use a prebuilt css stylesheet or build your own app specific style sheet by starting with the available Sass style sheets. The repo as provides a javacript bundle which includes the USWDS javascript along with a load function that can be used to include your application's custom javascript. The stylesheets and javascript bundles use the US Web Design System (USWDS).\n\n## Installation\nBefore starting we recommend becoming familiar with [USWDS](https://designsystem.digital.gov/)\nThis package can be installed in an existing project by installing via npm.\n```bash\nnpm install wdfn-viz --save-exact\n```\nWe recommend pinning the version of wdfn-viz in your package.json. We try to update this package everytime USWDS publishes a new version. Changes will be recorded in [CHANGELOG.md](https://code.usgs.gov/wma/iow/wdfn-viz/-/blob/main/CHANGELOG.md). Before updating to a new version of wdfn-viz we recommend checking the release notes for the corresponding updated version of USWDS (if it has been updated).\n\nTo install the latest development snapshot (containing the current state of the master branch):\n```bash\nnpm install wdfn-viz@snapshot\n```\n\n## Usage\nThe package provides both style sheets and javascript that must be used in order for your markup to work as desired. Below are instructions on how to include these in your html markup.\n\n### Using the prebuilt css files\nIf your project is not building stylesheets using Sass and you would rather just load a prebuilt style sheet, then we have two options. If you want to automatically include all of USWDS, then load the wdfnviz-all.css. Doing this allows your page to use USWDS markup and utility classes and if you are not building your own style sheets we *strongly* recommend that you use this. \n\nIf your project only needs to use the USGS/USWDS headers, navigation and footers and will not be using USWDS for the rest of the markup, you can use the second style sheet, wdfnviz.css, which includes only the USWDS style needed to style the header, navigation, and footer. \n\nOnce you choose which prebuilt style sheet to use, place the chosen style sheet from ```./node_modules/wdfn-viz/dist/``` in the directory where your assets are served and add a link tag to your markup in the header.\n\n### Using the Sass files to build a custom style sheet\nWe recommend building the stylesheets with Dart sass (npm install sass). Please note that the use of @import is now deprecated in favor of using the @use syntax to include Sass files. The main wdfn-viz Sass stylesheet should be included (using @use 'wdfnviz') in the application's Sass file.\n\nIn order to use USWDS mixins and variables you will need to add '```@use uswds``` or if you want to optimize your stylesheet to include only the parts of USWDS that you need then use the ```@forward``` directive to include the parts of USWDS that you need. The [USWDS 3.0.0 migration guide](https://designsystem.digital.gov/documentation/migration/), part 6 has a wealth of information that will help guide you to what needs to be done based on the needs of your application.\n\nYou will also likely need to at least set some of the USWDS theme variables. The most common ones that will need to be set are $theme-font-path and $theme-image-path. These need to be set relative to where the assets are served, typically your dist directory. Below are two examples of setting these theme variables. Others would go in the same section\n\nFor example to automatically include all of  USWDS components, mixins, variables, and utility classes:\n```scss\n@use 'uswds-core' with (\n  $theme-font-path: './fonts',\n  $theme-image-path: './img'\n);\n@use 'wdfnviz';\n@use 'uswds';\n#main-content {\n    @include uswds.grid-container;\n}\n```\nIf you choose to optimize your build then you would write something like this:\n```scss\n//The line below sets the namespace to uswds, sets any USWDS theme variables and allows access to USWDS variables and mixins\n@use 'uswds-core' as uswds with (\n  $theme-font-path: './fonts',\n  $theme-image-path: './img'\n);\n@use 'wdfnviz';\n\n// Add @forward for those parts of USWDS that you need. You do not need to repeat the ones in src/styles/wdfnviz.scss but it is not harmful to do so.\n@forward 'usa-alert';\n@forward 'usa-list';\n```\nWhen building the style sheet these three directories, ```node_modules/wdfn-viz/dist/sass```, ```node_modules/@uswds/uswds/src/stylesheets```, and ```node_modules/@uswds/uswds/packages```, should be\nspecified on the --load-path option along with the need USWDS style sheets. \n\nOnce a stylesheet is produced, it should be further processed by postcss using autoprefixer and postcss-csso using a postcss.config.js file:\n```javascript\nconst autoprefixerOptions = [\n    '> 2%',\n    'Last 2 versions',\n    'IE 11',\n    'not dead'\n];\n\nmodule.exports = ctx => ({\n    map: Object.assign({}, ctx.options.map, {inline: false}),\n    parser: ctx.options.parser,\n    plugins: {\n        autoprefixer: autoprefixerOptions,\n        'postcss-csso': {\n            forceMediaMerge: false\n        }\n    }\n});\n```\nYou may also want to include postcss-flexbugs-fixes plugin as is done for building wdfn-viz.\n\nBelow is an example of the process:\n```\n% sass --load-path node_modules/wdfn-viz/dist/sass --load-path node_modules/@uswds/uswds/src/stylesheets --load-path node_modules/@uswds/uswds/packages src/styles.main.css dist/main.css\n% postcss dist/main.css  -o dist/main.css\n```\n\nPostcss generates internal sourcemaps by default. You may want to consider using the --map option to create external map files\nor if you want to minimize your css assets, you may want to disable entirely by using --no-map\n\n### Collecting the images and fonts\nWhen building the assets, the images should be collected in a directory, 'img', that is the at the same place where your final style sheet resides (typically a dist directory). This should include the images in wdfn-viz/src/img that provide the USGS favicon,\nlogos and USWDS images. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nThe fonts should also be collected in a directory, 'fonts', that is in the same place where your final style sheet resides (typically a dist directory). Below are examples of commands that could be used to collect the image and font assets.\n```\n% mkdir -p dist/img && cp -r node_modules/wdfn-viz/dist/img/* dist/img\n% mkdir -p dist/fonts && cp -r node_modules/wdfn-viz/dist/fonts/* dist/fonts\n```\n### Including uswds-init.min.js\nRegardless of whether you are using the prebuilt javascript bundle or will be bundling your own javascript with wdfn-viz, you will need to load, ```uswds-init.min.js```. This should be loaded before loading your style sheet within the <head> tag. You will need to copy the file, located at node_modules/wdfn-viz/uswds-init.min.js, to the directory where your assets are served. Below is an example (where you would use a prebuilt style sheet or your sass generated style sheet) \n```html\n<head>\n    <script src=\"uswds-init.min.js\"></script>\n    <link rel=\"stylesheet\" href=\"wdfnviz-all.css\"\n</head>\n```\n\n### Building custom javascript bundle\nThe javascript should be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined. In order to use, a loading function should be defined which will be executed \nwhen the page loads. Below is a simple example:\n```javascript\nimport wdfnviz from 'wdfn-viz';\n\nconst load = function () {\n    null;  // Add code that should get executed when the page is loaded\n}\n\nwdfnviz.main(load);\n```\nThe javascript bundle that is created (which will contain your project specific javascript as well as the USWDS javascript) should be loaded inside the body tag. We recommend that this is done as the last tag in the body. \n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos. This includes the script for ```uswds-init.min.js``` which should be retrieved before loading the css files as is done in the example header.html.\n\n### Using prebuilt javascript bundle\nIn order for some USWDS components to work as expected including the header, you must include the prebuilt javascript bundle if you are not building your own javascript bundle. Simply copy the prebuilt bundle, ```node_modules/wdfnviz/dist/wdfnviz.js``` to the directory where your assets are served and add the script to the body tag in your markup, preferably as the last tag before the body tag is closed.\n\n## Publishing this repo to npm\n\nGitlab CI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when merging commits to the `main` branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://code.usgs.gov/wma/iow/wdfn-viz/-/blob/main/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit. Generally, once a release is published, the version number should be incremented to the next minor release number with `-snapshot` appended and the change committed to the `main` branch.\n","readmeFilename":"README.md","_id":"wdfn-viz@3.3.0-snapshot.d1ff35a","_nodeVersion":"16.15.1","_npmVersion":"8.11.0","dist":{"integrity":"sha512-4JStfvS/aZ4VFCERpafywblhzJtG+KeEIJb0xoOs58Jqb0QwLSoBhntIKDr20S3/Clucih2Ox9R7nRMZXLVfhA==","shasum":"09d5fcd28a3a3aa1f14666845c6de3a68fd987e0","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-3.3.0-snapshot.d1ff35a.tgz","fileCount":2698,"unpackedSize":8335261,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDAk5CrXGIC9oAE9WqxdFiFslsM+iOatngTid5w+oTD0AiEApzAjhzeB7SI2yfTb+B9mLJe6lAqCt658MtY4Toz/qmI="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiseQ5ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmonZhAAgUDpksZ3OYCkQanOtmKm66L3gpOE34f1w1oZ4VjoKQGYOAfT\r\nj9168RKDUBWbVuDkYOV803C4VF+x8ltDA+UQt5Gx3MsY9YnA7PjGb7gPVACf\r\n4doZknBRWCzXk4CTjt6b02qStxP9uTyI83CCquT/LtmmzrQL7LcaI974fJph\r\nPdvnlOhvOr84pwweRZEc9nqxlOTJThZNDepKSldU3GfZzrDaRnYJnH6K/upm\r\nD4ZrvWkP8U7MdCfVoXSh48UbNWiLUYamvafVoaZCvnsuYdqftoz4W29O8KZ4\r\n9iBfXXpgb2Oa+Jx+d+KJ+I7QYM8ZAhN3ZJa1fJjxf1Oo3O3t5KV3gv5sTAdv\r\nzRDaS5acVkiNO5Ky3o62rL67Wve7U0qq2+hGDjLiEoCYHMa1d1+WlyivRnzq\r\ngk9BD9aHDo24CcGS2GGUcu87dA/+w48LziSUlVwZTkWtNfEXSn2gcD1h2m+h\r\nRCS6uacFcS04SSKZbrGcPnJFDf7JczPE9AofNccH9UPf9+AN3q+C5gcMWzRE\r\ndRdqRU8dFKmxAS/71Jk9179blSQuQ8Hyd2fqzpXWDax6Pi5G9zRJLXKIGJ4w\r\n6JsQ3ePogwhOO27zQoRAQ6yNdjCD5eyhzIZvNpKJrrSWXhFzLPsvIt1WtwpT\r\n1fRZiFCYko/MvJ3Cy6RaXP3E/Qrs4aFRyk8=\r\n=hHzx\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"maintainers":[{"name":"drsteini-usgs","email":"drsteini@contractor.usgs.gov"},{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},{"name":"mbucknell-usgs","email":"mbucknell@usgs.gov"},{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_3.3.0-snapshot.d1ff35a_1655825465130_0.8256827402165015"},"_hasShrinkwrap":false},"3.3.0":{"name":"wdfn-viz","version":"3.3.0","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:csswdfnall":"sass --load-path node_modules/@uswds/uswds/src/stylesheets --load-path node_modules/@uswds/uswds/packages src/stylesheets/wdfnviz-uswds-all.scss dist/wdfnviz-all.css && postcss dist/wdfnviz-all.css -o dist/wdfnviz-all.css","build:csswdfnviz":"sass --load-path node_modules/@uswds/uswds/src/stylesheets --load-path node_modules/@uswds/uswds/packages src/stylesheets/wdfnviz-header-footer.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/@uswds/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/@uswds/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/@uswds/uswds/dist/scss/* dist/sass","build:uswdsinit":"cp -r node_modules/@uswds/uswds/dist/js/uswds-init.min.* dist","clean":"rm -rf dist && mkdir dist","lint":"run-p lint:*","lint:cs":"stylelint src/stylesheets ","lint:js":"eslint src/js","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"jest --collectCoverage=true","test:debug":"node --inspect-brk node_modules/.bin/jest --runInBand","test:watch":"jest --watch","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://code.usgs.gov/wma/iow/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://code.usgs.gov/wma/iow/wdfn-viz/-/issues"},"homepage":"https://code.usgs.gov/wma/iow/wdfn-viz","engines":{"node":">= 12"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","devDependencies":{"@babel/preset-env":"7.18.10","@rollup/plugin-commonjs":"22.0.2","@rollup/plugin-node-resolve":"13.3.0","autoprefixer":"10.4.8","eslint":"8.21.0","eslint-plugin-jest":"26.8.2","jest":"28.1.3","jest-environment-jsdom":"28.1.3","live-server":"1.2.2","nodemon":"2.0.19","npm-run-all":"4.1.5","nunjucks":"3.2.3","nunjucks-cli":"1.0.0","postcss":"8.4.16","postcss-cli":"10.0.0","postcss-csso":"6.0.1","postcss-flexbugs-fixes":"5.0.2","rollup":"2.77.3","rollup-plugin-terser":"7.0.2","sass":"1.54.4","stylelint":"14.10.0","stylelint-config-recommended-scss":"7.0.0","stylelint-scss":"4.3.0"},"dependencies":{"@uswds/uswds":"3.1.0"},"gitHead":"fd12f89633ee297bfd435334d4f4f8e3667a12d1","_id":"wdfn-viz@3.3.0","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-bNBQQZUiUT4Ef7VwmHqeX0CW+05r0T+ks3vhAr78vZw/Ofnj9YcqhU8mt4HcNo6OInmcTITycipHF4ZjRuyDlQ==","shasum":"38ff96f5dba742beb530d8b5f441a18e6cbb95c2","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-3.3.0.tgz","fileCount":2701,"unpackedSize":7827187,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCAQn38geHm6jDMcfeQ07PhUQeDOn15YG6R8hiAizo6TwIhAP7Va4mSGAQa5yyhMjc/cgG0EJmSyODI7wCjx/GYvqEh"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi9pt5ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoKHg//Sfm09usBrmx0s6ixFTfRYYucl38AWg4kglnlmUP6uWZtiz21\r\nkF/SH7TA3LkGH2O4gINGP/A/DX9Bh9gWMcU1zFwT6zoOunLpb0xnbdbJMjEm\r\nmYptSiqyxhwMlPUWm4laalaANowBm1M6xKVxHUlBK0tIzEEETkkmuWge5q+F\r\nnGe75NgPnH1ZX0D6UJy0jwB8WwkudREa47ZwmRL1a5FApPOkxNATHnpZtyfK\r\nL5hF6ZlQ4wixanIPKZsjfIU9iDVeFkJHsYikGds2rjkyhchHQzAkY6iPQ9Ij\r\ni4X3j9DJw5mxgYScKEW3/g9A0bbIzHMj9r9uubdb7cbA5ELVDXuTihoU7gJ6\r\nLS2HRf6qOvp1oCJXCOIszxzlN0IJU7aIm/z+EQDldMBxPsWFrttrEM9OYrMb\r\nqHm85KgsubWFkad3FCuLqOB06AdnJupC3k/VPf1gubC6mMpxFhUMIqneIQ+M\r\n5BJxw4wKNwo5mRwg7RLWYHHOruEGcOTDZT3HeP3s5GVbRPyzyhGAqeucuESV\r\nhDyy1ePlbDAiC1AAc4RDUPTRoVuzhmSE389w48GoLJCYN9NTuaoMpKCVAdiU\r\nz8tOA3ZuuKmJBjwFbWFbmFMISpswT8LDgSrbzDiK0PRQOK9EWC2n3I2nKjeH\r\nSi9cW6J2Z+8rFm9uyzObHNGyzLlikRRB4Po=\r\n=VClf\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"maintainers":[{"name":"drsteini-usgs","email":"drsteini@contractor.usgs.gov"},{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},{"name":"mbucknell-usgs","email":"mbucknell@usgs.gov"},{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_3.3.0_1660328824891_0.43696624636907266"},"_hasShrinkwrap":false},"3.4.0-snapshot.a51e019":{"name":"wdfn-viz","version":"3.4.0-snapshot.a51e019","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:csswdfnall":"sass --load-path node_modules/@uswds/uswds/src/stylesheets --load-path node_modules/@uswds/uswds/packages src/stylesheets/wdfnviz-uswds-all.scss dist/wdfnviz-all.css && postcss dist/wdfnviz-all.css -o dist/wdfnviz-all.css","build:csswdfnviz":"sass --load-path node_modules/@uswds/uswds/src/stylesheets --load-path node_modules/@uswds/uswds/packages src/stylesheets/wdfnviz-header-footer.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/@uswds/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/@uswds/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/@uswds/uswds/dist/scss/* dist/sass","build:uswdsinit":"cp -r node_modules/@uswds/uswds/dist/js/uswds-init.min.* dist","clean":"rm -rf dist && mkdir dist","lint":"run-p lint:*","lint:cs":"stylelint src/stylesheets ","lint:js":"eslint src/js","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"jest --collectCoverage=true","test:debug":"node --inspect-brk node_modules/.bin/jest --runInBand","test:watch":"jest --watch","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://code.usgs.gov/wma/iow/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://code.usgs.gov/wma/iow/wdfn-viz/-/issues"},"homepage":"https://code.usgs.gov/wma/iow/wdfn-viz","engines":{"node":">= 12"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","devDependencies":{"@babel/preset-env":"7.18.10","@rollup/plugin-commonjs":"22.0.2","@rollup/plugin-node-resolve":"13.3.0","autoprefixer":"10.4.8","eslint":"8.21.0","eslint-plugin-jest":"26.8.2","jest":"28.1.3","jest-environment-jsdom":"28.1.3","live-server":"1.2.2","nodemon":"2.0.19","npm-run-all":"4.1.5","nunjucks":"3.2.3","nunjucks-cli":"1.0.0","postcss":"8.4.16","postcss-cli":"10.0.0","postcss-csso":"6.0.1","postcss-flexbugs-fixes":"5.0.2","rollup":"2.77.3","rollup-plugin-terser":"7.0.2","sass":"1.54.4","stylelint":"14.10.0","stylelint-config-recommended-scss":"7.0.0","stylelint-scss":"4.3.0"},"dependencies":{"@uswds/uswds":"3.1.0"},"gitHead":"a51e0197551ebf0b34a369ef5658fd4853281b58","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![pipeline status](https://code.usgs.gov/wma/iow/wdfn-viz/badges/main/pipeline.svg)](https://code.usgs.gov/wma/iow/wdfn-viz/-/commits/main)\n[![coverage report](https://code.usgs.gov/wma/iow/wdfn-viz/badges/main/coverage.svg)](https://code.usgs.gov/wma/iow/wdfn-viz/-/commits/main)\n\nWDFN Viz provides stylesheets, fonts and images that can be used when creating web pages that can be used to meet USGS visual identity standards. You can choose either to use a prebuilt css stylesheet or build your own app specific style sheet by starting with the available Sass style sheets. The repo as provides a javacript bundle which includes the USWDS javascript along with a load function that can be used to include your application's custom javascript. The stylesheets and javascript bundles use the US Web Design System (USWDS).\n\n## Installation\nBefore starting we recommend becoming familiar with [USWDS](https://designsystem.digital.gov/)\nThis package can be installed in an existing project by installing via npm.\n```bash\nnpm install wdfn-viz --save-exact\n```\nWe recommend pinning the version of wdfn-viz in your package.json. We try to update this package everytime USWDS publishes a new version. Changes will be recorded in [CHANGELOG.md](https://code.usgs.gov/wma/iow/wdfn-viz/-/blob/main/CHANGELOG.md). Before updating to a new version of wdfn-viz we recommend checking the release notes for the corresponding updated version of USWDS (if it has been updated).\n\nTo install the latest development snapshot (containing the current state of the master branch):\n```bash\nnpm install wdfn-viz@snapshot\n```\n\n## Usage\nThe package provides both style sheets and javascript that must be used in order for your markup to work as desired. Below are instructions on how to include these in your html markup.\n\n### Using the prebuilt css files\nIf your project is not building stylesheets using Sass and you would rather just load a prebuilt style sheet, then we have two options. If you want to automatically include all of USWDS, then load the wdfnviz-all.css. Doing this allows your page to use USWDS markup and utility classes and if you are not building your own style sheets we *strongly* recommend that you use this. \n\nIf your project only needs to use the USGS/USWDS headers, navigation and footers and will not be using USWDS for the rest of the markup, you can use the second style sheet, wdfnviz.css, which includes only the USWDS style needed to style the header, navigation, and footer. \n\nOnce you choose which prebuilt style sheet to use, place the chosen style sheet from ```./node_modules/wdfn-viz/dist/``` in the directory where your assets are served and add a link tag to your markup in the header.\n\n### Using the Sass files to build a custom style sheet\nWe recommend building the stylesheets with Dart sass (npm install sass). Please note that the use of @import is now deprecated in favor of using the @use syntax to include Sass files. The main wdfn-viz Sass stylesheet should be included (using @use 'wdfnviz') in the application's Sass file.\n\nIn order to use USWDS mixins and variables you will need to add '```@use uswds``` or if you want to optimize your stylesheet to include only the parts of USWDS that you need then use the ```@forward``` directive to include the parts of USWDS that you need. The [USWDS 3.0.0 migration guide](https://designsystem.digital.gov/documentation/migration/), part 6 has a wealth of information that will help guide you to what needs to be done based on the needs of your application.\n\nYou will also likely need to at least set some of the USWDS theme variables. The most common ones that will need to be set are $theme-font-path and $theme-image-path. These need to be set relative to where the assets are served, typically your dist directory. Below are two examples of setting these theme variables. Others would go in the same section\n\nFor example to automatically include all of  USWDS components, mixins, variables, and utility classes:\n```scss\n@use 'uswds-core' with (\n  $theme-font-path: './fonts',\n  $theme-image-path: './img'\n);\n@use 'wdfnviz';\n@use 'uswds';\n#main-content {\n    @include uswds.grid-container;\n}\n```\nIf you choose to optimize your build then you would write something like this:\n```scss\n//The line below sets the namespace to uswds, sets any USWDS theme variables and allows access to USWDS variables and mixins\n@use 'uswds-core' as uswds with (\n  $theme-font-path: './fonts',\n  $theme-image-path: './img'\n);\n@use 'wdfnviz';\n\n// Add @forward for those parts of USWDS that you need. You do not need to repeat the ones in src/styles/wdfnviz.scss but it is not harmful to do so.\n@forward 'usa-alert';\n@forward 'usa-list';\n```\nWhen building the style sheet these three directories, ```node_modules/wdfn-viz/dist/sass```, ```node_modules/@uswds/uswds/src/stylesheets```, and ```node_modules/@uswds/uswds/packages```, should be\nspecified on the --load-path option along with the need USWDS style sheets. \n\nOnce a stylesheet is produced, it should be further processed by postcss using autoprefixer and postcss-csso using a postcss.config.js file:\n```javascript\nconst autoprefixerOptions = [\n    '> 2%',\n    'Last 2 versions',\n    'IE 11',\n    'not dead'\n];\n\nmodule.exports = ctx => ({\n    map: Object.assign({}, ctx.options.map, {inline: false}),\n    parser: ctx.options.parser,\n    plugins: {\n        autoprefixer: autoprefixerOptions,\n        'postcss-csso': {\n            forceMediaMerge: false\n        }\n    }\n});\n```\nYou may also want to include postcss-flexbugs-fixes plugin as is done for building wdfn-viz.\n\nBelow is an example of the process:\n```\n% sass --load-path node_modules/wdfn-viz/dist/sass --load-path node_modules/@uswds/uswds/src/stylesheets --load-path node_modules/@uswds/uswds/packages src/styles.main.css dist/main.css\n% postcss dist/main.css  -o dist/main.css\n```\n\nPostcss generates internal sourcemaps by default. You may want to consider using the --map option to create external map files\nor if you want to minimize your css assets, you may want to disable entirely by using --no-map\n\n### Collecting the images and fonts\nWhen building the assets, the images should be collected in a directory, 'img', that is the at the same place where your final style sheet resides (typically a dist directory). This should include the images in wdfn-viz/src/img that provide the USGS favicon,\nlogos and USWDS images. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nThe fonts should also be collected in a directory, 'fonts', that is in the same place where your final style sheet resides (typically a dist directory). Below are examples of commands that could be used to collect the image and font assets.\n```\n% mkdir -p dist/img && cp -r node_modules/wdfn-viz/dist/img/* dist/img\n% mkdir -p dist/fonts && cp -r node_modules/wdfn-viz/dist/fonts/* dist/fonts\n```\n### Including uswds-init.min.js\nRegardless of whether you are using the prebuilt javascript bundle or will be bundling your own javascript with wdfn-viz, you will need to load, ```uswds-init.min.js```. This should be loaded before loading your style sheet within the <head> tag. You will need to copy the file, located at node_modules/wdfn-viz/uswds-init.min.js, to the directory where your assets are served. Below is an example (where you would use a prebuilt style sheet or your sass generated style sheet) \n```html\n<head>\n    <script src=\"uswds-init.min.js\"></script>\n    <link rel=\"stylesheet\" href=\"wdfnviz-all.css\"\n</head>\n```\n\n### Building custom javascript bundle\nThe javascript should be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined. In order to use, a loading function should be defined which will be executed \nwhen the page loads. Below is a simple example:\n```javascript\nimport wdfnviz from 'wdfn-viz';\n\nconst load = function () {\n    null;  // Add code that should get executed when the page is loaded\n}\n\nwdfnviz.main(load);\n```\nThe javascript bundle that is created (which will contain your project specific javascript as well as the USWDS javascript) should be loaded inside the body tag. We recommend that this is done as the last tag in the body. \n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos. This includes the script for ```uswds-init.min.js``` which should be retrieved before loading the css files as is done in the example header.html.\n\n### Using prebuilt javascript bundle\nIn order for some USWDS components to work as expected including the header, you must include the prebuilt javascript bundle if you are not building your own javascript bundle. Simply copy the prebuilt bundle, ```node_modules/wdfnviz/dist/wdfnviz.js``` to the directory where your assets are served and add the script to the body tag in your markup, preferably as the last tag before the body tag is closed.\n\n## Publishing this repo to npm\n\nGitlab CI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when merging commits to the `main` branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://code.usgs.gov/wma/iow/wdfn-viz/-/blob/main/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit. Generally, once a release is published, the version number should be incremented to the next minor release number with `-snapshot` appended and the change committed to the `main` branch.\n","readmeFilename":"README.md","_id":"wdfn-viz@3.4.0-snapshot.a51e019","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-dROOvzvP29ga75NBz3/6juiSW50aK7DJ+/DzvP9tYVOtbP4rxJgp1UQT0b6J13ZaQUFD3a+gGpBTx+O2WA8Wgw==","shasum":"88d4bed952fd372094dac766eb05404bacdb2dfe","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-3.4.0-snapshot.a51e019.tgz","fileCount":2701,"unpackedSize":7827204,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBLPigYjT10dVbSnUGqXJG6vupJNpgcn4GinsS+Lov1yAiEA3fXTd9h2607/3HC+BvznOTaJ+PyddlyU9ooAs4tQHSU="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi9qARACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo3PQ//S/rjYRhED3pKXHgYydUimRWEU29zK6NyuKAWh6/qJ2J4GWSh\r\ntSXNKtx4qtDdo5+IYSO9SdHW7Wc4e9BbFuDwDtvy8yNdafa0pcc4IjsJKZoD\r\n7ptsILUFuCjvaQKx6ksR1pUyLkx5lae1JTsN8rsX9w6yxDizHD1sCZPIx/NU\r\nVp/7OyxOtKdJHQ6KWnkSYf159M41P0NT7EjiiRwwkZYjlssV4rZUjpMQLVul\r\n123DbF6IShv6CfCMNXKc0q5831DidE6w15s4uxFWCW14wTrkDEuE6kPqL41v\r\n0PVgXG+8l0eXjw/uuOdG2XUsax34I+ofQsqGe4Rwuq9/aVvg+SN7OO3Eb4hE\r\nC50U9K3lnanK4w3PSBkJ2sDlnHLe4gatooYzXZscozt3qQKqHlZWBdKqC9zq\r\nyoSUezBcR7H/OzWEspcRADvSdWFGSJMlGAjU9Gs+2rZJf7lgh0aWZh6aMHtw\r\nfFbPP3f17vwObUGutWHsxe26eqr6CslvYpE/tRt4pGQcyu8WrgcZzUUN+z4f\r\nHnFtOl3wLtCu3RT31+O4B2adNQfUs9CH/dw7RtFa3D4tLoRRAJiFLdGSxXRv\r\nSJQ8mPdpPKBqYmIqEoHByjXSmiWDxD1FimUIr7UCSRftsxm3fJoJKvZECsdd\r\nP3iPx8E1Vdb4ImsxV9daIoY1sbx89uS7fWc=\r\n=iJ2Y\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"maintainers":[{"name":"drsteini-usgs","email":"drsteini@contractor.usgs.gov"},{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},{"name":"mbucknell-usgs","email":"mbucknell@usgs.gov"},{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_3.4.0-snapshot.a51e019_1660330001042_0.5529165308238846"},"_hasShrinkwrap":false},"3.4.0-snapshot.4784c0a":{"name":"wdfn-viz","version":"3.4.0-snapshot.4784c0a","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:csswdfnall":"sass --load-path node_modules/@uswds/uswds/src/stylesheets --load-path node_modules/@uswds/uswds/packages src/stylesheets/wdfnviz-uswds-all.scss dist/wdfnviz-all.css && postcss dist/wdfnviz-all.css -o dist/wdfnviz-all.css","build:csswdfnviz":"sass --load-path node_modules/@uswds/uswds/src/stylesheets --load-path node_modules/@uswds/uswds/packages src/stylesheets/wdfnviz-header-footer.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/@uswds/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/@uswds/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/@uswds/uswds/dist/scss/* dist/sass","build:uswdsinit":"cp -r node_modules/@uswds/uswds/dist/js/uswds-init.min.* dist","clean":"rm -rf dist && mkdir dist","lint":"run-p lint:*","lint:cs":"stylelint src/stylesheets ","lint:js":"eslint src/js","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"jest --collectCoverage=true","test:debug":"node --inspect-brk node_modules/.bin/jest --runInBand","test:watch":"jest --watch","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://code.usgs.gov/wma/iow/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://code.usgs.gov/wma/iow/wdfn-viz/-/issues"},"homepage":"https://code.usgs.gov/wma/iow/wdfn-viz","engines":{"node":">= 12"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","devDependencies":{"@babel/preset-env":"7.19.0","@rollup/plugin-commonjs":"22.0.2","@rollup/plugin-node-resolve":"14.1.0","autoprefixer":"10.4.9","eslint":"8.23.1","eslint-plugin-jest":"27.0.4","jest":"29.0.3","jest-environment-jsdom":"29.0.3","live-server":"1.2.2","nodemon":"2.0.19","npm-run-all":"4.1.5","nunjucks":"3.2.3","nunjucks-cli":"1.0.0","postcss":"8.4.16","postcss-cli":"10.0.0","postcss-csso":"6.0.1","postcss-flexbugs-fixes":"5.0.2","rollup":"2.79.0","rollup-plugin-terser":"7.0.2","sass":"1.54.9","stylelint":"14.11.0","stylelint-config-recommended-scss":"7.0.0","stylelint-scss":"4.3.0"},"dependencies":{"@uswds/uswds":"3.1.0"},"gitHead":"4784c0aa4a4faa3f1b82a9b3ba976d9a527a59db","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![pipeline status](https://code.usgs.gov/wma/iow/wdfn-viz/badges/main/pipeline.svg)](https://code.usgs.gov/wma/iow/wdfn-viz/-/commits/main)\n[![coverage report](https://code.usgs.gov/wma/iow/wdfn-viz/badges/main/coverage.svg)](https://code.usgs.gov/wma/iow/wdfn-viz/-/commits/main)\n\nWDFN Viz provides stylesheets, fonts and images that can be used when creating web pages that can be used to meet USGS visual identity standards. You can choose either to use a prebuilt css stylesheet or build your own app specific style sheet by starting with the available Sass style sheets. The repo as provides a javacript bundle which includes the USWDS javascript along with a load function that can be used to include your application's custom javascript. The stylesheets and javascript bundles use the US Web Design System (USWDS).\n\n## Installation\nBefore starting we recommend becoming familiar with [USWDS](https://designsystem.digital.gov/)\nThis package can be installed in an existing project by installing via npm.\n```bash\nnpm install wdfn-viz --save-exact\n```\nWe recommend pinning the version of wdfn-viz in your package.json. We try to update this package everytime USWDS publishes a new version. Changes will be recorded in [CHANGELOG.md](https://code.usgs.gov/wma/iow/wdfn-viz/-/blob/main/CHANGELOG.md). Before updating to a new version of wdfn-viz we recommend checking the release notes for the corresponding updated version of USWDS (if it has been updated).\n\nTo install the latest development snapshot (containing the current state of the master branch):\n```bash\nnpm install wdfn-viz@snapshot\n```\n\n## Usage\nThe package provides both style sheets and javascript that must be used in order for your markup to work as desired. Below are instructions on how to include these in your html markup.\n\n### Using the prebuilt css files\nIf your project is not building stylesheets using Sass and you would rather just load a prebuilt style sheet, then we have two options. If you want to automatically include all of USWDS, then load the wdfnviz-all.css. Doing this allows your page to use USWDS markup and utility classes and if you are not building your own style sheets we *strongly* recommend that you use this. \n\nIf your project only needs to use the USGS/USWDS headers, navigation and footers and will not be using USWDS for the rest of the markup, you can use the second style sheet, wdfnviz.css, which includes only the USWDS style needed to style the header, navigation, and footer. \n\nOnce you choose which prebuilt style sheet to use, place the chosen style sheet from ```./node_modules/wdfn-viz/dist/``` in the directory where your assets are served and add a link tag to your markup in the header.\n\n### Using the Sass files to build a custom style sheet\nWe recommend building the stylesheets with Dart sass (npm install sass). Please note that the use of @import is now deprecated in favor of using the @use syntax to include Sass files. The main wdfn-viz Sass stylesheet should be included (using @use 'wdfnviz') in the application's Sass file.\n\nIn order to use USWDS mixins and variables you will need to add '```@use uswds``` or if you want to optimize your stylesheet to include only the parts of USWDS that you need then use the ```@forward``` directive to include the parts of USWDS that you need. The [USWDS 3.0.0 migration guide](https://designsystem.digital.gov/documentation/migration/), part 6 has a wealth of information that will help guide you to what needs to be done based on the needs of your application.\n\nYou will also likely need to at least set some of the USWDS theme variables. The most common ones that will need to be set are $theme-font-path and $theme-image-path. These need to be set relative to where the assets are served, typically your dist directory. Below are two examples of setting these theme variables. Others would go in the same section\n\nFor example to automatically include all of  USWDS components, mixins, variables, and utility classes:\n```scss\n@use 'uswds-core' with (\n  $theme-font-path: './fonts',\n  $theme-image-path: './img'\n);\n@use 'wdfnviz';\n@use 'uswds';\n#main-content {\n    @include uswds.grid-container;\n}\n```\nIf you choose to optimize your build then you would write something like this:\n```scss\n//The line below sets the namespace to uswds, sets any USWDS theme variables and allows access to USWDS variables and mixins\n@use 'uswds-core' as uswds with (\n  $theme-font-path: './fonts',\n  $theme-image-path: './img'\n);\n@use 'wdfnviz';\n\n// Add @forward for those parts of USWDS that you need. You do not need to repeat the ones in src/styles/wdfnviz.scss but it is not harmful to do so.\n@forward 'usa-alert';\n@forward 'usa-list';\n```\nWhen building the style sheet these three directories, ```node_modules/wdfn-viz/dist/sass```, ```node_modules/@uswds/uswds/src/stylesheets```, and ```node_modules/@uswds/uswds/packages```, should be\nspecified on the --load-path option along with the need USWDS style sheets. \n\nOnce a stylesheet is produced, it should be further processed by postcss using autoprefixer and postcss-csso using a postcss.config.js file:\n```javascript\nconst autoprefixerOptions = [\n    '> 2%',\n    'Last 2 versions',\n    'IE 11',\n    'not dead'\n];\n\nmodule.exports = ctx => ({\n    map: Object.assign({}, ctx.options.map, {inline: false}),\n    parser: ctx.options.parser,\n    plugins: {\n        autoprefixer: autoprefixerOptions,\n        'postcss-csso': {\n            forceMediaMerge: false\n        }\n    }\n});\n```\nYou may also want to include postcss-flexbugs-fixes plugin as is done for building wdfn-viz.\n\nBelow is an example of the process:\n```\n% sass --load-path node_modules/wdfn-viz/dist/sass --load-path node_modules/@uswds/uswds/src/stylesheets --load-path node_modules/@uswds/uswds/packages src/styles.main.css dist/main.css\n% postcss dist/main.css  -o dist/main.css\n```\n\nPostcss generates internal sourcemaps by default. You may want to consider using the --map option to create external map files\nor if you want to minimize your css assets, you may want to disable entirely by using --no-map\n\n### Collecting the images and fonts\nWhen building the assets, the images should be collected in a directory, 'img', that is the at the same place where your final style sheet resides (typically a dist directory). This should include the images in wdfn-viz/src/img that provide the USGS favicon,\nlogos and USWDS images. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nThe fonts should also be collected in a directory, 'fonts', that is in the same place where your final style sheet resides (typically a dist directory). Below are examples of commands that could be used to collect the image and font assets.\n```\n% mkdir -p dist/img && cp -r node_modules/wdfn-viz/dist/img/* dist/img\n% mkdir -p dist/fonts && cp -r node_modules/wdfn-viz/dist/fonts/* dist/fonts\n```\n### Including uswds-init.min.js\nRegardless of whether you are using the prebuilt javascript bundle or will be bundling your own javascript with wdfn-viz, you will need to load, ```uswds-init.min.js```. This should be loaded before loading your style sheet within the <head> tag. You will need to copy the file, located at node_modules/wdfn-viz/uswds-init.min.js, to the directory where your assets are served. Below is an example (where you would use a prebuilt style sheet or your sass generated style sheet) \n```html\n<head>\n    <script src=\"uswds-init.min.js\"></script>\n    <link rel=\"stylesheet\" href=\"wdfnviz-all.css\"\n</head>\n```\n\n### Building custom javascript bundle\nThe javascript should be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined. In order to use, a loading function should be defined which will be executed \nwhen the page loads. Below is a simple example:\n```javascript\nimport wdfnviz from 'wdfn-viz';\n\nconst load = function () {\n    null;  // Add code that should get executed when the page is loaded\n}\n\nwdfnviz.main(load);\n```\nThe javascript bundle that is created (which will contain your project specific javascript as well as the USWDS javascript) should be loaded inside the body tag. We recommend that this is done as the last tag in the body. \n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos. This includes the script for ```uswds-init.min.js``` which should be retrieved before loading the css files as is done in the example header.html.\n\n### Using prebuilt javascript bundle\nIn order for some USWDS components to work as expected including the header, you must include the prebuilt javascript bundle if you are not building your own javascript bundle. Simply copy the prebuilt bundle, ```node_modules/wdfnviz/dist/wdfnviz.js``` to the directory where your assets are served and add the script to the body tag in your markup, preferably as the last tag before the body tag is closed.\n\n## Publishing this repo to npm\n\nGitlab CI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when merging commits to the `main` branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://code.usgs.gov/wma/iow/wdfn-viz/-/blob/main/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit. Generally, once a release is published, the version number should be incremented to the next minor release number with `-snapshot` appended and the change committed to the `main` branch.\n","readmeFilename":"README.md","_id":"wdfn-viz@3.4.0-snapshot.4784c0a","_nodeVersion":"16.17.0","_npmVersion":"8.15.0","dist":{"integrity":"sha512-SoWDA+ktFlcsybkhMkczN9kJ0tHyr5HQCFf4Il6dkEWTHKeSApIv4uvebj/oEP0dukYHmyp+4yBHFuM9jJAlMw==","shasum":"ede8fa10ab7f31132df14c4469169c228cb86430","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-3.4.0-snapshot.4784c0a.tgz","fileCount":2701,"unpackedSize":7827203,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFw+yLJ9h4enL3gl4EC3Mz++dE2Uwb4xSpR2DyuQ3rtvAiEApca3JTFrxmKjz18/6l6jOsmg5d9M27Ln/crdeStUKr8="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjH6nJACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrgVA/8ChCodtEqP57CIGn/1qt97Z1Hv96pWZhQFDUSiF7FFhLR0LZk\r\nVukYJ5a0YfU3MECHThx8Djt8ZN0rjlwMuysnIETRxG6l7HtCW/ZFVV5qbzK8\r\nww6spe/kKZDXGc0auPwS+1IlWAVYQM5qV2qsEUtpmaQPCml5oRlvRYtkLY9g\r\nyLHSMdYrdUyW0iw6MKCR/U+/WyKz6TMR449jhOq5wR1qMm3O3BllaLSW1RLI\r\n6PK7C2SB5q80lrWuquptQNceFfBQGwHcTVRN4eUyY/TWil1FBQbVxIv2HsT4\r\nSkn1nRWd2BZIzFyL3fwe84NK09rNCdtyhq26Z0UeWCU9b59Z0dh7RG55wxm3\r\nFMabGlB37sG/fOQMA/mc/R3mN+iAt1Hml0bxNFPD/xwLt+nWrCtlJKE47nal\r\nMEmpolBoxb5rw+pqJHFdhCLjzfo8kVJmgahRGHbW8rvbOHOwUK1lVJsW+DDd\r\nX+0KBnlC0MBSYgajfUhDrq+sUGIeC6jYhxG0bYbepum9hTDaGVRMk6sVwL/k\r\nClTq2VHmzE9ZwGFu/7kWM+hez6HZJ5XMvczo/WMwvhHkgLQnd5Xw/F8foJUG\r\niFPeCXtE7ktbexXZiLAgm6S6epMwvyDO9NXzVSvcbbYYSW4Gh8x2gXCNN91M\r\nKTzmNS6PnRxkXLETrKShKHGL/SPRlIKmpb8=\r\n=GbKW\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"maintainers":[{"name":"drsteini-usgs","email":"drsteini@contractor.usgs.gov"},{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},{"name":"mbucknell-usgs","email":"mbucknell@usgs.gov"},{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_3.4.0-snapshot.4784c0a_1663019465285_0.597684371449259"},"_hasShrinkwrap":false},"3.4.0":{"name":"wdfn-viz","version":"3.4.0","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:csswdfnall":"sass --load-path node_modules/@uswds/uswds/src/stylesheets --load-path node_modules/@uswds/uswds/packages src/stylesheets/wdfnviz-uswds-all.scss dist/wdfnviz-all.css && postcss dist/wdfnviz-all.css -o dist/wdfnviz-all.css","build:csswdfnviz":"sass --load-path node_modules/@uswds/uswds/src/stylesheets --load-path node_modules/@uswds/uswds/packages src/stylesheets/wdfnviz-header-footer.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/@uswds/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/@uswds/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/@uswds/uswds/dist/scss/* dist/sass","build:uswdsinit":"cp -r node_modules/@uswds/uswds/dist/js/uswds-init.min.* dist","clean":"rm -rf dist && mkdir dist","lint":"run-p lint:*","lint:cs":"stylelint src/stylesheets ","lint:js":"eslint src/js","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"jest --collectCoverage=true","test:debug":"node --inspect-brk node_modules/.bin/jest --runInBand","test:watch":"jest --watch","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://code.usgs.gov/wma/iow/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://code.usgs.gov/wma/iow/wdfn-viz/-/issues"},"homepage":"https://code.usgs.gov/wma/iow/wdfn-viz","engines":{"node":">= 12"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","devDependencies":{"@babel/preset-env":"7.19.4","@rollup/plugin-commonjs":"23.0.2","@rollup/plugin-node-resolve":"15.0.1","@wwa/rollup-plugin-terser":"1.0.1","autoprefixer":"10.4.12","eslint":"8.26.0","eslint-plugin-jest":"27.1.3","jest":"29.2.2","jest-environment-jsdom":"29.2.2","live-server":"1.2.2","nodemon":"2.0.20","npm-run-all":"4.1.5","nunjucks":"3.2.3","nunjucks-cli":"1.0.0","postcss":"8.4.18","postcss-cli":"10.0.0","postcss-csso":"6.0.1","postcss-flexbugs-fixes":"5.0.2","rollup":"3.2.3","sass":"1.55.0","stylelint":"14.14.0","stylelint-config-recommended-scss":"8.0.0","stylelint-scss":"4.3.0"},"dependencies":{"@uswds/uswds":"3.2.0"},"gitHead":"cc2c38974031b375264f5abbe38da34fb6ad1b98","_id":"wdfn-viz@3.4.0","_nodeVersion":"16.18.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-BMwtwPTD61I0phv/40SfTEUjnbE/y4m1mwG5YJZpOCFpqhfwVq1jim3S9WX441eiJ4ez2hEK4LfKBScx4R40Lg==","shasum":"f0e0af4b8e6fcf0e9cd39ad11c80ce4892706df6","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-3.4.0.tgz","fileCount":2702,"unpackedSize":7824982,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAtcArH9pKbc7U2aoq+bGZkhc0e26IUFD4hhK+Uxp1TjAiBZGmGpmD4r67vP75JWD+hOWZiEvBk537EGJLRArb4lBQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjVwTUACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmriCw/9GmJhxUARJQAQkFCXvQ7r1ZKQH5EN4hAeeiwEfAf1JwoNmtLN\r\n0IRLfXAIVBemaig6cwsFafOpY3fPrz9F9SAU72dyBq7jaT6dYm01DQpUmkrX\r\nuLR6XfeYZRdPNQvbKTDHgwy3ZwDAuu3afGKt/P5gBVCRZddCERqZlUHPEr2n\r\nTugGXK5JO5H2DdEOxzOLi3K8xXFYtpci8HpNluEwtXu0yoalX5gOn87azXpe\r\nnRhhT+PYFSL11U2BEFGLZtcWx7cpBUUw042Asc7dH8SN1YHW+ah4S6ljPrzk\r\nOmu9WfR2QLxrQr5/aFD+VzsjfZqFwAwKSysJsCt7SLXGgPI0bb2Lw7FXz6TF\r\nuuoYkC9594d/zL94sisUDKTVhFuqmPKGlJ1ag60tWqbZZWlli7ZNhXGei4fg\r\newBwwHkV/XXxvh9vI/JZS3m0BsCr4JwACNl5uJ9isK1q6fB4FIMuWwAWBD6b\r\nDzuO5wkzx87L26MBdsXq0CJXxqV5+OPO4zDAelknba8jsRFHBiaoe6dqKs7t\r\nXbTpNPzkwN9denQApGykxGPqaPKupp+zJsW/l4iOFoScalkbVn0cKMQuHl9q\r\n3bxRBFRHp/wEswRFQOsSHREkKUSOTRZwSdQ6x5YzlilsE8DTJqojLznv8YiL\r\nmEAzhVZJ9iT0fQpJxGhaAk3v/2mOTlpNU7U=\r\n=hkDI\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"maintainers":[{"name":"drsteini-usgs","email":"drsteini@contractor.usgs.gov"},{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},{"name":"mbucknell-usgs","email":"mbucknell@usgs.gov"},{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_3.4.0_1666647251932_0.9381080620800999"},"_hasShrinkwrap":false},"3.5.0-dev":{"name":"wdfn-viz","version":"3.5.0-dev","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:csswdfnall":"sass --load-path node_modules/@uswds/uswds/src/stylesheets --load-path node_modules/@uswds/uswds/packages src/stylesheets/wdfnviz-uswds-all.scss dist/wdfnviz-all.css && postcss dist/wdfnviz-all.css -o dist/wdfnviz-all.css","build:csswdfnviz":"sass --load-path node_modules/@uswds/uswds/src/stylesheets --load-path node_modules/@uswds/uswds/packages src/stylesheets/wdfnviz-header-footer.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/@uswds/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/@uswds/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/@uswds/uswds/dist/scss/* dist/sass","build:uswdsinit":"cp -r node_modules/@uswds/uswds/dist/js/uswds-init.min.* dist","clean":"rm -rf dist && mkdir dist","lint":"run-p lint:*","lint:cs":"stylelint src/stylesheets ","lint:js":"eslint src/js","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"jest --collectCoverage=true","test:debug":"node --inspect-brk node_modules/.bin/jest --runInBand","test:watch":"jest --watch","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://code.usgs.gov/wma/iow/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://code.usgs.gov/wma/iow/wdfn-viz/-/issues"},"homepage":"https://code.usgs.gov/wma/iow/wdfn-viz","engines":{"node":">= 12"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","devDependencies":{"@babel/preset-env":"7.19.4","@rollup/plugin-commonjs":"23.0.2","@rollup/plugin-node-resolve":"15.0.1","@wwa/rollup-plugin-terser":"1.0.1","autoprefixer":"10.4.12","eslint":"8.26.0","eslint-plugin-jest":"27.1.3","jest":"29.2.2","jest-environment-jsdom":"29.2.2","live-server":"1.2.2","nodemon":"2.0.20","npm-run-all":"4.1.5","nunjucks":"3.2.3","nunjucks-cli":"1.0.0","postcss":"8.4.18","postcss-cli":"10.0.0","postcss-csso":"6.0.1","postcss-flexbugs-fixes":"5.0.2","rollup":"3.2.3","sass":"1.55.0","stylelint":"14.14.0","stylelint-config-recommended-scss":"8.0.0","stylelint-scss":"4.3.0"},"dependencies":{"@uswds/uswds":"3.2.0"},"gitHead":"8021ca09edde3541e4efd71108ade9a205e4993b","_id":"wdfn-viz@3.5.0-dev","_nodeVersion":"16.18.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-9awNByYfNxYQXiCCbpKN/h1woHqhacCqJ5cSbNjR1LSw5hyfFsYyAYv+OvwOPkengcPbZRdCSm+ERGqrFxKsPw==","shasum":"c6fe714a563e570465c8db0325f96aee1544f90a","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-3.5.0-dev.tgz","fileCount":2702,"unpackedSize":7824986,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEkXFXIH/86GLpg+0GMeU9cr7pkQ0KRAXXqYzhBWM/pXAiA1X4MgZ/gX7VhFX52Nu2OePfSoMe7i8iQr756hhE5mqw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjVwZ9ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrtGA/7BPhJD4xtOWNjEK21a8VFKFom9kbj9ceTxNeOcA6Z2V8I5OFs\r\nrskARRlVIw4mrPnilWbIFnErmCJQl9PZNQKOLDgcAbVVtc1ZI74j6KWABZFC\r\nDY8+iltXMaKpJiLMomMt4StHNY6cmudcGhCLGKwIBM6kgmdBJ2xqYqyD4o1d\r\n9rlZTSlpuAOTiSPlzWQFiq7l7pdSedCECQWu98FwGOfRfnVMke+AyQBT7t2Z\r\nz4v5mdoGiPUsOPm9Mr/e3d95TkrbUhTZYnRsJ1neDtbbxY1cASeAvk+0OJJx\r\npjfwA1I1uPY2XgJdbHapmwzFpJplCmJhnp16Q/71SrHUyfYWbNo3dCF7zWJo\r\n6MUuq+suT7qYXpjd6Ys1VCBUWl45hw6r0Wt/cs8TAH2Su+MM/MP5UFlAEzZa\r\nmzDnZAuENip8tnjJfbQfG7Gg3kCBjpma9ADnk55DedwlnXHXRphY2jAmfdy7\r\nK08omiUA4Mq7wTsoH5y6hPE2T/tUe8EWO3druQRQcOb2T+Xu9opm1T9qxOyN\r\nRHFh0gLNPs90TotpDbBECSliAXvJI/UNXZ+/IFGjQ3eYWFOLxF71bLEyfGtJ\r\nZK46Kp0vO24hsLhK1o9zj9yS6pKSkA5SFQycPeR0Ltpowq73FPo/Tjn3jFja\r\nU03hInaSwwzlMxOf6Z46c9UGnBj0lga3Sqg=\r\n=G9E3\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"maintainers":[{"name":"drsteini-usgs","email":"drsteini@contractor.usgs.gov"},{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},{"name":"mbucknell-usgs","email":"mbucknell@usgs.gov"},{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_3.5.0-dev_1666647677357_0.09863906951270751"},"_hasShrinkwrap":false},"3.5.0-snapshot.04ee5dc":{"name":"wdfn-viz","version":"3.5.0-snapshot.04ee5dc","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:csswdfnall":"sass --load-path node_modules/@uswds/uswds/src/stylesheets --load-path node_modules/@uswds/uswds/packages src/stylesheets/wdfnviz-uswds-all.scss dist/wdfnviz-all.css && postcss dist/wdfnviz-all.css -o dist/wdfnviz-all.css","build:csswdfnviz":"sass --load-path node_modules/@uswds/uswds/src/stylesheets --load-path node_modules/@uswds/uswds/packages src/stylesheets/wdfnviz-header-footer.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/@uswds/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/@uswds/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/@uswds/uswds/dist/scss/* dist/sass","build:uswdsinit":"cp -r node_modules/@uswds/uswds/dist/js/uswds-init.min.* dist","clean":"rm -rf dist && mkdir dist","lint":"run-p lint:*","lint:cs":"stylelint src/stylesheets ","lint:js":"eslint src/js","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"jest --collectCoverage=true","test:debug":"node --inspect-brk node_modules/.bin/jest --runInBand","test:watch":"jest --watch","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://code.usgs.gov/wma/iow/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://code.usgs.gov/wma/iow/wdfn-viz/-/issues"},"homepage":"https://code.usgs.gov/wma/iow/wdfn-viz","engines":{"node":">= 12"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","devDependencies":{"@babel/preset-env":"7.19.4","@rollup/plugin-commonjs":"23.0.2","@rollup/plugin-node-resolve":"15.0.1","@wwa/rollup-plugin-terser":"1.0.1","autoprefixer":"10.4.12","eslint":"8.26.0","eslint-plugin-jest":"27.1.3","jest":"29.2.2","jest-environment-jsdom":"29.2.2","live-server":"1.2.2","nodemon":"2.0.20","npm-run-all":"4.1.5","nunjucks":"3.2.3","nunjucks-cli":"1.0.0","postcss":"8.4.18","postcss-cli":"10.0.0","postcss-csso":"6.0.1","postcss-flexbugs-fixes":"5.0.2","rollup":"3.2.3","sass":"1.55.0","stylelint":"14.14.0","stylelint-config-recommended-scss":"8.0.0","stylelint-scss":"4.3.0"},"dependencies":{"@uswds/uswds":"3.2.0"},"gitHead":"04ee5dcba09a6279dc3e4ef2ba8949ab3be6018a","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![pipeline status](https://code.usgs.gov/wma/iow/wdfn-viz/badges/main/pipeline.svg)](https://code.usgs.gov/wma/iow/wdfn-viz/-/commits/main)\n[![coverage report](https://code.usgs.gov/wma/iow/wdfn-viz/badges/main/coverage.svg)](https://code.usgs.gov/wma/iow/wdfn-viz/-/commits/main)\n\nWDFN Viz provides stylesheets, fonts and images that can be used when creating web pages that can be used to meet USGS visual identity standards. You can choose either to use a prebuilt css stylesheet or build your own app specific style sheet by starting with the available Sass style sheets. The repo as provides a javacript bundle which includes the USWDS javascript along with a load function that can be used to include your application's custom javascript. The stylesheets and javascript bundles use the US Web Design System (USWDS).\n\n## Installation\nBefore starting we recommend becoming familiar with [USWDS](https://designsystem.digital.gov/)\nThis package can be installed in an existing project by installing via npm.\n```bash\nnpm install wdfn-viz --save-exact\n```\nWe recommend pinning the version of wdfn-viz in your package.json. We try to update this package everytime USWDS publishes a new version. Changes will be recorded in [CHANGELOG.md](https://code.usgs.gov/wma/iow/wdfn-viz/-/blob/main/CHANGELOG.md). Before updating to a new version of wdfn-viz we recommend checking the release notes for the corresponding updated version of USWDS (if it has been updated).\n\nTo install the latest development snapshot (containing the current state of the master branch):\n```bash\nnpm install wdfn-viz@snapshot\n```\n\n## Usage\nThe package provides both style sheets and javascript that must be used in order for your markup to work as desired. Below are instructions on how to include these in your html markup.\n\n### Using the prebuilt css files\nIf your project is not building stylesheets using Sass and you would rather just load a prebuilt style sheet, then we have two options. If you want to automatically include all of USWDS, then load the wdfnviz-all.css. Doing this allows your page to use USWDS markup and utility classes and if you are not building your own style sheets we *strongly* recommend that you use this. \n\nIf your project only needs to use the USGS/USWDS headers, navigation and footers and will not be using USWDS for the rest of the markup, you can use the second style sheet, wdfnviz.css, which includes only the USWDS style needed to style the header, navigation, and footer. \n\nOnce you choose which prebuilt style sheet to use, place the chosen style sheet from ```./node_modules/wdfn-viz/dist/``` in the directory where your assets are served and add a link tag to your markup in the header.\n\n### Using the Sass files to build a custom style sheet\nWe recommend building the stylesheets with Dart sass (npm install sass). Please note that the use of @import is now deprecated in favor of using the @use syntax to include Sass files. The main wdfn-viz Sass stylesheet should be included (using @use 'wdfnviz') in the application's Sass file.\n\nIn order to use USWDS mixins and variables you will need to add '```@use uswds``` or if you want to optimize your stylesheet to include only the parts of USWDS that you need then use the ```@forward``` directive to include the parts of USWDS that you need. The [USWDS 3.0.0 migration guide](https://designsystem.digital.gov/documentation/migration/), part 6 has a wealth of information that will help guide you to what needs to be done based on the needs of your application.\n\nYou will also likely need to at least set some of the USWDS theme variables. The most common ones that will need to be set are $theme-font-path and $theme-image-path. These need to be set relative to where the assets are served, typically your dist directory. Below are two examples of setting these theme variables. Others would go in the same section\n\nFor example to automatically include all of  USWDS components, mixins, variables, and utility classes:\n```scss\n@use 'uswds-core' with (\n  $theme-font-path: './fonts',\n  $theme-image-path: './img'\n);\n@use 'wdfnviz';\n@use 'uswds';\n#main-content {\n    @include uswds.grid-container;\n}\n```\nIf you choose to optimize your build then you would write something like this:\n```scss\n//The line below sets the namespace to uswds, sets any USWDS theme variables and allows access to USWDS variables and mixins\n@use 'uswds-core' as uswds with (\n  $theme-font-path: './fonts',\n  $theme-image-path: './img'\n);\n@use 'wdfnviz';\n\n// Add @forward for those parts of USWDS that you need. You do not need to repeat the ones in src/styles/wdfnviz.scss but it is not harmful to do so.\n@forward 'usa-alert';\n@forward 'usa-list';\n```\nWhen building the style sheet these three directories, ```node_modules/wdfn-viz/dist/sass```, ```node_modules/@uswds/uswds/src/stylesheets```, and ```node_modules/@uswds/uswds/packages```, should be\nspecified on the --load-path option along with the need USWDS style sheets. \n\nOnce a stylesheet is produced, it should be further processed by postcss using autoprefixer and postcss-csso using a postcss.config.js file:\n```javascript\nconst autoprefixerOptions = [\n    '> 2%',\n    'Last 2 versions',\n    'IE 11',\n    'not dead'\n];\n\nmodule.exports = ctx => ({\n    map: Object.assign({}, ctx.options.map, {inline: false}),\n    parser: ctx.options.parser,\n    plugins: {\n        autoprefixer: autoprefixerOptions,\n        'postcss-csso': {\n            forceMediaMerge: false\n        }\n    }\n});\n```\nYou may also want to include postcss-flexbugs-fixes plugin as is done for building wdfn-viz.\n\nBelow is an example of the process:\n```\n% sass --load-path node_modules/wdfn-viz/dist/sass --load-path node_modules/@uswds/uswds/src/stylesheets --load-path node_modules/@uswds/uswds/packages src/styles.main.css dist/main.css\n% postcss dist/main.css  -o dist/main.css\n```\n\nPostcss generates internal sourcemaps by default. You may want to consider using the --map option to create external map files\nor if you want to minimize your css assets, you may want to disable entirely by using --no-map\n\n### Collecting the images and fonts\nWhen building the assets, the images should be collected in a directory, 'img', that is the at the same place where your final style sheet resides (typically a dist directory). This should include the images in wdfn-viz/src/img that provide the USGS favicon,\nlogos and USWDS images. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nThe fonts should also be collected in a directory, 'fonts', that is in the same place where your final style sheet resides (typically a dist directory). Below are examples of commands that could be used to collect the image and font assets.\n```\n% mkdir -p dist/img && cp -r node_modules/wdfn-viz/dist/img/* dist/img\n% mkdir -p dist/fonts && cp -r node_modules/wdfn-viz/dist/fonts/* dist/fonts\n```\n### Including uswds-init.min.js\nRegardless of whether you are using the prebuilt javascript bundle or will be bundling your own javascript with wdfn-viz, you will need to load, ```uswds-init.min.js```. This should be loaded before loading your style sheet within the <head> tag. You will need to copy the file, located at node_modules/wdfn-viz/uswds-init.min.js, to the directory where your assets are served. Below is an example (where you would use a prebuilt style sheet or your sass generated style sheet) \n```html\n<head>\n    <script src=\"uswds-init.min.js\"></script>\n    <link rel=\"stylesheet\" href=\"wdfnviz-all.css\"\n</head>\n```\n\n### Building custom javascript bundle\nThe javascript should be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined. In order to use, a loading function should be defined which will be executed \nwhen the page loads. Below is a simple example:\n```javascript\nimport wdfnviz from 'wdfn-viz';\n\nconst load = function () {\n    null;  // Add code that should get executed when the page is loaded\n}\n\nwdfnviz.main(load);\n```\nThe javascript bundle that is created (which will contain your project specific javascript as well as the USWDS javascript) should be loaded inside the body tag. We recommend that this is done as the last tag in the body. \n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos. This includes the script for ```uswds-init.min.js``` which should be retrieved before loading the css files as is done in the example header.html.\n\n### Using prebuilt javascript bundle\nIn order for some USWDS components to work as expected including the header, you must include the prebuilt javascript bundle if you are not building your own javascript bundle. Simply copy the prebuilt bundle, ```node_modules/wdfnviz/dist/wdfnviz.js``` to the directory where your assets are served and add the script to the body tag in your markup, preferably as the last tag before the body tag is closed.\n\n## Publishing this repo to npm\n\nGitlab CI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when merging commits to the `main` branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://code.usgs.gov/wma/iow/wdfn-viz/-/blob/main/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit. Generally, once a release is published, the version number should be incremented to the next minor release number with `-snapshot` appended and the change committed to the `main` branch.\n","readmeFilename":"README.md","_id":"wdfn-viz@3.5.0-snapshot.04ee5dc","_nodeVersion":"16.18.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-6/ZemH8kAsTiNO+v8auSuBNn70e4M9qZ7Ypf7JeVa4CRC4m7PBrWTe9HQCM6qVGlXM3DZY1wagRRZMtpVPRn/Q==","shasum":"227ffcc098cab63214bc9192821a86dc6141668c","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-3.5.0-snapshot.04ee5dc.tgz","fileCount":2702,"unpackedSize":7824999,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFzPWIek6hyStfnNSknPTfRgo5xx62/wc8v7mnnJwa4BAiEA1J/h8bmVT+0YK4gf82iCmJ6osj3kmsA8TwEE9e2cQ3A="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjV/D9ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqtPw/8D7r2rUBqTcfXJyhAaEmw5WuL3ZyI2OKPOv7DtrXQzKCv050T\r\n2wKha89iX0Wb951RFWvsRRiWdf2+iWIO0SkLhoDDPK+YTGtBlv9i4RjWqCqG\r\nR61QKUSu8qI7f6J8V5lQNnUYfWaMtqojUL83ENrQ9mvaPHt8BFUTFy9mAJZf\r\njigGKyRlvXvUqMsAMirUeheNKIpf1US6vf+3hfgftvQ8Bhcn3OhCg/GIvq4Y\r\nW4JicNcYc1eLox2JK9D+4leX/IwVv7ZAbkR8cwVqAfjAwzPrBuv0X6WUkjsX\r\nOJrUvPXsgbUKW92K5bjRcYafbmLIAFTTn0ivwbxD0vopwUGeruENc2usutAv\r\nvt79/vcAcpqXUFoDgJf8q9iKOGLrnvejmcTBkdfR/9Bhv1eZFNwP/YLwY0eB\r\nHzBi6WLwA/wPeR55nYzqyQggo1hiWYQra4A/Q8T2q7eyoXgns7Y3/7FErDpY\r\n6YNGwA+5+5Kgo2yjieKpUjwhErrxQheEWgDfBwj4gactvrUXWCjDAi7+oIUl\r\nCjzwgyr1Tnvp3jlotiauEJBnl3IBleoz8orUKbqgAdtdPLUTKgFu+KpstObx\r\n8+3oOvcgR1rhTEjG0rbk/n6Z60Aqr0xQx9j4ZTSg6sfw78tJHr9lxFrlfE98\r\nYzxpGJcpE/Y5hooKOI2PzvedSLe+2yMAiNY=\r\n=wEIO\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"maintainers":[{"name":"drsteini-usgs","email":"drsteini@contractor.usgs.gov"},{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},{"name":"mbucknell-usgs","email":"mbucknell@usgs.gov"},{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_3.5.0-snapshot.04ee5dc_1666707709607_0.3753444073113983"},"_hasShrinkwrap":false},"3.5.0-snapshot.8ae7939":{"name":"wdfn-viz","version":"3.5.0-snapshot.8ae7939","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:csswdfnall":"sass --load-path node_modules/@uswds/uswds/src/stylesheets --load-path node_modules/@uswds/uswds/packages src/stylesheets/wdfnviz-uswds-all.scss dist/wdfnviz-all.css && postcss dist/wdfnviz-all.css -o dist/wdfnviz-all.css","build:csswdfnviz":"sass --load-path node_modules/@uswds/uswds/src/stylesheets --load-path node_modules/@uswds/uswds/packages src/stylesheets/wdfnviz-header-footer.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/@uswds/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/@uswds/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/@uswds/uswds/dist/scss/* dist/sass","build:uswdsinit":"cp -r node_modules/@uswds/uswds/dist/js/uswds-init.min.* dist","clean":"rm -rf dist && mkdir dist","lint":"run-p lint:*","lint:cs":"stylelint src/stylesheets ","lint:js":"eslint src/js","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"jest --collectCoverage=true","test:debug":"node --inspect-brk node_modules/.bin/jest --runInBand","test:watch":"jest --watch","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://code.usgs.gov/wma/iow/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://code.usgs.gov/wma/iow/wdfn-viz/-/issues"},"homepage":"https://code.usgs.gov/wma/iow/wdfn-viz","engines":{"node":">= 12"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","devDependencies":{"@babel/preset-env":"7.19.4","@rollup/plugin-commonjs":"23.0.2","@rollup/plugin-node-resolve":"15.0.1","@wwa/rollup-plugin-terser":"1.0.1","autoprefixer":"10.4.12","eslint":"8.26.0","eslint-plugin-jest":"27.1.3","jest":"29.2.2","jest-environment-jsdom":"29.2.2","live-server":"1.2.2","nodemon":"2.0.20","npm-run-all":"4.1.5","nunjucks":"3.2.3","nunjucks-cli":"1.0.0","postcss":"8.4.18","postcss-cli":"10.0.0","postcss-csso":"6.0.1","postcss-flexbugs-fixes":"5.0.2","rollup":"3.2.3","sass":"1.55.0","stylelint":"14.14.0","stylelint-config-recommended-scss":"8.0.0","stylelint-scss":"4.3.0"},"dependencies":{"@uswds/uswds":"3.2.0"},"gitHead":"8ae793920fd9dfdc59e56498c9b84e6255e28bde","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![pipeline status](https://code.usgs.gov/wma/iow/wdfn-viz/badges/main/pipeline.svg)](https://code.usgs.gov/wma/iow/wdfn-viz/-/commits/main)\n[![coverage report](https://code.usgs.gov/wma/iow/wdfn-viz/badges/main/coverage.svg)](https://code.usgs.gov/wma/iow/wdfn-viz/-/commits/main)\n\nWDFN Viz provides stylesheets, fonts and images that can be used when creating web pages that can be used to meet USGS visual identity standards. You can choose either to use a prebuilt css stylesheet or build your own app specific style sheet by starting with the available Sass style sheets. The repo as provides a javacript bundle which includes the USWDS javascript along with a load function that can be used to include your application's custom javascript. The stylesheets and javascript bundles use the US Web Design System (USWDS).\n\n## Installation\nBefore starting we recommend becoming familiar with [USWDS](https://designsystem.digital.gov/)\nThis package can be installed in an existing project by installing via npm.\n```bash\nnpm install wdfn-viz --save-exact\n```\nWe recommend pinning the version of wdfn-viz in your package.json. We try to update this package everytime USWDS publishes a new version. Changes will be recorded in [CHANGELOG.md](https://code.usgs.gov/wma/iow/wdfn-viz/-/blob/main/CHANGELOG.md). Before updating to a new version of wdfn-viz we recommend checking the release notes for the corresponding updated version of USWDS (if it has been updated).\n\nTo install the latest development snapshot (containing the current state of the master branch):\n```bash\nnpm install wdfn-viz@snapshot\n```\n\n## Usage\nThe package provides both style sheets and javascript that must be used in order for your markup to work as desired. Below are instructions on how to include these in your html markup.\n\n### Using the prebuilt css files\nIf your project is not building stylesheets using Sass and you would rather just load a prebuilt style sheet, then we have two options. If you want to automatically include all of USWDS, then load the wdfnviz-all.css. Doing this allows your page to use USWDS markup and utility classes and if you are not building your own style sheets we *strongly* recommend that you use this. \n\nIf your project only needs to use the USGS/USWDS headers, navigation and footers and will not be using USWDS for the rest of the markup, you can use the second style sheet, wdfnviz.css, which includes only the USWDS style needed to style the header, navigation, and footer. \n\nOnce you choose which prebuilt style sheet to use, place the chosen style sheet from ```./node_modules/wdfn-viz/dist/``` in the directory where your assets are served and add a link tag to your markup in the header.\n\n### Using the Sass files to build a custom style sheet\nWe recommend building the stylesheets with Dart sass (npm install sass). Please note that the use of @import is now deprecated in favor of using the @use syntax to include Sass files. The main wdfn-viz Sass stylesheet should be included (using @use 'wdfnviz') in the application's Sass file.\n\nIn order to use USWDS mixins and variables you will need to add '```@use uswds``` or if you want to optimize your stylesheet to include only the parts of USWDS that you need then use the ```@forward``` directive to include the parts of USWDS that you need. The [USWDS 3.0.0 migration guide](https://designsystem.digital.gov/documentation/migration/), part 6 has a wealth of information that will help guide you to what needs to be done based on the needs of your application.\n\nYou will also likely need to at least set some of the USWDS theme variables. The most common ones that will need to be set are $theme-font-path and $theme-image-path. These need to be set relative to where the assets are served, typically your dist directory. Below are two examples of setting these theme variables. Others would go in the same section\n\nFor example to automatically include all of  USWDS components, mixins, variables, and utility classes:\n```scss\n@use 'uswds-core' with (\n  $theme-font-path: './fonts',\n  $theme-image-path: './img'\n);\n@use 'wdfnviz';\n@use 'uswds';\n#main-content {\n    @include uswds.grid-container;\n}\n```\nIf you choose to optimize your build then you would write something like this:\n```scss\n//The line below sets the namespace to uswds, sets any USWDS theme variables and allows access to USWDS variables and mixins\n@use 'uswds-core' as uswds with (\n  $theme-font-path: './fonts',\n  $theme-image-path: './img'\n);\n@use 'wdfnviz';\n\n// Add @forward for those parts of USWDS that you need. You do not need to repeat the ones in src/styles/wdfnviz.scss but it is not harmful to do so.\n@forward 'usa-alert';\n@forward 'usa-list';\n```\nWhen building the style sheet these three directories, ```node_modules/wdfn-viz/dist/sass```, ```node_modules/@uswds/uswds/src/stylesheets```, and ```node_modules/@uswds/uswds/packages```, should be\nspecified on the --load-path option along with the need USWDS style sheets. \n\nOnce a stylesheet is produced, it should be further processed by postcss using autoprefixer and postcss-csso using a postcss.config.js file:\n```javascript\nconst autoprefixerOptions = [\n    '> 2%',\n    'Last 2 versions',\n    'IE 11',\n    'not dead'\n];\n\nmodule.exports = ctx => ({\n    map: Object.assign({}, ctx.options.map, {inline: false}),\n    parser: ctx.options.parser,\n    plugins: {\n        autoprefixer: autoprefixerOptions,\n        'postcss-csso': {\n            forceMediaMerge: false\n        }\n    }\n});\n```\nYou may also want to include postcss-flexbugs-fixes plugin as is done for building wdfn-viz.\n\nBelow is an example of the process:\n```\n% sass --load-path node_modules/wdfn-viz/dist/sass --load-path node_modules/@uswds/uswds/src/stylesheets --load-path node_modules/@uswds/uswds/packages src/styles.main.css dist/main.css\n% postcss dist/main.css  -o dist/main.css\n```\n\nPostcss generates internal sourcemaps by default. You may want to consider using the --map option to create external map files\nor if you want to minimize your css assets, you may want to disable entirely by using --no-map\n\n### Collecting the images and fonts\nWhen building the assets, the images should be collected in a directory, 'img', that is the at the same place where your final style sheet resides (typically a dist directory). This should include the images in wdfn-viz/src/img that provide the USGS favicon,\nlogos and USWDS images. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nThe fonts should also be collected in a directory, 'fonts', that is in the same place where your final style sheet resides (typically a dist directory). Below are examples of commands that could be used to collect the image and font assets.\n```\n% mkdir -p dist/img && cp -r node_modules/wdfn-viz/dist/img/* dist/img\n% mkdir -p dist/fonts && cp -r node_modules/wdfn-viz/dist/fonts/* dist/fonts\n```\n### Including uswds-init.min.js\nRegardless of whether you are using the prebuilt javascript bundle or will be bundling your own javascript with wdfn-viz, you will need to load, ```uswds-init.min.js```. This should be loaded before loading your style sheet within the <head> tag. You will need to copy the file, located at node_modules/wdfn-viz/uswds-init.min.js, to the directory where your assets are served. Below is an example (where you would use a prebuilt style sheet or your sass generated style sheet) \n```html\n<head>\n    <script src=\"uswds-init.min.js\"></script>\n    <link rel=\"stylesheet\" href=\"wdfnviz-all.css\"\n</head>\n```\n\n### Building custom javascript bundle\nThe javascript should be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined. In order to use, a loading function should be defined which will be executed \nwhen the page loads. Below is a simple example:\n```javascript\nimport wdfnviz from 'wdfn-viz';\n\nconst load = function () {\n    null;  // Add code that should get executed when the page is loaded\n}\n\nwdfnviz.main(load);\n```\nThe javascript bundle that is created (which will contain your project specific javascript as well as the USWDS javascript) should be loaded inside the body tag. We recommend that this is done as the last tag in the body. \n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos. This includes the script for ```uswds-init.min.js``` which should be retrieved before loading the css files as is done in the example header.html.\n\n### Using prebuilt javascript bundle\nIn order for some USWDS components to work as expected including the header, you must include the prebuilt javascript bundle if you are not building your own javascript bundle. Simply copy the prebuilt bundle, ```node_modules/wdfnviz/dist/wdfnviz.js``` to the directory where your assets are served and add the script to the body tag in your markup, preferably as the last tag before the body tag is closed.\n\n## Publishing this repo to npm\n\nGitlab CI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when merging commits to the `main` branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://code.usgs.gov/wma/iow/wdfn-viz/-/blob/main/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit. Generally, once a release is published, the version number should be incremented to the next minor release number with `-snapshot` appended and the change committed to the `main` branch.\n","readmeFilename":"README.md","_id":"wdfn-viz@3.5.0-snapshot.8ae7939","_nodeVersion":"16.18.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-Mw83HTKLeU5RJozWKxNy7zcnBNEi+1Eq65/X+2cyNRd9sfb9FGSWd51qgfnVqSqsekpUtfdZErJ4Z2bpi5Qqbg==","shasum":"f9052101dbcb5cdea45eebfa0b61e5d2e3f2544b","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-3.5.0-snapshot.8ae7939.tgz","fileCount":2702,"unpackedSize":7825022,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCTrLtknjJFIvlb5Mb3FSPLOot1ZnOuwF9yh3575Vd12AIhAJ3N+TjTgn5wQYan0QnCzE5wO9WE8Q9A5eJSzsxCtcgx"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjWS/DACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqhVQ//SgOjm/jBAfRAP/aw/dkkLj6XONOgMTBrMoiHxoxfO4mZKzmf\r\nTKvPtqxY9NCfOw6A9wNBzvE4Z8OeJP7rnj2iQHa3+3ubEb0UyNDwpnkoJ1eH\r\nsUaH+rhdGsbcndBN7fuMraE0Fts0TMp61c+MMcq58RxL+2gAb/tUbW+20YWU\r\nqQTaqLbRtVJHG80dAUuPcB9RsKHU6360C3FaOTD8I1walYbX3d2pNQsLQ1sz\r\nmn5nHVbUaRbTJUIlKV8iVnWv/+OK4CZXuJE0fDevi/yRVgevMX+bF43tGdse\r\nk7Gp9Vv3QWJnsQoPjzk8Z15ZUKt0Xw0blpYwJXQAJyfsYcrjq9+toiq3hWYD\r\nPDE1EfoSMuRZ4KkXnKFqDxEPEVOmscv+60dTJEXurUU6btEeB74nPCeiNq1t\r\nXs22tisimrwx9rVpDuOI3/aqYpUZSb8wKqTGcc3fLMcgovrTrqvEDMrVhjGt\r\nUYqymGtyxNuOnHWcjdSW7G4WZZM335MRL/41q7qawNHbyn5iE3pMCNksKlYc\r\nxQuuQarT4Go1Kgh6aG5ds4gAQF8SaP730GeCVZ/TTkBUSgJX6H+C1DA3kKV3\r\nFN6PRJPZhPz5yyPJz0H+3vw0c2SnJvTeIPoJ44uKT+uoBcms64t+t0D35boZ\r\n4nFjFzY6wg8M7YIOSJ3+HbJTJodS5+w2EeE=\r\n=3Y21\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"maintainers":[{"name":"drsteini-usgs","email":"drsteini@contractor.usgs.gov"},{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},{"name":"mbucknell-usgs","email":"mbucknell@usgs.gov"},{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_3.5.0-snapshot.8ae7939_1666789314771_0.6958300164610165"},"_hasShrinkwrap":false},"3.5.0":{"name":"wdfn-viz","version":"3.5.0","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:csswdfnall":"sass --load-path node_modules/@uswds/uswds/src/stylesheets --load-path node_modules/@uswds/uswds/packages src/stylesheets/wdfnviz-uswds-all.scss dist/wdfnviz-all.css && postcss dist/wdfnviz-all.css -o dist/wdfnviz-all.css","build:csswdfnviz":"sass --load-path node_modules/@uswds/uswds/src/stylesheets --load-path node_modules/@uswds/uswds/packages src/stylesheets/wdfnviz-header-footer.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/@uswds/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/@uswds/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/@uswds/uswds/dist/scss/* dist/sass","build:uswdsinit":"cp -r node_modules/@uswds/uswds/dist/js/uswds-init.min.* dist","clean":"rm -rf dist && mkdir dist","lint":"run-p lint:*","lint:cs":"stylelint src/stylesheets ","lint:js":"eslint src/js","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"jest --collectCoverage=true","test:debug":"node --inspect-brk node_modules/.bin/jest --runInBand","test:watch":"jest --watch","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://code.usgs.gov/wma/iow/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://code.usgs.gov/wma/iow/wdfn-viz/-/issues"},"homepage":"https://code.usgs.gov/wma/iow/wdfn-viz","engines":{"node":">= 12"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","devDependencies":{"@babel/preset-env":"7.20.2","@rollup/plugin-commonjs":"23.0.2","@rollup/plugin-node-resolve":"15.0.1","@wwa/rollup-plugin-terser":"1.0.1","autoprefixer":"10.4.13","eslint":"8.27.0","eslint-plugin-jest":"27.1.5","jest":"29.3.1","jest-environment-jsdom":"29.3.1","live-server":"1.2.2","nodemon":"2.0.20","npm-run-all":"4.1.5","nunjucks":"3.2.3","nunjucks-cli":"1.0.0","postcss":"8.4.19","postcss-cli":"10.0.0","postcss-csso":"6.0.1","postcss-flexbugs-fixes":"5.0.2","rollup":"3.3.0","sass":"1.56.1","stylelint":"14.15.0","stylelint-config-recommended-scss":"8.0.0","stylelint-scss":"4.3.0"},"dependencies":{"@uswds/uswds":"3.3.0"},"gitHead":"d3259f38b7ce6cc8cb3139fe1be94258ec1c9e37","_id":"wdfn-viz@3.5.0","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-ppSeAke8QOK/VLrfRQSjxQcmnSwd/sb03Dlq5i2jqvb5AYYMIG7+Kbbgjh2goBU0deljlQEt4ZMkRqVhiigWuA==","shasum":"286ed0279611bb0922c990aa746b86f40ec992fe","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-3.5.0.tgz","fileCount":2702,"unpackedSize":7872572,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF0l6QR8VE2f5cgN21fL9ybQKgq1kZEDvscfyFhHwUNCAiBunMSMCz5C68cB5UFIrqS621HFj5+E+iEGnMxsPq/i0A=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjd5u8ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmoyiw/+LTd7CzFt5RI+Uto3XpjVI5HM99PmzrBq9J7kfEDBiXPZ5q8/\r\nI1P/bn4tn+kofX1kJZiSs8C9kYHFvaQK/6o3eQmr/WvV/QRRfRYu68FpQaEu\r\nBHWdLXXxhZiCRTrV7YM7x99ckKv5m8RdQNePZGzKV1laeifGF+yuJD40GeCh\r\nEQhADEC9yvvBLrc+KljiK16QNOqfb63EjmdKwfWDLTzcY879nVOq1cIcMLVj\r\nPcpyu4KXID4RPBc3KyUNjpM5N9UFwWBPJQRerTJvbv7ZZ1+REDbFETh6cn3V\r\ncOWXRvBgaPE1/wxYq0hjGlVKcUm8OykWEs/p4++QCRe0vTo9M3nK3MVqn4bH\r\nn85ajElgEsK8mEM6SHicKyiJ/Ri3R+FD8Sw767CP0TxIvQhEU9YwICTgi3/m\r\nIFij0z/0WKlN+T8cgqJv3U+w1LSoVJN4hZymyG/cgxFoUpdcdBxbuc2F3vSB\r\nUMHYvR18C9X6YcDEQW4mXOwl5r+Iri4g0jdYpJq3Fq+lpNOsJTBL3bO9qqDc\r\nsYH3IhWAjgbT48F5PonkmoSI7AalNXUEKgwTHV/ArRStusr042gC6IZ/tK9Q\r\nk0XP8kYe7a5T1nnJex4DnKasiXo7k73z8wGYspvNgAXJ7/72xEU+5ljq89oe\r\nyQs4vNJsbEoI6N5nwUYmrr2QDM92trXXkPU=\r\n=1qkI\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"maintainers":[{"name":"drsteini-usgs","email":"drsteini@contractor.usgs.gov"},{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},{"name":"mbucknell-usgs","email":"mbucknell@usgs.gov"},{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_3.5.0_1668783036359_0.4821288062333082"},"_hasShrinkwrap":false},"3.6.0-snapshot.b79670b":{"name":"wdfn-viz","version":"3.6.0-snapshot.b79670b","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:csswdfnall":"sass --load-path node_modules/@uswds/uswds/src/stylesheets --load-path node_modules/@uswds/uswds/packages src/stylesheets/wdfnviz-uswds-all.scss dist/wdfnviz-all.css && postcss dist/wdfnviz-all.css -o dist/wdfnviz-all.css","build:csswdfnviz":"sass --load-path node_modules/@uswds/uswds/src/stylesheets --load-path node_modules/@uswds/uswds/packages src/stylesheets/wdfnviz-header-footer.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/@uswds/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/@uswds/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/@uswds/uswds/dist/scss/* dist/sass","build:uswdsinit":"cp -r node_modules/@uswds/uswds/dist/js/uswds-init.min.* dist","clean":"rm -rf dist && mkdir dist","lint":"run-p lint:*","lint:cs":"stylelint src/stylesheets ","lint:js":"eslint src/js","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"jest --collectCoverage=true","test:debug":"node --inspect-brk node_modules/.bin/jest --runInBand","test:watch":"jest --watch","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://code.usgs.gov/wma/iow/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://code.usgs.gov/wma/iow/wdfn-viz/-/issues"},"homepage":"https://code.usgs.gov/wma/iow/wdfn-viz","engines":{"node":">= 12"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","devDependencies":{"@babel/preset-env":"7.20.2","@rollup/plugin-commonjs":"23.0.2","@rollup/plugin-node-resolve":"15.0.1","@wwa/rollup-plugin-terser":"1.0.1","autoprefixer":"10.4.13","eslint":"8.27.0","eslint-plugin-jest":"27.1.5","jest":"29.3.1","jest-environment-jsdom":"29.3.1","live-server":"1.2.2","nodemon":"2.0.20","npm-run-all":"4.1.5","nunjucks":"3.2.3","nunjucks-cli":"1.0.0","postcss":"8.4.19","postcss-cli":"10.0.0","postcss-csso":"6.0.1","postcss-flexbugs-fixes":"5.0.2","rollup":"3.3.0","sass":"1.56.1","stylelint":"14.15.0","stylelint-config-recommended-scss":"8.0.0","stylelint-scss":"4.3.0"},"dependencies":{"@uswds/uswds":"3.3.0"},"gitHead":"b79670bd2051246538ad612740ffa3ecd85f53c3","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![pipeline status](https://code.usgs.gov/wma/iow/wdfn-viz/badges/main/pipeline.svg)](https://code.usgs.gov/wma/iow/wdfn-viz/-/commits/main)\n[![coverage report](https://code.usgs.gov/wma/iow/wdfn-viz/badges/main/coverage.svg)](https://code.usgs.gov/wma/iow/wdfn-viz/-/commits/main)\n\nWDFN Viz provides stylesheets, fonts and images that can be used when creating web pages that can be used to meet USGS visual identity standards. You can choose either to use a prebuilt css stylesheet or build your own app specific style sheet by starting with the available Sass style sheets. The repo as provides a javacript bundle which includes the USWDS javascript along with a load function that can be used to include your application's custom javascript. The stylesheets and javascript bundles use the US Web Design System (USWDS).\n\n## Installation\nBefore starting we recommend becoming familiar with [USWDS](https://designsystem.digital.gov/)\nThis package can be installed in an existing project by installing via npm.\n```bash\nnpm install wdfn-viz --save-exact\n```\nWe recommend pinning the version of wdfn-viz in your package.json. We try to update this package everytime USWDS publishes a new version. Changes will be recorded in [CHANGELOG.md](https://code.usgs.gov/wma/iow/wdfn-viz/-/blob/main/CHANGELOG.md). Before updating to a new version of wdfn-viz we recommend checking the release notes for the corresponding updated version of USWDS (if it has been updated).\n\nTo install the latest development snapshot (containing the current state of the master branch):\n```bash\nnpm install wdfn-viz@snapshot\n```\n\n## Usage\nThe package provides both style sheets and javascript that must be used in order for your markup to work as desired. Below are instructions on how to include these in your html markup.\n\n### Using the prebuilt css files\nIf your project is not building stylesheets using Sass and you would rather just load a prebuilt style sheet, then we have two options. If you want to automatically include all of USWDS, then load the wdfnviz-all.css. Doing this allows your page to use USWDS markup and utility classes and if you are not building your own style sheets we *strongly* recommend that you use this. \n\nIf your project only needs to use the USGS/USWDS headers, navigation and footers and will not be using USWDS for the rest of the markup, you can use the second style sheet, wdfnviz.css, which includes only the USWDS style needed to style the header, navigation, and footer. \n\nOnce you choose which prebuilt style sheet to use, place the chosen style sheet from ```./node_modules/wdfn-viz/dist/``` in the directory where your assets are served and add a link tag to your markup in the header.\n\n### Using the Sass files to build a custom style sheet\nWe recommend building the stylesheets with Dart sass (npm install sass). Please note that the use of @import is now deprecated in favor of using the @use syntax to include Sass files. The main wdfn-viz Sass stylesheet should be included (using @use 'wdfnviz') in the application's Sass file.\n\nIn order to use USWDS mixins and variables you will need to add '```@use uswds``` or if you want to optimize your stylesheet to include only the parts of USWDS that you need then use the ```@forward``` directive to include the parts of USWDS that you need. The [USWDS 3.0.0 migration guide](https://designsystem.digital.gov/documentation/migration/), part 6 has a wealth of information that will help guide you to what needs to be done based on the needs of your application.\n\nYou will also likely need to at least set some of the USWDS theme variables. The most common ones that will need to be set are $theme-font-path and $theme-image-path. These need to be set relative to where the assets are served, typically your dist directory. Below are two examples of setting these theme variables. Others would go in the same section\n\nFor example to automatically include all of  USWDS components, mixins, variables, and utility classes:\n```scss\n@use 'uswds-core' with (\n  $theme-font-path: './fonts',\n  $theme-image-path: './img'\n);\n@use 'wdfnviz';\n@use 'uswds';\n#main-content {\n    @include uswds.grid-container;\n}\n```\nIf you choose to optimize your build then you would write something like this:\n```scss\n//The line below sets the namespace to uswds, sets any USWDS theme variables and allows access to USWDS variables and mixins\n@use 'uswds-core' as uswds with (\n  $theme-font-path: './fonts',\n  $theme-image-path: './img'\n);\n@use 'wdfnviz';\n\n// Add @forward for those parts of USWDS that you need. You do not need to repeat the ones in src/styles/wdfnviz.scss but it is not harmful to do so.\n@forward 'usa-alert';\n@forward 'usa-list';\n```\nWhen building the style sheet these three directories, ```node_modules/wdfn-viz/dist/sass```, ```node_modules/@uswds/uswds/src/stylesheets```, and ```node_modules/@uswds/uswds/packages```, should be\nspecified on the --load-path option along with the need USWDS style sheets. \n\nOnce a stylesheet is produced, it should be further processed by postcss using autoprefixer and postcss-csso using a postcss.config.js file:\n```javascript\nconst autoprefixerOptions = [\n    '> 2%',\n    'Last 2 versions',\n    'IE 11',\n    'not dead'\n];\n\nmodule.exports = ctx => ({\n    map: Object.assign({}, ctx.options.map, {inline: false}),\n    parser: ctx.options.parser,\n    plugins: {\n        autoprefixer: autoprefixerOptions,\n        'postcss-csso': {\n            forceMediaMerge: false\n        }\n    }\n});\n```\nYou may also want to include postcss-flexbugs-fixes plugin as is done for building wdfn-viz.\n\nBelow is an example of the process:\n```\n% sass --load-path node_modules/wdfn-viz/dist/sass --load-path node_modules/@uswds/uswds/src/stylesheets --load-path node_modules/@uswds/uswds/packages src/styles.main.css dist/main.css\n% postcss dist/main.css  -o dist/main.css\n```\n\nPostcss generates internal sourcemaps by default. You may want to consider using the --map option to create external map files\nor if you want to minimize your css assets, you may want to disable entirely by using --no-map\n\n### Collecting the images and fonts\nWhen building the assets, the images should be collected in a directory, 'img', that is the at the same place where your final style sheet resides (typically a dist directory). This should include the images in wdfn-viz/src/img that provide the USGS favicon,\nlogos and USWDS images. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nThe fonts should also be collected in a directory, 'fonts', that is in the same place where your final style sheet resides (typically a dist directory). Below are examples of commands that could be used to collect the image and font assets.\n```\n% mkdir -p dist/img && cp -r node_modules/wdfn-viz/dist/img/* dist/img\n% mkdir -p dist/fonts && cp -r node_modules/wdfn-viz/dist/fonts/* dist/fonts\n```\n### Including uswds-init.min.js\nRegardless of whether you are using the prebuilt javascript bundle or will be bundling your own javascript with wdfn-viz, you will need to load, ```uswds-init.min.js```. This should be loaded before loading your style sheet within the <head> tag. You will need to copy the file, located at node_modules/wdfn-viz/uswds-init.min.js, to the directory where your assets are served. Below is an example (where you would use a prebuilt style sheet or your sass generated style sheet) \n```html\n<head>\n    <script src=\"uswds-init.min.js\"></script>\n    <link rel=\"stylesheet\" href=\"wdfnviz-all.css\"\n</head>\n```\n\n### Building custom javascript bundle\nThe javascript should be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined. In order to use, a loading function should be defined which will be executed \nwhen the page loads. Below is a simple example:\n```javascript\nimport wdfnviz from 'wdfn-viz';\n\nconst load = function () {\n    null;  // Add code that should get executed when the page is loaded\n}\n\nwdfnviz.main(load);\n```\nThe javascript bundle that is created (which will contain your project specific javascript as well as the USWDS javascript) should be loaded inside the body tag. We recommend that this is done as the last tag in the body. \n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos. This includes the script for ```uswds-init.min.js``` which should be retrieved before loading the css files as is done in the example header.html.\n\n### Using prebuilt javascript bundle\nIn order for some USWDS components to work as expected including the header, you must include the prebuilt javascript bundle if you are not building your own javascript bundle. Simply copy the prebuilt bundle, ```node_modules/wdfnviz/dist/wdfnviz.js``` to the directory where your assets are served and add the script to the body tag in your markup, preferably as the last tag before the body tag is closed.\n\n## Publishing this repo to npm\n\nGitlab CI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when merging commits to the `main` branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://code.usgs.gov/wma/iow/wdfn-viz/-/blob/main/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit. Generally, once a release is published, the version number should be incremented to the next minor release number with `-snapshot` appended and the change committed to the `main` branch.\n","readmeFilename":"README.md","_id":"wdfn-viz@3.6.0-snapshot.b79670b","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-pKzOcA0zgbz/f5SPvX3qLktKEk2RQLC6WFL8ZR5mnYEZd50RuGaLIWF9o4BB6nq9EphkmAx8xFrmK6UnJuf+bg==","shasum":"eb2e3461df00055da2598d56ed665d8a7565b6b2","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-3.6.0-snapshot.b79670b.tgz","fileCount":2702,"unpackedSize":7872589,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCCC6ss3R7xUVhvBzEButVzEeONeJmAEX8aVqChb40xBQIgKRWE0MxpeMBVmWtUFj88JbGshG+dgY/Jf5RKjxQ82vU="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjd6DJACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp3Ww//Wapf7Xv0B/hazIyWoRtWHsFdGGUgXhYgYybp6r3LJRoIxELg\r\n9IahaffHh0cbDOI0DW82gaDGwsglnuDeD+SiD8YC3zxF3xXJBL3xuYI0vejd\r\n2pbO9VwiipyhH1lFZ7BgNfeDz2tLdcpX+7jnM7j1coIUWOvoa+eLXS4DHqrT\r\nGnHeXej7rJMnp8rRUEL/csqlyvIDyzdbhP3vSH/TT5/IkiMC9Ir3f337+kw+\r\nMsvPmkYClyEYCkHmS8hL7LwHccCdn1kbwijYMcPdVQI35bNnl8R7fRXhmovv\r\njmBe71loI38IjhXyXYk0qitW5heUIKYeAmVp0SqilCCXyxN40UJrprQBcuAb\r\nd8XWjgFdZDu/9TuV12BxDxrqLF5hrJKAWH4Bi4Q+bc4QbympjK2BJXEqFPxJ\r\nig2HmtzXdRc1DR02zYUASa7NysRXEcLsPc/ru46atALaeLBnAtJlAvBHcOnO\r\n7MBri5jg+KVtImtPoPAilIxaYFi1UaaX7OtQSKytdYoSXibl4NyIQFWzWogV\r\nzDSrYTeww9G3YOVBVSDSniXRRJlCcTVYvlS2bCsGRj1qck7DClSVeARrn6n+\r\n50o7Rb1mwiYkH3+vM0TyXsCgClQcqxWgQdwNPPCj9WCKXJxEOJSHRbz2KNFq\r\n5xCHp/il/ZA+PZNk4PZT9b0lhyo/srJmkY4=\r\n=dWB1\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"maintainers":[{"name":"drsteini-usgs","email":"drsteini@contractor.usgs.gov"},{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},{"name":"mbucknell-usgs","email":"mbucknell@usgs.gov"},{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_3.6.0-snapshot.b79670b_1668784329552_0.3898611870286093"},"_hasShrinkwrap":false},"3.6.0":{"name":"wdfn-viz","version":"3.6.0","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:csswdfnall":"sass --load-path node_modules/@uswds/uswds/src/stylesheets --load-path node_modules/@uswds/uswds/packages src/stylesheets/wdfnviz-uswds-all.scss dist/wdfnviz-all.css && postcss dist/wdfnviz-all.css -o dist/wdfnviz-all.css","build:csswdfnviz":"sass --load-path node_modules/@uswds/uswds/src/stylesheets --load-path node_modules/@uswds/uswds/packages src/stylesheets/wdfnviz-header-footer.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/@uswds/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/@uswds/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/@uswds/uswds/dist/scss/* dist/sass","build:uswdsinit":"cp -r node_modules/@uswds/uswds/dist/js/uswds-init.min.* dist","clean":"rm -rf dist && mkdir dist","lint":"run-p lint:*","lint:cs":"stylelint src/stylesheets ","lint:js":"eslint src/js","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"jest --collectCoverage=true","test:debug":"node --inspect-brk node_modules/.bin/jest --runInBand","test:watch":"jest --watch","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://code.usgs.gov/wma/iow/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://code.usgs.gov/wma/iow/wdfn-viz/-/issues"},"homepage":"https://code.usgs.gov/wma/iow/wdfn-viz","engines":{"node":">= 12"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","devDependencies":{"@babel/preset-env":"7.20.2","@rollup/plugin-commonjs":"24.0.1","@rollup/plugin-node-resolve":"15.0.1","@wwa/rollup-plugin-terser":"1.0.1","autoprefixer":"10.4.14","eslint":"8.36.0","eslint-plugin-jest":"27.2.1","jest":"29.5.0","jest-environment-jsdom":"29.5.0","live-server":"1.2.2","nodemon":"2.0.21","npm-run-all":"4.1.5","nunjucks":"3.2.3","nunjucks-cli":"1.0.0","postcss":"8.4.21","postcss-cli":"10.1.0","postcss-csso":"6.0.1","postcss-flexbugs-fixes":"5.0.2","rollup":"3.19.1","sass":"1.59.3","stylelint":"15.3.0","stylelint-config-recommended-scss":"9.0.1","stylelint-scss":"4.5.0"},"dependencies":{"@uswds/uswds":"3.4.1"},"gitHead":"ddeece10eac58335097ed6dc22b7f2cd487bdfc8","_id":"wdfn-viz@3.6.0","_nodeVersion":"16.19.1","_npmVersion":"8.19.3","dist":{"integrity":"sha512-sANYYSlzXjxxDK51upN2q4jtFTWj6CfWr5ITWlxyNBay3sGsq2hW1AATaGdLf7dRl34EwZtlIRjQeU5Pf+iqrA==","shasum":"28d5c631cbba8d9489efc558b98f39c456fa79d7","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-3.6.0.tgz","fileCount":2702,"unpackedSize":7888647,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCmmnLXWPMgEqosAw5pn8T7drXbxsB9lO/SKoZ01bO7YgIhANbOmwHuwF0ZjuRgsCSo9CVblonHahvUFoE8pY55ZT34"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkFIbiACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqIoxAAjmMePXOHlgXaKPNv8A1H6dDea/etoOgfC5wm6gj7Qk/vYcZ4\r\niE/4WFrGZ8vwzPhwTMEQ4FGw0fPvltPPjFKH/9GSvnasQ39b4A479Gvzp8sU\r\nDT7fbp5vS56hNUY9WTwvxuylx1hZSKam2F2Bke/SeTokMLEWiNdi0K2COauB\r\nbWFQ70NZWzn+J3WdZw3sNJyavlEAcwKr8/6M3fA6ZqNJCrG8c+dgR49/QbIr\r\nNjVmsO+3moNYOZ+yPqeNQC1AYPy6wrZjnQdL6JviSUvAtDPDcSG9fTjaOhva\r\ncoyoh4//P95VtYqmhPYIN6Gix15olvDICoccRayHYjHszu+aMwA4WTlSeeUn\r\nb+G1mmHoobTBMXZ2ESD56RYbubNy/iVb0Pe5+FVYj3docKvDgyL/04LQNjXF\r\n2Sc67XZNj48PxHNc1MiyXgLj3FysBp0mpSOC39aqO0J6W4RL8Avzn8zKwi5q\r\n3lLr/C3xwrwACvK85ij30I2HrdJdbXoResTKK0rbv2IKRXJZ/qxh4afe8Gy4\r\nzlGpCJwClDIG3UB8a5iKQ8G1HW7JgRwKBXMYzahTRCIt2WGr8kMU+JnXAdE4\r\nl1WTXKQ/ovSuZ7a9lppZZmpbS1JMEcC/tSWuE40BAS2TgzVW+mwL8qOWRy93\r\niU9mQLVq9iYqFDnXjHAy8qn9y8OCvgg1LwQ=\r\n=bpEI\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"maintainers":[{"name":"drsteini-usgs","email":"drsteini@contractor.usgs.gov"},{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},{"name":"mbucknell-usgs","email":"mbucknell@usgs.gov"},{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_3.6.0_1679066850161_0.8530411132425737"},"_hasShrinkwrap":false},"3.7.0-snapshot.b8f6ac5":{"name":"wdfn-viz","version":"3.7.0-snapshot.b8f6ac5","description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","scripts":{"build":"npm run clean && mkdir -p dist && run-p build:*","build:js":"rollup -c --environment NODE_ENV:production","build:csswdfnall":"sass --load-path node_modules/@uswds/uswds/src/stylesheets --load-path node_modules/@uswds/uswds/packages src/stylesheets/wdfnviz-uswds-all.scss dist/wdfnviz-all.css && postcss dist/wdfnviz-all.css -o dist/wdfnviz-all.css","build:csswdfnviz":"sass --load-path node_modules/@uswds/uswds/src/stylesheets --load-path node_modules/@uswds/uswds/packages src/stylesheets/wdfnviz-header-footer.scss dist/wdfnviz.css && postcss dist/wdfnviz.css -o dist/wdfnviz.css","build:fonts":"mkdir -p dist/fonts && cp -r node_modules/@uswds/uswds/dist/fonts/* dist/fonts","build:html":"nunjucks --path src --out dist index.html","build:images":"mkdir -p dist/img && cp -r src/img/* dist/img && cp -r node_modules/@uswds/uswds/dist/img/* dist/img","build:sass":"mkdir -p dist/sass && cp -r src/stylesheets/* dist/sass && cp -r node_modules/@uswds/uswds/dist/scss/* dist/sass","build:uswdsinit":"cp -r node_modules/@uswds/uswds/dist/js/uswds-init.min.* dist","clean":"rm -rf dist && mkdir dist","lint":"run-p lint:*","lint:cs":"stylelint src/stylesheets ","lint:js":"eslint src/js","prepare":"npm run build","serve":"live-server --port=9000 --cors dist","start":"run-p watch serve","test":"jest --collectCoverage=true","test:debug":"node --inspect-brk node_modules/.bin/jest --runInBand","test:watch":"jest --watch","watch":"run-p watch:*","watch:css":"nodemon -w src/stylesheets -e scss -x \"npm run build:css\"","watch:fonts":"npm run build:fonts","watch:html":"nodemon -w src -e scss,html -x \"echo Rebuilding... && nunjucks --path src --out dist index.html \"","watch:images":"npm run build:images","watch:js":"rollup -c --watch","watch:sass":"npm run build:sass"},"repository":{"type":"git","url":"git+https://code.usgs.gov/wma/iow/wdfn-viz.git"},"keywords":["USGS","header","footer"],"author":{"name":"WMA Integrated Information Dissemination Division"},"license":"CC0-1.0","bugs":{"url":"https://code.usgs.gov/wma/iow/wdfn-viz/-/issues"},"homepage":"https://code.usgs.gov/wma/iow/wdfn-viz","engines":{"node":">= 12"},"sass":"dist/sass/wdfnviz.scss","style":"dist/wdfnviz.css","main":"dist/wdfnviz.js","module":"dist/wdfnviz.es6.js","devDependencies":{"@babel/preset-env":"7.20.2","@rollup/plugin-commonjs":"24.0.1","@rollup/plugin-node-resolve":"15.0.1","@wwa/rollup-plugin-terser":"1.0.1","autoprefixer":"10.4.14","eslint":"8.36.0","eslint-plugin-jest":"27.2.1","jest":"29.5.0","jest-environment-jsdom":"29.5.0","live-server":"1.2.2","nodemon":"2.0.21","npm-run-all":"4.1.5","nunjucks":"3.2.3","nunjucks-cli":"1.0.0","postcss":"8.4.21","postcss-cli":"10.1.0","postcss-csso":"6.0.1","postcss-flexbugs-fixes":"5.0.2","rollup":"3.19.1","sass":"1.59.3","stylelint":"15.3.0","stylelint-config-recommended-scss":"9.0.1","stylelint-scss":"4.5.0"},"dependencies":{"@uswds/uswds":"3.4.1"},"gitHead":"b8f6ac55bbac3b8b8db2388bb35ab1148ba4b56f","readme":"# WMA Water Data for the Nation USGS visual identity package\n\n[![pipeline status](https://code.usgs.gov/wma/iow/wdfn-viz/badges/main/pipeline.svg)](https://code.usgs.gov/wma/iow/wdfn-viz/-/commits/main)\n[![coverage report](https://code.usgs.gov/wma/iow/wdfn-viz/badges/main/coverage.svg)](https://code.usgs.gov/wma/iow/wdfn-viz/-/commits/main)\n\nWDFN Viz provides stylesheets, fonts and images that can be used when creating web pages that can be used to meet USGS visual identity standards. You can choose either to use a prebuilt css stylesheet or build your own app specific style sheet by starting with the available Sass style sheets. The repo as provides a javacript bundle which includes the USWDS javascript along with a load function that can be used to include your application's custom javascript. The stylesheets and javascript bundles use the US Web Design System (USWDS).\n\n## Installation\nBefore starting we recommend becoming familiar with [USWDS](https://designsystem.digital.gov/)\nThis package can be installed in an existing project by installing via npm.\n```bash\nnpm install wdfn-viz --save-exact\n```\nWe recommend pinning the version of wdfn-viz in your package.json. We try to update this package everytime USWDS publishes a new version. Changes will be recorded in [CHANGELOG.md](https://code.usgs.gov/wma/iow/wdfn-viz/-/blob/main/CHANGELOG.md). Before updating to a new version of wdfn-viz we recommend checking the release notes for the corresponding updated version of USWDS (if it has been updated).\n\nTo install the latest development snapshot (containing the current state of the master branch):\n```bash\nnpm install wdfn-viz@snapshot\n```\n\n## Usage\nThe package provides both style sheets and javascript that must be used in order for your markup to work as desired. Below are instructions on how to include these in your html markup.\n\n### Using the prebuilt css files\nIf your project is not building stylesheets using Sass and you would rather just load a prebuilt style sheet, then we have two options. If you want to automatically include all of USWDS, then load the wdfnviz-all.css. Doing this allows your page to use USWDS markup and utility classes and if you are not building your own style sheets we *strongly* recommend that you use this. \n\nIf your project only needs to use the USGS/USWDS headers, navigation and footers and will not be using USWDS for the rest of the markup, you can use the second style sheet, wdfnviz.css, which includes only the USWDS style needed to style the header, navigation, and footer. \n\nOnce you choose which prebuilt style sheet to use, place the chosen style sheet from ```./node_modules/wdfn-viz/dist/``` in the directory where your assets are served and add a link tag to your markup in the header.\n\n### Using the Sass files to build a custom style sheet\nWe recommend building the stylesheets with Dart sass (npm install sass). Please note that the use of @import is now deprecated in favor of using the @use syntax to include Sass files. The main wdfn-viz Sass stylesheet should be included (using @use 'wdfnviz') in the application's Sass file.\n\nIn order to use USWDS mixins and variables you will need to add '```@use uswds``` or if you want to optimize your stylesheet to include only the parts of USWDS that you need then use the ```@forward``` directive to include the parts of USWDS that you need. The [USWDS 3.0.0 migration guide](https://designsystem.digital.gov/documentation/migration/), part 6 has a wealth of information that will help guide you to what needs to be done based on the needs of your application.\n\nYou will also likely need to at least set some of the USWDS theme variables. The most common ones that will need to be set are $theme-font-path and $theme-image-path. These need to be set relative to where the assets are served, typically your dist directory. Below are two examples of setting these theme variables. Others would go in the same section\n\nFor example to automatically include all of  USWDS components, mixins, variables, and utility classes:\n```scss\n@use 'uswds-core' with (\n  $theme-font-path: './fonts',\n  $theme-image-path: './img'\n);\n@use 'wdfnviz';\n@use 'uswds';\n#main-content {\n    @include uswds.grid-container;\n}\n```\nIf you choose to optimize your build then you would write something like this:\n```scss\n//The line below sets the namespace to uswds, sets any USWDS theme variables and allows access to USWDS variables and mixins\n@use 'uswds-core' as uswds with (\n  $theme-font-path: './fonts',\n  $theme-image-path: './img'\n);\n@use 'wdfnviz';\n\n// Add @forward for those parts of USWDS that you need. You do not need to repeat the ones in src/styles/wdfnviz.scss but it is not harmful to do so.\n@forward 'usa-alert';\n@forward 'usa-list';\n```\nWhen building the style sheet these three directories, ```node_modules/wdfn-viz/dist/sass```, ```node_modules/@uswds/uswds/src/stylesheets```, and ```node_modules/@uswds/uswds/packages```, should be\nspecified on the --load-path option along with the need USWDS style sheets. \n\nOnce a stylesheet is produced, it should be further processed by postcss using autoprefixer and postcss-csso using a postcss.config.js file:\n```javascript\nconst autoprefixerOptions = [\n    '> 2%',\n    'Last 2 versions',\n    'IE 11',\n    'not dead'\n];\n\nmodule.exports = ctx => ({\n    map: Object.assign({}, ctx.options.map, {inline: false}),\n    parser: ctx.options.parser,\n    plugins: {\n        autoprefixer: autoprefixerOptions,\n        'postcss-csso': {\n            forceMediaMerge: false\n        }\n    }\n});\n```\nYou may also want to include postcss-flexbugs-fixes plugin as is done for building wdfn-viz.\n\nBelow is an example of the process:\n```\n% sass --load-path node_modules/wdfn-viz/dist/sass --load-path node_modules/@uswds/uswds/src/stylesheets --load-path node_modules/@uswds/uswds/packages src/styles.main.css dist/main.css\n% postcss dist/main.css  -o dist/main.css\n```\n\nPostcss generates internal sourcemaps by default. You may want to consider using the --map option to create external map files\nor if you want to minimize your css assets, you may want to disable entirely by using --no-map\n\n### Collecting the images and fonts\nWhen building the assets, the images should be collected in a directory, 'img', that is the at the same place where your final style sheet resides (typically a dist directory). This should include the images in wdfn-viz/src/img that provide the USGS favicon,\nlogos and USWDS images. The images include a usgs_favicon.ico that can be used\nfor the page's favicon by adding the following line within the <head> section:\n```\n<link rel=\"shortcut icon\" type=\"image/ico\" href=\"{{ url for 'img/usgs_favicon.ico'}}\">\n```\n\nThe fonts should also be collected in a directory, 'fonts', that is in the same place where your final style sheet resides (typically a dist directory). Below are examples of commands that could be used to collect the image and font assets.\n```\n% mkdir -p dist/img && cp -r node_modules/wdfn-viz/dist/img/* dist/img\n% mkdir -p dist/fonts && cp -r node_modules/wdfn-viz/dist/fonts/* dist/fonts\n```\n### Including uswds-init.min.js\nRegardless of whether you are using the prebuilt javascript bundle or will be bundling your own javascript with wdfn-viz, you will need to load, ```uswds-init.min.js```. This should be loaded before loading your style sheet within the <head> tag. You will need to copy the file, located at node_modules/wdfn-viz/uswds-init.min.js, to the directory where your assets are served. Below is an example (where you would use a prebuilt style sheet or your sass generated style sheet) \n```html\n<head>\n    <script src=\"uswds-init.min.js\"></script>\n    <link rel=\"stylesheet\" href=\"wdfnviz-all.css\"\n</head>\n```\n\n### Building custom javascript bundle\nThe javascript should be imported and provides USWDS javascript as well as the ability to log unhandled exceptions to\nGoogle Analytics if window.ga is defined. In order to use, a loading function should be defined which will be executed \nwhen the page loads. Below is a simple example:\n```javascript\nimport wdfnviz from 'wdfn-viz';\n\nconst load = function () {\n    null;  // Add code that should get executed when the page is loaded\n}\n\nwdfnviz.main(load);\n```\nThe javascript bundle that is created (which will contain your project specific javascript as well as the USWDS javascript) should be loaded inside the body tag. We recommend that this is done as the last tag in the body. \n\nExample html templates for the header and footer can be found here: ```src/templates```. To implement the header\nand footers add the markup in those templates to your pages, adjusting the image url in the header.html template\nas needed for the USGS logo and federal government logos. This includes the script for ```uswds-init.min.js``` which should be retrieved before loading the css files as is done in the example header.html.\n\n### Using prebuilt javascript bundle\nIn order for some USWDS components to work as expected including the header, you must include the prebuilt javascript bundle if you are not building your own javascript bundle. Simply copy the prebuilt bundle, ```node_modules/wdfnviz/dist/wdfnviz.js``` to the directory where your assets are served and add the script to the body tag in your markup, preferably as the last tag before the body tag is closed.\n\n## Publishing this repo to npm\n\nGitlab CI is configured to publish to the [wdfn-viz](https://www.npmjs.com/package/wdfn-viz) npm package when merging commits to the `main` branch.\n\nTo make a release, merge a commit that sets the\n[version attribute in package.json](https://code.usgs.gov/wma/iow/wdfn-viz/-/blob/main/package.json#L3) to the appropriate\nvalue. When merging work that is not intended for release, append `-snapshot` to the upcoming version. Snapshot\nreleases will be tagged in the form `0.1.10-snapshot.6738b77`, where `6738b77` is the corresponding git commit. Generally, once a release is published, the version number should be incremented to the next minor release number with `-snapshot` appended and the change committed to the `main` branch.\n","readmeFilename":"README.md","_id":"wdfn-viz@3.7.0-snapshot.b8f6ac5","_nodeVersion":"16.19.1","_npmVersion":"8.19.3","dist":{"integrity":"sha512-s/5ED2Gj0d3MhjEzTi3eysvBy9h2reI5sa599brR78yHPrhs7ENu67U2we2JUWrzori+Tm6viuNwCcPg7jzQtA==","shasum":"20ffaaa45f8b258a56e87261f9cf059279a585a8","tarball":"https://registry.npmjs.org/wdfn-viz/-/wdfn-viz-3.7.0-snapshot.b8f6ac5.tgz","fileCount":2702,"unpackedSize":7888664,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDW3XhGR9g2Yw493A3o7kRNGBO4w0PDUGhjgIQDleBQ4gIhAL1KBHFwR34UvR/GcNeJAtDrrauKNpTgAJzrEhjMpnk3"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkFJRZACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqEjQ//Qsrj+2sEmcf/g7YUo5fN/vfWYKYqkrR71ypgmMzbYSUcij0C\r\n4AzxVBx6Hl26VA/6ME1UkKYNwQL08FaGbXvy9nlP3cS4jg8Nu1l1sv8Wv3xM\r\nZPeRfmXUIXLjUbwZtVaYgrMEK/RZSOiINQYkLGHQK/DRpa3MbBfPiSBOSW4a\r\nIJ8HrujofNZLhzIGO0XPjTQiB5HXB33QBV6y+xd21vBgN15D3eijS/NdSyPd\r\nHNszI2StzH7pmfNQO53L0sNQRlBnAa7LXNE8ohUvfEPgM+n4ewxhAetBHVxQ\r\nDSQr24LANag03iZggR2pHpxpRg2eS9BaCdikT455yvRKSIzKc4XKVR0Jn7B6\r\ndYTcZHxJpj3cvfUtRLewgNg3oc28zYNEzBOcxsPI7SVNH8orAjzqk3v+JCYq\r\nzn5mV1GYE+v3XzV4NyulG++r5KziS82SqgdN9HRS3mieKGlR7oTeTxmU4ROV\r\nqwTf1p1BlYe+3KGq7HWZtWPl4wtQscclAdM/f16s1+4JefheB2PvTyPx9Prr\r\nXGNBG03LiCc3X4HFUVDVjhk/tJMVvA9M5vX4OwMTtYakqbz0X7jtKZPnXx5N\r\nfMDTVDjAoYzZhl3/Y1nAfKUs0/LQynEz+x952wMy3n8bW4WGJA2PtVQ7mO2Y\r\nYOBNLCp1eoa4Ixcjr7iWdlwsdTsuuSBL79Y=\r\n=fdar\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"},"directories":{},"maintainers":[{"name":"drsteini-usgs","email":"drsteini@contractor.usgs.gov"},{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},{"name":"mbucknell-usgs","email":"mbucknell@usgs.gov"},{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wdfn-viz_3.7.0-snapshot.b8f6ac5_1679070297324_0.4577372011028531"},"_hasShrinkwrap":false}},"time":{"created":"2018-10-03T21:17:40.005Z","0.1.0":"2018-10-03T21:17:40.619Z","modified":"2023-03-17T16:24:57.943Z","0.1.1":"2018-10-04T16:52:55.915Z","0.1.2":"2018-10-04T16:58:08.743Z","0.1.3":"2018-10-04T17:54:11.589Z","0.1.4":"2018-10-19T17:13:43.031Z","0.1.5":"2018-10-19T20:04:56.121Z","0.1.6":"2018-10-24T15:54:44.905Z","0.1.7":"2018-10-24T17:02:32.403Z","0.1.8":"2018-10-24T18:42:36.205Z","0.1.9":"2018-11-08T18:33:10.932Z","0.1.10-snapshot.6738b77":"2018-12-17T18:51:30.697Z","0.1.10":"2018-12-18T21:01:19.462Z","0.1.11-snapshot.1b5a2c1":"2019-01-31T17:49:54.802Z","0.1.11-snapshot.7226d17":"2019-01-31T19:46:02.191Z","0.1.11-snapshot.f02cb8e":"2019-02-15T17:22:15.450Z","0.1.11-snapshot.ede975b":"2019-02-26T21:32:36.533Z","0.1.11-snapshot.7240d32":"2019-03-08T21:05:49.642Z","0.1.11-snapshot.f7c0500":"2019-03-08T21:22:33.953Z","1.0.0-snapshot.cbd739d":"2019-04-19T15:17:24.291Z","1.0.0-snapshot.b3ef411":"2019-05-16T16:00:30.855Z","1.0.0":"2019-05-16T16:09:52.754Z","1.0.0-snapshot.a4ca982":"2019-05-20T20:29:33.477Z","1.0.0-snapshot.8e6538a":"2019-05-20T20:46:07.508Z","1.0.0-snapshot.9ada3c9":"2019-05-22T12:52:57.169Z","1.0.1":"2019-07-12T13:48:35.199Z","1.0.2-snapshot.ffaf7b0":"2019-08-29T20:25:30.885Z","1.0.2-snapshot.db24b40":"2019-10-02T16:58:45.715Z","1.0.2-snapshot.6be4b17":"2019-10-02T17:18:06.409Z","1.1.0-snapshot.42f95e9":"2019-10-03T18:05:06.793Z","1.1.0-snapshot.cdb1604":"2019-10-04T16:24:37.891Z","1.1.0-snapshot.fb19b4e":"2019-10-04T18:54:37.505Z","1.1.0-snapshot.0068bd8":"2019-10-04T19:03:21.187Z","1.1.0":"2019-10-04T19:17:45.001Z","1.2.0-snapshot.61a34c3":"2019-10-08T13:12:59.408Z","1.2.0-snapshot.fa6eb96":"2019-10-08T13:20:48.226Z","1.2.0-snapshot.3e3b509":"2019-12-03T18:20:18.851Z","1.2.0":"2019-12-03T18:38:26.495Z","1.3.0-snapshot.49b594c":"2019-12-03T18:47:19.366Z","1.3.0-snapshot.1d4acb8":"2019-12-20T19:59:14.764Z","1.3.0":"2019-12-20T20:10:11.757Z","1.4.0-snapshot.77df42e":"2019-12-20T20:17:00.299Z","1.4.0-snapshot.8a4fb2f":"2020-03-04T18:38:54.479Z","1.4.0-snapshot.dd5d694":"2020-03-04T20:26:20.507Z","1.4.0":"2020-03-04T22:09:29.261Z","1.5.0-snapshot.f5cb0fc":"2020-04-06T17:54:06.004Z","1.5.0":"2020-04-06T18:29:19.929Z","1.6.0-snapshot.1c7eec9":"2020-04-06T18:45:09.495Z","1.6.0-snapshot.ecc9a31":"2020-04-29T13:43:44.803Z","1.6.0-snapshot.e799754":"2020-04-29T13:48:08.349Z","1.6.0-snapshot.03d0387":"2020-04-29T13:51:38.858Z","1.6.0-snapshot.3193b0b":"2020-05-12T18:18:21.581Z","1.6.0":"2020-05-12T18:27:01.431Z","1.7.0-snapshot.dc6c2c9":"2020-05-12T18:31:55.988Z","1.7.0-snapshot.b6aac56":"2020-06-18T21:02:18.779Z","1.6.1":"2020-06-18T21:10:37.778Z","1.6.2":"2020-06-18T21:19:30.202Z","1.7.0-snapshot.79e6f48":"2020-06-18T21:27:33.968Z","1.7.0":"2020-07-10T16:56:51.132Z","1.8.0-snapshot.3e440ea":"2020-07-10T17:04:56.987Z","1.8.0-snapshot.dbe43a5":"2020-07-21T13:54:07.622Z","1.8.0-snapshot.34edaea":"2020-08-28T14:22:36.220Z","1.8.0-snapshot.2e0ce43":"2020-08-28T14:28:29.971Z","1.7.1":"2020-08-28T15:35:06.642Z","1.8.0-snapshot.372e05f":"2020-08-28T15:46:57.072Z","1.8.0-snapshot.00d052d":"2020-10-21T12:50:12.620Z","1.8.0-snapshot.b3d4dfe":"2020-10-22T13:02:33.833Z","1.8.0":"2020-10-22T15:34:01.244Z","1.9.0-snapshot.40496a2":"2020-10-22T16:44:42.200Z","1.9.0-snapshot.6a159e2":"2020-11-06T21:54:11.820Z","1.9.0-snapshot.c98aeea":"2020-11-06T22:23:22.707Z","1.9.0-snapshot.a6ef521":"2020-11-13T20:17:44.609Z","1.9.0-snapshot.2f278b0":"2020-12-21T14:55:44.710Z","1.9.0-snapshot.add66c3":"2020-12-22T00:00:06.193Z","1.9.0":"2020-12-22T01:32:07.516Z","1.10.0-snapshot.8b51d53":"2020-12-22T13:43:22.173Z","1.10.0":"2021-01-04T22:33:17.738Z","1.11.0-snapshot.b11c1c8":"2021-01-04T23:30:32.373Z","1.11.0-snapshot.a186abe":"2021-01-20T14:20:33.695Z","1.10.1":"2021-03-01T14:57:34.825Z","1.11.0-snapshot.04086eb":"2021-03-01T15:37:23.216Z","1.11.0-snapshot.eb1a8b8":"2021-03-31T14:53:57.283Z","1.11.0-snapshot.f91192b":"2021-03-31T16:37:43.883Z","1.11.0-snapshot.002803e":"2021-03-31T20:06:31.960Z","1.11.0":"2021-04-01T12:49:17.138Z","1.12.0-snapshot.ed78d0d":"2021-04-01T12:54:51.922Z","1.12.0-snapshot.4195f34":"2021-06-07T21:31:14.395Z","1.12.0-snapshot.a41ef84":"2021-06-07T21:31:42.156Z","1.12.0-snapshot.a61938e":"2021-06-07T21:32:56.000Z","1.12.0-snapshot.de1f7d1":"2021-06-07T21:33:31.223Z","1.11.1":"2021-06-07T21:56:13.314Z","1.12.0-snapshot.1b1616c":"2021-06-07T22:04:45.065Z","1.12.0-snapshot":"2021-07-07T14:17:00.536Z","1.12.0":"2021-07-07T19:09:23.466Z","1.13.0-snapshot":"2021-07-07T19:37:23.496Z","1.13.0":"2021-07-13T14:26:55.755Z","1.14.0-snapshot.0a20075":"2021-07-13T14:35:28.316Z","1.14.0-snapshot.8c241cd":"2021-07-13T14:40:06.638Z","1.14.0-snapshot.308dd5f":"2021-07-13T15:00:45.218Z","1.14.0":"2021-07-13T15:07:51.367Z","1.15.0-snapshot.1669a7d":"2021-07-13T15:52:20.019Z","1.15.0-snapshot.2e132c6":"2021-07-14T18:40:00.519Z","1.15.0-snapshot.739c58e":"2021-07-21T13:36:46.396Z","1.15.0-snapshot.d5ee581":"2021-07-28T14:46:20.764Z","1.15.0-snapshot.1a0bb68":"2021-07-28T15:10:44.635Z","1.14.1":"2021-08-27T16:01:43.144Z","1.15.0-snapshot.ef4a9f9":"2021-08-27T16:22:44.589Z","1.15.0-snapshot.52ec74b":"2021-09-28T20:41:15.352Z","1.15.0-snapshot.addad5e":"2021-10-13T18:25:16.670Z","1.15.0-snapshot.4ff648b":"2021-10-18T21:32:17.322Z","2.0.0":"2021-10-19T17:58:05.429Z","2.1.0-snapshot.1b62dc2":"2021-10-19T18:07:13.164Z","2.1.0-snapshot.01e5503":"2021-10-19T18:10:15.121Z","2.0.1-snapshot.b6199e9":"2021-11-08T21:22:47.904Z","2.0.1":"2021-11-08T22:01:08.942Z","2.1.0-snapshot.410cb74":"2021-11-08T22:26:43.754Z","2.1.0":"2021-12-20T15:07:46.192Z","2.2.0-snapshot.e6e465d":"2021-12-20T15:13:50.426Z","2.2.0-snapshot.3999b36":"2022-01-14T21:41:36.875Z","2.1.1":"2022-02-02T15:23:00.944Z","2.2.0-snapshot.c30507c":"2022-02-02T15:29:03.703Z","2.1.2":"2022-03-15T22:04:00.618Z","2.2.0-snapshot.c87447e":"2022-03-15T22:10:49.158Z","2.2.0-snapshot.b40ca90":"2022-03-29T14:07:18.671Z","2.2.0-snapshot.074493a":"2022-03-29T15:09:49.049Z","3.0.0-snapshot.c4df2c5":"2022-03-30T18:37:57.203Z","3.0.0-snapshot.7dde1ab":"2022-05-04T19:44:29.389Z","3.0.0":"2022-05-04T20:10:19.758Z","3.1.0-snapshot.fc94f56":"2022-05-04T20:21:40.439Z","3.1.0-snapshot.2f8c054":"2022-05-05T20:34:48.625Z","3.0.1":"2022-05-09T17:41:33.258Z","3.1.0-snapshot.91ca0a1":"2022-05-09T17:58:45.369Z","3.1.0-snapshot.852a41e":"2022-05-18T16:38:59.387Z","3.1.0":"2022-05-18T19:46:50.601Z","3.2.0-snaphot":"2022-05-18T19:57:39.568Z","3.2.0":"2022-05-18T20:12:15.139Z","3.3.0-snapshot.c4a041b":"2022-05-18T20:16:28.795Z","3.2.1":"2022-06-21T15:11:38.197Z","3.3.0-snapshot.d1ff35a":"2022-06-21T15:31:05.624Z","3.3.0":"2022-08-12T18:27:05.339Z","3.4.0-snapshot.a51e019":"2022-08-12T18:46:41.517Z","3.4.0-snapshot.4784c0a":"2022-09-12T21:51:05.588Z","3.4.0":"2022-10-24T21:34:12.208Z","3.5.0-dev":"2022-10-24T21:41:17.660Z","3.5.0-snapshot.04ee5dc":"2022-10-25T14:21:49.914Z","3.5.0-snapshot.8ae7939":"2022-10-26T13:01:55.045Z","3.5.0":"2022-11-18T14:50:36.724Z","3.6.0-snapshot.b79670b":"2022-11-18T15:12:09.962Z","3.6.0":"2023-03-17T15:27:30.558Z","3.7.0-snapshot.b8f6ac5":"2023-03-17T16:24:57.700Z"},"maintainers":[{"name":"drsteini-usgs","email":"drsteini@contractor.usgs.gov"},{"name":"danielnaab-usgs","email":"dnaab@contractor.usgs.gov"},{"name":"mbucknell-usgs","email":"mbucknell@usgs.gov"},{"name":"usgs-wma","email":"wma-software-engineers@usgs.gov"}],"description":"Provides templates and style sheets which implement the USGS visual standards for headers and footers","homepage":"https://code.usgs.gov/wma/iow/wdfn-viz","keywords":["USGS","header","footer"],"repository":{"type":"git","url":"git+https://code.usgs.gov/wma/iow/wdfn-viz.git"},"author":{"name":"WMA Integrated Information Dissemination Division"},"bugs":{"url":"https://code.usgs.gov/wma/iow/wdfn-viz/-/issues"},"license":"CC0-1.0","readme":"","readmeFilename":""}