58 lines
2.1 KiB
JSON
58 lines
2.1 KiB
JSON
{
|
|
"name": "firefish",
|
|
"version": "20240430",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://firefish.dev/firefish/firefish.git"
|
|
},
|
|
"packageManager": "pnpm@8.15.7",
|
|
"private": true,
|
|
"scripts": {
|
|
"rebuild": "pnpm run clean && pnpm run build",
|
|
"build": "pnpm node ./scripts/build.mjs && pnpm run gulp",
|
|
"start": "pnpm --filter backend run start",
|
|
"start:container": "pnpm run gulp && pnpm run migrate && pnpm run start",
|
|
"start:test": "pnpm --filter backend run start:test",
|
|
"init": "pnpm run migrate",
|
|
"migrate": "pnpm --filter backend run migration:run",
|
|
"revertmigration": "pnpm --filter backend run migration:revert",
|
|
"gulp": "gulp build",
|
|
"watch": "pnpm run dev",
|
|
"dev": "pnpm node ./scripts/dev.mjs",
|
|
"dev:staging": "NODE_OPTIONS=--max_old_space_size=3072 NODE_ENV=development pnpm run build && pnpm run start",
|
|
"lint": "pnpm run lint:ts; pnpm run lint:rs",
|
|
"lint:ts": "pnpm --filter !firefish-js -r --parallel run lint",
|
|
"lint:rs": "cargo clippy --fix --allow-dirty --allow-staged && cargo fmt --all --",
|
|
"debug": "pnpm run build:debug && pnpm run start",
|
|
"build:debug": "pnpm run clean && pnpm node ./scripts/dev-build.mjs && pnpm run gulp",
|
|
"mocha": "pnpm --filter backend run mocha",
|
|
"test": "pnpm run test:ts && pnpm run test:rs",
|
|
"test:ts": "pnpm run mocha",
|
|
"test:rs": "cargo test",
|
|
"format": "pnpm run format:ts; pnpm run format:rs",
|
|
"format:ts": "pnpm -r --parallel run format",
|
|
"format:rs": "cargo fmt --all --",
|
|
"clean": "pnpm node ./scripts/clean-built.mjs",
|
|
"clean-npm": "pnpm node ./scripts/clean-npm.mjs",
|
|
"clean-cargo": "cargo clean",
|
|
"clean-all": "pnpm run clean && pnpm run clean-cargo && pnpm run clean-npm"
|
|
},
|
|
"dependencies": {
|
|
"gulp": "4.0.2",
|
|
"gulp-cssnano": "2.1.3",
|
|
"gulp-replace": "1.1.4",
|
|
"gulp-terser": "2.1.0",
|
|
"js-yaml": "4.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"@biomejs/biome": "1.7.1",
|
|
"@biomejs/cli-darwin-arm64": "^1.7.1",
|
|
"@biomejs/cli-darwin-x64": "^1.7.1",
|
|
"@biomejs/cli-linux-arm64": "^1.7.1",
|
|
"@biomejs/cli-linux-x64": "^1.7.1",
|
|
"@types/node": "20.12.7",
|
|
"execa": "8.0.1",
|
|
"pnpm": "8.15.7",
|
|
"typescript": "5.4.5"
|
|
}
|
|
}
|