aboutsummaryrefslogtreecommitdiffstats
path: root/subprojects/frontend/package.json
diff options
context:
space:
mode:
authorLibravatar Kristóf Marussy <kristof@marussy.com>2022-12-09 23:49:07 +0100
committerLibravatar Kristóf Marussy <kristof@marussy.com>2022-12-11 12:18:43 +0100
commit280a3fab74348697429b7bab56b3436968113d79 (patch)
treee1603153db18f7f35c1bcceb03462409f75002db /subprojects/frontend/package.json
parentrefactor(frontend): lazy load XtextClient (diff)
downloadrefinery-280a3fab74348697429b7bab56b3436968113d79.tar.gz
refinery-280a3fab74348697429b7bab56b3436968113d79.tar.zst
refinery-280a3fab74348697429b7bab56b3436968113d79.zip
refactor(frontend): split vite config
Also introduces tsconfig.shared.json to keep track of source files used both and build time and in the browser.
Diffstat (limited to 'subprojects/frontend/package.json')
-rw-r--r--subprojects/frontend/package.json5
1 files changed, 3 insertions, 2 deletions
diff --git a/subprojects/frontend/package.json b/subprojects/frontend/package.json
index db5d3f68..a826755d 100644
--- a/subprojects/frontend/package.json
+++ b/subprojects/frontend/package.json
@@ -7,7 +7,7 @@
7 "build": "cross-env MODE=production vite build", 7 "build": "cross-env MODE=production vite build",
8 "serve": "cross-env MODE=development vite serve", 8 "serve": "cross-env MODE=development vite serve",
9 "typegen": "xstate typegen \"src/**/*.ts?(x)\"", 9 "typegen": "xstate typegen \"src/**/*.ts?(x)\"",
10 "typecheck": "tsc -p tsconfig.node.json && tsc -p tsconfig.json", 10 "typecheck": "tsc -p tsconfig.shared.json && tsc -p tsconfig.node.json && tsc -p tsconfig.json",
11 "lint": "eslint .", 11 "lint": "eslint .",
12 "lint:ci": "eslint -f json -o build/eslint.json .", 12 "lint:ci": "eslint -f json -o build/eslint.json .",
13 "lint:fix": "yarn run lint --fix" 13 "lint:fix": "yarn run lint --fix"
@@ -62,6 +62,7 @@
62 "@types/eslint": "^8.4.10", 62 "@types/eslint": "^8.4.10",
63 "@types/html-minifier-terser": "^7.0.0", 63 "@types/html-minifier-terser": "^7.0.0",
64 "@types/lodash-es": "^4.17.6", 64 "@types/lodash-es": "^4.17.6",
65 "@types/micromatch": "^4.0.2",
65 "@types/ms": "^0.7.31", 66 "@types/ms": "^0.7.31",
66 "@types/node": "^18.11.13", 67 "@types/node": "^18.11.13",
67 "@types/prettier": "^2.7.1", 68 "@types/prettier": "^2.7.1",
@@ -83,10 +84,10 @@
83 "eslint-plugin-react": "^7.31.11", 84 "eslint-plugin-react": "^7.31.11",
84 "eslint-plugin-react-hooks": "^4.6.0", 85 "eslint-plugin-react-hooks": "^4.6.0",
85 "html-minifier-terser": "^7.1.0", 86 "html-minifier-terser": "^7.1.0",
87 "micromatch": "^4.0.5",
86 "prettier": "^2.8.1", 88 "prettier": "^2.8.1",
87 "typescript": "4.9.3", 89 "typescript": "4.9.3",
88 "vite": "^4.0.0", 90 "vite": "^4.0.0",
89 "vite-plugin-inject-preload": "^1.1.1",
90 "vite-plugin-pwa": "^0.13.3", 91 "vite-plugin-pwa": "^0.13.3",
91 "workbox-window": "^6.5.4" 92 "workbox-window": "^6.5.4"
92 } 93 }