angular - Publish font through npm for use in project -


i've created set of music glyphs (notes, dotted notes, , time signatures) use in web-application i'm developing using angular2, wasn't able find font glyphs felt appropriate application. hierarchy font follows

  • fonts
    • notes.eot
    • notes.svg
    • notes.ttf
    • notes.woff
  • package.json (from npm init)
  • readme.txt
  • selection.json (from npm init)
  • style.css

i'm not sure steps need take here publish npm (i'm happy share these glyph sets through npm), , haven't been able find article or stackoverflow answer helps me. appreciate list of steps publish , use these glyphsets in project.

the npm publish command publish entire npm-managed directory, based on version tag have in package.json protip: versioning using npm version major, npm version minor, , npm version patch commands, don't manually bump them. npm version command updates package.json and automatically creates git version tag project can push github.

see https://medium.com/@jdaudier/how-to-create-and-publish-your-first-node-js-module-444e7585b738#.imf0mtv0q "start finish" on publishing project npm.


Comments

Popular posts from this blog

java - SSE Emitter : Manage timeouts and complete() -

jquery - uncaught exception: DataTables Editor - remote hosting of code not allowed -

java - How to resolve error - package com.squareup.okhttp3 doesn't exist? -