update dependencies and readme

This commit is contained in:
Robert Clarke 2020-03-18 15:02:15 +00:00
parent cdbfc8d664
commit 7bfb5ac4b4
3 changed files with 845 additions and 608 deletions

View file

@ -52,7 +52,7 @@ All the source javascript files live in `javascript/src`. Following is a list of
### Building ### Building
The javascript files are transpiled by babel, minified by webpack, sourcemaps are generated and then everything placed in `static/js`. The repo already contains the transpiled and minified files along with their corrosponding sourcemaps so you don't need to do anything to use these. If you would prefer to build it yourself, feel free to inspect the js files and then run the build process yourself (please ensure that you have [node, npm](https://nodejs.org/en/) and optionally [yarn](https://yarnpkg.com/lang/en/) installed): The JavaScript files are transpiled by babel, minified by webpack, sourcemaps are generated and then everything placed in `static/js`. The repo already contains the transpiled and minified files along with their corrosponding sourcemaps so you don't need to do anything to use these. If you would prefer to build it yourself, feel free to inspect the js files and then run the build process (please ensure that you have [node, npm](https://nodejs.org/en/) and optionally [yarn](https://yarnpkg.com/lang/en/) installed):
```bash ```bash
cd javascript cd javascript
@ -60,6 +60,10 @@ yarn
yarn webpack yarn webpack
``` ```
### Github warnings
You may get warnings about vulnerabilities from the JavaScript dependencies. These shouldn't be an issue since we only have dev-dependencies and none of the them reach the end-user, but if you don't want to run the buld process yourself, and to stop Github pestering you about security warnings, feel free to delete the top level `javascript` folder when committing.
## Options ## Options
### Pagination ### Pagination

View file

@ -1,16 +1,16 @@
{ {
"devDependencies": { "devDependencies": {
"@babel/core": "^7.6.4", "@babel/core": "^7.8.7",
"@babel/preset-env": "^7.6.3", "@babel/preset-env": "^7.8.7",
"babel-loader": "^8.0.6", "babel-loader": "^8.0.6",
"eslint": "^6.6.0", "eslint": "^6.8.0",
"eslint-config-standard": "^14.1.0", "eslint-config-standard": "^14.1.0",
"eslint-loader": "^3.0.2", "eslint-loader": "^3.0.3",
"eslint-plugin-import": "^2.18.2", "eslint-plugin-import": "^2.20.1",
"eslint-plugin-node": "^10.0.0", "eslint-plugin-node": "^11.0.0",
"eslint-plugin-promise": "^4.2.1", "eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.1", "eslint-plugin-standard": "^4.0.1",
"webpack": "^4.41.2", "webpack": "^4.42.0",
"webpack-cli": "^3.3.9" "webpack-cli": "^3.3.11"
} }
} }

File diff suppressed because it is too large Load diff