Skip to content
This repository has been archived by the owner on Mar 14, 2019. It is now read-only.

Commit

Permalink
added fix-fa script to postinstall
Browse files Browse the repository at this point in the history
  • Loading branch information
edm00se committed Dec 14, 2016
1 parent 403f194 commit be75cac
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
10 changes: 5 additions & 5 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "an app of ice and fire",
"version": "0.0.1",
"name": "an-app-of-ice-and-fire",
"version": "0.6.0",
"dependencies": {
"bootstrap": "latest",
"fontawesome": "latest",
"jquery": "latest",
"bootstrap": "3.3.7",
"fontawesome": "4.7.0",
"jquery": "2.2.4",
"angular": "1.4.3",
"angular-sanitize": "1.4.3",
"ng-tags-input": "3.0.0"
Expand Down
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@
"description": "an app of ice and fire",
"main": "src/index.html",
"scripts": {
"postinstall": "node ./node_modules/bower/bin/bower install -s",
"postinstall": "node ./node_modules/bower/bin/bower install -q && npm run fix-fa",
"fix-fa": "npm run fix-fa:ver && npm run fix-fa:ie",
"fix-fa:ver": "replace '\\?v=4\\.7\\.0' '' ODP/WebContent/libs/fontawesome/css/*.css -s",
"fix-fa:ie": "replace '\\?#iefix&v=4\\.7\\.0' '' ODP/WebContent/libs/fontawesome/css/*.css -s",
"build": "gulp build",
"build:watch": "gulp",
"dev": "concurrently --kill-others \"npm run json-srv\" \"npm run bs-srv\" \"npm run build:watch\"",
Expand Down Expand Up @@ -45,6 +48,7 @@
"jshint": "2.9.4",
"jshint-stylish": "2.2.1",
"json-server": "0.9.4",
"replace": "0.3.0",
"run-sequence": "1.2.2"
}
}

0 comments on commit be75cac

Please sign in to comment.