-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
1,458 additions
and
247 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,16 @@ | ||
# Basic NGINX configuration for a Single-Page Application (SPA) | ||
server { | ||
listen 80; | ||
server_name localhost; | ||
listen 80 default_server; | ||
listen [::]:80 default_server; | ||
|
||
# HSTS - Add HSTS header to all responses | ||
add_header Strict-Transport-Security "max-age=600; includeSubDomains" always; | ||
|
||
location / { | ||
root /usr/share/nginx/html; | ||
index index.html index.htm; | ||
root /usr/share/nginx/html; | ||
index index.html index.htm; | ||
|
||
# This try_files statement facilitates SPA framework routing | ||
try_files $uri $uri/ /index.html; | ||
try_files $uri $uri/ /index.html; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "skeleton-ui-react", | ||
"version": "0.6.1", | ||
"version": "1.0.0", | ||
"description": "React SPA Starter Project", | ||
"main": "index.js", | ||
"repository": "[email protected]:leanstacks/skeleton-ui-react.git", | ||
|
@@ -16,7 +16,7 @@ | |
}, | ||
"dependencies": {}, | ||
"devDependencies": { | ||
"@fortawesome/fontawesome-free": "^5.1.0", | ||
"@fortawesome/fontawesome-free": "^5.5.0", | ||
"axios": "^0.18.0", | ||
"babel-cli": "^6.26.0", | ||
"babel-core": "^6.26.3", | ||
|
@@ -26,38 +26,38 @@ | |
"babel-polyfill": "^6.26.0", | ||
"babel-preset-env": "^1.7.0", | ||
"babel-preset-react": "^6.24.1", | ||
"bootstrap": "4.1.1", | ||
"bootstrap": "4.1.3", | ||
"clean-webpack-plugin": "^0.1.17", | ||
"copy-webpack-plugin": "^4.3.1", | ||
"css-loader": "^0.28.7", | ||
"dotenv": "^4.0.0", | ||
"enzyme": "^3.3.0", | ||
"enzyme-adapter-react-16": "^1.1.1", | ||
"enzyme": "^3.7.0", | ||
"enzyme-adapter-react-16": "^1.6.0", | ||
"enzyme-to-json": "^3.3.4", | ||
"extract-text-webpack-plugin": "^3.0.2", | ||
"file-loader": "^1.1.6", | ||
"history": "^4.7.2", | ||
"html-webpack-plugin": "^2.30.1", | ||
"jest": "^23.3.0", | ||
"jest-localstorage-mock": "^2.2.0", | ||
"jest": "^23.6.0", | ||
"jest-localstorage-mock": "^2.3.0", | ||
"jquery": "^3.3.1", | ||
"lodash": "^4.17.10", | ||
"lodash": "^4.17.11", | ||
"moment": "^2.22.2", | ||
"node-sass": "^4.7.2", | ||
"numeral": "^2.0.6", | ||
"popper.js": "^1.14.3", | ||
"raf": "^3.4.0", | ||
"react": "^16.4.1", | ||
"react-dom": "^16.4.1", | ||
"react-redux": "^5.0.7", | ||
"react": "^16.6.1", | ||
"react-dom": "^16.6.1", | ||
"react-redux": "^5.1.0", | ||
"react-router-dom": "^4.3.1", | ||
"redux": "^4.0.0", | ||
"redux": "^4.0.1", | ||
"redux-mock-store": "^1.5.3", | ||
"redux-thunk": "^2.3.0", | ||
"sass-loader": "^6.0.6", | ||
"style-loader": "^0.19.0", | ||
"url-loader": "^0.6.2", | ||
"validator": "^10.4.0", | ||
"validator": "^10.8.0", | ||
"webpack": "^3.9.1", | ||
"webpack-dev-server": "^2.9.5", | ||
"webpack-merge": "^4.1.1" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.