1
1
{
2
- "name" : " [*] " ,
2
+ "name" : " @zayne-labs/toolkit " ,
3
3
"version" : " 0.0.0" ,
4
4
"type" : " module" ,
5
- "description" : " [*] " ,
5
+ "description" : " A collection of utility functions, types and composables used by my other projects. Nothing too fancy but can be useful. " ,
6
6
"repository" : {
7
7
"type" : " git" ,
8
- "url" : " https://github.com/[*] .git"
8
+ "url" : " https://github.com/zayne-labs/toolkit .git"
9
9
},
10
- "main" : " ./dist/esm/ min/index.js" ,
11
- "module" : " ./dist/esm/ min/index.js" ,
12
- "types" : " ./dist/esm/ min/index.d.ts" ,
13
- "homepage" : " https://github.com/[*] #readme" ,
10
+ "main" : " ./dist/min/core /index.js" ,
11
+ "module" : " ./dist/min/core /index.js" ,
12
+ "types" : " ./dist/min/core /index.d.ts" ,
13
+ "homepage" : " https://github.com/zayne-labs/toolkit #readme" ,
14
14
"bugs" : {
15
- "url" : " https://github.com/[*] /issues"
15
+ "url" : " https://github.com/zayne-labs/toolkit /issues"
16
16
},
17
17
"license" : " MIT" ,
18
- "author" : " [*] " ,
18
+ "author" : " Ryan Zayne " ,
19
19
"scripts" : {
20
+ "prepare" : " husky" ,
20
21
"test:check-types" : " tsc --pretty --incremental -p tsconfig.json" ,
21
22
"test:format" : " prettier --cache --write ." ,
22
23
"test:lint" : " eslint src/**/*.ts --cache --max-warnings 0 --report-unused-disable-directives" ,
23
24
"test:size" : " size-limit" ,
24
25
"test:publint" : " publint --strict ." ,
25
- "test:attw" : " attw --pack . --exclude-entrypoints utils " ,
26
+ "test:attw" : " attw --pack . --ignore-rules=cjs-resolves-to-esm " ,
26
27
"test:release" : " pkg-pr-new publish" ,
27
28
"build" : " tsup" ,
28
29
"build:dev" : " tsup --watch" ,
29
- "build:test" : " concurrently --prefix-colors \" yellow.bold,#7da4f8.bold,magenta\" --names PUBLINT,TSUP,ATTW 'pnpm:test:publint' 'pnpm:build:dev' 'pnpm:test:attw' " ,
30
+ "build:test" : " concurrently --prefix-colors \" yellow.bold,#7da4f8.bold,magenta\" --names PUBLINT,TSUP,ATTW 'pnpm:test:publint' 'pnpm:build:dev'" ,
30
31
"version-package" : " changeset version" ,
31
32
"release" : " changeset publish" ,
32
33
"inspect:eslint-config" : " pnpx @eslint/config-inspector@latest"
33
34
},
34
35
"devDependencies" : {
35
36
"@arethetypeswrong/cli" : " ^0.15.4" ,
36
37
"@changesets/cli" : " ^2.27.7" ,
37
- "@eslint/js" : " ^9.9.0 " ,
38
+ "@eslint/js" : " ^9.9.1 " ,
38
39
"@size-limit/esbuild-why" : " ^11.1.4" ,
39
40
"@size-limit/preset-small-lib" : " ^11.1.4" ,
40
- "@stylistic/eslint-plugin" : " ^2.6.4 " ,
41
+ "@stylistic/eslint-plugin" : " ^2.7.2 " ,
41
42
"@zayne-labs/tsconfig" : " ^0.1.1" ,
42
43
"concurrently" : " ^8.2.2" ,
43
- "eslint" : " ^9.9.0 " ,
44
- "eslint-plugin-import-x" : " ^3 .1.0 " ,
44
+ "eslint" : " ^9.9.1 " ,
45
+ "eslint-plugin-import-x" : " ^4 .1.1 " ,
45
46
"eslint-plugin-jsdoc" : " ^50.2.2" ,
46
- "eslint-plugin-perfectionist" : " ^3.2.0" ,
47
- "eslint-plugin-sonarjs" : " ^1.0.4" ,
47
+ "eslint-plugin-perfectionist" : " ^3.3.0" ,
48
48
"eslint-plugin-unicorn" : " ^55.0.0" ,
49
49
"eslint-typegen" : " ^0.3.1" ,
50
50
"globals" : " ^15.9.0" ,
51
- "husky" : " ^9.1.4 " ,
52
- "lint-staged" : " ^15.2.9 " ,
53
- "pkg-pr-new" : " ^0.0.20 " ,
51
+ "husky" : " ^9.1.5 " ,
52
+ "lint-staged" : " ^15.2.10 " ,
53
+ "pkg-pr-new" : " ^0.0.23 " ,
54
54
"prettier" : " ^3.3.3" ,
55
55
"publint" : " ^0.2.10" ,
56
56
"size-limit" : " ^11.1.4" ,
57
57
"terser" : " ^5.31.6" ,
58
58
"tsup" : " ^8.2.4" ,
59
59
"typescript" : " 5.5.4" ,
60
- "typescript-eslint" : " ^8.1.0"
60
+ "typescript-eslint" : " ^8.3.0"
61
+ },
62
+ "peerDependencies" : {
63
+ "@types/react" : " >=18.0.0" ,
64
+ "react" : " >=18.0.0" ,
65
+ "sonner" : " >=1.5.0"
66
+ },
67
+ "peerDependenciesMeta" : {
68
+ "@types/react" : {
69
+ "optional" : true
70
+ },
71
+ "react" : {
72
+ "optional" : true
73
+ },
74
+ "sonner" : {
75
+ "optional" : true
76
+ }
61
77
},
62
78
"publishConfig" : {
63
79
"access" : " public" ,
64
80
"registry" : " https://registry.npmjs.org/" ,
65
81
"provenance" : true
66
82
},
67
83
"exports" : {
68
- "." : {
69
- "import" : " ./dist/esm/min/index.js" ,
70
- "require" : " ./dist/cjs/index.cjs"
71
- },
72
- "./[*]" : {
73
- "import" : " ./dist/esm/min/[*]/index.js" ,
74
- "require" : " ./dist/cjs/[*]/index.cjs"
75
- }
84
+ "." : " ./dist/min/core/index.js" ,
85
+ "./react" : " ./dist/min/react/index.js" ,
86
+ "./type-helpers" : " ./dist/min/type-helpers/index.js"
76
87
},
77
88
"files" : [
78
89
" dist"
79
90
],
80
91
"size-limit" : [
81
92
{
82
- "path" : " ./src/[*]" ,
83
- "limit" : " [*] kb"
93
+ "path" : " ./src/core/index.ts" ,
94
+ "limit" : " 3 kb"
95
+ },
96
+ {
97
+ "path" : " ./src/react/index.ts" ,
98
+ "limit" : " 4.5 kb"
99
+ },
100
+ {
101
+ "path" : " ./src/type-helpers/index.ts" ,
102
+ "limit" : " 500 b"
84
103
}
85
104
],
86
105
"sideEffects" : false ,
87
106
"keywords" : [],
107
+ "packageManager" :
" [email protected] " ,
88
108
"engines" : {
89
- "node" : " >=[*] .x"
109
+ "node" : " >=18 .x"
90
110
}
91
- }
111
+ }
0 commit comments