-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
57 lines (57 loc) · 1.52 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
{
"name": "pretty-var-export",
"version": "2.0.2",
"description": "Export any value to valid and equivalent JavaScript code",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"require": "./dist/index.cjs",
"import": "./dist/index.mjs",
"types": "./dist/index.d.ts"
}
},
"sideEffects": false,
"scripts": {
"test": "npx vitest",
"test-watch": "npx vitest",
"coverage": "npx vitest --collectCoverage",
"demo": "node demo/example.js",
"build": "npm run build:dts && npm run build:esm && npm run build:cjs",
"build:dts": "rm dist/index.d.ts; npx dts-generator --project . --out dist/index.d.ts",
"build:esm": "npx esbuild index.ts --bundle --platform=node --format=esm --outfile=dist/index.mjs",
"build:cjs": "npx esbuild index.ts --bundle --platform=node --format=cjs --outfile=dist/index.cjs"
},
"repository": {
"type": "git",
"url": "git+https://github.com/kensnyder/pretty-var-export.git"
},
"keywords": [
"pretty",
"prettify",
"beautify",
"json",
"export",
"pretty print"
],
"author": "Ken Snyder",
"license": "MIT",
"bugs": {
"url": "https://github.com/kensnyder/pretty-var-export/issues"
},
"homepage": "https://github.com/kensnyder/pretty-var-export#readme",
"devDependencies": {
"@types/node": "20.14.10",
"@vitest/coverage-v8": "2.0.2",
"dts-generator": "3.0.0",
"prettier": "3.3.3",
"typescript": "5.5.3",
"vitest": "2.0.2"
},
"dependencies": {
"ansi-colors": "4.1.3",
"jsesc": "3.0.2"
}
}