grafana/packages/grafana-test-utils/package.json

67 lines
1.6 KiB
JSON

{
"author": "Grafana Labs",
"license": "Apache-2.0",
"name": "@grafana/test-utils",
"version": "12.3.0-pre",
"private": true,
"description": "Grafana test utils & Mock API",
"keywords": [
"grafana",
"typescript",
"msw",
"mock api"
],
"sideEffects": false,
"repository": {
"type": "git",
"url": "http://github.com/grafana/grafana.git",
"directory": "packages/grafana-test-utils"
},
"main": "src/index.ts",
"types": "src/index.ts",
"module": "src/index.ts",
"exports": {
".": {
"import": "./src/index.ts",
"require": "./src/index.ts"
},
"./server": {
"import": "./src/server/index.ts",
"require": "./src/server/index.ts"
},
"./worker": {
"import": "./src/worker/index.ts",
"require": "./src/worker/index.ts"
},
"./handlers": {
"import": "./src/handlers/index.ts",
"require": "./src/handlers/index.ts"
},
"./unstable": {
"import": "./src/unstable.ts",
"require": "./src/unstable.ts"
},
"./matchers": {
"types": "./src/matchers/index.ts",
"import": "./src/matchers/index.ts",
"require": "./src/matchers/index.ts"
}
},
"scripts": {
"typecheck": "tsc --emitDeclarationOnly false --noEmit",
"test": "jest --watch --onlyChanged",
"test:ci": "jest --maxWorkers 4"
},
"dependencies": {
"msw": "2.10.4"
},
"devDependencies": {
"@swc/core": "1.13.3",
"@swc/jest": "^0.2.26",
"@types/jest": "29.5.14",
"@types/node": "22.17.0",
"jest": "29.7.0",
"typescript": "5.9.2"
}
}