From 5ebf652f47011934b32bc860a370ea9d90ae1d6c Mon Sep 17 00:00:00 2001 From: Nathan Barber Date: Mon, 5 Apr 2021 19:33:06 -0400 Subject: [PATCH] Update readme, update license --- jsx/README.md | 19 +++---------------- jsx/package.json | 2 +- package.json | 2 +- 3 files changed, 5 insertions(+), 18 deletions(-) diff --git a/jsx/README.md b/jsx/README.md index e9fe6ed9..ce49a260 100644 --- a/jsx/README.md +++ b/jsx/README.md @@ -7,19 +7,6 @@ admin dashboard codebase. ### Build Commands - `yarn build`: Installs all dependencies and bundles the application - `yarn hot`: Bundles the application and runs a mock (serverless) version on port 8000 - -### Directory Tree -``` -jhadmin/ - .gitignore - README.md - admin-react-fe/ - package.json - webpack.config.json - yarn.lock - build/ - admin.fe.js - index.html - src/ - App.jsx -``` \ No newline at end of file +- `yarn lint`: Lints JSX with ESLint +- `yarn lint --fix`: Lints and fixes errors JSX with ESLint / formats with Prettier +- `yarn place`: Copies the transpiled React bundle to /share/jupyterhub/static/js/admin-react.js for use. \ No newline at end of file diff --git a/jsx/package.json b/jsx/package.json index b8f63f70..70258884 100644 --- a/jsx/package.json +++ b/jsx/package.json @@ -4,7 +4,7 @@ "description": "React application for the Jupyter Hub admin dashboard service", "main": "index.js", "author": "nabarber", - "license": "MIT", + "license": "BSD-3-Clause", "scripts": { "build": "yarn && webpack", "hot": "webpack && webpack-dev-server", diff --git a/package.json b/package.json index fba009a5..3fb2f20d 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "version": "0.0.0", "description": "JupyterHub nodejs dependencies", "author": "Jupyter Developers", - "license": "BSD", + "license": "BSD-3-Clause", "repository": { "type": "git", "url": "https://github.com/jupyter/jupyterhub.git"