-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
124 lines (124 loc) · 4.1 KB
/
package.json
File metadata and controls
124 lines (124 loc) · 4.1 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
113
114
115
116
117
118
119
120
121
122
123
124
{
"$schema": "https://json.schemastore.org/package.json",
"name": "@asd14/node-utils",
"version": "2.0.0",
"description": "Pure Node.js functions for various common tasks and utilities",
"sideEffects": false,
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/asd-xiv/node-utils.git"
},
"tags": [
"node",
"utils",
"helpers",
"functional",
"pure-functions",
"typescript"
],
"files": [
"dist"
],
"type": "module",
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js",
"types": "./dist/types/index.d.ts"
},
"./colors": {
"import": "./dist/esm/colors/index.js",
"require": "./dist/cjs/colors/index.js",
"types": "./dist/types/colors/index.d.ts"
},
"./fs": {
"import": "./dist/esm/fs/index.js",
"require": "./dist/cjs/fs/index.js",
"types": "./dist/types/fs/index.d.ts"
},
"./logger": {
"import": "./dist/esm/logger/index.js",
"require": "./dist/cjs/logger/index.js",
"types": "./dist/types/logger/index.d.ts"
},
"./math": {
"import": "./dist/esm/math/index.js",
"require": "./dist/cjs/math/index.js",
"types": "./dist/types/math/index.d.ts"
},
"./network": {
"import": "./dist/esm/network/index.js",
"require": "./dist/cjs/network/index.js",
"types": "./dist/types/network/index.d.ts"
},
"./promise": {
"import": "./dist/esm/promise/index.js",
"require": "./dist/cjs/promise/index.js",
"types": "./dist/types/promise/index.d.ts"
},
"./terminal": {
"import": "./dist/esm/terminal/index.js",
"require": "./dist/cjs/terminal/index.js",
"types": "./dist/types/terminal/index.d.ts"
},
"./time": {
"import": "./dist/esm/time/index.js",
"require": "./dist/cjs/time/index.js",
"types": "./dist/types/time/index.d.ts"
},
"./types": {
"import": "./dist/esm/types.js",
"require": "./dist/cjs/types.js",
"types": "./dist/types.d.ts"
},
"./package.json": "./package.json"
},
"scripts": {
"---BUILD": "",
"build:lock": "pu git-has-changed package.json --since HEAD~1 && npm install --no-workspaces --package-lock-only",
"build:src:esm": "swc src --out-dir dist/esm --ignore '**/*.test.ts' --strip-leading-paths --config-file .swcrc-mjs",
"build:src:cjs": "swc src --out-dir dist/cjs --ignore '**/*.test.ts' --strip-leading-paths --config-file .swcrc-cjs",
"build:types": "tsc --emitDeclarationOnly --project tsconfig.lib.json",
"build": "npm run build:src:esm && npm run build:src:cjs && npm run build:types",
"prerelease:local": "[ -f package-lock.json ] || npm install --no-workspaces --package-lock-only",
"release:local": "semantic-release --no-ci --dry-run",
"----UTIL": "",
"prepare": "git config --local core.hooksPath .githook",
"format": "eslint --fix .",
"----CODE-ANALYSIS": "",
"lint": "eslint .",
"unit-test": "node --import=tsx --test \"src/**/*.test.ts\"",
"watch:unit-test": "node --import=tsx --watch --test \"src/**/*.test.ts\"",
"typecheck:code": "tsc --noEmit --project tsconfig.lib.json",
"typecheck:configs": "tsc --noEmit --project tsconfig.dev.json",
"typecheck:test": "tsc --noEmit --project tsconfig.test.json",
"typecheck": "npm run typecheck:code && npm run typecheck:configs && npm run typecheck:test"
},
"dependencies": {
"@swc/helpers": "^0.5.17",
"yocto-spinner": "^1.0.0"
},
"devDependencies": {
"@asd14/eslint-config": "^14.4.0",
"@asd14/prettier-config": "^1.1.0",
"@asd14/ts-config": "^1.1.0",
"@commitlint/cli": "^19.8.1",
"@commitlint/config-conventional": "^19.8.1",
"@semantic-release/git": "^10.0.1",
"@swc/cli": "^0.7.8",
"@swc/core": "^1.13.5",
"@types/node": "^24.5.1",
"conventional-changelog-conventionalcommits": "^9.1.0",
"eslint": "^9.35.0",
"prettier": "^3.6.2",
"semantic-release": "^24.2.8",
"tsx": "^4.20.5",
"typescript": "^5.9.2"
},
"engines": {
"node": "^20.19.0 || ^22.12.0"
}
}