This repository has been archived by the owner on Dec 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
104 lines (104 loc) · 4.14 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
{
"name": "root",
"private": true,
"version": "0.0.1",
"devDependencies": {
"@joachimdalen/azext": "^0.7.0",
"@testing-library/jest-dom": "^5.15.1",
"@testing-library/react": "^12.1.2",
"@testing-library/react-hooks": "^7.0.2",
"@types/jest": "^27.0.3",
"@types/node": "^16.11.8",
"@types/react": "^16.14.14",
"@types/react-dom": "^16.9.14",
"@types/uuid": "^8.3.3",
"@types/webpack-env": "^1.16.3",
"@typescript-eslint/eslint-plugin": "^3.10.1",
"@typescript-eslint/parser": "^3.10.1",
"base64-inline-loader": "^2.0.1",
"classnames": "^2.3.1",
"copy-webpack-plugin": "^10.0.0",
"css-loader": "^6.5.1",
"eslint": "^7.32.0",
"eslint-config-prettier": "^6.15.0",
"eslint-plugin-prettier": "^3.4.1",
"eslint-plugin-simple-import-sort": "^5.0.3",
"eslit": "^6.0.0",
"file-loader": "^6.2.0",
"html-webpack-plugin": "^5.5.0",
"jest": "^27.4.0",
"jest-junit-reporter": "^1.1.0",
"path-browserify": "^1.0.1",
"rimraf": "^3.0.2",
"sass": "^1.45.1",
"sass-loader": "^12.3.0",
"style-loader": "^3.3.1",
"ts-jest": "^27.0.7",
"ts-loader": "^9.2.6",
"typescript": "^4.5.2",
"webpack": "^5.64.1",
"webpack-cli": "^4.9.1",
"webpack-dev-server": "^4.5.0",
"webpack-merge": "^5.8.0"
},
"dependencies": {
"@fluentui/react": "^8.42.4",
"@fluentui/react-hooks": "^8.3.6",
"@joachimdalen/azdevops-ext-core": "^0.8.0",
"azure-devops-extension-api": "^1.158.0",
"azure-devops-ui": "^2.167.22",
"react": "^16.14.0",
"react-dom": "^16.14.0",
"react-markdown": "^8.0.0",
"remark-gfm": "^3.0.1",
"unist-util-visit": "^4.1.0",
"uuid": "^8.3.2"
},
"scripts": {
"prepare:dev": "npm run compile:dev && npm run changelog:prod && npm run docs:readme && npm run package:dev",
"package:dev": "tfx extension create --root ./ --manifest-globs ./vss-extension.dev.json --rev-version",
"changelog": "azext changelog generate --log-name changelog-prod.json --output CHANGELOG.md --format",
"changelog:prod": "azext changelog generate --log-name changelog-prod.json --output ./marketplace/docs/CHANGELOG.md --format",
"changelog:prod:version": "azext changelog generate --log-name changelog-prod.json --output ./marketplace/docs/CHANGELOG-RELEASE.md --format",
"compile:dev": "webpack --mode development --config ./build-scripts/webpack.config.dev.js",
"compile:qa": "webpack --config ./build-scripts/webpack.config.prod.js",
"compile:prod": "webpack --config ./build-scripts/webpack.config.prod.js",
"serve:dev": "npx webpack serve --config ./build-scripts/webpack.config.dev.js",
"docs:readme": "azext readme generate --input ./marketplace/raw/README.md --output ./marketplace/docs/README.md",
"clean-build": "rimraf dist",
"lint": "eslint src --ignore-path .eslintignore --ext ts --ext tsx --ext js --ext jsx",
"lint:fix": "eslint --fix src --ignore-path .eslintignore --ext ts --ext tsx --ext js --ext jsx",
"test": "env TEST_REPORT_FILENAME=test-results.xml jest --verbose",
"test:coverage": "env TEST_REPORT_FILENAME=test-results.xml jest --verbose --coverage"
},
"jest": {
"setupFilesAfterEnv": [
"<rootDir>/src/setupTests.ts"
],
"testEnvironment": "jsdom",
"transform": {
"^.+\\.(js|ts|tsx|jsx)$": "ts-jest"
},
"transformIgnorePatterns": [
"node_modules/(?!(azure-devops-ui|azure-devops-extension-sdk|azure-devops-extension-api|react-markdown|@joachimdalen/azdevops-ext-core)/)"
],
"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",
"react-markdown": "<rootDir>/src/__mocks__/react-markdown.tsx",
"remark-*": "<rootDir>/src/__mocks__/remark-plugin.ts"
},
"preset": "ts-jest/presets/js-with-babel",
"testResultsProcessor": "./node_modules/jest-junit-reporter",
"collectCoverageFrom": [
"src/**",
"!src/__test-utils__/*",
"!src/**/*.json"
],
"coverageReporters": [
"json",
"html",
"cobertura"
]
}
}