-
-
Notifications
You must be signed in to change notification settings - Fork 23
/
package.json
144 lines (144 loc) · 4.71 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
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
{
"name": "web-sequence",
"version": "1.0.24",
"description": "A real-time tool for generating sequence diagrams",
"main": "index.html",
"scripts": {
"engine": "use yarn instead of npm please",
"start": "if-env NODE_ENV=production && yarn serve || yarn dev",
"build": "preact build --template src/index.html --no-inline-css --no-prerender --no-sw",
"release": "gulp 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": "preact watch --template src/index.html --no-prerender",
"lint": "eslint src",
"test": "jest ./",
"deploy:staging": "firebase deploy --project staging",
"deploy:prod": "firebase deploy --project prod",
"upload": "webstore upload --source extension.zip --extension-id kcpganeflmhffnlofpdmcjklmdpbbmef --client-id 457917008826-p6qkd4tkbbutbae4j7uc2p39a76lfjlr.apps.googleusercontent.com --client-secret 5bIK01PSsjRykdAqaV-v4fFZ --refresh-token 1/4YHJ8yliNMNLBgKkh2QhQ_PnZUc8trKNx_j-pLOGrh8",
"pub": "webstore publish --extension-id kcpganeflmhffnlofpdmcjklmdpbbmef --client-id 457917008826-p6qkd4tkbbutbae4j7uc2p39a76lfjlr.apps.googleusercontent.com --client-secret 5bIK01PSsjRykdAqaV-v4fFZ --refresh-token 1/4YHJ8yliNMNLBgKkh2QhQ_PnZUc8trKNx_j-pLOGrh8",
"install": "ln -sf ../../git-hooks/pre-commit .git/hooks/pre-commit",
"precommit": "lint-staged",
"http-server-app": "http-server ./app"
},
"eslintConfig": {
"extends": "eslint-config-synacor"
},
"eslintIgnore": [
"build/*",
"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",
"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-custom-media": "^10.0.4",
"preact-cli": "^3.5.1",
"prettier": "^3.2.5",
"run-sequence": "^2.2.1",
"sirv-cli": "1.0.3",
"tailwindcss": "^3.4.3"
},
"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.27.9",
"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-render-to-string": "^6.2.2",
"preact-router": "^4.1.2",
"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
},
"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": "18.0.0",
"yarn": "1.22.19"
}
}