@threatcaptain/tc-reports 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -0
- package/dist/index.cjs +2246 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2246 -0
- package/dist/index.js.map +1 -0
- package/package.json +113 -0
package/package.json
ADDED
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@threatcaptain/tc-reports",
|
|
3
|
+
"version": "0.2.2",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"description": "Reporting Modules for Threat Captain platform",
|
|
6
|
+
"homepage": "https://github.com/ThreatCaptain/tc-reports#readme",
|
|
7
|
+
"bugs": {
|
|
8
|
+
"url": "https://github.com/ThreatCaptain/tc-reports/issues"
|
|
9
|
+
},
|
|
10
|
+
"repository": {
|
|
11
|
+
"type": "git",
|
|
12
|
+
"url": "git+ssh://git@github.com/ThreatCaptain/tc-reports.git"
|
|
13
|
+
},
|
|
14
|
+
"main": "./dist/index.cjs",
|
|
15
|
+
"module": "./dist/index.js",
|
|
16
|
+
"types": "./dist/index.d.ts",
|
|
17
|
+
"exports": {
|
|
18
|
+
".": {
|
|
19
|
+
"types": "./dist/index.d.ts",
|
|
20
|
+
"import": "./dist/index.js",
|
|
21
|
+
"require": "./dist/index.cjs"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"files": [
|
|
25
|
+
"dist"
|
|
26
|
+
],
|
|
27
|
+
"scripts": {
|
|
28
|
+
"dev": "vite",
|
|
29
|
+
"build": "tsc && vite build",
|
|
30
|
+
"lint": "eslint . --max-warnings=0",
|
|
31
|
+
"lint:fix": "eslint . --fix",
|
|
32
|
+
"lint:frontend": "eslint src/ vite.config.* tailwind.config.* --max-warnings=0",
|
|
33
|
+
"lint:frontend:fix": "eslint src/ vite.config.* tailwind.config.* --fix",
|
|
34
|
+
"lint:supabase": "eslint supabase/functions/ --max-warnings=0",
|
|
35
|
+
"lint:supabase:fix": "eslint supabase/functions/ --fix",
|
|
36
|
+
"lint:check": "eslint . --output-file lint-results.json --format json",
|
|
37
|
+
"lint:check:frontend": "eslint src/ --output-file lint-results-frontend.json --format json",
|
|
38
|
+
"lint:check:supabase": "eslint supabase/functions/ --output-file lint-results-supabase.json --format json",
|
|
39
|
+
"type-check": "tsc --noEmit",
|
|
40
|
+
"format:code": "prettier --write \"src/**/*.{ts,tsx,js,jsx,json,css,md}\"",
|
|
41
|
+
"format:check": "prettier --check \"src/**/*.{ts,tsx,js,jsx,json,css,md}\"",
|
|
42
|
+
"preview": "vite preview",
|
|
43
|
+
"prepublishOnly": "npm run build",
|
|
44
|
+
"publish:patch": "npm version patch",
|
|
45
|
+
"publish:minor": "npm version minor",
|
|
46
|
+
"publish:major": "npm version major"
|
|
47
|
+
},
|
|
48
|
+
"lint-staged": {
|
|
49
|
+
"*.{ts,tsx}": [
|
|
50
|
+
"eslint --fix",
|
|
51
|
+
"prettier --write"
|
|
52
|
+
],
|
|
53
|
+
"*.{js,jsx}": [
|
|
54
|
+
"eslint --fix",
|
|
55
|
+
"prettier --write"
|
|
56
|
+
],
|
|
57
|
+
"*.{json,css,md}": [
|
|
58
|
+
"prettier --write"
|
|
59
|
+
]
|
|
60
|
+
},
|
|
61
|
+
"peerDependencies": {
|
|
62
|
+
"@fortawesome/free-solid-svg-icons": "^7.1.0",
|
|
63
|
+
"@fortawesome/react-fontawesome": "^3.1.1",
|
|
64
|
+
"lucide-react": "^0.462.0",
|
|
65
|
+
"react": "^18.0.0",
|
|
66
|
+
"react-dom": "^18.0.0",
|
|
67
|
+
"react-router-dom": "^6.26.2",
|
|
68
|
+
"recharts": "^2.12.7",
|
|
69
|
+
"tc-components": "github:ThreatCaptain/tc-components"
|
|
70
|
+
},
|
|
71
|
+
"dependencies": {
|
|
72
|
+
"@fortawesome/free-solid-svg-icons": "^7.1.0",
|
|
73
|
+
"@fortawesome/react-fontawesome": "^3.1.1",
|
|
74
|
+
"tc-components": "github:ThreatCaptain/tc-components"
|
|
75
|
+
},
|
|
76
|
+
"devDependencies": {
|
|
77
|
+
"@eslint/js": "^9.9.0",
|
|
78
|
+
"@types/node": "^22.5.5",
|
|
79
|
+
"@types/react": "^18.3.12",
|
|
80
|
+
"@types/react-dom": "^18.3.1",
|
|
81
|
+
"@vitejs/plugin-react": "^4.3.3",
|
|
82
|
+
"@vitejs/plugin-react-swc": "^3.5.0",
|
|
83
|
+
"autoprefixer": "^10.4.22",
|
|
84
|
+
"eslint": "^9.9.0",
|
|
85
|
+
"eslint-config-prettier": "^9.1.0",
|
|
86
|
+
"eslint-import-resolver-typescript": "^4.4.4",
|
|
87
|
+
"eslint-plugin-import": "^2.31.0",
|
|
88
|
+
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
89
|
+
"eslint-plugin-promise": "^7.1.0",
|
|
90
|
+
"eslint-plugin-react": "^7.37.5",
|
|
91
|
+
"eslint-plugin-react-hooks": "^5.1.0-rc.0",
|
|
92
|
+
"eslint-plugin-react-refresh": "^0.4.9",
|
|
93
|
+
"eslint-plugin-security": "^3.0.1",
|
|
94
|
+
"globals": "^15.9.0",
|
|
95
|
+
"husky": "^9.1.7",
|
|
96
|
+
"lucide-react": "^0.555.0",
|
|
97
|
+
"postcss": "^8.5.6",
|
|
98
|
+
"prettier": "^3.6.2",
|
|
99
|
+
"react": "^18.3.1",
|
|
100
|
+
"react-dom": "^18.3.1",
|
|
101
|
+
"tailwindcss": "^3.4.18",
|
|
102
|
+
"ts-node": "^10.9.2",
|
|
103
|
+
"typescript": "^5.5.3",
|
|
104
|
+
"typescript-eslint": "^8.0.1",
|
|
105
|
+
"vite": "^6.0.1",
|
|
106
|
+
"vite-plugin-dts": "^4.3.0"
|
|
107
|
+
},
|
|
108
|
+
"keywords": [
|
|
109
|
+
"react"
|
|
110
|
+
],
|
|
111
|
+
"license": "MIT",
|
|
112
|
+
"author": "Sean R Reid"
|
|
113
|
+
}
|