1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2025-12-11 09:11:50 +00:00
tobspr_shapez.io/package.json
Даниїл Григор'єв 75e306ec59
Migrate from Yarn Classic to npm (#65)
* Switch to npm in electron/

May change resolved package versions.

* Remove redundant electron-notarize dependency

The number of dependencies stays the same. Only direct mention in
package.json is removed.

* Assume Node.js 22.x and clean up dependencies

Targeting Node.js 22.x allows using the new fs.glob* functions, which
can replace the glob module. It is still downloaded as there are other
packages using it, but is no longer included in devDependencies.

Also remove @types/filesystem, as this API is not used anywhere in the
code, it is non-standard and some of it was removed from Chromium. Was
likely used with Cordova for YORG.io 3 mobile support.

* Update linting stack

Install the latest versions of the following packages:

- @eslint/js (^9.24.0)
- eslint (^9.24.0)
- typescript-eslint (^8.29.1)

and remove packages that are no longer used:

- @types/eslint__js
- yarn

Config files were not modified.

* Switch root package to npm

npm is able to resolve packages using yarn.lock as a resolution hint.
Note that files other than those included in this commit are
intentionally kept outdated, as they may need a bigger change.
2025-04-10 23:22:03 +03:00

90 lines
3.3 KiB
JSON

{
"name": "shapez",
"version": "1.6.0",
"main": "index.js",
"repository": "https://github.com/tobspr-games/shapez.io",
"author": "tobspr Games <hello@tobspr.io>",
"license": "GPL-3.0-or-later",
"private": true,
"type": "module",
"scripts": {
"gulp": "gulp --cwd gulp",
"lint": "eslint .",
"prettier-all": "prettier --write .",
"buildTypes": "tsc src/js/application.js --declaration --allowJs --emitDeclarationOnly --skipLibCheck --out types.js",
"package-win32-x64": "gulp --cwd gulp package.standalone.win32-x64",
"package-win32-arm64": "gulp --cwd gulp package.standalone.win32-arm64",
"package-linux-x64": "gulp --cwd gulp package.standalone.linux-x64",
"package-linux-arm64": "gulp --cwd gulp package.standalone.linux-arm64",
"package-darwin-x64": "gulp --cwd gulp package.standalone.darwin-x64",
"package-darwin-arm64": "gulp --cwd gulp package.standalone.darwin-arm64",
"package-all": "gulp --cwd gulp package.standalone.all"
},
"dependencies": {
"ajv": "^6.10.2",
"circular-json": "^0.5.9",
"clipboard-copy": "^3.1.0",
"crc": "^3.8.0",
"debounce-promise": "^3.1.2",
"howler": "^2.1.2",
"lz-string": "^1.4.4",
"semver": "^7.3.5"
},
"devDependencies": {
"@eslint/js": "^9.24.0",
"@tsconfig/node-lts": "^22.0.1",
"@tsconfig/strictest": "^2.0.5",
"@types/circular-dependency-plugin": "^5.0.5",
"@types/gulp": "^4.0.9",
"@types/gulp-htmlmin": "^1.3.32",
"@types/lz-string": "^1.3.34",
"@types/node": "^22.14.0",
"@types/webpack": "^5.28.0",
"browser-sync": "^2.27.10",
"circular-dependency-plugin": "^5.2.2",
"css-mqpacker": "^7.0.0",
"cssnano": "^4.1.10",
"cssnano-preset-advanced": "^4.0.7",
"delete-empty": "^3.0.0",
"electron-packager": "^15.4.0",
"eslint": "^9.24.0",
"globals": "^15.0.0",
"gulp": "^4.0.2",
"gulp-audiosprite": "^1.1.0",
"gulp-cache": "^1.1.3",
"gulp-cached": "^1.1.1",
"gulp-clean": "^0.4.0",
"gulp-dart-sass": "^1.0.2",
"gulp-dom": "^1.0.0",
"gulp-fluent-ffmpeg": "^2.0.0",
"gulp-htmlmin": "^5.0.1",
"gulp-if": "^3.0.0",
"gulp-imagemin": "^7.1.0",
"gulp-plumber": "^1.2.1",
"gulp-postcss": "^8.0.0",
"gulp-rename": "^2.0.0",
"gulp-webserver": "^0.9.1",
"gulp-yaml": "^2.0.4",
"imagemin-gifsicle": "^7.0.0",
"imagemin-jpegtran": "^7.0.0",
"imagemin-mozjpeg": "^8.0.0",
"imagemin-pngquant": "^8.0.0",
"postcss-assets": "^5.0.0",
"postcss-critical-split": "^2.5.3",
"postcss-preset-env": "^6.5.0",
"postcss-round-subpixels": "^1.2.0",
"prettier": "^3.3.2",
"strip-json-comments": "^3.0.1",
"terser-webpack-plugin": "^5.3.6",
"ts-loader": "^9.4.2",
"typescript": "^5.8.2",
"typescript-eslint": "^8.29.1",
"webpack": "^5.75.0",
"webpack-deadcode-plugin": "^0.1.17",
"webpack-stream": "^7.0.0",
"webpack-strip-block": "^0.2.0",
"worker-loader": "^3.0.8",
"yaml": "^1.10.0"
}
}