New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More β†’
Socket
Sign inDemoInstall
Socket

@posten/hedwig

Package Overview
Dependencies
Maintainers
3
Versions
283
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@posten/hedwig - npm Package Compare versions

Comparing version 6.4.1 to 7.0.0

dist/icons.min.js

10

package.json
{
"name": "@posten/hedwig",
"version": "6.4.1",
"version": "7.0.0",
"publishConfig": {

@@ -34,3 +34,3 @@ "access": "public"

"dev": "concurrently \"npm run watcher\" \"npm run serve\"",
"build": "npm run docs:build && npm run css:build && npm run js:build",
"build": "npm run docs:build && npm run css:build && npm run js:build && npm run svg",
"release": "np --any-branch",

@@ -45,3 +45,5 @@ "css:dev": "npm run css:dev:bring & npm run css:dev:posten",

"js:dev": "rollup -m inline -c --name \"hedwig\"",
"js:build": "rollup -c --name \"hedwig\" --output.file dist/main.js",
"js:build": "npm run js:build:main && npm run js:build:icons",
"js:build:main": "rollup -c --name \"hedwig\" --output.file dist/main.js",
"js:build:icons": "rollup -c rollup.config.icons.js",
"docs:build": "node ./scripts/docs-build",

@@ -54,3 +56,3 @@ "watcher": "node ./scripts/watcher",

"start": "npm run docs:build & npm run server",
"svg:min": "svgo -f ./assets/icons -o ./assets/icons/optimized",
"svg:min": "svgo -f ./assets/icons -o ./dist/icons",
"svg:sprite": "node ./scripts/svg-sprite",

@@ -57,0 +59,0 @@ "svg": "npm run svg:min && npm run svg:sprite",

14

README.md

@@ -98,13 +98,9 @@ # Hedwig

For the future it will probably be a good idea to have a own repository for icons, (i.e. `hedwig-icons`), where both source "master" files (AI, Sketch) and the SVG's can be stored.
Icons works like this:
- Place icons in the `assets/icons/` folder
- Run `npm run svg` to generate SVG sprite. `npm run build` or `npm run dev` will both also produce the SVG sprite
- Use icons like described in [the docs](https://hedwig-docs.herokuapp.com/bring.html#/Icon)
It works like this:
- Place icons in the `build/assets/icons/` folder (for now)
- Run `npm run svg` to generate SVG sprite
- Use icons like described in [the docs](https://hedwig-docs.herokuapp.com/#/Icon)
- Include `https://cdn.jsdelivr.net/npm/@posten/hedwig@latest/dist/icons.min.js` in the footer of the document
To update icons in production:
- Run `npm run s3:upload`
- Include `https://bring-hedwig.s3.amazonaws.com/hedwig/icons.js` in the footer of the document
### πŸ…°οΈ Fonts

@@ -111,0 +107,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚑️ by Socket Inc