-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
112 lines (112 loc) · 3.74 KB
/
package.json
File metadata and controls
112 lines (112 loc) · 3.74 KB
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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
{
"name": "@webdeveric/utils",
"description": "Just another collection of utilities.",
"version": "0.0.0",
"publishConfig": {
"access": "public"
},
"license": "MIT",
"keywords": [
"utilities",
"helpers"
],
"author": {
"email": "eric@webdeveric.com",
"name": "Eric King",
"url": "http://webdeveric.com/"
},
"type": "module",
"sideEffects": false,
"main": "./dist/mjs/index.js",
"types": "./dist/types/index.d.ts",
"engines": {
"node": ">=18.0.0"
},
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"require": "./dist/cjs/index.js",
"import": "./dist/mjs/index.js"
},
"./predicate/factory": {
"types": "./dist/types/predicate/factory/index.d.ts",
"require": "./dist/cjs/predicate/factory/index.js",
"import": "./dist/mjs/predicate/factory/index.js"
},
"./predicate": {
"types": "./dist/types/predicate/index.d.ts",
"require": "./dist/cjs/predicate/index.js",
"import": "./dist/mjs/predicate/index.js"
},
"./assertion": {
"types": "./dist/types/assertion/index.d.ts",
"require": "./dist/cjs/assertion/index.js",
"import": "./dist/mjs/assertion/index.js"
},
"./types": {
"types": "./dist/types/types/index.d.ts",
"require": "./dist/cjs/types/index.js",
"import": "./dist/mjs/types/index.js"
},
"./*": {
"types": "./dist/types/*.d.ts",
"require": "./dist/cjs/*.js",
"import": "./dist/mjs/*.js"
},
"./package.json": "./package.json"
},
"files": [
"dist"
],
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/webdeveric/utils.git"
},
"bugs": {
"url": "https://github.com/webdeveric/utils/issues"
},
"homepage": "https://github.com/webdeveric/utils/#readme",
"packageManager": "pnpm@10.33.0+sha512.10568bb4a6afb58c9eb3630da90cc9516417abebd3fabbe6739f0ae795728da1491e9db5a544c76ad8eb7570f5c4bb3d6c637b2cb41bfdcdb47fa823c8649319",
"scripts": {
"clean": "rimraf ./dist/",
"prebuild": "pnpm clean",
"build": "tsc --build tsconfig.cjs.json tsconfig.mjs.json --force",
"postbuild": "echo '{\"type\":\"commonjs\"}' > ./dist/cjs/package.json && echo '{\"type\":\"module\"}' > ./dist/mjs/package.json && pnpm validate",
"typecheck": "tsc --build --verbose --noEmit",
"lint": "eslint ./*.{js,cjs,mjs,ts,cts,mts} ./src/ ./bench/ ./test/ --ext .ts,.mjs,.cjs",
"bench": "vitest bench",
"test": "vitest --typecheck",
"coverage": "vitest run --coverage --typecheck",
"validate": "validate-package-exports --check",
"spellcheck": "cspell './{.github,src,bench,test}/**/*.{ts,json}' './*.{md,mjs,mts}' './package.json' --no-progress",
"prepublishOnly": "pnpm typecheck && pnpm spellcheck && pnpm lint && pnpm coverage && pnpm build",
"format": "prettier --write ./*.{js,json,md} ./src/ ./bench/ ./test/",
"prepare": "husky"
},
"prettier": "@webdeveric/prettier-config",
"devDependencies": {
"@commitlint/config-conventional": "^20.5.0",
"@commitlint/types": "^20.5.0",
"@types/node": "^24.12.2",
"@vitest/coverage-v8": "^4.1.3",
"@webdeveric/eslint-config-ts": "^0.12.0",
"@webdeveric/prettier-config": "^0.4.0",
"commitlint": "^20.5.0",
"commitlint-plugin-cspell": "^0.8.0",
"conventional-changelog-conventionalcommits": "^9.3.1",
"cspell": "^10.0.0",
"eslint": "^8.57.1",
"eslint-config-prettier": "^10.1.8",
"eslint-import-resolver-typescript": "^4.4.4",
"eslint-plugin-import": "^2.32.0",
"husky": "^9.1.7",
"jsdom": "^29.0.2",
"lint-staged": "^16.4.0",
"prettier": "^3.8.1",
"rimraf": "^6.1.3",
"semantic-release": "^25.0.3",
"typescript": "^6.0.2",
"validate-package-exports": "^0.23.0",
"vitest": "^4.1.3"
}
}