-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
50 lines (50 loc) · 1.41 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
{
"name": "@robinmalfait/placebo",
"version": "0.1.4",
"description": "Placebo, the beautiful diagnostics printer",
"main": "dist/index.js",
"publishConfig": {
"access": "public"
},
"scripts": {
"prepublishOnly": "npm run build",
"build:base": "esbuild ./src/index.js --bundle --outdir=dist --platform=node --external:cli-highlight --external:picocolors --external:prettier",
"build": "npm run build:base -- --minify",
"dev": "npm run build:base -- --watch --sourcemap",
"format": "prettier --write .",
"test": "NO_COLOR=1 PLACEBO_PRINT_WIDTH=100 jest",
"examples:generate-readme": "NO_COLOR=1 PLACEBO_PRINT_WIDTH=150 node ./scripts/generate-example-readmes.js",
"preexamples:generate-readme": "npm run build",
"postinstall": "if [ -e .placebo-post-install ]; then npm install --prefix examples; fi"
},
"files": [
"dist"
],
"prettier": {
"printWidth": 100,
"semi": false,
"singleQuote": true,
"trailingComma": "es5"
},
"keywords": [
"diagnostics"
],
"author": "Robin Malfait",
"license": "MIT",
"devDependencies": {
"@swc/core": "^1.3.68",
"@swc/jest": "^0.2.26",
"@types/jest": "^29.5.2",
"esbuild": "^0.17.19",
"jest": "^29.6.1",
"prettier": "^2.8.8",
"typescript": "^5.1.6"
},
"dependencies": {
"cli-highlight": "^2.1.11",
"picocolors": "^1.0.0"
},
"peerDependencies": {
"prettier": "^2.8.6"
}
}