Big questions for npm
stereobooster opened this issue · comments
Distribution of CSS via npm
- istf-spec
- css-in-js
- css-modules
- The
style
attribute inpackage.json
is useful for importing CSS packages. Proposal is here.
Distribution of type signatures via npm
- solved problem for TypeScript (via
types
field in package.json) - semi-solved problem for Flow
- BuckleScript, Reason
- PureScript has separate package manager based on Bower, but they want to change it
- Elm has separate package manager
- https://heycam.github.io/webidl/
Distribution of components via npm
Examples:
Distribution of assets via npm
Fonts:
Solved question for Rails, because they have standardized bundling process - asset pipeline.
Examples:
Other:
Icons
Examples: