Skip to content

Commit

Permalink
GH-19 Remove react-router (#44)
Browse files Browse the repository at this point in the history
Closes #19 

* GH-19 Remove react-router
* GH-19 Remove branch merge vestiges
* GH-19 Safe npm update
* GH-19 npm upgrade memoize-one
* GH-19 npm upgrade immutability-helper
* GH-19 remove dotenv
* GH-19 npm upgrade react-ace
* GH-19 npm upgrade less-loader
* GH-19 npm upgrade terser
* GH-19 npm upgrade eslint
* GH-19 npm upgrade eslint
* GH-19 npm upgrade css-loader
* GH-19 update homepage in package.json
* GH-19 npm upgrade file-loader
* GH-19 npm upgrade clean-webpack-plugin
* GH-19 npm upgrade copy-webpack-plugin
* GH-19 npm upgrade style-loader
* GH-19 npm upgrade url-loader
* GH-19 remove react-spinners
* GH-19 npm upgrade grapesjs
* GH-19 npm upgrade semantic-ui-react
* GH-19 remove reactstrap
* GH-19 update package-lock.json
* GH-19 remove babel/polyfill
* GH-19 Instruct travis to build PRs
  • Loading branch information
david-polak authored Aug 15, 2019
1 parent 85b5cc9 commit 6df5827
Show file tree
Hide file tree
Showing 67 changed files with 5,290 additions and 5,843 deletions.
1 change: 0 additions & 1 deletion .env.example

This file was deleted.

1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ typings/

# dotenv environment variables file
.env
.env*

# parcel-bundler cache (https://parceljs.org/)
.cache
Expand Down
19 changes: 9 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ cache:
- npm
- yarn

branches:
only:
- master

matrix:
include:
- os: linux
Expand All @@ -25,16 +21,19 @@ matrix:
before_install:
- eval "${MATRIX_EVAL}"

install: true
script: true
before_deploy:
install:
- npm install
- cd website
- npm install
- npm run build
- cd ..
- echo $DEPLOY_PATH > .env.prod
- npm install

script:
- npm run prod
- cd website
- npm run build
- cd ..

before_deploy:
- mv build website/build/bodylight.js/composer

deploy:
Expand Down
4 changes: 3 additions & 1 deletion babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ module.exports = function (api) {
["@babel/preset-react"],
[
"@babel/preset-env", {
"useBuiltIns": "usage",
"corejs": 3,
"targets": {
"browsers": [
"last 2 chrome versions",
Expand All @@ -21,4 +23,4 @@ module.exports = function (api) {
presets,
plugins
}
}
}
Loading

0 comments on commit 6df5827

Please sign in to comment.