-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
109 lines (109 loc) · 2.58 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
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
{
"name": "@tapjs/processinfo",
"version": "3.1.8",
"files": [
"dist"
],
"type": "module",
"main": "./dist/commonjs/index.js",
"types": "./dist/commonjs/index.d.ts",
"tshy": {
"main": true,
"selfLink": false,
"exports": {
".": "./src/index.ts",
"./loader": "./src/loader-legacy.mts",
"./import": "./src/import.mts"
}
},
"exports": {
".": {
"import": {
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
},
"require": {
"types": "./dist/commonjs/index.d.ts",
"default": "./dist/commonjs/index.js"
}
},
"./loader": {
"import": {
"types": "./dist/esm/loader-legacy.d.mts",
"default": "./dist/esm/loader-legacy.mjs"
}
},
"./import": {
"import": {
"types": "./dist/esm/import.d.mts",
"default": "./dist/esm/import.mjs"
}
}
},
"scripts": {
"preversion": "npm test",
"postversion": "npm publish",
"prepublishOnly": "git push origin --follow-tags",
"preprepare": "rm -rf dist",
"prepare": "tshy",
"pretest": "npm run prepare",
"presnap": "npm run prepare",
"test": "c8 tap",
"snap": "c8 tap",
"format": "prettier --write . --loglevel warn",
"typedoc": "typedoc --tsconfig .tshy/esm.json ./src/*.ts ./src/*.mts"
},
"tap": {
"coverage": false,
"node-arg": [
"--enable-source-maps",
"--no-warnings",
"--require",
"ts-node/register"
],
"test-env": [
"TS_NODE_PROJECT=tsconfig/test.json",
"_TAPJS_PROCESSINFO_EXCLUDE_=/.*[\\/\\\\]test-processinfo-exclude.js$/"
],
"ts": false,
"test-regex": "test/.*\\.[mc]?[jt]s$"
},
"prettier": {
"semi": false,
"printWidth": 75,
"tabWidth": 2,
"useTabs": false,
"singleQuote": true,
"jsxSingleQuote": false,
"bracketSameLine": true,
"arrowParens": "avoid",
"endOfLine": "lf"
},
"dependencies": {
"pirates": "^4.0.5",
"process-on-spawn": "^1.0.0",
"signal-exit": "^4.0.2",
"uuid": "^8.3.2"
},
"engines": {
"node": ">=16.17"
},
"license": "ISC",
"devDependencies": {
"@npmcli/promise-spawn": "^2.0.1",
"@types/node": "^20.1.2",
"@types/npmcli__promise-spawn": "^6.0.0",
"@types/tap": "^15.0.8",
"@types/uuid": "^9.0.1",
"c8": "^7.13.0",
"diff": "^5.0.0",
"prettier": "^2.6.2",
"sync-content": "^1.0.2",
"tap": "^16.3.9",
"ts-node": "^10.9.1",
"tshy": "^1.11.1",
"typedoc": "^0.25.1",
"typescript": "^5.2.2"
},
"repository": "https://github.com/tapjs/processinfo"
}