forked from ZenUml/core
-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
125 lines (125 loc) · 4.5 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
{
"name": "@zenuml/core",
"version": "3.0.0",
"private": false,
"license": "MIT",
"repository": {
"url": "https://github.com/mermaid-js/zenuml-core"
},
"scripts": {
"dev": "vite dev --port 8080 --host 0.0.0.0",
"preview": "vite preview --port 8080 --host",
"build:site": "vite build",
"build:gh-pages": "vite build --mode gh-pages",
"build": "vite build -c vite.config.lib.js",
"test": "vitest",
"cy": "cypress run",
"cy:update": "cypress run --env updateSnapshots=true",
"cy:open": "cypress open",
"cy:smoke": "cypress run --spec cypress/e2e/smoke.spec.js",
"antlr:setup": "python3 -m pip install antlr4-tools",
"antlr:generate": "pwd && cd ./src/g4-units/hello-world && antlr4 Hello.g4",
"antlr:javac": "pwd && cd ./src/g4-units/hello-world && CLASSPATH=\"../../../antlr/antlr-4.11.1-complete.jar:$CLASSPATH\" javac *.java",
"antlr:grun": "pwd && cd ./src/g4-units/hello-world && grun Hello r -tokens",
"antlr": "pnpm run antlr:lexer && pnpm run antlr:parser",
"antlr:clear": "rm -rf src/generated-parser/*",
"antlr:lexer": "java -Duser.dir=$(pwd)/src/g4 -cp $(pwd)/antlr/antlr-4.11.1-complete.jar org.antlr.v4.Tool -o ./src/generated-parser -Dlanguage=JavaScript sequenceLexer.g4",
"antlr:parser": "java -Duser.dir=$(pwd)/src/g4 -cp $(pwd)/antlr/antlr-4.11.1-complete.jar org.antlr.v4.Tool -o ./src/generated-parser -Dlanguage=JavaScript sequenceParser.g4",
"eslint": "eslint --fix --ext .js,.ts,.vue src",
"prettier": "prettier --write --ignore-unknown \"src/**/*.{js,ts,vue,json,htm,html}\"",
"git:branch:clean:gone": "git fetch -p && git branch -vv | awk '/: gone]/{print $1}' | xargs git branch -d",
"git:branch:clean:merged": "git branch --merged|egrep -v \"(\\*|master|main|dev|skip_branch_name)\" | xargs git branch -d",
"git:branch:safe-delete": "echo '> git log --graph --left-right --cherry --oneline another-branch...main'",
"git:forget": "git rm -r --cached . && git add . && git commit -m \"Forget all ignored files\"",
"test:specs": "echo \"Error: test:specs is not supported\"",
"prepare": "husky install"
},
"main": "./dist/zenuml.js",
"module": "./dist/zenuml.esm.mjs",
"types": "./types/index.d.ts",
"lint-staged": {
"**/*": "prettier --write --ignore-unknown",
"*.{js,ts,vue,json,htm,html}": "eslint --fix"
},
"dependencies": {
"@headlessui-float/vue": "^0.14.0",
"@headlessui/tailwindcss": "^0.2.0",
"@headlessui/vue": "^1.7.16",
"@types/assert": "^1.5.6",
"@types/ramda": "^0.28.20",
"@vue/compat": "^3.2.45",
"antlr4": "~4.11.0",
"color-string": "^1.5.5",
"dom-to-image-more": "^2.13.0",
"dompurify": "^3.1.5",
"file-saver": "^2.0.5",
"highlight.js": "^10.7.3",
"html-to-image": "^1.11.3",
"lodash": "^4.17.21",
"marked": "^4.0.10",
"pino": "^8.8.0",
"postcss": "^8.4.31",
"ramda": "^0.28.0",
"tailwindcss": "^3.2.4",
"vue": "^3.2.45",
"vuex": "^4.1.0"
},
"devDependencies": {
"@babel/eslint-parser": "^7.19.1",
"@babel/preset-env": "^7.20.2",
"@types/antlr4": "~4.11.2",
"@types/color-string": "^1.5.2",
"@types/jest": "^29.5.14",
"@types/jsdom": "^21.1.7",
"@types/lodash": "^4.14.191",
"@types/node": "latest",
"@typescript-eslint/eslint-plugin": "^6.7.4",
"@typescript-eslint/parser": "^6.7.4",
"@vitejs/plugin-vue": "^4.0.0",
"@vitest/coverage-v8": "^2.1.5",
"@vue/compiler-dom": "^3.3.8",
"@vue/compiler-sfc": "^3.2.45",
"@vue/test-utils": "^2.2.7",
"autoprefixer": "^10.4.13",
"concurrently": "^7.6.0",
"cypress": "^10.11.0",
"cypress-plugin-snapshots": "^1.4.4",
"eslint": "^8.30.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-html": "^7.1.0",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-vue": "^9.17.0",
"global-jsdom": "^8.6.0",
"husky": "^8.0.3",
"jsdom": "^20.0.3",
"less": "^4.1.3",
"less-loader": "^11.1.3",
"lint-staged": "^14.0.1",
"prettier": "^3.0.3",
"regenerator-runtime": "^0.13.11",
"sass": "^1.57.0",
"svg-url-loader": "^6.0.0",
"terser-webpack-plugin": "^3.1.0",
"ts-node": "^10.9.1",
"typescript": "^5.6.3",
"vite": "^3.2.10",
"vite-plugin-css-injected-by-js": "^2.2.0",
"vite-svg-loader": "^4.0.0",
"vitest": "^2.1.5"
},
"postcss": {
"plugins": {
"tailwindcss": {},
"autoprefixer": {}
}
},
"browserslist": [
"last 2 years"
],
"engines": {
"node": ">=12.0.0"
},
"volta": {
"node": "18.12.1"
}
}