-
Notifications
You must be signed in to change notification settings - Fork 442
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update React development stack (#72)
* Remove old project structure * Initialize project using Create React App npx create-react-app exportify --template typescript (https://create-react-app.dev/docs/adding-typescript/) * Add dependencies - JSZip - FileSaver.js - jQuery for legacy code support - Fontawesome - Sass - Bootstrap and Bootstrap React Keeping old version of Bootstrap for now (upgrade to come later) * Migrate Exportify to create-react-app stack - Yarn for dependency management - react-fontawesome for Font Awesome 5 icon components - TypeScript (more to come) - SASS support - JSZip upgrade Note: I've kept certain things like Bootstrap 3 and jQuery in order to make changes incrementally. * Add test suite - Auth redirect flow - Playlist loading (snapshot) - Single playlist export - Export all playlists * Add Bugsnag for error monitoring * Replace bind(this) with arrow functions * Use literals template for string concatenation * Update README.md for create-react-app development stack * Don't use Bugsnag in development environment
- Loading branch information
Showing
36 changed files
with
14,075 additions
and
847 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,27 @@ | ||
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. | ||
|
||
# dependencies | ||
/node_modules | ||
/.pnp | ||
.pnp.js | ||
|
||
# testing | ||
/coverage | ||
|
||
# production | ||
/build | ||
|
||
# misc | ||
.DS_Store | ||
.env.local | ||
.env.development.local | ||
.env.test.local | ||
.env.production.local | ||
|
||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
|
||
*.csv | ||
.ipynb_checkpoints | ||
.~* |
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,23 +1,16 @@ | ||
os: osx | ||
|
||
before_install: | ||
- brew cask install phantomjs | ||
- git clone git://github.com/n1k0/casperjs.git /tmp/casperjs | ||
- export PATH=/tmp/casperjs/bin/:$PATH | ||
|
||
before_script: | ||
- phantomjs --version | ||
- casperjs --version | ||
- python -m SimpleHTTPServer 8080 & | ||
- sleep 10 | ||
|
||
language: node_js | ||
node_js: | ||
- "stable" | ||
cache: | ||
directories: | ||
- node_modules | ||
script: | ||
- casperjs test test/integration | ||
|
||
- yarn build | ||
- yarn test | ||
deploy: | ||
provider: pages | ||
skip_cleanup: true | ||
github_token: $GITHUB_TOKEN | ||
keep_history: true | ||
local_dir: build | ||
on: | ||
branch: master |
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.