You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First, run the grunt-init script to copy some scaffold content and generate src/bower.json, src/package.json, and src/Gruntfile.js in the current working directory.
Second, run grunt on this newly generated gruntfile. It contains a grunt-bower-task to install the component's bower dependencies into component/bower_components.
The package.json has a 'script':{'postinstall': 'grunt'}.
Thus, I should be able to have all my dependencies sorted after:
$ cd working-directory
$ grunt-init sopro-component
$ cd src; npm install
As you can see from the snippets below, I expect to see my sopro-material folder in component/bower_components after the grunt script runs.
What actually happens is, every other bower dependency is correctly copied there, but the sopro-material folder is not!
The folder DOES appear in the bower directory next to the bower.json file (not the target directory), e.g. src/bower_components/sopro-material
Please let me know if you can reproduce this or identify my problem!
[email protected]
,[email protected]
I am writing a
grunt-init
script that assembles a scaffold for a material design component. It's a two step process:First, run the
grunt-init
script to copy some scaffold content and generatesrc/bower.json
,src/package.json
, andsrc/Gruntfile.js
in the current working directory.Second, run grunt on this newly generated gruntfile. It contains a
grunt-bower-task
to install the component's bower dependencies intocomponent/bower_components
.The
package.json
has a'script':{'postinstall': 'grunt'}
.Thus, I should be able to have all my dependencies sorted after:
As you can see from the snippets below, I expect to see my
sopro-material
folder incomponent/bower_components
after the grunt script runs.What actually happens is, every other bower dependency is correctly copied there, but the
sopro-material
folder is not!The folder DOES appear in the bower directory next to the bower.json file (not the target directory), e.g.
src/bower_components/sopro-material
Please let me know if you can reproduce this or identify my problem!
The text was updated successfully, but these errors were encountered: