-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
91 lines (91 loc) · 2.75 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": "make-matrix",
"version": "4.0.1",
"license": "MIT",
"description": "A simple, type-safe way to create multi-dimensional arrays",
"author": "Neef Rehman",
"keywords": [
"matrix",
"nth dimension",
"array",
"multidimensional",
"math",
"typescript"
],
"homepage": "https://github.com/neefrehman/make-matrix",
"repository": {
"type": "git",
"url": "git+https://github.com/neefrehman/make-matrix.git"
},
"bugs": {
"url": "https://github.com/neefrehman/make-matrix/issues"
},
"files": ["src/**/*", "dist/**/*"],
"type": "module",
"sideEffects": false,
"exports": {
"types": "./dist/index.d.ts",
"require": "./dist/index.cjs",
"import": "./dist/index.js"
},
"main": "./dist/index.cjs",
"types": "./dist/index.d.ts",
"scripts": {
"check": "biome check",
"check:fix": "biome check --write",
"format:fix": "biome format --write",
"typecheck": "tsc",
"test": "vitest run",
"build": "tsup --config='scripts/build.ts'",
"preversion": "pnpm run check",
"version": "pnpm run build && pnpm run format:fix && git add -A src",
"postversion": "pnpm run benchmark:ci && pnpm run updateBadges && git push && git push --tags",
"updateBadges": "node --loader ts-node/esm scripts/update-badges.ts",
"pre-commit": "lint-staged",
"commit-msg": "commitlint -e",
"commitizen": "cz",
"commitlint": "commitlint",
"benchmark": "node --loader ts-node/esm scripts/run-benchmark.ts current",
"benchmark:ci": "node --loader ts-node/esm scripts/run-benchmark.ts current ci",
"benchmark:diff": "node --loader ts-node/esm scripts/run-benchmark.ts diff",
"benchmark:diff:ci": "node --loader ts-node/esm scripts/run-benchmark.ts diff ci"
},
"devDependencies": {
"@actions/github": "^6.0.0",
"@biomejs/biome": "1.9.4",
"@commitlint/cli": "^19.0.3",
"@commitlint/config-conventional": "^19.0.3",
"@semantic-release/git": "^10.0.1",
"benny": "^3.7.1",
"commitizen": "^4.3.0",
"cz-conventional-changelog": "^3.3.0",
"lint-staged": "^15.1.0",
"semantic-release": "^24.0.0",
"simple-git-hooks": "^2.9.0",
"terser": "^5.24.0",
"ts-node": "^10.9.1",
"tsup": "^8.0.0",
"typescript": "^5.6.2",
"vitest": "^2.0.5"
},
"lint-staged": {
"*": [],
"*.(js|ts|tsx)": ["biome check --write", "vitest related --run --passWithNoTests"]
},
"simple-git-hooks": {
"commit-msg": "npm run commit-msg",
"pre-commit": "npm run pre-commit"
},
"commitlint": {
"extends": ["@commitlint/config-conventional"],
"rules": {
"body-max-line-length": [1, "always", 100]
}
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"packageManager": "[email protected]"
}