Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Adding package.json file #2

Merged
merged 1 commit into from
Jan 21, 2017
Merged

Adding package.json file #2

merged 1 commit into from
Jan 21, 2017

Conversation

sherakama
Copy link
Member

Ready for review

  • For NPM integration

"dependencies": {
"bourbon": "~5.0.0-beta.7",
"bourbon-neat": "^2.0.0-beta.2",
"font-awesome": "^4.6.3"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can go both ways on adding this or not.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These should be devDependencies, rather than dependencies, since there is no runtime. I believe this will fetch those projects into node-modules, which may end up throwing conflicts if the root project uses different versions. We should test this.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we do want the version conflicts. If we are using bourbon 2.0 and someone is using the ~1.0 version in their app then they won't be able to compile or they will have errors. I think any version conflict from declaring these as dependencies is a helpful error.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That works for me!

@kgcreative kgcreative merged commit 33113ff into master Jan 21, 2017
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants