mirror of
https://github.com/prometheus/prometheus.git
synced 2025-03-05 20:59:13 -08:00
This keeps the old "react-app" directory in its existing location (to make it easier to merge changes from the main branch), but separates it from the npm workspaces setup. Thus it now needs to be npm-installed/built/linted separately. This is a bit hacky, but should only be needed temporarily, until the old UI can be removed. Signed-off-by: Julius Volz <julius.volz@gmail.com>
65 lines
1.8 KiB
JSON
65 lines
1.8 KiB
JSON
{
|
|
"name": "@prometheus-io/codemirror-promql",
|
|
"version": "0.49.1",
|
|
"description": "a CodeMirror mode for the PromQL language",
|
|
"types": "dist/esm/index.d.ts",
|
|
"module": "dist/esm/index.js",
|
|
"main": "dist/cjs/index.js",
|
|
"scripts": {
|
|
"build": "npm run build:lib",
|
|
"build:lib": "bash ./build.sh",
|
|
"test": "NODE_OPTIONS=--experimental-vm-modules jest --runInBand",
|
|
"lint": "eslint src/ --ext .ts",
|
|
"lint:fix": "eslint --fix src/ --ext .ts"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/prometheus/prometheus.git"
|
|
},
|
|
"keywords": [
|
|
"promql",
|
|
"codemirror",
|
|
"mode",
|
|
"prometheus"
|
|
],
|
|
"author": "Prometheus Authors <prometheus-developers@googlegroups.com>",
|
|
"license": "Apache-2.0",
|
|
"bugs": {
|
|
"url": "https://github.com/prometheus/prometheus/issues"
|
|
},
|
|
"homepage": "https://github.com/prometheus/prometheus/blob/main/web/ui/module/codemirror-promql/README.md",
|
|
"dependencies": {
|
|
"@prometheus-io/lezer-promql": "0.49.1",
|
|
"lru-cache": "^7.18.3"
|
|
},
|
|
"devDependencies": {
|
|
"@codemirror/autocomplete": "^6.11.1",
|
|
"@codemirror/language": "^6.9.3",
|
|
"@codemirror/lint": "^6.4.2",
|
|
"@codemirror/state": "^6.3.3",
|
|
"@codemirror/view": "^6.22.1",
|
|
"@lezer/common": "^1.1.1",
|
|
"@lezer/highlight": "^1.2.0",
|
|
"@lezer/lr": "^1.3.14",
|
|
"eslint-plugin-prettier": "^5.1.3",
|
|
"isomorphic-fetch": "^3.0.0",
|
|
"nock": "^13.4.0"
|
|
},
|
|
"peerDependencies": {
|
|
"@codemirror/autocomplete": "^6.4.0",
|
|
"@codemirror/language": "^6.3.0",
|
|
"@codemirror/lint": "^6.0.0",
|
|
"@codemirror/state": "^6.1.1",
|
|
"@codemirror/view": "^6.4.0",
|
|
"@lezer/common": "^1.0.1"
|
|
},
|
|
"prettier": {
|
|
"singleQuote": true,
|
|
"trailingComma": "es5",
|
|
"printWidth": 150
|
|
},
|
|
"engines": {
|
|
"node": ">=12.0.0"
|
|
}
|
|
}
|