-
-
Notifications
You must be signed in to change notification settings - Fork 28
Expand file tree
/
Copy pathpackage.json
More file actions
169 lines (169 loc) · 5.22 KB
/
package.json
File metadata and controls
169 lines (169 loc) · 5.22 KB
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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
{
"name": "web-sequence",
"version": "1.0.25",
"description": "A real-time tool for generating sequence diagrams",
"main": "index.html",
"type": "module",
"scripts": {
"engine": "use yarn instead of npm please",
"start": "if-env NODE_ENV=production && yarn serve || yarn dev",
"build": "vite build",
"build:web": "pnpm -C web build",
"_cutover_note": "deploy:staging/deploy:prod now serve web/dist (built via build:web). The legacy gulp 'release' pipeline + 'app/' output are RETAINED for rollback — do NOT delete until the new path is confirmed live and green.",
"release": "gulp --gulpfile gulpfile.cjs release",
"prep:release:git-tag-push": "git tag release-`date +%Y%m%d%H%M` && git push origin release-`date +%Y%m%d%H%M`",
"dev": "vite",
"preview": "vite preview",
"lint": "eslint src",
"test": "jest ./",
"test:e2e": "playwright test",
"test:e2e:headed": "playwright test --headed",
"test:e2e:ui": "playwright test --ui",
"deploy:staging": "firebase deploy --project staging",
"deploy:prod": "firebase deploy --project prod",
"upload": "webstore upload --source extension.zip --extension-id kcpganeflmhffnlofpdmcjklmdpbbmef",
"pub": "webstore publish --extension-id kcpganeflmhffnlofpdmcjklmdpbbmef",
"install": "ln -sf ../../git-hooks/pre-commit .git/hooks/pre-commit",
"precommit": "lint-staged",
"http-server-app": "http-server ./app",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build"
},
"eslintConfig": {
"extends": "eslint-config-synacor"
},
"eslintIgnore": [
"build/*",
"dist/*",
"src/lib/",
"src/tests/",
"src/CodeMirror.js",
"src/detached-window.js"
],
"lint-staged": {
"*.{js,jsx,json,css,md}": [
"prettier --write",
"git add"
]
},
"devDependencies": {
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.6",
"@babel/plugin-proposal-optional-chaining": "^7.21.0",
"@playwright/test": "^1.55.0",
"@preact/preset-vite": "^2.10.1",
"@storybook/addon-a11y": "^10.4.2",
"@storybook/preact-vite": "^10.4.2",
"@vitejs/plugin-legacy": "^6.1.1",
"autoprefixer": "^10.4.21",
"babel-minify": "^0.5.2",
"enzyme": "^3.11.0",
"enzyme-adapter-preact-pure": "^2.3.0",
"eslint": "^8.54.0",
"eslint-config-preact": "^1.1.0",
"git-revision-webpack-plugin": "^5.0.0",
"gulp": "^3.9.1",
"gulp-clean-css": "^4.3.0",
"gulp-concat": "^2.6.1",
"gulp-hash-filename": "^3.0.0",
"gulp-rename": "^2.0.0",
"gulp-uglify": "^3.0.0",
"gulp-useref": "^4.0.1",
"gulp-zip": "^5.0.2",
"jest": "^24.9.0",
"jest-preset-preact": "^1.0.0",
"postcss": "^8.5.4",
"postcss-custom-media": "^10.0.4",
"prettier": "^3.2.5",
"run-sequence": "^2.2.1",
"sirv-cli": "1.0.3",
"storybook": "^10.4.2",
"tailwindcss": "^3.4.3",
"terser": "^5.41.0",
"vite": "^6.3.5"
},
"dependencies": {
"@emmetio/codemirror-plugin": "^1.1.3",
"@headlessui/react": "^1.7.18",
"@radix-ui/react-dialog": "^1.0.5",
"@radix-ui/react-dropdown-menu": "^2.0.6",
"@radix-ui/react-radio-group": "^1.1.3",
"@radix-ui/react-select": "^2.0.0",
"@radix-ui/react-tooltip": "^1.0.7",
"@zenuml/core": "^3.49.2",
"clsx": "^2.0.0",
"code-blast-codemirror": "chinchang/code-blast-codemirror#web-maker",
"codemirror": "^5.65.16",
"dom-to-image": "github:MichalBryxi/dom-to-image",
"esprima": "^4.0.0",
"file-saver": "^2.0.2",
"firebase": "^7.16.1",
"firebase-tools": "^13.6.0",
"http-server": "^0.12.3",
"jszip": "3.8.0",
"preact": "10.18.1",
"preact-compat": "^3.19.0",
"preact-render-to-string": "^6.2.2",
"preact-router": "^4.1.2",
"prop-types": "^15.8.1",
"split.js": "1.6.0",
"svg-transform-loader": "^2.0.12",
"vue": "^3.2.45",
"vuex": "^4.1.0"
},
"resolutions": {
"graceful-fs": "^4.2.4"
},
"jest": {
"verbose": true,
"testPathIgnorePatterns": [
"/node_modules/",
"/web/"
]
},
"setupFiles": [
"<rootDir>/src/tests/__mocks__/browserMocks.js"
],
"testURL": "http://localhost:8080",
"moduleFileExtensions": [
"js",
"jsx"
],
"moduleDirectories": [
"node_modules"
],
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/src/tests/__mocks__/fileMock.js",
"\\.(css|less|scss)$": "identity-obj-proxy",
"^./style$": "identity-obj-proxy",
"^preact$": "<rootDir>/node_modules/preact/dist/preact.min.js",
"^react$": "preact-compat",
"^react-dom$": "preact-compat",
"^create-react-class$": "preact-compat/lib/create-react-class",
"^react-addons-css-transition-group$": "preact-css-transition-group"
},
"browserslist": [
"last 3 Chrome versions",
"last 3 Firefox versions"
],
"repository": {
"type": "git",
"url": "git+https://github.com/ZenUml/web-sequence.git"
},
"keywords": [
"uml",
"sequence diagram",
"web",
"editor",
"offline"
],
"author": "Peng Xiao",
"license": "MIT",
"bugs": {
"url": "https://github.com/ZenUml/web-sequence/issues"
},
"homepage": "http://zenuml.com",
"volta": {
"node": "20.19.0",
"yarn": "1.22.19"
}
}