bower / bower

A package manager for the web

Home Page:bower.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

.bowerrc hooks (preinstall and postinstall) not working when installing repos as dependency

asingh12541 opened this issue · comments

.bowerrc hooks (preinstall and postinstall) not working when installing repos as dependency

.bowerrc File

{
    "cwd": "./",
    "scripts": {
        "preinstall": "npm run replace" ,
        "postinstall": "bower install"
    }
}

P.S. I'm on OS 10.9.2 with:

node -v
v8.11.1
npm -v
5.6.0
bower -v
1.8.4

This correct, .bowerrc is supported only for applications, not their dependenies. This is security feature