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-11-03 04:46:58 -07:00
|
|
|
"homepage": "https://github.com/prometheus/codemirror-promql/blob/master/README.md",
|
2021-08-20 02:39:07 -07:00
|
|
|
"dependencies": {
|
|
|
|
"lru-cache": "^6.0.0"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
2021-11-18 02:01:11 -08:00
|
|
|
"@codemirror/autocomplete": "^0.19.8",
|
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-11-17 10:36:55 -08:00
|
|
|
"@codemirror/language": "^0.19.5",
|
2021-11-18 05:32:18 -08:00
|
|
|
"@codemirror/lint": "^0.19.3",
|
2021-11-17 01:29:08 -08:00
|
|
|
"@codemirror/state": "^0.19.5",
|
2021-11-17 09:18:31 -08:00
|
|
|
"@codemirror/view": "^0.19.19",
|
2021-11-16 02:11:12 -08:00
|
|
|
"@lezer/common": "^0.15.8",
|
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-08-20 02:39:07 -07:00
|
|
|
"@types/lru-cache": "^5.1.0",
|
2021-11-16 10:48:09 -08:00
|
|
|
"@types/mocha": "^9.0.0",
|
2021-11-15 06:27:58 -08:00
|
|
|
"@types/node": "^16.11.7",
|
2021-11-16 05:33:49 -08:00
|
|
|
"@typescript-eslint/eslint-plugin": "^5.3.1",
|
|
|
|
"@typescript-eslint/parser": "^5.3.1",
|
2021-08-20 02:39:07 -07:00
|
|
|
"chai": "^4.2.0",
|
|
|
|
"codecov": "^3.8.1",
|
2021-11-16 05:33:49 -08:00
|
|
|
"eslint": "^8.2.0",
|
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-08-20 02:39:07 -07:00
|
|
|
"nock": "^13.0.11",
|
|
|
|
"nyc": "^15.1.0",
|
2021-11-17 06:30:31 -08:00
|
|
|
"prettier": "^2.4.1",
|
2021-08-20 02:39:07 -07:00
|
|
|
"ts-loader": "^7.0.4",
|
|
|
|
"ts-mocha": "^8.0.0",
|
|
|
|
"ts-node": "^9.0.0",
|
2021-11-18 05:50:30 -08:00
|
|
|
"typescript": "^4.5.2"
|
2021-08-20 02:39:07 -07:00
|
|
|
},
|
|
|
|
"peerDependencies": {
|
2021-11-18 02:01:11 -08:00
|
|
|
"@codemirror/autocomplete": "^0.19.8",
|
2021-11-15 05:31:55 -08:00
|
|
|
"@codemirror/highlight": "^0.19.6",
|
2021-11-17 10:36:55 -08:00
|
|
|
"@codemirror/language": "^0.19.5",
|
2021-11-18 05:32:18 -08:00
|
|
|
"@codemirror/lint": "^0.19.3",
|
2021-11-17 01:29:08 -08:00
|
|
|
"@codemirror/state": "^0.19.5",
|
2021-11-17 09:18:31 -08:00
|
|
|
"@codemirror/view": "^0.19.19",
|
2021-11-16 02:11:12 -08:00
|
|
|
"@lezer/common": "^0.15.8"
|
2021-08-20 02:39:07 -07:00
|
|
|
},
|
|
|
|
"prettier": {
|
|
|
|
"singleQuote": true,
|
|
|
|
"trailingComma": "es5",
|
|
|
|
"printWidth": 150
|
|
|
|
},
|
|
|
|
"engines": {
|
|
|
|
"node": ">=12.0.0"
|
|
|
|
}
|
|
|
|
}
|