forked from kaelzhang/error-stack
/
package.json
103 lines (103 loc) · 3.75 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
{
"name": "error-stack2",
"version": "2.0.5",
"description": "Parse and manipulate error.stack",
"keywords": [
"error-stack",
"error-stack-parser",
"formatter",
"trace",
"create-by-yarn-tool",
"create-by-tsdx"
],
"homepage": "https://github.com/bluelovers/error-stack#readme",
"bugs": {
"url": "https://github.com/bluelovers/error-stack/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/bluelovers/error-stack.git"
},
"license": "MIT",
"author": "kaelzhang",
"sideEffects": false,
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.esm.mjs",
"require": "./dist/index.cjs"
},
"./package.json": "./package.json",
"./src/*": "./src/*"
},
"main": "dist/index.cjs",
"unpkg": "dist/index.umd.js",
"module": "dist/index.esm.mjs",
"types": "dist/index.d.ts",
"typings": "dist/index.d.ts",
"directories": {
"test": "test"
},
"files": [
"dist",
"src"
],
"scripts": {
"pretest": "echo pretest",
"test": "jest --passWithNoTests",
"test:jest": "jest --passWithNoTests",
"test:jest:clearCache": "jest --clearCache",
"test:jest:snapshot": "yarn run test:jest -- -u",
"test:snapshot": "yarn run test -- -u",
"posttest": "yarn run build",
"install:frozenLockfile": "yarn-tool install --frozen-lockfile",
"install:resetLockfile": "yarn-tool install --reset-lockfile",
"build": "yarn run build:tsdx && yarn run build:dts:bundle",
"build:dts:bundle": "ynpx dts-bundle-generator -o ./dist/index.d.ts ./src/index.ts --no-banner --inline-declare-global & echo build:dts:bundle",
"build:dts:copy": "copy .\\src\\index.d.ts .\\dist\\index.d.ts & echo build:dts",
"build:dts:tsc": "yarn run build:dts:tsc:emit && yarn run build:dts:copy",
"build:dts:tsc:emit": "tsc --emitDeclarationOnly --declaration --noEmit false",
"build:tsdx": "ynpx @bluelovers/tsdx build --target node",
"ci:install": "yarn install --frozen-lockfile && yarn add -W typescript@next jest ts-jest ts-node ynpx lerna yarn-tool",
"ci:build": "echo ci:build",
"npm:publish": "npm publish",
"npm:publish:bump": "yarn run version:bump && npm publish",
"preversion": "echo preversion && yarn run test",
"version": "echo version",
"version:bump": "yarn-tool version",
"postversion": "echo postversion",
"prepublish": "echo prepublish",
"prepare": "echo prepare",
"prepublishOnly": "yarn run preversion",
"prepublishOnly:check-bin": "ynpx --quiet @yarn-tool/check-pkg-bin",
"prepublishOnly:update": "yarn run ncu && yarn run sort-package-json",
"prepack": "echo prepack",
"pack": "echo pack",
"postpack": "echo postpack",
"publish": "echo publish",
"postpublish": "yarn run postpublish:changelog && yarn run postpublish:git:commit && yarn run postpublish:git:tag && yarn run postpublish:git:push",
"postpublish:changelog": "ynpx --quiet @yarn-tool/changelog && git add ./CHANGELOG.md",
"postpublish:git:commit": "git commit -m \"chore(release): publish\" . & echo postpublish:git:commit",
"postpublish:git:push": "git push --follow-tags",
"postpublish:git:tag": "ynpx --quiet @yarn-tool/tag",
"postpublishOnly": "echo postpublishOnly",
"ncu": "yarn-tool ncu -u",
"sort-package-json": "yarn-tool sort",
"tsc:showConfig": "ynpx get-current-tsconfig -p"
},
"dependencies": {
"crlf-normalize": "^1.0.19",
"err-code": "^3.0.1",
"string-detect-indent": "^1.0.7",
"string-split-keep2": "^1.0.12",
"ts-type": "^3.0.1"
},
"devDependencies": {
"@bluelovers/tsconfig": "^1.0.34",
"@types/bluebird": "^3.5.41",
"@types/jest": "^29.5.6",
"@types/node": "^20.8.7",
"tslib": "^2.6.2"
},
"packageManager": "yarn@^1.22.11"
}