-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
118 lines (118 loc) · 3.9 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
{
"name": "quick-erd",
"version": "4.26.5",
"type": "commonjs",
"sideEffects": false,
"description": "quick and easy text-based ERD + code generator for migration, query, typescript types and orm entity",
"keywords": [
"erd",
"diagram",
"offline",
"local-first"
],
"author": "Beeno Tung <[email protected]> (https://beeno-tung.surge.sh)",
"license": "BSD-2-Clause",
"repository": {
"type": "git",
"url": "git+https://github.com/beenotung/quick-erd.git"
},
"homepage": "https://github.com/beenotung/quick-erd#readme",
"bugs": {
"url": "https://github.com/beenotung/quick-erd/issues"
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"bin": {
"auto-migrate": "dist/cli/auto-migrate.js",
"pg-to-erd": "dist/cli/pg-to-erd.js",
"mysql-to-erd": "dist/cli/mysql-to-erd.js",
"mssql-to-erd": "dist/cli/mssql-to-erd.js",
"sqlite-to-erd": "dist/cli/sqlite-to-erd.js",
"format-erd": "dist/cli/format-erd.js",
"erd-ui": "dist/cli/erd-ui.js",
"erd-to-sqlite": "dist/cli/erd-to-sqlite.js",
"erd-to-types": "dist/cli/erd-to-types.js",
"erd-to-proxy": "dist/cli/erd-to-proxy.js",
"erd-to-knex": "dist/cli/erd-to-knex.js",
"erd-to-spring": "dist/cli/erd-to-spring.js"
},
"files": [
"build",
"dist"
],
"scripts": {
"start": "npm run build:client && serve-lite build",
"dev": "cd examples/java-project && ts-node ../../src/cli/erd-to-spring h2 < erd.txt",
"upload": "run-s clean build:client surge:all",
"type:module": "node set-type.js module",
"type:commonjs": "node set-type.js commonjs",
"build:client": "mkdir -p build/icons && run-p build:client:*",
"build:client:js": "esbuild --target=es2022 --bundle src/client/main.ts --outfile=build/main.js",
"build:client:css": "sass src/client/style.scss:build/style.css",
"build:client:html": "cp src/client/index.html build/index.html",
"build:client:icon": "cp lib/ionicons/*.svg build/icons/",
"surge:all": "run-s surge:erd surge:quick",
"surge:erd": "surge build https://erd.surge.sh",
"surge:quick": "surge build https://quick-erd.surge.sh",
"clean": "rimraf dist build",
"format": "run-s format:*",
"format:prettier": "prettier --write .",
"format:json": "format-json-cli",
"build": "run-s type:commonjs clean tsc build:client",
"tsc": "tsc -p tsconfig.cjs.json",
"test": "run-s format tsc mocha",
"mocha": "ts-mocha \"{src,test}/**/*.spec.ts\"",
"coverage": "nyc npm run mocha -- --reporter=progress",
"report:update": "nyc --reporter=lcov npm run mocha -- --reporter=progress",
"report:open": "open-cli coverage/lcov-report/index.html",
"report": "run-s report:update report:open",
"preversion": "npm test",
"prepublishOnly": "npm run build"
},
"dependencies": {
"fastest-levenshtein": "^1.0.16"
},
"optionalDependencies": {
"@types/better-sqlite3": "^7.6.11",
"better-sqlite3": "^11.2.1",
"dotenv": "^16.4.5",
"express": "^4.19.2",
"knex": "^3.1.0",
"listening-on": "^2.0.9",
"mysql": "^2.18.1",
"pg": "^8.12.0",
"tedious": "^18.6.1"
},
"peerDependencies": {
"dotenv": "^16.3.1",
"express": "^4.19.2",
"knex": "^2 || ^3",
"listening-on": "^2.0.9"
},
"devDependencies": {
"@types/better-sqlite3": "^7.6.9",
"@types/chai": "^4.3.19",
"@types/express": "^4.17.21",
"@types/mocha": "^10.0.7",
"@types/node": "^20.16.3",
"better-sqlite3": "^10.0.0",
"chai": "^4.5.0",
"esbuild": "^0.23.1",
"format-json-cli": "^1.0.2",
"knex": "^2 || ^3",
"mocha": "^10.7.3",
"npm-run-all": "^4.1.5",
"nyc": "^17.0.0",
"oklab.ts": "^2.2.5",
"open-cli": "^8.0.0",
"prettier": "^3.3.3",
"rimraf": "^6.0.1",
"sass": "^1.77.8",
"serve-lite": "^1.2.3",
"surge": "^0.23.1",
"ts-mocha": "^10.0.0",
"ts-node": "^10.9.2",
"ts-node-dev": "^2.0.0",
"typescript": "^5.5.4"
}
}