diff options
author | Kristóf Marussy <kristof@marussy.com> | 2024-04-07 01:59:09 +0200 |
---|---|---|
committer | Kristóf Marussy <kristof@marussy.com> | 2024-04-07 01:59:09 +0200 |
commit | 1d2b5c85a177b4be0cc270b8e6e54488e23da5a1 (patch) | |
tree | c8b87c875faa7e6048e5ba41b5a9e4449263fc6a /subprojects/frontend/package.json | |
parent | chore(deps): upgrade to frontend-jdk17 8.0.0 (diff) | |
download | refinery-1d2b5c85a177b4be0cc270b8e6e54488e23da5a1.tar.gz refinery-1d2b5c85a177b4be0cc270b8e6e54488e23da5a1.tar.zst refinery-1d2b5c85a177b4be0cc270b8e6e54488e23da5a1.zip |
build: move Javascript config to top level
We need this to support multiple Javascript subprojects (e.g., a frontend and a
documentation website).
Diffstat (limited to 'subprojects/frontend/package.json')
-rw-r--r-- | subprojects/frontend/package.json | 24 |
1 files changed, 4 insertions, 20 deletions
diff --git a/subprojects/frontend/package.json b/subprojects/frontend/package.json index f7f6e8f8..c53d515f 100644 --- a/subprojects/frontend/package.json +++ b/subprojects/frontend/package.json | |||
@@ -10,11 +10,11 @@ | |||
10 | "type": "module", | 10 | "type": "module", |
11 | "private": true, | 11 | "private": true, |
12 | "scripts": { | 12 | "scripts": { |
13 | "build": "cross-env MODE=production vite build", | 13 | "build": "MODE=production vite build", |
14 | "serve": "cross-env MODE=development vite serve", | 14 | "serve": "MODE=development vite serve", |
15 | "typegen": "xstate typegen \"src/**/*.ts?(x)\"", | 15 | "typegen": "xstate typegen \"src/**/*.ts?(x)\"", |
16 | "typecheck": "tsc -p tsconfig.shared.json && tsc -p tsconfig.node.json && tsc -p tsconfig.json", | 16 | "typecheck": "yarn run g:tsc -p subprojects/frontend/tsconfig.shared.json && yarn run g:tsc -p subprojects/frontend/tsconfig.node.json && yarn run g:tsc -p subprojects/frontend/tsconfig.json", |
17 | "lint": "node config/eslintReport.cjs", | 17 | "lint": "yarn run g:lint subprojects/frontend", |
18 | "lint:fix": "yarn run lint --fix" | 18 | "lint:fix": "yarn run lint --fix" |
19 | }, | 19 | }, |
20 | "repository": { | 20 | "repository": { |
@@ -83,7 +83,6 @@ | |||
83 | "@types/d3-graphviz": "^2.6.10", | 83 | "@types/d3-graphviz": "^2.6.10", |
84 | "@types/d3-selection": "^3.0.10", | 84 | "@types/d3-selection": "^3.0.10", |
85 | "@types/d3-zoom": "^3.0.8", | 85 | "@types/d3-zoom": "^3.0.8", |
86 | "@types/eslint": "^8.56.7", | ||
87 | "@types/html-minifier-terser": "^7.0.2", | 86 | "@types/html-minifier-terser": "^7.0.2", |
88 | "@types/jspdf": "^2.0.0", | 87 | "@types/jspdf": "^2.0.0", |
89 | "@types/lodash-es": "^4.17.12", | 88 | "@types/lodash-es": "^4.17.12", |
@@ -93,26 +92,11 @@ | |||
93 | "@types/pnpapi": "^0.0.5", | 92 | "@types/pnpapi": "^0.0.5", |
94 | "@types/react": "^18.2.74", | 93 | "@types/react": "^18.2.74", |
95 | "@types/react-dom": "^18.2.23", | 94 | "@types/react-dom": "^18.2.23", |
96 | "@typescript-eslint/eslint-plugin": "^7.5.0", | ||
97 | "@typescript-eslint/parser": "^7.5.0", | ||
98 | "@vitejs/plugin-react-swc": "^3.6.0", | 95 | "@vitejs/plugin-react-swc": "^3.6.0", |
99 | "@xstate/cli": "^0.5.17", | 96 | "@xstate/cli": "^0.5.17", |
100 | "cross-env": "^7.0.3", | ||
101 | "eslint": "^8.57.0", | ||
102 | "eslint-config-airbnb": "^19.0.4", | ||
103 | "eslint-config-airbnb-typescript": "^18.0.0", | ||
104 | "eslint-config-prettier": "^9.1.0", | ||
105 | "eslint-import-resolver-typescript": "^3.6.1", | ||
106 | "eslint-plugin-import": "^2.29.1", | ||
107 | "eslint-plugin-jsx-a11y": "^6.8.0", | ||
108 | "eslint-plugin-mobx": "^0.0.9", | ||
109 | "eslint-plugin-prettier": "^5.1.3", | ||
110 | "eslint-plugin-react": "^7.34.1", | ||
111 | "eslint-plugin-react-hooks": "^4.6.0", | ||
112 | "html-minifier-terser": "^7.2.0", | 97 | "html-minifier-terser": "^7.2.0", |
113 | "micromatch": "^4.0.5", | 98 | "micromatch": "^4.0.5", |
114 | "pnpapi": "^0.0.0", | 99 | "pnpapi": "^0.0.0", |
115 | "prettier": "^3.2.5", | ||
116 | "typescript": "5.4.3", | 100 | "typescript": "5.4.3", |
117 | "vite": "^5.2.8", | 101 | "vite": "^5.2.8", |
118 | "vite-plugin-pwa": "^0.19.7", | 102 | "vite-plugin-pwa": "^0.19.7", |