mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2025-12-27 07:04:04 -05:00
- Removes `rootDirs` so all imports will be relative in the frontend - Updates (and unifies) imports to be `../types/...` etc instead of relying on "types" being in the rootDir for the frontend. - Fixes one type that was being picked up from `lib` in the frontend. - Adds a precommit hook to check in future Paves the way to writing _unit_ tests for the frontend for the subset of the frontend code we can import from `node` (which might be a lot of it!)
165 lines
5.4 KiB
JSON
165 lines
5.4 KiB
JSON
{
|
|
"name": "compiler-explorer",
|
|
"description": "Interactively investigate compiler output",
|
|
"type": "module",
|
|
"private": true,
|
|
"author": {
|
|
"name": "Matt Godbolt",
|
|
"email": "matt@godbolt.org",
|
|
"url": "https://xania.org"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "compiler-explorer/compiler-explorer"
|
|
},
|
|
"version": "0.0.3",
|
|
"engines": {
|
|
"node": ">=20.0.0"
|
|
},
|
|
"main": "./app.ts",
|
|
"dependencies": {
|
|
"@aws-sdk/client-dynamodb": "^3.828.0",
|
|
"@aws-sdk/client-ec2": "^3.828.0",
|
|
"@aws-sdk/client-s3": "^3.828.0",
|
|
"@aws-sdk/client-sqs": "^3.828.0",
|
|
"@aws-sdk/client-ssm": "^3.828.0",
|
|
"@aws-sdk/credential-providers": "^3.828.0",
|
|
"@flatten-js/interval-tree": "^1.1.3",
|
|
"@fortawesome/fontawesome-free": "^6.7.2",
|
|
"@orchidjs/sifter": "^1.1.0",
|
|
"@popperjs/core": "^2.11.8",
|
|
"@sentry/browser": "^9.28.1",
|
|
"@sentry/node": "^9.28.1",
|
|
"@types/semver": "^7.7.0",
|
|
"big-integer": "^1.6.52",
|
|
"bootstrap": "^5.3.6",
|
|
"buffer": "^6.0.3",
|
|
"chart.js": "^4.4.9",
|
|
"clipboard": "^2.0.11",
|
|
"commander": "^14.0.0",
|
|
"compression": "^1.8.0",
|
|
"copy-webpack-plugin": "^13.0.0",
|
|
"cross-env": "^7.0.3",
|
|
"enhanced-ms": "^4.1.0",
|
|
"events": "^3.3.0",
|
|
"express": "^5.1.0",
|
|
"file-saver": "^2.0.5",
|
|
"golden-layout": "^1.5.9",
|
|
"http-proxy": "^1.18.1",
|
|
"jquery": "^3.7.1",
|
|
"js-cookie": "^3.0.5",
|
|
"jszip": "^3.10.1",
|
|
"lodash.clonedeep": "^4.5.0",
|
|
"lru-cache": "^11.1.0",
|
|
"lz-string": "^1.5.0",
|
|
"monaco-editor": "^0.49.0",
|
|
"monaco-vim": "^0.4.2",
|
|
"morgan": "^1.10.0",
|
|
"node-targz": "^0.2.0",
|
|
"p-queue": "^8.1.0",
|
|
"path-browserify": "^1.0.1",
|
|
"profanities": "^3.0.1",
|
|
"prom-client": "^15.1.3",
|
|
"pug": "^3.0.3",
|
|
"response-time": "^2.3.3",
|
|
"sanitize-filename": "^1.6.3",
|
|
"scroll-into-view-if-needed": "^3.1.0",
|
|
"semver": "^7.7.2",
|
|
"serve-favicon": "^2.5.1",
|
|
"systemd-socket": "0.0.0",
|
|
"tar-stream": "^3.1.7",
|
|
"tom-select": "^2.4.3",
|
|
"tree-kill": "^1.2.2",
|
|
"triple-beam": "^1.4.1",
|
|
"tsx": "^4.20.1",
|
|
"underscore": "^1.13.7",
|
|
"url-join": "^5.0.0",
|
|
"whatwg-fetch": "^3.6.20",
|
|
"which": "^5.0.0",
|
|
"winston": "^3.17.0",
|
|
"winston-loki": "^6.1.3",
|
|
"winston-papertrail": "^1.0.5",
|
|
"winston-transport": "^4.9.0",
|
|
"ws": "^8.18.2",
|
|
"yaml": "^2.8.0"
|
|
},
|
|
"devDependencies": {
|
|
"@biomejs/biome": "^1.9.4",
|
|
"@sentry/types": "^9.28.1",
|
|
"@smithy/util-stream": "^4.2.2",
|
|
"@types/bootstrap": "^5.2.10",
|
|
"@types/chai": "^5.2.2",
|
|
"@types/compression": "^1.8.1",
|
|
"@types/express": "^5.0.3",
|
|
"@types/file-saver": "^2.0.7",
|
|
"@types/http-proxy": "^1.17.16",
|
|
"@types/jquery": "^3.5.32",
|
|
"@types/js-cookie": "^3.0.6",
|
|
"@types/node-targz": "^0.2.4",
|
|
"@types/request": "^2.48.12",
|
|
"@types/response-time": "^2.3.9",
|
|
"@types/serve-favicon": "^2.5.7",
|
|
"@types/temp": "^0.9.4",
|
|
"@types/underscore": "^1.13.0",
|
|
"@types/webpack-env": "^1.18.8",
|
|
"@types/which": "^3.0.4",
|
|
"@types/ws": "^8.18.1",
|
|
"@vitest/coverage-v8": "^3.2.3",
|
|
"aws-sdk-client-mock": "^4.1.0",
|
|
"cheerio": "^1.1.0",
|
|
"css-loader": "^7.1.2",
|
|
"css-minimizer-webpack-plugin": "^7.0.2",
|
|
"cypress": "^14.4.1",
|
|
"file-loader": "^6.2.0",
|
|
"husky": "^9.1.7",
|
|
"lint-staged": "^16.1.0",
|
|
"mini-css-extract-plugin": "^2.9.2",
|
|
"mock-fs": "^5.5.0",
|
|
"monaco-editor-webpack-plugin": "^7.1.0",
|
|
"nock": "^14.0.5",
|
|
"sass": "^1.89.2",
|
|
"sass-loader": "^16.0.5",
|
|
"source-map-loader": "^5.0.0",
|
|
"supertest": "^7.1.1",
|
|
"terser-webpack-plugin": "^5.3.14",
|
|
"ts-loader": "^9.5.2",
|
|
"typescript": "^5.8.3",
|
|
"vitest": "^3.0.7",
|
|
"vitest-fetch-mock": "^0.4.5",
|
|
"webpack": "^5.99.9",
|
|
"webpack-cli": "^6.0.1",
|
|
"webpack-dev-middleware": "^7.4.2",
|
|
"webpack-manifest-plugin": "^5.0.1"
|
|
},
|
|
"optionalDependencies": {
|
|
"@rollup/rollup-darwin-arm64": "*",
|
|
"@rollup/rollup-darwin-x64": "*",
|
|
"@rollup/rollup-linux-x64-gnu": "*",
|
|
"@rollup/rollup-linux-x64-musl": "*",
|
|
"@rollup/rollup-win32-x64-msvc": "*"
|
|
},
|
|
"scripts": {
|
|
"cypress": "cypress run",
|
|
"lint": "biome check . --write",
|
|
"lint-check": "biome check .",
|
|
"test-coverage": "vitest run --coverage",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"test-min": "vitest run --exclude test/filter-tests.ts",
|
|
"check": "npm run ts-check && npm run lint-check && npm run check-frontend-imports && npm run test-min -- --reporter dot",
|
|
"check-frontend-imports": "node ./etc/scripts/check-frontend-imports.js",
|
|
"dev": "cross-env NODE_ENV=DEV node --no-warnings=ExperimentalWarning --import=tsx app.ts",
|
|
"debugger": "cross-env NODE_ENV=DEV node --import=tsx --inspect-brk app.ts",
|
|
"debug": "cross-env NODE_ENV=DEV node --no-warnings=ExperimentalWarning --import=tsx app.ts --debug",
|
|
"start": "npm run webpack && cross-env NODE_ENV=LOCAL node --no-warnings=ExperimentalWarning --import=tsx app.ts",
|
|
"sentry": "npx -p @sentry/cli sentry-cli",
|
|
"update-browserslist": "npx browserslist@latest -- --update-db",
|
|
"prepare": "husky",
|
|
"ts-compile": "tsc",
|
|
"ts-check": "tsc -p ./tsconfig.backend.json --noEmit && tsc -p ./tsconfig.frontend.json --noEmit && tsc -p ./tsconfig.tests.json --noEmit",
|
|
"webpack": "node --no-warnings=ExperimentalWarning --import=tsx ./node_modules/webpack-cli/bin/cli.js --node-env=production --config webpack.config.esm.ts"
|
|
},
|
|
"license": "BSD-2-Clause",
|
|
"packageManager": "npm@11.2.0"
|
|
}
|