-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
107 lines (107 loc) · 3.37 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
{
"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": "^17.3.3",
"@microsoft/applicationinsights-web": "^3.3.3",
"azure-devops-extension-api": "^4.243.0",
"azure-devops-extension-sdk": "^4.0.2",
"azure-devops-ui": "^2.244.0",
"react": "^17.0.1",
"react-dom": "^17.0.1"
},
"devDependencies": {
"@babel/preset-env": "^7.25.3",
"@babel/preset-react": "^7.24.7",
"@babel/preset-typescript": "^7.24.7",
"@eslint/js": "^9.1.1",
"@testing-library/jest-dom": "^6.5.0",
"@testing-library/react": "^12.1.5",
"@types/jest": "^29.5.13",
"@types/react": "^17.0.2",
"@types/react-dom": "^17.0.1",
"@typescript-eslint/eslint-plugin": "^8.8.1",
"@typescript-eslint/eslint-plugin-tslint": "^7.0.2",
"@typescript-eslint/parser": "^8.8.0",
"base64-inline-loader": "^2.0.1",
"copy-webpack-plugin": "^12.0.2",
"css-loader": "^7.1.2",
"eslint": "^8.57.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-react": "^7.37.1",
"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": "^5.0.7",
"sass-loader": "^14.2.1",
"shelljs": "^0.8.5",
"style-loader": "^4.0.0",
"tfx-cli": "^0.17.0",
"trim-newlines": ">=5.0.0",
"ts-jest": "^29.2.5",
"ts-loader": "^9.5.0",
"ts-mockito": "^2.6.1",
"typescript": "^5.5.4",
"underscore": ">=1.13.7",
"validator": "^13.12.0",
"webpack": "^5.94.0",
"webpack-cli": "^5.1.4",
"tslib": "^2.7.0"
},
"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": {}
}
}