frenic / csstype

Strict TypeScript and Flow types for style based on MDN data
MIT License
1.73k stars 72 forks source link

DevDependencies? #129

Closed Vadorequest closed 3 years ago

Vadorequest commented 3 years ago

Shouldn't this package be installed as a devDependency, instead of a dependency?

If so, the readme should be updated.

frenic commented 3 years ago

No, it should be installed as a dependency. This package includes types only so it doesn't result in any bundled code anyway.

Vadorequest commented 3 years ago

Yeah, it was confusing me. But it's true the types are required when building, not only when working on a local environment, and if types are missing they would break the build. It makes more sense now, thanks.