mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
4b996c53d3
[misc] set up bulk lint/format in dev-env GitOrigin-RevId: 6f7939c4c732bca72c9b658491e2c4c851c82b44
45 lines
1.5 KiB
JSON
45 lines
1.5 KiB
JSON
{
|
|
"name": "@overleaf/metrics",
|
|
"version": "3.5.2",
|
|
"description": "A drop-in metrics and monitoring module for node.js apps",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/overleaf/metrics-module.git"
|
|
},
|
|
"dependencies": {
|
|
"@google-cloud/debug-agent": "^5.1.2",
|
|
"@google-cloud/profiler": "^4.1.3",
|
|
"@google-cloud/trace-agent": "^5.1.1",
|
|
"compression": "^1.7.4",
|
|
"prom-client": "^11.1.3",
|
|
"yn": "^3.1.1"
|
|
},
|
|
"devDependencies": {
|
|
"bunyan": "^1.0.0",
|
|
"chai": "^4.2.0",
|
|
"eslint": "^7.8.1",
|
|
"eslint-config-prettier": "^6.11.0",
|
|
"eslint-config-standard": "^14.1.1",
|
|
"eslint-plugin-chai-expect": "^2.2.0",
|
|
"eslint-plugin-chai-friendly": "^0.6.0",
|
|
"eslint-plugin-import": "^2.22.0",
|
|
"eslint-plugin-mocha": "^8.0.0",
|
|
"eslint-plugin-node": "^11.1.0",
|
|
"eslint-plugin-promise": "^4.2.1",
|
|
"eslint-plugin-standard": "^4.0.1",
|
|
"mocha": "^8.0.1",
|
|
"prettier-eslint-cli": "^5.0.0",
|
|
"sandboxed-module": "^2.0.4",
|
|
"sinon": "^9.0.2"
|
|
},
|
|
"scripts": {
|
|
"lint": "eslint --max-warnings 0 --format unix .",
|
|
"lint:fix": "eslint --fix .",
|
|
"test:unit": "mocha --reporter spec --recursive --exit --grep=$MOCHA_GREP test/unit",
|
|
"test:acceptance": "mocha --reporter spec --recursive --exit --grep=$MOCHA_GREP test/acceptance",
|
|
"test": "npm run test:unit && npm run test:acceptance",
|
|
"format": "prettier-eslint $PWD'/**/*.js' --list-different",
|
|
"format:fix": "prettier-eslint $PWD'/**/*.js' --write",
|
|
"test:ci": "npm run test"
|
|
}
|
|
}
|