Skip to content

Commit

Permalink
Fixing merge issue & adding pre/post build script
Browse files Browse the repository at this point in the history
  • Loading branch information
Arlindo Pereira committed Mar 21, 2019
1 parent 7fb1791 commit 80a1a54
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
8 changes: 7 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
# Dependency directories
node_modules/
.vscode/

# Build files
static/
inloco/
rjinloco/
inloco.zip
rjinloco.zip

# Automatic generated docs
public/esdoc/
Expand All @@ -18,4 +24,4 @@ src/components/App/sass/leaflet
coverage

# Mac OS X crap
.DS_Store
.DS_Store
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,9 @@
"logrequests": "npm run copyfiles && cross-env DEBUG='express:*' webpack-dev-server",
"mprj": "npm run copyfiles && cross-env NODE_ENV=mprj webpack-dev-server",
"prod": "npm run copyfiles && cross-env NODE_ENV=production webpack-dev-server --env.prod=true",
"prebuild": "rm -rf inloco inloco.zip 2> /dev/null",
"build": "npm run copyfiles && cross-env NODE_ENV=production webpack --env.prod=true",
"postbuild": "mv static inloco && zip -r inloco.zip inloco",
"lint": "eslint ./client ./webpack.config.js -f table || true",
"doc": "esdoc -c esdoc.json",
"test": "jest",
Expand Down
1 change: 0 additions & 1 deletion src/components/App/sass/components.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
@import "../../SidebarLeft/sidebarLeft.scss";
@import "../../SidebarRight/sidebarRight.scss";
@import "../../Sinalid/sinalid.scss";
@import "../../StreetView/streetView.scss";
@import "../../Toolbar/toolbar.scss";
@import "../../ToolbarMenu/toolbarMenu.scss";
@import "../../Tooltip/tooltip.scss";
Expand Down

0 comments on commit 80a1a54

Please sign in to comment.