Closed TheLudd closed 11 years ago
It pretty much depends on your use case. For example, a project with following directory structure
.
├── app
│ ├── scripts/
│ ├── styles/
│ └── views/
├── component.json
├── components
│ ├── jquery/
│ ├── requirejs/
│ └── underscore/
├── Gruntfile.js
├── node_modules
│ ├── grunt/
│ ├── grunt-bower/
│ └── grunt-requirejs/
├── package.json
├── public
│ ├── index.html
│ ├── js/
│ └── styles/
└── README.md
run grunt bower
to copy javascript libraries to public/js
make sense, right?
For jQuery, requirejs and underscore, yes. They all belong in public. But do angular-scenario belong there? However I am pretty new to this enviroment so I don't have the complete picture of how the workflow of creating and deploying javascript based applications is supposed to be.
I'll leave this open for another couple of days. If you come up with anything, let me know.
Sholud the dev dependencies really be copied to the dist folder? I think that this at least should be configurable and that the default value should be false. Or is there a reason for copying the dev dependencies to the dist folder?