forked from MeilCli/common-lint-reporter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
79 lines (79 loc) · 3.42 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
{
"name": "common-lint-reporter",
"version": "1.0.0",
"description": "",
"main": "lib/src/main.js",
"scripts": {
"build": "tsc",
"pack": "webpack",
"test": "jest",
"test:data": "npm run test:data:eslint && npm run test:data:checkstyle",
"test:data:eslint": "npm run test:data:eslint:report -s || npm run test:data:eslint:replace",
"test:data:eslint:report": "eslint --config .eslintrc.data.json --output-file data/eslint.json --format json data/source.ts",
"test:data:eslint:replace": "replace-in-files --regex '\\\"[a-zA-Z0-9]+:?((\\\\\\\\|\\\\|\\/)[a-zA-Z0-9_\\-\\.]+)+\\\"' --replacement '\\\"filepath.txt\\\"' data/eslint.json",
"test:data:checkstyle": "npm run test:data:checkstyle:report -s || npm run test:data:checkstyle:replace",
"test:data:checkstyle:report": "eslint --config .eslintrc.data.json --output-file data/checkstyle.xml --format checkstyle data/source.ts",
"test:data:checkstyle:replace": "replace-in-files --regex '\\\"[a-zA-Z0-9]+:?((\\\\\\\\|\\\\|\\/)[a-zA-Z0-9_\\-\\.]+)+\\\"' --replacement '\\\"filepath.txt\\\"' data/checkstyle.xml",
"test:data:junit": "npm run test:data:junit:report -s || npm run test:data:junit:replace",
"test:data:junit:report": "eslint --config .eslintrc.data.json --output-file data/junit_eslint.xml --format junit data/source.ts",
"test:data:junit:replace": "replace-in-files --regex '\\\"[a-zA-Z0-9]+:?((\\\\\\\\|\\\\|\\/)[a-zA-Z0-9_\\-\\.]+)+\\\"' --replacement '\\\"filepath.txt\\\"' data/junit_eslint.xml",
"lint": "eslint --ext .ts src/",
"lint:report": "eslint --output-file eslint_report.json --format json --ext .ts src/",
"codegen": "graphql-codegen --config codegen.yml"
},
"keywords": [],
"author": "",
"license": "MIT",
"dependencies": {
"@actions/core": "^1.10.1",
"@actions/github": "^5.1.1",
"@actions/glob": "^0.4.0",
"@apollo/client": "^3.9.4",
"cross-fetch": "^4.0.0",
"fast-xml-parser": "^4.3.4",
"graphql": "^16.8.1",
"he": "^1.2.0"
},
"devDependencies": {
"@graphql-codegen/cli": "^4.0.1",
"@graphql-codegen/typescript": "^4.0.1",
"@graphql-codegen/typescript-document-nodes": "^4.0.4",
"@graphql-codegen/typescript-operations": "^4.1.2",
"@graphql-codegen/typescript-resolvers": "^4.0.4",
"@octokit/graphql-schema": "^14.56.0",
"@types/he": "^1.2.3",
"@types/jest": "^29.5.12",
"@types/node": "^20.11.18",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^8.10.0",
"eslint-plugin-prettier": "^5.1.3",
"jest": "^29.7.0",
"jest-circus": "^29.6.4",
"prettier": "^3.2.5",
"react": "^18.2.0",
"replace-in-files-cli": "^2.2.0",
"ts-jest": "^29.1.2",
"ts-loader": "^9.5.1",
"typescript": "^5.3.3",
"webpack": "^5.90.2",
"webpack-cli": "^5.1.4"
},
"jest": {
"clearMocks": true,
"moduleFileExtensions": [
"js",
"ts"
],
"testEnvironment": "node",
"testMatch": [
"**/*.test.ts"
],
"testRunner": "jest-circus/runner",
"transform": {
"^.+\\.ts$": "ts-jest"
},
"verbose": true
}
}