mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-11-23 14:46:07 +09:00
33f5217fad
This is required to enable building from nix, as corepack cannot fetch the yarn version from npmjs.com during a build. Thus, an offline version is required. This also means that when upgrading yarn, also ensure to run `yarn fetch-yarn` to fetch the latest yarn version to the correct place, and commit that with your version bump. This will ensure that the version in the repo is kept in sync with the version in package.json.
82 lines
2.7 KiB
JSON
82 lines
2.7 KiB
JSON
{
|
|
"name": "iceshrimp",
|
|
"version": "2023.11.2",
|
|
"codename": "aqua",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://iceshrimp.dev/iceshrimp/iceshrimp.git"
|
|
},
|
|
"private": true,
|
|
"scripts": {
|
|
"rebuild": "clean && node ./scripts/build-greet.js && yarn workspace iceshrimp-js build && yarn workspaces foreach -Apitv run build && gulp",
|
|
"build": "node ./scripts/build-greet.js && yarn workspace iceshrimp-js run build && yarn workspaces foreach -Apitv run build && gulp",
|
|
"build:debug": "node ./scripts/build-greet.js && yarn workspace iceshrimp-js run build:debug && yarn workspaces foreach -Apitv run build:debug && gulp",
|
|
"start": "yarn workspace backend run start",
|
|
"start:debug": "yarn workspace backend run start:debug",
|
|
"start:test": "yarn workspace backend run start:test",
|
|
"init": "yarn migrate",
|
|
"migrate": "yarn workspace backend run migrate",
|
|
"revertmigration": "yarn workspace backend run revertmigration",
|
|
"migrateandstart": "yarn migrate && yarn start",
|
|
"gulp": "gulp build",
|
|
"watch": "yarn dev",
|
|
"dev": "node ./scripts/dev.js",
|
|
"dev:staging": "NODE_OPTIONS=--max_old_space_size=3072 NODE_ENV=development yarn build && yarn start",
|
|
"lint": "yarn workspaces foreach -Ap run lint",
|
|
"cy:open": "cypress open --browser --e2e --config-file=cypress.config.ts",
|
|
"cy:run": "cypress run",
|
|
"e2e": "start-server-and-test start:test http://localhost:61812 cy:run",
|
|
"mocha": "yarn workspace backend run mocha",
|
|
"test": "yarn mocha",
|
|
"format": "yarn workspaces foreach -Ap run format",
|
|
"clean": "node ./scripts/clean.js",
|
|
"clean-all": "node ./scripts/clean-all.js",
|
|
"cleanall": "yarn clean-all",
|
|
"focus-production": "node ./scripts/focus-production.js",
|
|
"regen-version": "node ./scripts/regen-version.js",
|
|
"pack-yarn": "corepack pack -o .yarn/corepack.tgz"
|
|
},
|
|
"workspaces": [
|
|
"packages/backend",
|
|
"packages/client",
|
|
"packages/sw",
|
|
"packages/iceshrimp-js"
|
|
],
|
|
"resolutions": {
|
|
"chokidar": "^3.3.1"
|
|
},
|
|
"dependencies": {
|
|
"@bull-board/api": "5.6.0",
|
|
"@bull-board/ui": "5.6.0",
|
|
"js-yaml": "4.1.0",
|
|
"seedrandom": "^3.0.5"
|
|
},
|
|
"devDependencies": {
|
|
"@biomejs/biome": "1.3.1",
|
|
"@types/gulp": "4.0.13",
|
|
"@types/gulp-rename": "2.0.2",
|
|
"@types/node": "20.4.1",
|
|
"chalk": "4.1.2",
|
|
"chokidar": "^3.5.3",
|
|
"cross-env": "7.0.3",
|
|
"cypress": "10.11.0",
|
|
"execa": "5.1.1",
|
|
"glob": "^10.3.10",
|
|
"gulp": "4.0.2",
|
|
"gulp-cssnano": "2.1.3",
|
|
"gulp-rename": "2.0.0",
|
|
"gulp-replace": "1.1.4",
|
|
"gulp-terser": "2.1.0",
|
|
"install-peers": "^1.0.4",
|
|
"start-server-and-test": "1.15.2",
|
|
"typescript": "5.1.6",
|
|
"yaml": "^2.3.4"
|
|
},
|
|
"packageManager": "yarn@4.0.2",
|
|
"dependenciesMeta": {
|
|
"@discordapp/twemoji@14.1.2": {
|
|
"unplugged": true
|
|
}
|
|
}
|
|
}
|