-
Notifications
You must be signed in to change notification settings - Fork 167
/
package.json
89 lines (89 loc) · 2.87 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
{
"name": "azure-devops-extension-sample",
"version": "1.0.4",
"description": "Sample Azure DevOps web extension",
"keywords": [
"extensions",
"Azure DevOps",
"Visual Studio Team Services"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/Microsoft/azure-devops-extension-sample.git"
},
"scripts": {
"clean": "rimraf ./dist",
"compile": "npm run clean && npm run test && webpack --mode production",
"compile:dev": "npm run clean && npm run test && webpack --mode development",
"build": "npm run compile",
"build:dev": "npm run compile:dev && npm run postbuild",
"postbuild": "npm run package-extension -- --rev-version",
"package-extension": "tfx extension create --manifest-globs azure-devops-extension.json src/Samples/**/*.json",
"publish-extension": "tfx extension publish --manifest-globs azure-devops-extension.json src/Samples/**/*.json",
"publish-extension:dev": "tfx extension publish --manifest-globs azure-devops-extension-dev.json src/Samples/**/*.json",
"test": "cross-env TEST_REPORT_FILENAME=test-results.xml jest --verbose",
"start:dev": "webpack-dev-server --mode development"
},
"dependencies": {
"azure-devops-extension-api": "^4.234.0",
"azure-devops-extension-sdk": "^3.1.2",
"azure-devops-ui": "^2.167.63",
"react": "~16.13.1",
"react-dom": "~16.13.1"
},
"devDependencies": {
"@babel/core": "^7.21.8",
"@testing-library/jest-dom": "^5.11.0",
"@testing-library/react": "^10.4.4",
"@types/jest": "^26.0.3",
"@types/react": "~16.8.2",
"@types/react-dom": "~16.8.0",
"copy-webpack-plugin": "^7.0.0",
"cross-env": "^7.0.3",
"css-loader": "^6.7.1",
"jest": "^26.1.0",
"jest-junit-reporter": "^1.1.0",
"rimraf": "~2.6.2",
"sass": "^1.62.1",
"sass-loader": "^13.0.0",
"style-loader": "^3.3.4",
"tfx-cli": "^0.11.0",
"ts-jest": "^26.1.1",
"ts-loader": "~5.2.2",
"typescript": "^3.9.6",
"webpack": "^5.23.0",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^5.0.4"
},
"jest": {
"transform": {
"^.+\\.(js|ts|tsx|jsx)$": "ts-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/presets/js-with-babel",
"testResultsProcessor": "./node_modules/jest-junit-reporter",
"collectCoverage": true,
"coverageReporters": [
"json",
"html",
"cobertura"
],
"globals": {
"ts-jest": {
"tsconfig": "tsconfig.test.json"
}
}
},
"overrides": {
"tfx-cli": {
"xml2js": "0.5.0"
}
}
}