summaryrefslogtreecommitdiff
path: root/frontend/package.json
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2020-11-16 20:32:50 +0100
committerJon Bergli Heier <snakebite@jvnv.net>2020-11-16 20:32:50 +0100
commitb03234567aa2069f777a7a5d38a2ae0bc0d7ebc5 (patch)
treec59c86f45eb63c1d8b6cb3fcdad4ce16fc483887 /frontend/package.json
parentf23c03a3375cce6c16ba9255abaddf03efca01eb (diff)
Add frontend
Authentication is currently working but no other functionality is yet implemented. Authentication is done using OAuth 2 via the backend, currently we assume jab is being used.
Diffstat (limited to 'frontend/package.json')
-rw-r--r--frontend/package.json42
1 files changed, 42 insertions, 0 deletions
diff --git a/frontend/package.json b/frontend/package.json
new file mode 100644
index 0000000..ce00852
--- /dev/null
+++ b/frontend/package.json
@@ -0,0 +1,42 @@
+{
+ "name": "inventory",
+ "version": "0.1.0",
+ "private": true,
+ "dependencies": {
+ "@testing-library/jest-dom": "^5.11.4",
+ "@testing-library/react": "^11.1.0",
+ "@testing-library/user-event": "^12.1.10",
+ "bootstrap": "^4.5.3",
+ "react": "^17.0.1",
+ "react-bootstrap": "^1.4.0",
+ "react-dom": "^17.0.1",
+ "react-jwt": "^1.0.7",
+ "react-router-dom": "^5.2.0",
+ "react-scripts": "4.0.0"
+ },
+ "scripts": {
+ "start": "react-scripts start",
+ "build": "react-scripts build",
+ "test": "react-scripts test",
+ "eject": "react-scripts eject"
+ },
+ "eslintConfig": {
+ "extends": [
+ "react-app",
+ "react-app/jest"
+ ]
+ },
+ "browserslist": {
+ "production": [
+ ">0.2%",
+ "not dead",
+ "not op_mini all"
+ ],
+ "development": [
+ "last 1 chrome version",
+ "last 1 firefox version",
+ "last 1 safari version"
+ ]
+ },
+ "proxy": "http://inventory.localhost:5000"
+}