mirror of
https://github.com/gurnec/removeddit.git
synced 2026-03-11 08:54:27 +00:00
Update dependencies
This commit is contained in:
parent
a97fc287e5
commit
385758918b
3 changed files with 13128 additions and 577 deletions
20
README.md
20
README.md
|
|
@ -5,18 +5,28 @@ Just go to any Reddit post and replace the `re` of `reddit` in the URL with `un`
|
|||
This is a done by comparing the comments being stored in [Jason Baumgartner's](https://pushshift.io/) [Pushshift Reddit API](https://github.com/pushshift/api) and the ones from Reddit's API. The frontend, developed by Jesper Wrang and originally available at [removeddit.com](https://removeddit.com), is written in [React](https://reactjs.org/) and uses [Sass](https://sass-lang.com/) as the CSS Preprocessor.
|
||||
|
||||
# Development
|
||||
Download [npm](https://www.npmjs.com/get-npm)
|
||||
|
||||
Download Unddit:
|
||||
```bash
|
||||
git clone https://github.com/gurnec/removeddit.git && cd removeddit
|
||||
git clone https://github.com/gurnec/removeddit.git
|
||||
```
|
||||
|
||||
Download [npm](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm), or update your existing npm to the latest version:
|
||||
```bash
|
||||
mkdir npm && cd npm
|
||||
npm --no-package-lock install npm
|
||||
mv node_modules ../removeddit/ && cd ../removeddit && rmdir ../npm
|
||||
alias npm="$(pwd)/node_modules/.bin/npm"
|
||||
```
|
||||
|
||||
Build the Javascript files and launch a local server for development:
|
||||
```bash
|
||||
npm install
|
||||
npm start
|
||||
```
|
||||
|
||||
This will build the Javascript files and launch a local server for development. Visit http://localhost:8080 and make sure the site is running. If you're getting connection errors to Reddit or Pushshift, it might be because you're running a VPN. Try turning it off for development.
|
||||
Visit http://localhost:8080 and make sure the site is running. If you're getting connection errors to Reddit or Pushshift, it might be because you're running a VPN. Try turning it off for development.
|
||||
|
||||
The CSS is build seperatly (to keep the build steps / configs very simple) by running
|
||||
The CSS is built separately (to keep the build steps / configs very simple) by running:
|
||||
```bash
|
||||
npm run css
|
||||
```
|
||||
|
|
|
|||
13673
package-lock.json
generated
13673
package-lock.json
generated
File diff suppressed because it is too large
Load diff
12
package.json
12
package.json
|
|
@ -29,27 +29,31 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"core-js": "^3.21.1",
|
||||
"npm": "^8.5.5",
|
||||
"react": "^16.14.0",
|
||||
"react-dom": "^16.14.0",
|
||||
"react-router-dom": "^5.3.0",
|
||||
"snuownd": "git+https://github.com/JordanMilne/snuownd.git",
|
||||
"snuownd": "github:JordanMilne/snuownd",
|
||||
"unstated": "^2.1.1",
|
||||
"whatwg-fetch": "^3.6.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/cli": "^7.17.6",
|
||||
"@babel/core": "^7.17.7",
|
||||
"@babel/core": "^7.17.8",
|
||||
"@babel/eslint-parser": "^7.17.0",
|
||||
"@babel/plugin-proposal-class-properties": "^7.16.7",
|
||||
"@babel/preset-env": "^7.16.11",
|
||||
"@babel/preset-react": "^7.16.7",
|
||||
"acorn": "^8.7.0",
|
||||
"babel-loader": "^8.2.3",
|
||||
"eslint": "^7.32.0",
|
||||
"babel-loader": "^8.2.4",
|
||||
"eslint": "^8.11.0",
|
||||
"sass": "^1.49.9",
|
||||
"standard": "^16.0.4",
|
||||
"webpack": "^5.70.0",
|
||||
"webpack-cli": "^4.9.2",
|
||||
"webpack-dev-server": "^4.7.4"
|
||||
},
|
||||
"overrides": {
|
||||
"minimist": "git+https://github.com/meszaros-lajos-gyorgy/minimist-lite#semver:^v2.2.1"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue