2021-08-20 09:39:07 +00:00
|
|
|
{
|
|
|
|
"name": "codemirror-promql",
|
2021-12-20 19:50:52 +00:00
|
|
|
"version": "0.19.0",
|
2021-08-20 09:39:07 +00:00
|
|
|
"description": "a CodeMirror mode for the PromQL language",
|
2021-09-10 13:38:20 +00:00
|
|
|
"main": "dist/cjs/index.js",
|
|
|
|
"module": "dist/esm/index.js",
|
2021-08-20 09:39:07 +00:00
|
|
|
"scripts": {
|
2021-09-09 15:52:03 +00:00
|
|
|
"build": "npm run build:grammar && npm run build:lib",
|
2022-01-02 10:41:47 +00:00
|
|
|
"build:grammar": "npx lezer-generator src/grammar/promql.grammar -o src/grammar/parser",
|
2021-08-29 13:16:25 +00:00
|
|
|
"build:lib": "bash ./build.sh",
|
2022-03-11 14:56:26 +00:00
|
|
|
"test": "npm run build:grammar && ts-mocha -p tsconfig.json src/**/*.test.ts",
|
|
|
|
"test:coverage": "npm run build:grammar && nyc ts-mocha -p tsconfig.json src/**/*.test.ts",
|
2021-08-20 09:39:07 +00:00
|
|
|
"codecov": "nyc report --reporter=text-lcov > coverage.lcov && codecov",
|
|
|
|
"lint": "eslint src/ --ext .ts",
|
|
|
|
"lint:fix": "eslint --fix src/ --ext .ts"
|
|
|
|
},
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
2021-11-03 11:46:58 +00:00
|
|
|
"url": "git+https://github.com/prometheus/codemirror-promql.git"
|
2021-08-20 09:39:07 +00:00
|
|
|
},
|
|
|
|
"keywords": [
|
|
|
|
"promql",
|
|
|
|
"codemirror",
|
|
|
|
"mode",
|
|
|
|
"prometheus"
|
|
|
|
],
|
|
|
|
"author": "Prometheus Authors <prometheus-developers@googlegroups.com>",
|
2021-09-27 08:17:30 +00:00
|
|
|
"license": "Apache-2.0",
|
2021-08-20 09:39:07 +00:00
|
|
|
"bugs": {
|
2021-11-03 11:46:58 +00:00
|
|
|
"url": "https://github.com/prometheus/codemirror-promql/issues"
|
2021-08-20 09:39:07 +00:00
|
|
|
},
|
2021-12-03 14:02:32 +00:00
|
|
|
"homepage": "https://github.com/prometheus/codemirror-promql/blob/main/README.md",
|
2021-08-20 09:39:07 +00:00
|
|
|
"dependencies": {
|
|
|
|
"lru-cache": "^6.0.0"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
2021-12-01 14:54:22 +00:00
|
|
|
"@codemirror/autocomplete": "^0.19.9",
|
2021-09-24 19:40:49 +00:00
|
|
|
"@codemirror/basic-setup": "^0.19.0",
|
2021-11-15 13:31:55 +00:00
|
|
|
"@codemirror/highlight": "^0.19.6",
|
2021-12-07 10:41:46 +00:00
|
|
|
"@codemirror/language": "^0.19.7",
|
2021-11-18 13:32:18 +00:00
|
|
|
"@codemirror/lint": "^0.19.3",
|
2021-11-22 14:00:39 +00:00
|
|
|
"@codemirror/state": "^0.19.6",
|
2021-12-07 09:01:41 +00:00
|
|
|
"@codemirror/view": "^0.19.27",
|
2021-12-20 19:53:44 +00:00
|
|
|
"@lezer/common": "^0.15.11",
|
|
|
|
"@lezer/lr": "^0.15.5",
|
2021-11-17 09:28:52 +00:00
|
|
|
"@lezer/generator": "^0.15.2",
|
2021-11-16 20:34:32 +00:00
|
|
|
"@types/chai": "^4.2.22",
|
2021-12-01 14:54:22 +00:00
|
|
|
"@types/lru-cache": "^5.1.1",
|
2021-11-16 18:48:09 +00:00
|
|
|
"@types/mocha": "^9.0.0",
|
2021-12-07 15:19:54 +00:00
|
|
|
"@types/node": "^16.11.12",
|
2021-12-23 10:46:06 +00:00
|
|
|
"@typescript-eslint/eslint-plugin": "^5.8.0",
|
2021-12-23 10:05:56 +00:00
|
|
|
"@typescript-eslint/parser": "^5.8.0",
|
2021-08-20 09:39:07 +00:00
|
|
|
"chai": "^4.2.0",
|
2021-12-01 14:54:22 +00:00
|
|
|
"codecov": "^3.8.3",
|
2021-12-10 13:01:36 +00:00
|
|
|
"eslint": "^8.4.1",
|
2021-09-10 13:38:20 +00:00
|
|
|
"eslint-config-prettier": "^8.3.0",
|
2021-11-16 18:49:03 +00:00
|
|
|
"eslint-plugin-flowtype": "^8.0.3",
|
2021-11-17 14:30:55 +00:00
|
|
|
"eslint-plugin-import": "^2.25.3",
|
2021-09-10 13:38:20 +00:00
|
|
|
"eslint-plugin-prettier": "^4.0.0",
|
2021-08-20 09:39:07 +00:00
|
|
|
"isomorphic-fetch": "^3.0.0",
|
2021-11-18 11:08:46 +00:00
|
|
|
"mocha": "^8.4.0",
|
2021-11-22 11:48:19 +00:00
|
|
|
"nock": "^13.2.1",
|
2021-08-20 09:39:07 +00:00
|
|
|
"nyc": "^15.1.0",
|
2021-12-07 10:42:34 +00:00
|
|
|
"prettier": "^2.5.1",
|
2021-12-01 14:54:22 +00:00
|
|
|
"ts-loader": "^7.0.5",
|
2021-08-20 09:39:07 +00:00
|
|
|
"ts-mocha": "^8.0.0",
|
2021-11-18 17:36:57 +00:00
|
|
|
"ts-node": "^10.4.0",
|
2022-03-06 16:33:45 +00:00
|
|
|
"typescript": "^4.6.2"
|
2021-08-20 09:39:07 +00:00
|
|
|
},
|
|
|
|
"peerDependencies": {
|
2021-12-01 14:54:22 +00:00
|
|
|
"@codemirror/autocomplete": "^0.19.9",
|
2021-11-15 13:31:55 +00:00
|
|
|
"@codemirror/highlight": "^0.19.6",
|
2021-12-07 10:41:46 +00:00
|
|
|
"@codemirror/language": "^0.19.7",
|
2021-11-18 13:32:18 +00:00
|
|
|
"@codemirror/lint": "^0.19.3",
|
2021-11-22 14:00:39 +00:00
|
|
|
"@codemirror/state": "^0.19.6",
|
2021-12-07 09:01:41 +00:00
|
|
|
"@codemirror/view": "^0.19.27",
|
2021-12-20 19:53:44 +00:00
|
|
|
"@lezer/common": "^0.15.11"
|
2021-08-20 09:39:07 +00:00
|
|
|
},
|
|
|
|
"prettier": {
|
|
|
|
"singleQuote": true,
|
|
|
|
"trailingComma": "es5",
|
|
|
|
"printWidth": 150
|
|
|
|
},
|
|
|
|
"engines": {
|
|
|
|
"node": ">=12.0.0"
|
|
|
|
}
|
|
|
|
}
|