Files
LiveSplitOne/package.json
T
Christopher Serr 349d95ebb0 Context Menu, CSS Modules and React 19 (#1015)
This replaces the context menu with our own. By doing that we no longer
need to force install our npm packages, as there are no longer any
conflicts. In fact, as part of this change, I updated us to the latest
React 19 and even enabled the React compiler.

I also explored CSS modules for the first time, which are going to allow
us to reduce conflicts between CSS rules and possibly even allow us to
fully remove SASS, as the need for it is going to be reduced.

I also found out that the latest Rust nightly is broken due to their
update to LLVM 20. So I pinned the version to the last working nightly
version.
2025-02-20 21:40:55 +00:00

56 lines
1.7 KiB
JSON

{
"name": "livesplit",
"main": "dist/bundle.js",
"type": "module",
"scripts": {
"build:core": "node buildCore.js",
"build:core:release": "node buildCore.js --release",
"build:core:deploy": "node buildCore.js --max-opt --nightly",
"lint": "eslint src",
"publish": "webpack --mode production",
"serve": "webpack serve",
"tauri:icons": "tauri icon src/assets/icon.png",
"tauri:build-html": "webpack --mode production --env TAURI=true",
"tauri:watch": "tauri dev",
"tauri:publish": "tauri build"
},
"dependencies": {
"idb": "^8.0.0",
"markdown-it": "^14.1.0",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react-resizable": "^3.0.4",
"react-sidebar": "^3.0.2",
"react-toastify": "^11.0.3"
},
"devDependencies": {
"@babel/plugin-proposal-explicit-resource-management": "^7.25.9",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.13",
"@tauri-apps/cli": "^1.6.0",
"@types/markdown-it": "^14.1.2",
"@types/node": "^22.13.1",
"@types/react": "^19.0.10",
"@types/react-dom": "^19.0.4",
"@types/react-resizable": "^3.0.3",
"@types/react-sidebar": "^3.0.2",
"clean-webpack-plugin": "^4.0.0",
"css-loader": "^7.1.2",
"eslint": "^9.20.1",
"favicons-webpack-plugin": "^6.0.0",
"html-inline-script-webpack-plugin": "^3.1.0",
"html-webpack-plugin": "^5.6.0",
"react-compiler-webpack": "^0.1.2",
"react-refresh-typescript": "^2.0.7",
"sass": "^1.77.2",
"sass-loader": "^16.0.4",
"style-loader": "^4.0.0",
"ts-loader": "^9.4.2",
"typescript": "^5.7.3",
"typescript-eslint": "^8.24.0",
"webpack": "^5.91.0",
"webpack-cli": "^6.0.1",
"webpack-dev-server": "^5.2.0",
"workbox-webpack-plugin": "^7.0.0"
}
}