1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2025-12-10 00:31:51 +00:00
tobspr_shapez.io/package.json
Даниїл Григор'єв 9906397170
Build tools cleanup pass (#81)
* Fix tsconfig scopes affecting html.js

Since it's quite hard to use a DOM library type there, remove the type
entirely.

* Remove environment variables check

Nothing is using them anymore. It can be added back if needed later.

* Refactor Texture Packer downloading

Refactor local-config.js tasks file into a generic "environment"
category consisting of checking if Java is installed, downloading the
runnable Texture Packer if it's not yet downloaded and copying the local
configuration template; update README accordingly.

* Prepare environment only at postinstall

Remove environment.prepare task from default build pipelines, add a
postinstall script that calls the task, using environment.js as the
gulpfile to speed it up.

* Remove "docs" tasks and types generation script

Remove tasks from docs.js as they are unlikely to do anything meaningful
nowadays. Also remove the buildTypes script as it doesn't work anymore.
A better solution will be provided in the future.

* Simplify some globs

Use additional gulp.src options instead of specifying more or complex
globs.

* Extract built-temp location to a variable

Add the src/js/built-temp directory as a new variable in config.js,
replace all existing references to built-temp with this variable.
2025-06-19 04:51:34 +03:00

86 lines
3.1 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": {
"postinstall": "gulp -f gulp/environment.js prepare",
"gulp": "gulp --cwd gulp",
"lint": "eslint .",
"prettier-all": "prettier --write .",
"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": {
"@msgpack/msgpack": "^3.1.2",
"ajv": "^6.10.2",
"circular-json": "^0.5.9",
"clipboard-copy": "^3.1.0",
"debounce-promise": "^3.1.2",
"howler": "^2.1.2"
},
"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/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",
"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"
}
}