-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
98 lines (98 loc) · 3.55 KB
/
package.json
File metadata and controls
98 lines (98 loc) · 3.55 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
{
"name": "pdfmake-html-renderer",
"version": "0.4.0",
"author": "Michael Manzinger <michael@kryops.de>",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/kryops/pdfmake-html-renderer.git"
},
"bugs": {
"url": "https://github.com/kryops/pdfmake-html-renderer/issues"
},
"homepage": "https://github.com/kryops/pdfmake-html-renderer#readme",
"keywords": [
"pdfmake",
"pdf"
],
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"svelte": "./dist/svelte/index.js",
"exports": {
".": {
"types": "./index.d.ts",
"svelte": "./dist/svelte/index.js",
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
},
"./server": {
"types": "./server.d.ts",
"import": "./dist/server/index.js",
"require": "./dist/server/index.cjs"
},
"./standalone": {
"types": "./standalone.d.ts",
"import": "./dist/standalone.mjs"
},
"./dist/index.css": {
"default": "./dist/index.css"
},
"./index.css": {
"default": "./dist/index.css"
}
},
"types": "index.d.ts",
"scripts": {
"clean": "rimraf dist",
"start": "vite --config playground.vite.config.ts",
"build": "vite build && vite build --ssr && BUILD_STANDALONE=true vite build && mv dist/pdfmake-html-renderer.css dist/index.css && svelte-package -i src -o dist/svelte",
"build:dev": "vite build --mode development && vite build --ssr --mode development && BUILD_STANDALONE=true vite build --mode development && mv dist/style.css dist/index.css && rimraf dist/server/style.css && svelte-package -i src -o dist/svelte",
"docs": "vite build --config playground.vite.config.ts",
"lint:tsc": "tsc --noEmit",
"lint:svelte": "svelte-check",
"lint:prettier": "prettier --check --cache '**/*.{js,ts,md}'",
"lint": "run-p 'lint:*'",
"prettify": "prettier --write --cache '**/*.{js,ts,md}'",
"prepublish": "yarn lint && yarn build && yarn test:playwright && publint",
"test": "yarn test:playwright",
"test:playwright": "yarn build && yarn test:playwright:build && yarn test:playwright:run",
"test:update": "yarn build && yarn test:playwright:build && yarn test:playwright:run-update",
"test:playwright:build": "docker build -f Dockerfile.playwright -t pdfmake-playwright .",
"test:playwright:run": "docker run --rm -v $(pwd)/dist:/workspace/dist -v $(pwd)/playwright-report:/workspace/playwright-report -v $(pwd)/test-results:/workspace/test-results -v $(pwd)/playwright-tests:/workspace/playwright-tests pdfmake-playwright",
"test:playwright:run-update": "yarn test:playwright:run yarn playwright test --update-snapshots"
},
"dependencies": {
"qrcode": "^1.5.4"
},
"peerDependencies": {
"svelte": "^5.0.0"
},
"devDependencies": {
"@babel/core": "^7.29.0",
"@babel/preset-env": "^7.29.0",
"@babel/preset-typescript": "^7.28.5",
"@playwright/test": "^1.58.2",
"@sveltejs/package": "^2.5.7",
"@sveltejs/vite-plugin-svelte": "^7.0.0",
"@tsconfig/svelte": "^5.0.7",
"@types/node": "^24.10.12",
"@types/pdfmake": "^0.3.1",
"@types/qrcode": "^1.5.6",
"ace-builds": "^1.43.6",
"css-color-names": "^1.0.1",
"get-port": "^7.1.0",
"npm-run-all": "^4.1.5",
"pdfmake": "^0.3.5",
"prettier": "^3.8.1",
"publint": "^0.3.17",
"svelte": "^5.0.0",
"svelte-check": "^4.0.0",
"svelte-preprocess": "^6.0.3",
"ts-node": "^10.9.2",
"tslib": "^2.8.1",
"typescript": "^6.0.2",
"vite": "^8.0.8"
},
"packageManager": "yarn@4.12.0"
}