bower

Installing non-bower-ready library with Bower

做~自己de王妃 提交于 2020-01-16 07:31:11
问题 I am using Bower (http://bower.io/) to manage my app's third-party libraries and now I want to use a library which doesn't have a registered bower package, namely jquery.cloudinary.js from Cloudinary (http://cloudinary.com). I would really love to include cloudinary amongst my bower-managed libraries because it really helps cloning my development environment when I need to. Is it possible to install any library available in the internet with Bower by just editing my bower.json file? If so,

Getting Error message “No ”concat“ targets found” when running grunt-usemin

自作多情 提交于 2020-01-14 14:39:21
问题 My grunt file is shown below: module.exports = function(grunt) { // Project configuration. grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), uglify: { options: { banner: '/*! <%= pkg.name %> <%= grunt.template.today("yyyy-mm-dd") %> */\n' }, build: { src: 'src/**/*.js', dest: 'dist/<%= pkg.name %>.min.js' } }, watch: { js: { files: ['src/**/*.js'], options: { livereload: '<%= connect.options.livereload %>' } }, livereload: { options: { livereload: '<%= connect.options.livereload %>

Only include modules from Angular Material that I need

早过忘川 提交于 2020-01-14 12:53:08
问题 I'm using the module $mdDialog from Angular Material but I don't need the full library. Is it possible to only include the modules that I need in the project, and how can I do that? I have installed Angular Material with Bower and using Gulp in my project. 回答1: Soon Angular Material will turn into v1.1.0 as a major release. As an addition the material-tools repository will be announced . Material Tools allows developers to build a custom Angular Material build with the most necessary

Only include modules from Angular Material that I need

核能气质少年 提交于 2020-01-14 12:52:16
问题 I'm using the module $mdDialog from Angular Material but I don't need the full library. Is it possible to only include the modules that I need in the project, and how can I do that? I have installed Angular Material with Bower and using Gulp in my project. 回答1: Soon Angular Material will turn into v1.1.0 as a major release. As an addition the material-tools repository will be announced . Material Tools allows developers to build a custom Angular Material build with the most necessary

Only include modules from Angular Material that I need

試著忘記壹切 提交于 2020-01-14 12:52:09
问题 I'm using the module $mdDialog from Angular Material but I don't need the full library. Is it possible to only include the modules that I need in the project, and how can I do that? I have installed Angular Material with Bower and using Gulp in my project. 回答1: Soon Angular Material will turn into v1.1.0 as a major release. As an addition the material-tools repository will be announced . Material Tools allows developers to build a custom Angular Material build with the most necessary

/bower_components doesn’t load dependencies on the page

余生长醉 提交于 2020-01-14 09:44:48
问题 /bower_components doesn’t work. I get 404 error: GET /bower_components/jquery/jquery.js 404 My configuration is as described in Bower documentation and here: app.use(express.static(path.join(__dirname, 'public'))); app.use('/bower_components', express.static(__dirname + '/bower_components')); In my .html file I have: <script src="/bower_components/jquery/jquery.js"></script> But there is no /bower_components/jquery/jquery.js . There is \bower_components\jquery\dist\jquery.js . Did they change

How to update dependencies of one Polymer component without updating those of another?

流过昼夜 提交于 2020-01-14 04:18:09
问题 I'll try to describe our specific problem to avoid running into an XY Problem. We have one Polymer app, that consists of several independent components (maintained by different teams). Each of these components has dependencies on other components, managed by Bower. Sometimes, different components (say, A and B) have dependencies on the same components (e.g. C). Now when C releases a new version with a breaking change, both A and B have to upgrade to that new version at the same time . This

Installing Node, NPM (and then Grunt and Bower globally) in Vagrant

吃可爱长大的小学妹 提交于 2020-01-11 19:42:49
问题 I've been following this gist for installing a bunch of core dependencies for PHP development, but one that I do need and have not been able to get working as of yet is to install Node, NPM (and then Grunt and Bower globally) in Vagrant. I've seen answers like this one but it doesn't ever appear to complete the install (ie. I can't then install bower and grunt). There is a nodejs package through apt-get that does appear to install Node (and I can install NPM from there), but the version

permanently ignore a dependency with bower

风流意气都作罢 提交于 2020-01-09 06:22:28
问题 I am downloading angular, angular-bootstrap and bootstrap with bower. Bootstrap has a dependency on jquery which is installed in the process. But i don't need it in my project as i am only using bootstrap's css. So i tried to permanently remove the dependency on jquery with bower uninstall jquery --save It's uninstalling jquery, but the next time i make bower update , it's downloaded again. Is there a way to tell bower to permanently skip a dependency ? edit: I wish there was something like

Bower install build step on Visual Studio Team Services with dependency of another team project

情到浓时终转凉″ 提交于 2020-01-07 01:53:10
问题 In our bower.json we have this dependency: "ourpackage": "git+https://xxx.visualstudio.com/DefaultCollection/_git/ourpackage#1.2.3" I'm using alternate credentials and this works fine on my machine. When I run this on Visual Studio Team Services it fails as it doesn't have my credentials. I don't want to add my personal alternate credentials to the bower.json file. Another solution would be to just add the files to our project without using bower. Is there another solution to this? 回答1: I ran