-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
125 lines (125 loc) · 3.92 KB
/
Copy pathpackage.json
File metadata and controls
125 lines (125 loc) · 3.92 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
125
{
"$schema": "https://json.schemastore.org/package.json",
"name": "@asd14/node-utils",
"version": "3.1.0",
"description": "Node.js pure functions for common domain-agnostic tasks",
"license": "MIT",
"sideEffects": false,
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/asd-xiv/node-utils.git"
},
"author": {
"name": "Andrei Dumitrescu",
"url": "https://github.com/andreidmt"
},
"files": [
"dist"
],
"nx": {
"projectType": "library",
"tags": [
"type:library",
"target:node"
]
},
"type": "module",
"exports": {
"./colors": {
"import": "./dist/colors/index.js",
"default": "./dist/colors/index.js",
"types": "./dist/colors/index.d.ts"
},
"./fs": {
"import": "./dist/fs/index.js",
"default": "./dist/fs/index.js",
"types": "./dist/fs/index.d.ts"
},
"./math": {
"import": "./dist/math/index.js",
"default": "./dist/math/index.js",
"types": "./dist/math/index.d.ts"
},
"./network": {
"import": "./dist/network/index.js",
"default": "./dist/network/index.js",
"types": "./dist/network/index.d.ts"
},
"./promise": {
"import": "./dist/promise/index.js",
"default": "./dist/promise/index.js",
"types": "./dist/promise/index.d.ts"
},
"./terminal": {
"import": "./dist/terminal/index.js",
"default": "./dist/terminal/index.js",
"types": "./dist/terminal/index.d.ts"
},
"./time": {
"import": "./dist/time/index.js",
"default": "./dist/time/index.js",
"types": "./dist/time/index.d.ts"
},
"./types": {
"import": "./dist/index.types.js",
"default": "./dist/index.types.js",
"types": "./dist/index.types.d.ts"
},
"./package.json": "./package.json"
},
"scripts": {
"----UTILS": "",
"prepare": "git config --local core.hooksPath .githook",
"format": "eslint --fix .",
"clear:dist": "rm -rf dist/*",
"clear:ts-cache": "rm -f node_modules/.tmp/*.tsbuildinfo",
"----BUNDLE": "",
"prebuild:code": "npm run clear:dist",
"build:code": "swc src -d dist --strip-leading-paths",
"prebuild:types": "npm run clear:ts-cache",
"build:types": "tsc --declaration --emitDeclarationOnly --project ./.tsconfig/code.json",
"build": "npm run build:code && npm run build:types",
"----CODE-QA": "",
"lint": "eslint --quiet .",
"typecheck:code": "tsc --noEmit --project ./.tsconfig/code.json",
"typecheck:tests": "tsc --noEmit --project ./.tsconfig/tests.json",
"typecheck:other": "tsc --noEmit --project ./.tsconfig/other.json",
"typecheck": "npm run typecheck:code && npm run typecheck:tests && npm run typecheck:other",
"test:code": "TSX_TSCONFIG_PATH=.tsconfig/tests.json node --import tsx --test 'src/**/*.test.ts'",
"test:types": "tstyche",
"test": "npm run test:code && npm run test:types",
"coverage": "c8 --100 --exclude='src/**/*.test.ts' npm run test:code",
"unit-test": "npm run test:code",
"type-test": "npm run test:types",
"watch:unit-test": "TSX_TSCONFIG_PATH=.tsconfig/tests.json node --import tsx --watch --test 'src/**/*.test.ts'",
"----PUBLISH": "",
"release": "semantic-release"
},
"dependencies": {},
"devDependencies": {
"@asd14/eslint-config": "^15.4.0",
"@asd14/eslint-plugin": "^3.3.0",
"@asd14/prettier-config": "^1.4.0",
"@asd14/ts-config": "^1.5.0",
"@commitlint/cli": "^21.0.2",
"@commitlint/config-conventional": "^21.0.2",
"@semantic-release/git": "^10.0.1",
"@swc/cli": "^0.8.1",
"@swc/core": "^1.15.41",
"c8": "^11.0.0",
"conventional-changelog-conventionalcommits": "^9.3.1",
"eslint": "^9.39.2",
"prettier": "^3.8.4",
"semantic-release": "^25.0.5",
"tstyche": "^7.2.1",
"tsx": "^4.22.4",
"typescript": "^6.0.3"
},
"peerDependencies": {},
"engines": {
"node": ">=22.0.0"
}
}