@code.gov/code-gov-style
Advanced tools
Comparing version 1.9.7 to 1.9.8
@@ -6,5 +6,2 @@ --- | ||
<script src="{{ '/assets/js/web_components.js' | relative_url }}"></script> | ||
<p>Below you will find the filter boxes used by {{site.brand}}</p> | ||
@@ -11,0 +8,0 @@ |
{ | ||
"name": "@code.gov/code-gov-style", | ||
"version": "1.9.7", | ||
"version": "1.9.8", | ||
"description": "Style for code.gov including buttons, banners, and cards. Inspired by and somewhat based on USWDS.", | ||
"main": "index.js", | ||
"scripts": { | ||
"bundle_web_components": "cp ./node_modules/@babel/polyfill/dist/polyfill.min.js assets/js/web_components.js && cat assets/js/polyfills/event.js >> assets/js/web_components.js && ./node_modules/@babel/cli/bin/babel.js assets/js/web_components/* >> assets/js/web_components.js", | ||
"serve": "bundle exec jekyll serve", | ||
"serve-on-server": "sudo bundle exec jekyll serve --host=0.0.0.0 --port=80", | ||
"update-all": "npm i && npm run update-font && npm run update-custom-elements && npm run update-polyfills && npm run update-code-gov-web-components && npm run update-assets", | ||
"update-assets": "cp dist/js/* assets/js/. && cp node_modules/prismjs/prism.js assets/js/. && cp node_modules/prismjs/themes/prism.css assets/css/. && cp node_modules/@webcomponents/custom-elements/custom-elements.min.js.map assets/js/.", | ||
"update-custom-elements": "npm install -S @webcomponents/custom-elements && cd node_modules/@webcomponents/custom-elements && npm install && npm build", | ||
"update-font": "cd bash_scripts && bash update-font.sh", | ||
"update-polyfill": "npm install && cd node_modules/@webcomponents/custom-elements && npm install && npm build && npm test", | ||
"update-prism": "cd bash_scripts && bash update-prism.sh" | ||
"update-polyfills": "cat ./node_modules/@babel/polyfill/dist/polyfill.min.js ./node_modules/custom-event-polyfill/polyfill.js ./node_modules/@webcomponents/custom-elements/custom-elements.min.js > dist/js/polyfills.js", | ||
"update-code-gov-web-components": "./node_modules/@babel/cli/bin/babel.js src/* > dist/js/code-gov-web-components.js" | ||
}, | ||
@@ -34,3 +36,4 @@ "repository": { | ||
"@code.gov/code-gov-font": "0.7.0", | ||
"@webcomponents/custom-elements": "^1.2.0", | ||
"@webcomponents/custom-elements": "^1.2.1", | ||
"custom-event-polyfill": "^1.0.6", | ||
"prismjs": "^1.15.0" | ||
@@ -37,0 +40,0 @@ }, |
@@ -16,3 +16,6 @@ # code-gov-style | ||
### FAQS | ||
Have a question? Check out our [FAQS](FAQS.md). If it's not there, feel free to post an issue or email us :-) | ||
### Contact | ||
Contact Daniel J. Dufour at daniel.dufour@gsa.gov if you have any questions |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
853160
106
2755
21
5
2
4
15
+ Addedcustom-event-polyfill@^1.0.6
+ Addedcustom-event-polyfill@1.0.7(transitive)