Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

draft: CRA migration, DX slim-down #92

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions .babelrc

This file was deleted.

19 changes: 0 additions & 19 deletions .eslintrc.js

This file was deleted.

1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,4 @@ desktop.ini
.Trashes

lib/
public/
.cache-loader
74 changes: 0 additions & 74 deletions Jenkinsfile

This file was deleted.

9 changes: 0 additions & 9 deletions conf/gzip.conf

This file was deleted.

99 changes: 0 additions & 99 deletions conf/nginx.conf

This file was deleted.

5 changes: 0 additions & 5 deletions husky.config.js

This file was deleted.

15 changes: 0 additions & 15 deletions jest.config.json

This file was deleted.

6 changes: 6 additions & 0 deletions jsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"compilerOptions": {
"baseUrl": "src"
},
"include": ["src", "jsconfig.json"]
}
4 changes: 0 additions & 4 deletions lint-staged.json

This file was deleted.

81 changes: 23 additions & 58 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,76 +3,23 @@
"version": "1.0.0",
"description": "frontend for the ACM membership portal",
"private": true,
"main": "index.js",
"scripts": {
"test": "jest --config jest.config.json",
"build": "NODE_ENV=production webpack -p --progress --color",
"start": "react-scripts start",
"build": "react-scripts build",
"eject": "react-scripts eject",
"dev": "WEBPACK=true NODE_ENV=development webpack-dev-server --cache --progress --color --display detailed --mode development",
"lint": "eslint --fix --color 'src/**/*.js*' 'tests/**/*.js*' && prettier --write 'src/**/*.css' 'src/**/*.scss'"
},
"repository": {
"type": "git",
"url": "git+https://github.com/uclaacm/membership-portal-ui.git"
},
"author": "nkansal96",
"author": "uclaacm",
"license": "MIT",
"bugs": {
"url": "https://github.com/uclaacm/membership-portal-ui/issues"
},
"homepage": "https://github.com/uclaacm/membership-portal-ui#readme",
"devDependencies": {
"@babel/core": "^7.1.2",
"@babel/plugin-proposal-class-properties": "^7.1.0",
"@babel/plugin-proposal-object-rest-spread": "^7.0.0",
"@babel/plugin-transform-modules-commonjs": "^7.1.0",
"@babel/plugin-transform-object-assign": "^7.0.0",
"@babel/preset-env": "^7.1.0",
"@babel/preset-react": "^7.0.0",
"@types/enzyme": "^3.1.14",
"@types/jest": "^23.3.2",
"@types/react": "^16.4.14",
"@types/react-dom": "^16.0.8",
"@types/react-redux": "^6.0.9",
"@types/react-router-dom": "^4.3.1",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "^23.6.0",
"babel-loader": "^8.0.4",
"cache-loader": "^1.2.2",
"clean-webpack-plugin": "^0.1.19",
"compression-webpack-plugin": "^2.0.0",
"css-loader": "^1.0.0",
"enzyme": "^3.6.0",
"enzyme-adapter-react-16": "^1.5.0",
"enzyme-to-json": "^3.3.4",
"eslint": "^5.7.0",
"eslint-config-airbnb": "^17.1.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-jest": "^21.25.1",
"eslint-plugin-jsx-a11y": "^6.1.2",
"eslint-plugin-react": "^7.11.1",
"extract-text-webpack-plugin": "^4.0.0-beta.0",
"html-minifier": "^3.5.20",
"html-webpack-plugin": "^3.2.0",
"husky": "^1.0.1",
"jest": "^23.6.0",
"lint-staged": "^7.3.0",
"node-sass": "^4.9.3",
"prettier": "^1.14.3",
"react-test-renderer": "^16.5.2",
"regenerator-runtime": "^0.12.1",
"sass-loader": "^7.1.0",
"script-ext-html-webpack-plugin": "^2.0.1",
"source-map-loader": "^0.2.4",
"style-loader": "^0.23.0",
"thread-loader": "^1.2.0",
"uglifyjs-webpack-plugin": "^2.0.1",
"webpack": "^4.20.2",
"webpack-bundle-analyzer": "^3.0.2",
"webpack-cli": "^3.1.1",
"webpack-dev-server": "^3.1.9"
},
"dependencies": {
"babel-polyfill": "^6.23.0",
"chart.js": "^2.7.2",
"dompurify": "^0.9.0",
"history": "^4.7.2",
Expand All @@ -89,8 +36,26 @@
"react-redux": "^5.0.7",
"react-router-dom": "^4.3.1",
"react-router-redux": "^5.0.0-alpha.4",
"react-scripts": "4.0.3",
"redux": "^4.0.1",
"redux-thunk": "^2.3.0",
"whatwg-fetch": "^2.0.3"
"sass": "^1.37.5"
},
"eslintConfig": {
"extends": [
"react-app"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}
Binary file removed pages/assets/fonts/lato-300-latin-ext.woff2
Binary file not shown.
Binary file removed pages/assets/fonts/lato-300-latin.woff2
Binary file not shown.
Binary file removed pages/assets/fonts/lato-400-latin-ext.woff2
Binary file not shown.
Binary file removed pages/assets/fonts/lato-400-latin.woff2
Binary file not shown.
Binary file removed pages/assets/fonts/lato-400i-latin-ext.woff2
Binary file not shown.
Binary file removed pages/assets/fonts/lato-400i-latin.woff2
Binary file not shown.
Binary file removed pages/assets/fonts/lato-700-latin-ext.woff2
Binary file not shown.
Binary file removed pages/assets/fonts/lato-700-latin.woff2
Binary file not shown.
13 changes: 0 additions & 13 deletions pages/index.html

This file was deleted.

11 changes: 0 additions & 11 deletions prettier.config.js

This file was deleted.

File renamed without changes
File renamed without changes
Loading