Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Support bower install? #69

Closed
noahdietz opened this issue Oct 25, 2016 · 3 comments
Closed

Support bower install? #69

noahdietz opened this issue Oct 25, 2016 · 3 comments

Comments

@noahdietz
Copy link
Contributor

No description provided.

@jbowen93
Copy link

Relevant link

@noahdietz
Copy link
Contributor Author

turns out with kiln:0.1.18 we will have bower support for free (b.c this version includes git support), but with a little necessary tweaking from user's end.

  1. They need to include in their uploaded zip an .npmrc file containing unsafe-perm = true . This enables NPM to run as root, which is required for postinstall scripts to run according to discussion here.
  2. They must include bower as a dependency
  3. The package.json must have a postinstall script that looks like this "postinstall": "node_modules/bower/bin/bower install --allow-root" because npm deps aren't installed globally

@noahdietz
Copy link
Contributor Author

the above comment looks as though there is a solution, while it is hacky. closing for now as we rework and will revisit if user testing produces such a need again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants