mirror of
https://github.com/techno-tim/littlelink-server.git
synced 2026-08-10 05:08:22 -05:00
- Downgrade webpack to v4 for razzle 4.2.18 compatibility - Downgrade webpack-dev-server to ~3.11.0 (razzle peer dep) - Downgrade html-webpack-plugin to ~4.5.2 and mini-css-extract-plugin to ^1.6.2 - Remove outdated resolutions block (string-width, table were conflicting) - Add src/setupTests.js to suppress React Router v6->v7 async deprecation warnings - Update .nvmrc, Dockerfile, and workflows to Node v24.18.0
61 lines
1.9 KiB
JSON
61 lines
1.9 KiB
JSON
{
|
|
"name": "littlelink-server",
|
|
"version": "1.0.0",
|
|
"description": "A server based on littlelink",
|
|
"main": "app.js",
|
|
"license": "MIT",
|
|
"private": true,
|
|
"scripts": {
|
|
"start": "razzle start",
|
|
"build": "razzle build",
|
|
"debug": "yarn start --inspect --inspect-port 9230",
|
|
"test": "razzle test --env=jsdom",
|
|
"start:prod": "NODE_ENV=production node build/server.js",
|
|
"lint": "eslint .",
|
|
"lint:style": "stylelint ./src/**/*.css ./public/**/*.css",
|
|
"ci": "yarn lint && yarn lint:style && yarn lint:markdown && yarn test",
|
|
"lint:markdown": "markdownlint .github/*.md && markdownlint README.md"
|
|
},
|
|
"dependencies": {
|
|
"@fortawesome/fontawesome-svg-core": "^6.7.2",
|
|
"@fortawesome/free-solid-svg-icons": "^6.7.2",
|
|
"@fortawesome/free-regular-svg-icons": "^6.7.2",
|
|
"@fortawesome/free-brands-svg-icons": "^6.7.2",
|
|
"@fortawesome/react-fontawesome": "^0.2.6",
|
|
"compression": "^1.8.1",
|
|
"express": "^4.21.2",
|
|
"helmet": "^7.1.0",
|
|
"morgan": "^1.10.1",
|
|
"prop-types": "^15.8.1",
|
|
"react": "^18.3.1",
|
|
"react-dom": "^18.3.1",
|
|
"react-router-dom": "^6.30.1",
|
|
"serialize-javascript": "^7.0.5"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.29.0",
|
|
"@babel/eslint-parser": "^7.28.4",
|
|
"@babel/preset-react": "^7.27.1",
|
|
"babel-preset-razzle": "^4.2.18",
|
|
"eslint": "^8.57.0",
|
|
"eslint-config-prettier": "^9.1.2",
|
|
"eslint-plugin-import": "^2.32.0",
|
|
"eslint-plugin-jsx": "^0.1.0",
|
|
"eslint-plugin-node": "^11.1.0",
|
|
"eslint-plugin-prettier": "^5.5.4",
|
|
"eslint-plugin-promise": "^6.6.0",
|
|
"eslint-plugin-react": "^7.37.5",
|
|
"html-webpack-plugin": "~4.5.2",
|
|
"markdownlint-cli": "^0.48.0",
|
|
"mini-css-extract-plugin": "^1.6.2",
|
|
"prettier": "^3.8.2",
|
|
"razzle": "^4.2.18",
|
|
"razzle-dev-utils": "^4.2.18",
|
|
"react-test-renderer": "^18.3.1",
|
|
"stylelint": "^16.25.0",
|
|
"url": "^0.11.4",
|
|
"webpack": "^4.46.0",
|
|
"webpack-dev-server": "~3.11.0"
|
|
}
|
|
}
|