-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
109 lines (109 loc) · 3.69 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
105
106
107
108
109
{
"name": "ttnn-visualizer",
"private": true,
"version": "0.24.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build",
"serve": "vite build && FLASK_ENV=production pnpm run flask:start",
"lint": "eslint . --fix --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"preview": "vite preview",
"format": "prettier --write \"src/**/*.{js,jsx,ts,tsx,scss,css,json,md}\"",
"flask:start": "PYTHONPATH=backend python -m ttnn_visualizer.app",
"flask:start-debug": "DEBUG=true PYTHONPATH=backend python -m ttnn_visualizer.app",
"flask:test": "PYTHONPATH=backend pytest backend/ttnn_visualizer/tests",
"flask:mypy": "PYTHONPATH=backend mypy backend/ttnn_visualizer",
"build:wheel": "pnpm run build && python -m build --wheel",
"compose:up": "docker-compose up web --build",
"docker:build:ssh": "docker build docker/SSH --build-arg username=$(logname) -t local-ssh-image",
"docker:run:ssh": "docker run -dit --rm -p 2222:22 --name local-ssh-server local-ssh-image:latest",
"prepare": "husky",
"preinstall": "npx only-allow pnpm"
},
"dependencies": {
"@blueprintjs/colors": "^5.1.7",
"@blueprintjs/core": "^5.10.3",
"@blueprintjs/icons": "^5.18.1",
"@blueprintjs/select": "^5.1.5",
"@blueprintjs/table": "^5.2.2",
"@tanstack/react-virtual": "^3.5.1",
"@types/tinycolor2": "^1.4.6",
"axios": "^1.7.2",
"css-select": "^5.1.0",
"dom-serializer": "^2.0.0",
"immutable": "^5.0.3",
"jotai": "^2.9.1",
"mini-svg-data-uri": "^1.4.4",
"normalize.css": "^8.0.1",
"papaparse": "^5.4.1",
"plotly.js": "^2.33.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-helmet-async": "^2.0.5",
"react-plotly.js": "^2.6.0",
"react-query": "^3.39.3",
"react-router": "^6.23.1",
"react-router-dom": "^6.23.1",
"react-toastify": "^10.0.5",
"socket.io-client": "^4.8.0",
"tinycolor2": "^1.6.0",
"vis-data": "^7.1.9",
"vis-network": "^9.1.9"
},
"devDependencies": {
"@blueprintjs/node-build-scripts": "^9.2.1",
"@types/papaparse": "^5.3.15",
"@types/react": "^18.2.66",
"@types/react-dom": "^18.2.22",
"@types/react-plotly.js": "^2.6.3",
"@typescript-eslint/eslint-plugin": "^7.2.0",
"@typescript-eslint/parser": "^7.2.0",
"@vitejs/plugin-react": "^4.2.1",
"classnames": "^2.5.1",
"eslint": "^8.57.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-erb": "^4.0.6",
"eslint-config-prettier": "^9.0.0",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-import-resolver-typescript": "^3.5.5",
"eslint-plugin-compat": "^4.1.4",
"eslint-plugin-import": "^2.30.0",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-react": "^7.34.1",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.6",
"eslint-plugin-unused-imports": "^3.1.0",
"highlight.js": "^11.9.0",
"htmlparser2": "^9.1.0",
"husky": "^9.1.6",
"lint-staged": "^15.2.10",
"only-allow": "^1.2.1",
"prettier": "^3.3.2",
"sass": "^1.77.4",
"stylelint": "^16.6.1",
"stylelint-config-standard-scss": "^13.1.0",
"stylelint-prettier": "^5.0.0",
"svgo": "^1.3.2",
"typescript": "5.2",
"vite": "^5.2.0"
},
"browserslist": [
"defaults",
"not op_mini all"
],
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"**/*.{ts,tsx}": [
"eslint ./src --fix --ext ts,tsx --report-unused-disable-directives --max-warnings 0 --no-ignore"
],
"**/*.scss": "npx stylelint --fix",
"**/*.{js,jsx,ts,tsx,css,scss}": "pnpm run format"
}
}