-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
119 lines (119 loc) · 3.95 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
{
"name": "@cognite/cognite-grafana-datasource",
"version": "4.2.0",
"description": "Cognite Data Fusion datasource",
"repository": "https://github.com/cognitedata/cognite-grafana-datasource",
"author": "Cognite AS",
"license": "Apache-2.0",
"contributors": [
"Roman Vizniak <[email protected]>",
"Ivan Polomanyi <[email protected]>"
],
"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 --ignore-path ./.gitignore --ext .js,.jsx,.ts,.tsx .",
"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": "10.4.7",
"@grafana/eslint-config": "^6.0.0",
"@grafana/tsconfig": "^1.2.0-rc1",
"@swc/core": "^1.2.144",
"@swc/helpers": "^0.5.0",
"@swc/jest": "^0.2.23",
"@testing-library/jest-dom": "^6.0.0",
"@testing-library/react": "^16.0.0",
"@types/glob": "^8.0.0",
"@types/jest": "^29.2.2",
"@types/lodash": "^4.14.188",
"@types/ms": "^0.7.31",
"@types/node": "^20.0.0",
"@types/react": "^18.0.0",
"@typescript-eslint/eslint-plugin": "^4.4.0",
"@typescript-eslint/parser": "^4.4.0",
"copy-webpack-plugin": "^12.0.0",
"css-loader": "^7.0.0",
"eslint": "^7.10.0",
"eslint-config-airbnb-typescript": "^18.0.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-react": "^7.21.3",
"eslint-plugin-react-hooks": "^4.2.0",
"eslint-webpack-plugin": "^4.0.0",
"fork-ts-checker-webpack-plugin": "^9.0.0",
"glob": "^8.0.3",
"identity-obj-proxy": "3.0.0",
"jest": "^29.3.1",
"jest-environment-jsdom": "^29.3.1",
"lint-staged": "^15.0.0",
"prettier": "^3.0.0",
"replace-in-file-webpack-plugin": "^1.0.6",
"sass": "1.77.8",
"sass-loader": "14.2.1",
"style-loader": "3.3.4",
"swc-loader": "^0.2.3",
"ts-jest": "^29.0.5",
"ts-node": "^10.5.0",
"tsconfig-paths": "^4.1.0",
"typescript": "~5.5.0",
"webpack": "^5.69.1",
"webpack-cli": "^5.0.2",
"webpack-livereload-plugin": "^3.0.2"
},
"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"
]
},
"dependencies": {
"@emotion/css": "^11.1.3",
"@grafana/data": "^10.1.2",
"@grafana/runtime": "^10.3.1",
"@grafana/schema": "^10.1.2",
"@grafana/ui": "^10.1.2",
"deepdash": "^5.0.0",
"eslint-plugin-jsdoc": "48.11.0",
"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"
}
}