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