Stop to install bower and grunt-cli globally.

This commit is contained in:
Ryota Arai
2015-12-15 17:00:50 +09:00
committed by Ryota Arai
parent 85916efa81
commit f31ec7b1dd
2 changed files with 6 additions and 4 deletions

View File

@@ -7,9 +7,8 @@ FILENAME=$(CIRCLE_ARTIFACTS)/$(NAME).$(VERSION).tar.gz
deps:
cd rd_ui && npm install
cd rd_ui && npm install -g bower grunt-cli
cd rd_ui && bower install
cd rd_ui && grunt build
cd rd_ui && npm run bower install
cd rd_ui && npm run build
pack:
sed -ri "s/^__version__ = '([0-9.]*)'/__version__ = '$(FULL_VERSION)'/" redash/__init__.py

View File

@@ -29,13 +29,16 @@
"grunt-karma": "~0.8.3",
"karma-phantomjs-launcher": "~0.1.4",
"karma": "~0.12.19",
"karma-ng-html2js-preprocessor": "~0.1.0"
"karma-ng-html2js-preprocessor": "~0.1.0",
"bower": "~1.7.1",
"grunt-cli": "~0.1.13"
},
"engines": {
"node": ">=0.10.0"
},
"scripts": {
"test": "grunt test",
"build": "grunt build",
"bower": "bower"
}
}