You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Hydro/package.json

70 lines
3.0 KiB
JSON

{
"name": "hydro-workspace",
"private": true,
"workspaces": [
"packages/*",
"plugins/*"
],
"main": "package.json",
"scripts": {
"build": "node build/prepare.js && tsc -b --verbose",
"build:installer": "esbuild ./install/install.js --minify --format=cjs | base64",
"build:watch": "node build/prepare.js && tsc -b --watch",
"build:ui": "yarn build:ui:gulp && node packages/ui-default/build",
"build:ui:gulp": "node packages/ui-default/build --gulp",
"build:ui:dev": "yarn build:ui:gulp && node --trace-deprecation packages/ui-default/build --dev",
"build:ui:production": "cross-env NODE_OPTIONS=--max_old_space_size=8192 yarn build:ui:gulp && node packages/ui-default/build --production",
"build:ui:production:webpack": "cross-env NODE_OPTIONS=--max_old_space_size=8192 node packages/ui-default/build --production",
"test": "mocha",
"benchmark": "cross-env BENCHMARK=true mocha",
"lint": "eslint packages --ext ts --fix",
"lint:ci": "eslint packages --ext ts",
"lint:ui": "yarn workspace @hydrooj/ui-default lint --ext .js,.ts,.jsx,.tsx . --fix",
"lint:ui:ci": "yarn workspace @hydrooj/ui-default lint --ext .js,.ts,.jsx,.tsx .",
"debug:all": "node --trace-warnings --async-stack-traces --trace-deprecation build/start --debug --template",
"debug": "node --trace-warnings --async-stack-traces --trace-deprecation node_modules/hydrooj/bin/hydrooj --debug --template",
"start:all": "node build/start",
"start": "node_modules/.bin/hydrooj",
"postinstall": "node build/prepare.js"
},
"version": "1.0.0",
"license": "AGPL-3.0-only",
"devDependencies": {
"@types/autocannon": "^7.9.0",
"@types/cross-spawn": "^6.0.2",
"@types/mocha": "^10.0.0",
"@types/node": "^18.11.3",
"@types/semver": "^7.3.13",
"@types/supertest": "^2.0.12",
"@typescript-eslint/eslint-plugin": "^5.42.0",
"@typescript-eslint/parser": "^5.42.0",
"autocannon": "^7.10.0",
"cac": "^6.7.14",
"cross-env": "^7.0.3",
"cross-spawn": "^7.0.3",
"esbuild": "0.15.2",
"eslint": "^8.26.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-typescript": "^17.0.0",
"eslint-import-resolver-typescript": "^3.5.2",
"eslint-import-resolver-webpack": "^0.13.2",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-jsx-a11y": "^6.6.1",
"eslint-plugin-react": "^7.31.10",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-simple-import-sort": "8.0.0",
"fs-extra": "^10.1.0",
"globby": "11.1.0",
"latest-version": "7.0.0",
"mocha": "^10.1.0",
"mongodb": "^3.7.3",
"mongodb-memory-server": "^8.9.5",
"nyc": "^15.1.0",
"ora": "^6.1.2",
"semver": "^7.3.8",
"supertest": "^6.3.1",
"typescript": "4.8.4"
},
"packageManager": "yarn@3.2.3"
}