-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
122 lines (122 loc) · 3.93 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
{
"name": "@cognite/cognite-grafana-datasource",
"version": "4.2.1",
"description": "Cognite Data Fusion datasource",
"repository": "https://github.com/cognitedata/cognite-grafana-datasource",
"author": "Cognite AS",
"license": "Apache-2.0",
"contributors": [
"Roman Vizniak <roman.vizniak@itera.no>",
"Ivan Polomanyi <ivan.polomanyi@cognite.com>"
],
"scripts": {
"build": "webpack -c ./.config/webpack/webpack.config.ts --env production",
"build-parser": "nearleyc ./src/parser/events-assets/grammar.ne -o ./src/parser/events-assets/grammar.ts && nearleyc ./src/parser/ts/grammar.ne -o ./src/parser/ts/grammar.ts",
"dev": "webpack -w -c ./.config/webpack/webpack.config.ts --env development",
"e2e": "yarn cypress install && yarn grafana-e2e run",
"e2e:update": "yarn cypress install && yarn grafana-e2e run --update-screenshots",
"lint": "eslint --cache -c .eslintrc.cjs . ",
"lint:fix": "yarn lint --fix",
"prettier": "prettier --write \"src/**/*.{ts,tsx,js,json,css,md}\"",
"run-docker": "docker build -t cognite-grafana . && docker run --rm -it -p 3000:3000 cognite-grafana",
"server": "docker-compose up --build",
"sign": "npx --yes @grafana/sign-plugin@latest",
"test": "jest --watch --onlyChanged",
"test:ci": "jest --passWithNoTests --maxWorkers 4",
"test:debug": "node --inspect node_modules/.bin/jest --runInBand",
"typecheck": "tsc --noEmit"
},
"devDependencies": {
"@babel/core": "^7.16.7",
"@babel/preset-env": "^7.11.5",
"@grafana/e2e-selectors": "11.4.0",
"@grafana/eslint-config": "^8.0.0",
"@grafana/tsconfig": "^2.0.0",
"@stylistic/eslint-plugin-ts": "^2.11.0",
"@swc/core": "^1.3.90",
"@swc/helpers": "^0.5.0",
"@swc/jest": "^0.2.26",
"@testing-library/jest-dom": "^6.0.0",
"@testing-library/react": "^16.0.0",
"@types/glob": "^8.0.0",
"@types/jest": "^29.5.0",
"@types/lodash": "^4.14.188",
"@types/ms": "^0.7.31",
"@types/node": "^20.8.7",
"@types/react": "^18.0.0",
"@typescript-eslint/eslint-plugin": "^8.15.0",
"@typescript-eslint/parser": "^8.15.0",
"copy-webpack-plugin": "^12.0.0",
"css-loader": "^7.0.0",
"eslint": "^9.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-react": "^7.37.2",
"eslint-plugin-react-hooks": "^5.0.0",
"eslint-webpack-plugin": "^4.2.0",
"fork-ts-checker-webpack-plugin": "^9.0.0",
"glob": "^11.0.0",
"identity-obj-proxy": "3.0.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"lint-staged": "^15.0.0",
"prettier": "^3.0.0",
"replace-in-file-webpack-plugin": "^1.0.6",
"sass": "1.83.0",
"sass-loader": "16.0.4",
"style-loader": "4.0.0",
"swc-loader": "^0.2.3",
"ts-jest": "^29.2.5",
"ts-node": "^10.9.2",
"tsconfig-paths": "^4.1.0",
"typescript": "~5.7.0",
"webpack": "^5.96.1",
"webpack-cli": "^5.1.4",
"webpack-livereload-plugin": "^3.0.2",
"wrap-ansi": "^9.0.0",
"wrap-ansi-cjs": "^8.0.0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"linters": {
"*.{ts,tsx,js,json,css}": [
"eslint -c .eslintrc.js --fix",
"prettier --write",
"git add"
],
"*.{md}": [
"prettier --write",
"git add"
]
},
"ignore": [
"*/**/grammar.ts"
]
},
"engines": {
"node": ">=20"
},
"dependencies": {
"@emotion/css": "^11.1.3",
"@grafana/data": "^11.3.0",
"@grafana/runtime": "^11.3.0",
"@grafana/schema": "^11.3.0",
"@grafana/ui": "^11.3.0",
"deepdash": "^5.0.0",
"eslint-plugin-jsdoc": "50.6.1",
"graphql": "^16.6.0",
"graphql-language-service": "^5.1.2",
"graphql-tag": "^2.12.6",
"jsonlint-mod": "^1.7.6",
"lodash": "^4.17.21",
"ms": "^2.1.2",
"nearley": "^2.19",
"query-string": "^6.10.1",
"react": "18.3.1",
"react-dom": "18.3.1"
}
}