diff --git a/src/FilterLists.Web/.gitignore b/src/FilterLists.Web/.gitignore index 4d29575de..9f6f0d08b 100644 --- a/src/FilterLists.Web/.gitignore +++ b/src/FilterLists.Web/.gitignore @@ -1,5 +1,3 @@ -# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. - # dependencies /node_modules /.pnp @@ -20,4 +18,4 @@ npm-debug.log* yarn-debug.log* -yarn-error.log* +yarn-error.log* \ No newline at end of file diff --git a/src/FilterLists.Web/config-overrides.js b/src/FilterLists.Web/config-overrides.js new file mode 100644 index 000000000..7373d107d --- /dev/null +++ b/src/FilterLists.Web/config-overrides.js @@ -0,0 +1,9 @@ +const { override, fixBabelImports } = require('customize-cra'); + +module.exports = override( + fixBabelImports('import', { + libraryName: 'antd', + libraryDirectory: 'es', + style: 'css', + }), +); \ No newline at end of file diff --git a/src/FilterLists.Web/package-lock.json b/src/FilterLists.Web/package-lock.json index c553cc344..5c095e1a9 100644 Binary files a/src/FilterLists.Web/package-lock.json and b/src/FilterLists.Web/package-lock.json differ diff --git a/src/FilterLists.Web/package.json b/src/FilterLists.Web/package.json index bb2a23593..c183e0cf3 100644 --- a/src/FilterLists.Web/package.json +++ b/src/FilterLists.Web/package.json @@ -1,30 +1,28 @@ { - "name": "web", + "name": "filterlists.web", "version": "0.1.0", "private": true, "dependencies": { - "@types/jest": "24.0.18", - "@types/node": "12.7.3", - "@types/react": "16.9.2", - "@types/react-dom": "16.9.0", + "@types/jest": "^24.0.18", + "@types/node": "^12.7.3", + "@types/react": "^16.9.2", + "@types/react-dom": "^16.9.0", "@types/react-router-dom": "^4.3.5", - "@types/react-table": "^6.8.5", - "bootstrap": "^4.3.1", - "es6-promise": "^4.2.8", - "moment": "^2.24.0", + "antd": "^3.22.2", + "babel-plugin-import": "^1.12.1", + "customize-cra": "^0.5.0", "react": "^16.9.0", - "react-bootstrap": "^1.0.0-beta.12", + "react-app-rewired": "^2.1.3", "react-dom": "^16.9.0", "react-router-dom": "^5.0.1", - "react-scripts": "3.1.1", - "react-table": "^6.10.0", - "typescript": "3.6.2" + "react-scripts": "^3.1.1", + "slugify": "^1.3.4", + "typescript": "^3.6.2" }, "scripts": { - "start": "react-scripts start", - "build": "react-scripts build", - "test": "react-scripts test", - "eject": "react-scripts eject" + "start": "react-app-rewired start", + "build": "react-app-rewired build", + "test": "react-app-rewired test" }, "proxy": "https://filterlists.com", "eslintConfig": { @@ -41,6 +39,5 @@ "last 1 firefox version", "last 1 safari version" ] - }, - "devDependencies": {} -} + } +} \ No newline at end of file diff --git a/src/FilterLists.Web/public/index.html b/src/FilterLists.Web/public/index.html index 4fedac461..ec85e765d 100644 --- a/src/FilterLists.Web/public/index.html +++ b/src/FilterLists.Web/public/index.html @@ -1,27 +1,42 @@ +
+ + + + + +FilterLists is built with ReactJS and therefore requires first-party JavaScript to be enabled. We do not use any - third-party JavaScript, and your privacy is very important to us. If you prefer not to enable JavaScript or your - browser does not support it, the data is also available on our GitHub repo.
-+ FilterLists is built with ReactJS and therefore requires first-party + JavaScript to be enabled. We do not use any third-party JavaScript, and + your privacy is very important to us. If you prefer not to enable + JavaScript or your browser does not support it, the data is also + available on + our GitHub repo. +
+