Skip to content

Instantly share code, notes, and snippets.

@edm00se
Created January 8, 2020 17:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save edm00se/b9a046d3f167228b24278e759700f1bd to your computer and use it in GitHub Desktop.
Save edm00se/b9a046d3f167228b24278e759700f1bd to your computer and use it in GitHub Desktop.
snippet for blog post on rebirth of app of ice and fire
"scripts": {
"postinstall": "node ./node_modules/bower/bin/bower install -s && 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\"",
"bs-srv": "browser-sync start --port 8000 --proxy localhost:3000",
"json-srv": "json-server --quiet --id unid db.json --watch --routes routes.json --static ODP/WebContent/",
"clean": "del-cli 'ODP/WebContent/*' '!ODP/WebContent/WEB-INF' '!ODP/WebContent/lib'",
"test": "echo \"Error: no test specified\" && exit 1"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment