aboutsummaryrefslogtreecommitdiffstats
path: root/src/web/package.json
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2024-03-04 07:15:01 -0600
committerGitHub <noreply@github.com>2024-03-04 07:15:01 -0600
commite3fc5c61afb1c17018e6ea1474a84c7c2e500162 (patch)
tree5e0ce1932f9d959b17d49fbc0a32b27434f13419 /src/web/package.json
parent264019f11042fbffd789560635bf8943d4de9aa2 (diff)
parent3af712067a03640fd251f804ca532bd4cd5f7b10 (diff)
downloadslskd-e3fc5c61afb1c17018e6ea1474a84c7c2e500162.tar.gz
Merge pull request #1080 from notjosh/chore/codestyle
[rfc][frontend] Add broader `eslint` config
Diffstat (limited to 'src/web/package.json')
-rw-r--r--src/web/package.json62
1 files changed, 32 insertions, 30 deletions
diff --git a/src/web/package.json b/src/web/package.json
index c0fd7657..87b6eba1 100644
--- a/src/web/package.json
+++ b/src/web/package.json
@@ -1,17 +1,17 @@
{
- "name": "web",
- "version": "0.1.0",
- "private": true,
- "homepage": ".",
- "scripts": {
- "start": "craco start",
- "build": "craco build",
- "test": "craco test",
- "test-unattended": "craco test --watchAll false --passWithNoTests",
- "eject": "craco eject",
- "postinstall": "semantic-ui-css-patch",
- "lint": "eslint .",
- "lint:fix": "eslint --fix ."
+ "browserslist": {
+ "development": [
+ ">0.3%",
+ "not ie 11",
+ "not dead",
+ "not op_mini all"
+ ],
+ "production": [
+ ">0.3%",
+ "not ie 11",
+ "not dead",
+ "not op_mini all"
+ ]
},
"dependencies": {
"@codemirror/language": "^6.0.0",
@@ -19,6 +19,7 @@
"@microsoft/signalr": "^7.0.7",
"@uiw/react-codemirror": "^4.2.4",
"axios": "^0.25.0",
+ "lodash": "^4.17.21",
"lz-string": "^1.4.4",
"react": "^16.8.6",
"react-dom": "^16.8.6",
@@ -36,26 +37,27 @@
"@craco/craco": "^7.0.0",
"@semantic-ui-react/craco-less": "^3.0.0",
"@semantic-ui-react/css-patch": "^1.0.0",
- "eslint": "^8.16.0",
+ "eslint": "^8.56.0",
+ "eslint-config-canonical": "^42.8.1",
"react-scripts": "^5.0.0"
},
+ "homepage": ".",
+ "name": "web",
"overrides": {
+ "@craco/craco": "^7.0.0",
"css-select": "^3.1.0",
- "css-what": "^5.0.1",
- "@craco/craco": "^7.0.0"
+ "css-what": "^5.0.1"
},
- "browserslist": {
- "production": [
- ">0.3%",
- "not ie 11",
- "not dead",
- "not op_mini all"
- ],
- "development": [
- ">0.3%",
- "not ie 11",
- "not dead",
- "not op_mini all"
- ]
- }
+ "private": true,
+ "scripts": {
+ "build": "craco build",
+ "eject": "craco eject",
+ "lint": "eslint .",
+ "lint:fix": "eslint --fix .",
+ "postinstall": "semantic-ui-css-patch",
+ "start": "craco start",
+ "test": "craco test",
+ "test-unattended": "craco test --watchAll false --passWithNoTests"
+ },
+ "version": "0.1.0"
}