-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpackage.json
More file actions
107 lines (107 loc) · 3.33 KB
/
package.json
File metadata and controls
107 lines (107 loc) · 3.33 KB
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
{
"name": "azure-dev-ops-react-ui-unit-testing",
"version": "1.0.1",
"description": "Azure DevOps ReactUI Testing",
"keywords": [
"extensions",
"Azure DevOps",
"Unit Test",
"Visual Studio Team Services"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/h2floh/azure-dev-ops-react-ui-unit-testing"
},
"scripts": {
"clean": "rimraf ./dist",
"compile": "npm run clean && webpack --mode production",
"compile:dev": "npm run clean && webpack --mode development",
"build": "npm run compile",
"build:dev": "npm run compile:dev",
"lint": "npx eslint -c .eslintrc.js --ext .ts 'src/**/*.ts*'",
"package-extension": "tfx extension create --manifest-globs azure-devops-extension.json src/**/*.json --output-path output/extension.vsix",
"publish-extension": "tfx extension publish --manifest-globs azure-devops-extension.json src/**/*.json",
"linttest": "npm run lint && npm run test",
"test": "env TEST_REPORT_FILENAME=test-results.xml jest --verbose"
},
"dependencies": {
"@microsoft/applicationinsights-react-js": "19.3.6",
"@microsoft/applicationinsights-web": "3.3.8",
"azure-devops-extension-api": "4.259.0",
"azure-devops-extension-sdk": "4.0.2",
"azure-devops-ui": "2.255.0",
"react": "17.0.2",
"react-dom": "17.0.2"
},
"devDependencies": {
"@babel/preset-env": "7.27.2",
"@babel/preset-react": "7.27.1",
"@babel/preset-typescript": "7.27.0",
"@eslint/js": "9.27.0",
"@testing-library/jest-dom": "6.6.3",
"@testing-library/react": "12.1.5",
"@types/jest": "29.5.14",
"@types/react": "17.0.76",
"@types/react-dom": "17.0.25",
"@typescript-eslint/eslint-plugin": "8.8.1",
"@typescript-eslint/eslint-plugin-tslint": "7.0.2",
"@typescript-eslint/parser": "8.32.1",
"base64-inline-loader": "2.0.1",
"copy-webpack-plugin": "13.0.1",
"css-loader": "7.1.2",
"eslint": "8.57.0",
"eslint-plugin-import": "2.31.0",
"eslint-plugin-react": "7.37.5",
"history": "5.3.0",
"jest": "29.7.0",
"jest-environment-jsdom": "29.7.0",
"jest-junit-reporter": "1.1.0",
"node-sass": "9.0.0",
"rimraf": "6.0.1",
"sass-loader": "16.0.4",
"shelljs": "0.9.2",
"style-loader": "4.0.0",
"tfx-cli": "0.21.3",
"trim-newlines": "5.0.0",
"ts-jest": "29.2.6",
"ts-loader": "9.5.2",
"ts-mockito": "2.6.1",
"tslib": "2.7.0",
"typescript": "5.7.3",
"underscore": "1.13.7",
"validator": "13.12.0",
"webpack": "5.98.0",
"webpack-cli": "6.0.1"
},
"jest": {
"transform": {
"^.+\\.(ts|tsx)$": [
"ts-jest",
{
"tsconfig": "tsconfig.test.json"
}
],
"^.+\\.(js|jsx)?$": [
"babel-jest",
{}
]
},
"transformIgnorePatterns": [
"node_modules/(?!(react-native|azure-devops-ui|azure-devops-extension-sdk)/)"
],
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/src/__mocks__/fileMock.js",
"\\.(css|less|scss)$": "<rootDir>/src/__mocks__/styleMock.js"
},
"preset": "ts-jest",
"testResultsProcessor": "./node_modules/jest-junit-reporter",
"collectCoverage": true,
"coverageReporters": [
"json",
"html",
"cobertura"
],
"globals": {}
}
}