aboutsummaryrefslogtreecommitdiffstats
path: root/src/web/package.json
diff options
context:
space:
mode:
authorJP Dillingham <jpdillingham@gmail.com>2022-05-22 14:54:52 -0500
committerJP Dillingham <jpdillingham@gmail.com>2022-05-22 14:54:52 -0500
commit8a5831d99b201e519480da1cf52077095d890baf (patch)
tree59ef0e535667cb9c321969696af361b2447b0359 /src/web/package.json
parent451b9df55a1ec073b5b8f5a74e41c1053e47f2c8 (diff)
downloadslskd-8a5831d99b201e519480da1cf52077095d890baf.tar.gz
add eslint and basic config
Diffstat (limited to 'src/web/package.json')
-rw-r--r--src/web/package.json22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/web/package.json b/src/web/package.json
index 6603a2e5..2049e07a 100644
--- a/src/web/package.json
+++ b/src/web/package.json
@@ -3,6 +3,16 @@
"version": "0.1.0",
"private": true,
"homepage": ".",
+ "scripts": {
+ "start": "react-scripts start",
+ "build": "react-scripts build",
+ "test": "react-scripts test",
+ "test-unattended": "react-scripts test --watchAll false --passWithNoTests",
+ "eject": "react-scripts eject",
+ "postinstall": "semantic-ui-css-patch",
+ "lint": "eslint .",
+ "lint:fix": "eslint --fix ."
+ },
"dependencies": {
"@codemirror/highlight": "^0.19.7",
"@codemirror/legacy-modes": "^0.19.0",
@@ -26,19 +36,9 @@
},
"devDependencies": {
"@semantic-ui-react/css-patch": "^1.0.0",
+ "eslint": "^8.16.0",
"react-scripts": "^5.0.0"
},
- "scripts": {
- "start": "react-scripts start",
- "build": "react-scripts build",
- "test": "react-scripts test",
- "test-unattended": "react-scripts test --watchAll false --passWithNoTests",
- "eject": "react-scripts eject",
- "postinstall": "semantic-ui-css-patch"
- },
- "eslintConfig": {
- "extends": "react-app"
- },
"browserslist": {
"production": [
">0.3%",