-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
76 lines (76 loc) · 2.33 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
{
"name": "vectortracer",
"description": "Wasm bindings to visioncortex's vtracer library, a rust image vectorizer library.",
"version": "0.0.0-semanticlly-released",
"type": "module",
"exports": {
".": "./pkg/vectortracer.js"
},
"types": "./pkg/vectortracer.d.ts",
"sideEffects": [
"./pkg/vectortracer.js",
"./pkg/snippets/*"
],
"scripts": {
"lint": "npm run lint:rustfmt",
"lint:rustfmt": "cargo +nightly fmt -- --check",
"lint:rustfmt:fix": "cargo +nightly fmt",
"lint:commits": "commitlint --from $(git rev-list --max-parents=0 HEAD) --to HEAD --verbose",
"build": "pnpm exec wasm-pack build && rm pkg/package.json",
"test": "cargo test",
"actions:debug": "act -r -v -j build",
"prepare": "husky install && pnpm run build"
},
"devDependencies": {
"@alanscodelog/commitlint-config": "^2.0.0",
"@alanscodelog/semantic-release-config": "^3.0.0",
"commitlint": "^17.7.1",
"husky": "^8.0.3",
"semantic-release": "^21.0.6",
"wasm-pack": "^0.12.1"
},
"release": {
"extends": [
"@alanscodelog/semantic-release-config"
]
},
"commitlint": {
"extends": [
"@alanscodelog"
]
},
"files": [
"pkg/vectortracer.js",
"pkg/vectortracer.d.ts",
"pkg/vectortracer_bg.js",
"pkg/vectortracer_bg.wasm",
"pkg/vectortracer_bg.wasm.d.ts",
"src",
"cargo.toml",
"build.sh",
"setup.sh",
"README.md"
],
"license": "MIT",
"keywords": [
"imagetracer",
"vectorizer",
"vectortracer",
"vector",
"converter",
"wasm",
"vtracer",
"visioncortex"
],
"author": "Alan North <alanscodelog@gmail.com>",
"repository": "https://github.com/AlansCodeLog/vectortracer.git",
"@comments": {
"": "This package json is the one we will actually use since the auto-generated one cannot be changed. It allows the repo to be installed directly from github and can allow adding additional files and build steps.",
"files": "The manually specified pkg/* files are a temporary workaround for https://github.com/npm/cli/issues/6164.",
"scripts": {
"lint:commits": "Lints all unpushed commits in the active branch.",
"prepare": "Needed so that if we pull the package from git it will get built and installed properly.",
"actions:debug": "For debugging github build action locally with nektos/act. Requires act and docker. Note: Cache will never work locally because of https://github.com/nektos/act/issues/285"
}
}
}