-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathpackage.json
95 lines (95 loc) · 3 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
{
"name": "svg2png-wasm",
"version": "1.4.1",
"description": "A svg to png converter made with wasm.",
"main": "dist/index.cjs",
"module": "dist/index.mjs",
"unpkg": "dist/index.min.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.cjs",
"node": "./dist/index.mjs",
"default": "./dist/index.mjs",
"types": "./dist/index.d.ts"
},
"./svg2png_wasm_bg.wasm": "./svg2png_wasm_bg.wasm"
},
"scripts": {
"prepack": "run-s clean build",
"build": "run-s build:*",
"build:wasm": "wasm-pack build --target web --out-dir dist-wasm && npm run copy-wasm",
"build:ts": "run-s bundle",
"bundle": "run-p bundle:*",
"bundle:js": "node bundle",
"bundle:dts": "dts-bundle-generator --no-banner --external-types -o dist/index.d.ts lib/index.ts",
"clean": "run-p clean:*",
"clean:wasm": "rimraf dist-wasm svg2png_wasm_bg.wasm",
"clean:bundle": "rimraf dist",
"copy-wasm": "copyfiles -f dist-wasm/svg2png_wasm_bg.wasm .",
"format": "run-p format:*",
"format:all": "prettier --write --plugin-search-dir=. .",
"format:rust": "cargo fmt",
"lint": "run-p lint:*",
"lint:js": "prettier --check --plugin-search-dir=. . && eslint --ignore-path .prettierignore .",
"lint:rust": "cargo fmt -- --check && cargo clippy",
"test": "run-p test:vrt test:node",
"test:node": "vitest",
"test:vrt": "run-s vrt:gen vrt:comp",
"vrt:gen": "node test/vrt/index.mjs",
"vrt:comp": "reg-cli test/vrt/actual test/vrt/expected test/vrt/diff",
"vrt:clean": "rimraf test/vrt/diff test/vrt/actual",
"vrt-update": "run-s vrt:clean vrt:gen && reg-cli test/vrt/actual test/vrt/expected test/vrt/diff -U",
"changeset": "changeset",
"release": "pnpm prepack && pnpm changeset publish",
"prepare": "husky install"
},
"repository": {
"type": "git",
"url": "https://github.com/ssssota/svg2png-wasm.git"
},
"keywords": [
"wasm",
"svg",
"png"
],
"files": [
"svg2png_wasm_bg.wasm",
"dist",
"NOTICE"
],
"author": "ssssota",
"license": "MIT",
"bugs": {
"url": "https://github.com/ssssota/svg2png-wasm/issues"
},
"homepage": "https://ssssota.github.io/svg2png-wasm/",
"devDependencies": {
"@changesets/changelog-github": "^0.4.8",
"@changesets/cli": "^2.26.2",
"@commitlint/cli": "^17.0.0",
"@commitlint/config-conventional": "^17.0.0",
"copyfiles": "^2.4.1",
"dts-bundle-generator": "^8.0.0",
"esbuild": "^0.18.0",
"eslint": "^8.41.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-svelte3": "^4.0.0",
"glob": "^10.2.7",
"husky": "^8.0.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.8",
"prettier-plugin-svelte": "^2.10.0",
"reg-cli": "^0.17.7",
"rimraf": "^5.0.0",
"serve": "^13.0.4",
"svelte": "^3.59.1",
"tslib": "^2.5.2",
"typescript": "^5.0.0",
"vitest": "^0.34.0",
"wasm-pack": "^0.12.0"
},
"type": "module",
"packageManager": "[email protected]"
}