Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
111 lines (111 loc) · 2.86 KB
/
Copy pathpackage.json
File metadata and controls
111 lines (111 loc) · 2.86 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
{
"name": "colorino",
"version": "0.19.3",
"description": "A super simple colorized logger that gets the most out of your terminal",
"keywords": [
"ansi",
"chalk",
"color",
"console",
"kuler",
"logger",
"terminal"
],
"homepage": "https://github.com/simwai/colorino",
"bugs": {
"url": "https://github.com/simwai/colorino/issues"
},
"license": "MIT",
"author": "simwai",
"repository": {
"type": "git",
"url": "git+https://github.com/simwai/colorino.git"
},
"files": [
"dist",
"LICENSE.md",
"package.json",
"README.md"
],
"type": "module",
"sideEffects": false,
"main": "./dist/node.mjs",
"module": "./dist/browser.mjs",
"types": "./dist/browser.d.ts",
"unpkg": "./dist/cdn.min.js",
"jsdelivr": "./dist/cdn.min.js",
"exports": {
"node": {
"types": "./dist/node.d.ts",
"import": "./dist/node.mjs",
"require": "./dist/node.cjs"
},
"script": "./dist/cdn.min.js",
"browser": {
"types": "./dist/browser.d.ts",
"import": "./dist/browser.mjs",
"default": "./dist/browser.mjs"
},
"default": {
"types": "./dist/browser.d.ts",
"import": "./dist/browser.mjs",
"default": "./dist/browser.mjs"
}
},
"publishConfig": {
"access": "public"
},
"scripts": {
"build": "unbuild",
"watch": "unbuild --watch",
"format": "oxlint --fix && oxfmt",
"test:all": "npm run test:node && npm run test:browser",
"test:node": "vitest run --project=node",
"test:browser": "vitest run --project=chromium --browser=chromium",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"test:ui": "vitest --ui",
"generate-readme-toc": "md-toc-cli -i README.md",
"version:patch": "npm version patch",
"version:minor": "npm version minor",
"version:major": "npm version major",
"preversion": "npm run build && npm run test:all",
"prepublishOnly": "npm run build && npm run test:all",
"postversion": "npm publish --access public --ignore-scripts",
"prepare": "husky"
},
"dependencies": {
"neverthrow": "^8.2.0"
},
"devDependencies": {
"@playwright/test": "^1.57.0",
"@rollup/plugin-commonjs": "^29.0.0",
"@rollup/plugin-node-resolve": "^16.0.3",
"@rollup/plugin-terser": "^0.4.4",
"@types/node": "^24.9.2",
"@vitest/browser-playwright": "^4.0.15",
"@vitest/coverage-v8": "^4.0.15",
"@vitest/ui": "^4.0.15",
"husky": "^9.0.0",
"lint-staged": "^15.2.0",
"md-toc-cli": "^3.1.1",
"oxfmt": "^0.23.0",
"oxlint": "^0.2.0",
"playwright": "^1.57.0",
"tsx": "^4.20.6",
"typescript": "^5.9.3",
"unbuild": "^3.6.1",
"vitest": "^4.0.15"
},
"lint-staged": {
"*.{ts,json}": [
"oxlint --fix",
"oxfmt"
],
"*.ts": "vitest related --run"
},
"engines": {
"node": ">=20.0.0",
"npm": ">=9.6.4"
}
}