-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
75 lines (75 loc) · 1.89 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
{
"name": "used-pm",
"version": "1.1.1",
"description": "Detects what package manager executes the process",
"keywords": [
"npm",
"yarn",
"pnpm",
"package-manager"
],
"repository": "mheob/used-pm",
"funding": "https://github.com/sponsors/mheob",
"license": "MIT",
"author": "Alexander Böhm <[email protected]>",
"exports": {
".": {
"import": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
}
},
"types": "./dist/index.d.cts",
"files": [
"./dist/"
],
"scripts": {
"benchmark": "node ./utils/perf.cjs",
"build": "rimraf ./dist/* && concurrently \"pnpm build:cjs\" \"pnpm build:esm\"",
"build:cjs": "tsc -b ./tsconfig.cjs.json",
"build:esm": "tsc -b ./tsconfig.esm.json",
"format": "prettier --write \"**/*.{cjs,js,mjs,ts,json,md,mdx,yml}\"",
"lint": "eslint . --ext .cjs,.js,.mjs,.ts --fix --ignore-path .gitignore",
"prepare": "husky install",
"test": "vitest",
"test:coverage": "vitest run --coverage"
},
"lint-staged": {
"*.{cjs,js,mjs,ts}": "eslint --fix",
"!(pnpm-)*.{cjs,js,mjs,ts,json,md,mdx,yaml,yml}": "pnpm exec prettier --write",
"package.json": "npx sort-package-json"
},
"config": {
"commitizen": {
"path": "node_modules/cz-git"
}
},
"devDependencies": {
"@commitlint/cli": "^19.6.0",
"@commitlint/config-conventional": "^19.6.0",
"@mheob/commitlint-config": "^1.2.0",
"@mheob/eslint-config": "^5.2.0",
"@mheob/prettier-config": "^3.3.2",
"@mheob/tsconfig": "^2.2.1",
"@types/node": "^20.17.9",
"@vitest/coverage-v8": "^2.1.8",
"commitizen": "^4.3.1",
"concurrently": "^9.1.0",
"cz-git": "^1.11.0",
"eslint": "^8.57.1",
"husky": "^9.1.7",
"lint-staged": "^15.2.11",
"prettier": "^3.4.2",
"rimraf": "^6.0.1",
"typescript": "^5.7.2",
"vitest": "^2.1.8"
},
"publishConfig": {
"access": "public"
}
}