-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
195 lines (195 loc) · 6.27 KB
/
package.json
File metadata and controls
195 lines (195 loc) · 6.27 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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
{
"name": "@flex-development/string-wrap",
"description": "Wrap a string to a specified column width",
"version": "2.1.2",
"keywords": [
"256",
"ansi",
"break",
"cli",
"color",
"colors",
"command-line",
"console",
"escape",
"formatting",
"linewrap",
"log",
"logging",
"rgb",
"shell",
"string",
"string",
"styles",
"terminal",
"text",
"tty",
"wordbreak",
"wordwrap",
"wrap",
"xterm"
],
"license": "BSD-3-Clause",
"homepage": "https://github.com/flex-development/string-wrap",
"repository": "https://github.com/flex-development/string-wrap.git",
"bugs": "https://github.com/flex-development/string-wrap/issues",
"author": {
"name": "Lexus Drumgold",
"url": "https://github.com/unicornware"
},
"publishConfig": {
"access": "public",
"diff-dst-prefix": "string-wrap",
"diff-src-prefix": "string-wrap",
"directory": "./",
"executableFiles": [],
"node-options": null,
"pack-destination": ".",
"parseable": true,
"prefer-dedupe": true,
"provenance": true,
"tag-version-prefix": ""
},
"type": "module",
"files": [
"CHANGELOG.md",
"LICENSE.md",
"README.md",
"dist"
],
"exports": {
".": {
"string-wrap": "./src/index.mts",
"default": "./dist/index.mjs"
},
"./package.json": "./package.json"
},
"imports": {
"#constructs/*": {
"string-wrap": "./src/constructs/*.mts",
"default": "./dist/constructs/*.mjs"
},
"#enums/*": {
"string-wrap": "./src/enums/*.mts",
"default": "./dist/enums/*.mjs"
},
"#fixtures/*": "./__fixtures__/*.mts",
"#interfaces/*": {
"string-wrap": "./src/interfaces/*.mts",
"default": "./dist/interfaces/*.d.mts"
},
"#internal/*": {
"string-wrap": "./src/internal/*.mts",
"default": "./dist/internal/*.mjs"
},
"#lib/*": {
"string-wrap": "./src/lib/*.mts",
"default": "./dist/lib/*.mjs"
},
"#tests/*": "./__tests__/*.mts",
"#types/*": {
"string-wrap": "./src/types/*.mts",
"default": "./dist/types/*.d.mts"
}
},
"module": "./dist/index.mjs",
"types": "./dist/index.d.mts",
"remarkConfig": {
"plugins": [
"@flex-development/remark-preset"
]
},
"scripts": {
"build": "yarn clean:build && tsc -p tsconfig.build.json --noEmit false && trash ./dist/{interfaces,types}/*.mjs || exit 0 && trash ./dist/{constructs,enums,internal}/*.d.mts || exit 0",
"check:ci": "yarn dedupe --check && yarn check:format && yarn check:lint && yarn check:spelling && yarn typecheck && yarn check:types && yarn test:cov && yarn pack && yarn check:types:build && attw package.tgz && yarn clean:pack",
"check:format": "dprint check --incremental=false",
"check:lint": "eslint --exit-on-fatal-error --max-warnings 0 .",
"check:spelling": "cspell lint --color --no-progress --relative $@ \"**\"",
"check:types": "tsc -p tsconfig.json",
"check:types:attw": "yarn pack && attw package.tgz; yarn clean:pack",
"check:types:build": "tsc -p tsconfig.build.json",
"check:upgrades": "yarn upgrade-interactive",
"clean:build": "trash \"./{dist,*.tgz}\" || exit 0",
"clean:modules": "trash ./.yarn/{cache,*.gz} ./node_modules",
"clean:pack": "trash \"./*.tgz\"",
"clean:test": "trash ./coverage && trash __tests__/reports",
"codecov": "yarn test:cov && yarn test:cov:upload",
"codecov:validate": "cat .codecov.yml | curl --data-binary @- https://codecov.io/validate",
"commitlint": "commitlint -V",
"fix:cg": "yarn fix:format && yarn fix:lint",
"fix:dedupe": "yarn dedupe --strategy=highest",
"fix:format": "dprint fmt",
"fix:lint": "yarn check:lint --cache --fix",
"postinstall": "[ -f ./.git ] && [ -f ./node_modules/.bin/husky ] && chmod +x .husky/_/* && husky || exit 0",
"postpack": "toggle-scripts +postinstall",
"postpublish": "toggle-scripts +prepack",
"prepack": "toggle-scripts -postinstall && yarn build",
"prepublishOnly": "toggle-scripts -prepack",
"release": "bash ./scripts/release.sh",
"remark": "remark .",
"test": "yarn clean:build; vitest run",
"test:cov": "yarn test --coverage",
"test:cov:reports": "yarn test:cov --merge-reports --mode=reports",
"test:cov:ui": "yarn test:ui --coverage",
"test:cov:upload": "./codecov -t $CODECOV_TOKEN -f ./coverage/lcov.info",
"test:reports": "yarn test --merge-reports --mode=reports",
"test:ui": "cross-env VITEST_UI=1 vitest --ui",
"typecheck": "yarn test --typecheck --mode=typecheck",
"typecheck:ui": "yarn test:ui --typecheck --mode=typecheck"
},
"dependencies": {
"@flex-development/ansi-regex": "1.0.0",
"@flex-development/fsm-tokenizer": "1.0.0-alpha.1",
"@flex-development/strip-ansi": "1.0.0",
"detab": "3.0.2",
"devlop": "1.1.0",
"grapheme-splitter": "1.0.4",
"micromark-util-character": "2.1.1",
"string-width": "8.2.0"
},
"devDependencies": {
"@arethetypeswrong/cli": "0.18.2",
"@commitlint/cli": "20.4.2",
"@commitlint/types": "20.4.0",
"@faker-js/faker": "10.3.0",
"@flex-development/colors": "2.0.0",
"@flex-development/commitlint-config": "1.0.1",
"@flex-development/eslint-config": "1.1.1",
"@flex-development/grease": "3.0.0-alpha.9",
"@flex-development/pathe": "4.0.2",
"@flex-development/remark-preset": "1.0.0",
"@flex-development/tutils": "6.0.0-alpha.25",
"@tsconfig/strictest": "2.0.8",
"@types/concat-stream": "2.0.3",
"@types/is-ci": "3.0.4",
"@types/node-notifier": "8.0.5",
"@vates/toggle-scripts": "1.0.0",
"@vitest/coverage-v8": "4.0.18",
"@vitest/ui": "4.0.18",
"concat-stream": "2.0.0",
"cross-env": "10.1.0",
"cspell": "9.7.0",
"dprint": "0.52.0",
"editorconfig": "3.0.2",
"eslint": "9.39.2",
"globals": "17.4.0",
"growl": "1.10.5",
"happy-dom": "20.8.3",
"husky": "9.1.7",
"is-ci": "4.1.0",
"node-notifier": "10.0.1",
"remark": "15.0.1",
"remark-cli": "12.0.1",
"sh-syntax": "0.5.8",
"trash-cli": "7.2.0",
"ts-dedent": "2.2.0",
"typescript": "5.9.3",
"unified": "11.0.5",
"vfile": "6.0.3",
"vitest": "4.0.18",
"wrap-ansi": "10.0.0",
"yaml-eslint-parser": "2.0.0"
},
"packageManager": "yarn@4.12.0",
"sideEffects": false
}