-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
91 lines (83 loc) · 2.78 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
{
"name": "rosen-group.azure-devops.attachment-previewer",
"description": "",
"version": "0.0.0",
"keywords": [
"extensions",
"Azure DevOps",
"Visual Studio Team Services"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/rosen-group/azure-devops_attachment-previewer_extension"
},
"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",
"postbuild": "npm run package-extension -- --rev-version",
"postbuild:dev": "npm run package-extension:dev -- --rev-version",
"package-extension": "tfx extension create --manifest-globs azure-devops-extension.json src/Modules/**/*.json",
"package-extension:dev": "tfx extension create --manifest-globs azure-devops-extension.test.json src/Modules/**/*.json",
"publish-extension": "tfx extension publish --token $AZURE_DEVOPS_PAT --manifest-globs azure-devops-extension.json src/Modules/**/*.json",
"test": "cross-env TEST_REPORT_FILENAME=test-results.xml jest --verbose"
},
"dependencies": {
"azure-devops-extension-api": "1.157.0",
"azure-devops-extension-sdk": "3.1.2",
"azure-devops-ui": "2.167.64",
"react": "16.13.1",
"react-dom": "16.13.1"
},
"devDependencies": {
"@types/node": "18.11.9",
"@testing-library/jest-dom": "5.16.5",
"@testing-library/react": "10.4.9",
"@types/jest": "26.0.24",
"@types/react": "16.8.25",
"@types/react-dom": "16.8.5",
"copy-webpack-plugin": "7.0.0",
"cross-env": "7.0.3",
"css-loader": "6.7.1",
"jest": "26.6.3",
"jest-junit-reporter": "1.1.0",
"node-sass": "7.0.3",
"rimraf": "2.6.3",
"sass-loader": "13.2.2",
"style-loader": "3.3.1",
"tfx-cli": "0.14.0",
"ts-jest": "26.5.6",
"ts-loader": "8.1.0",
"typescript": "4.1.5",
"webpack": "5.76.0",
"webpack-cli": "4.10.0"
},
"jest": {
"transform": {
"^.+\\.(js|ts|tsx|jsx)$": "ts-jest"
},
"transformIgnorePatterns": [
"<rootDir>/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"
}
}
}
}