-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
91 lines (91 loc) 路 2.92 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
{
"name": "auto-palette",
"description": "Extract prominent color palette from your image automatically",
"version": "1.3.2",
"license": "MIT",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"files": ["dist"],
"exports": {
"./package.json": "./package.json",
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.cjs",
"default": "./dist/index.mjs"
}
},
"repository": {
"type": "git",
"url": "https://github.com/t28hub/auto-palette-ts.git"
},
"bugs": {
"url": "https://github.com/t28hub/auto-palette-ts/issues"
},
"homepage": "https://github.com/t28hub/auto-palette-ts",
"author": {
"name": "Tatsuya Maki",
"url": "https://github.com/t28hub"
},
"keywords": ["color", "palette", "canvas", "image", "imagedata", "jpg", "png"],
"scripts": {
"preinstall": "npx only-allow pnpm",
"prepare": "husky install",
"prebuild": "pnpm clean",
"build": "tsc && vite build",
"clean": "rimraf dist",
"docs": "typedoc",
"dev": "vitest dev",
"format": "biome format --write .",
"lint": "pnpm lint:biome && pnpm lint:knip",
"lint:biome": "biome lint .",
"lint:biome:fix": "biome check --apply .",
"lint:knip": "pnpm lint:knip:development && pnpm lint:knip:production",
"lint:knip:development": "knip",
"lint:knip:production": "knip --production --strict --exclude unlisted",
"test": "pnpm test:coverage",
"test:benchmark": "vitest bench --run",
"test:coverage": "vitest run --coverage",
"test:ui": "vitest run --coverage --ui",
"release": "pnpx semantic-release",
"release:check": "pnpx semantic-release --dry-run --no-ci"
},
"devDependencies": {
"@biomejs/biome": "1.7.1",
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2",
"@napi-rs/canvas": "^0.1.52",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/commit-analyzer": "^12.0.0",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^10.0.3",
"@semantic-release/npm": "^12.0.0",
"@semantic-release/release-notes-generator": "^13.0.0",
"@types/node": "^20.12.7",
"@vitest/coverage-v8": "^1.5.2",
"@vitest/ui": "^1.5.2",
"canvas": "^2.11.2",
"conventional-changelog-conventionalcommits": "^7.0.2",
"husky": "^9.0.11",
"jest-extended": "^4.0.2",
"jest-matcher-utils": "^29.7.0",
"jsdom": "^24.0.0",
"knip": "^5.11.0",
"lint-staged": "^15.2.2",
"rimraf": "^5.0.5",
"semantic-release": "^23.0.8",
"typedoc": "^0.25.13",
"typedoc-plugin-markdown": "^4.0.2",
"typescript": "^5.4.5",
"vite": "^5.2.10",
"vite-plugin-dts": "^3.9.0",
"vitest": "^1.5.2"
},
"lint-staged": {
"*.{js,ts}": ["pnpm run lint:biome:fix", "pnpm run format"],
"*.{json,yml,md}": ["pnpm run format"]
},
"packageManager": "pnpm@8.15.4"
}