-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
79 lines (79 loc) · 2.43 KB
/
package.json
File metadata and controls
79 lines (79 loc) · 2.43 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
{
"name": "@typeup/renderer",
"version": "1.1.5",
"description": "Renderer for TypeUp.",
"author": "Simon Mika <simon@mika.se>",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/typeup/renderer.git"
},
"bugs": {
"url": "https://github.com/typeup/renderer/issues"
},
"homepage": "https://github.com/typeup/renderer",
"private": false,
"type": "module",
"main": "./dist/cjs/index.js",
"module": "./dist/mjs/index.js",
"types": "./dist/types/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/types/index.d.ts",
"default": "./dist/mjs/index.js"
},
"require": {
"types": "./dist/types/index.d.ts",
"default": "./dist/cjs/index.js"
}
}
},
"git": {
"tagName": "v${version}"
},
"github": {
"release": true
},
"scripts": {
"lint": "eslint --max-warnings=0 '**/*.{ts,tsx}'",
"lint:fix": "eslint '**/*.{ts,tsx}' --fix",
"type-check": "tsc --noEmit",
"type-check:cjs": "tsc -p tsconfig.cjs.json --noEmit",
"type-check:mjs": "tsc -p tsconfig.mjs.json --noEmit",
"build": "rimraf dist/* && npm run build:cjs && npm run build:mjs",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:mjs": "tsc -p tsconfig.mjs.json",
"test": "vitest --run",
"test:watch": "vitest",
"test:ui": "vitest --ui",
"coverage": "vitest --coverage",
"coverage:open": "vitest --coverage && open coverage/index.html",
"prepare": "npm run build",
"prepublishOnly": "npm run verify",
"clean": "rimraf dist node_modules coverage .nyc_output",
"verify": "npm run type-check && npm run build && npm run test && npm run lint && npm audit --omit=dev --audit-level moderate",
"release": "npm run verify && npm version patch && git push --follow-tags",
"release:minor": "npm run verify && npm version minor && git push --follow-tags",
"release:major": "npm run verify && npm version major && git push --follow-tags"
},
"devDependencies": {
"@types/node": "^24.10.1",
"@typescript-eslint/eslint-plugin": "8.47.0",
"@typescript-eslint/parser": "8.47.0",
"@vitest/coverage-v8": "^4.0.13",
"eslint": "^8.56.0",
"eslint-plugin-prettierx": "github:utily/eslint-plugin-prettierx#utily-20231004",
"eslint-plugin-simple-import-sort": "^12.1.1",
"prettierx": "github:utily/prettierx#utily-20231004",
"rimraf": "^6.1.2",
"typescript": "5.9.3",
"vite": "^7.2.4",
"vitest": "^4.0.13"
},
"dependencies": {
"@typeup/dom": "^1.0.4",
"mendly": "^2.1.0",
"yuml2svg": "^5.0.1"
}
}