-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathpackage.json
106 lines (106 loc) · 3.4 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
104
105
106
{
"name": "pretty-print-json",
"version": "3.0.4",
"description": "Pretty-print JSON data into HTML to indent and colorize (written in functional TypeScript)",
"license": "MIT",
"type": "module",
"module": "dist/pretty-print-json.js",
"browser": "dist/pretty-print-json.min.js",
"style": "dist/css/pretty-print-json.css",
"types": "dist/pretty-print-json.d.ts",
"exports": {
".": "./dist/pretty-print-json.js",
"./": "./dist/"
},
"files": [
"dist"
],
"repository": {
"type": "git",
"url": "git+https://github.com/center-key/pretty-print-json.git"
},
"homepage": "https://pretty-print-json.js.org",
"bugs": "https://github.com/center-key/pretty-print-json/issues",
"docs": "https://pretty-print-json.js.org",
"author": "Center Key (https://centerkey.com)",
"keywords": [
"color",
"format",
"html",
"javascript",
"json",
"pretty-print",
"pretty-print-json",
"typescript"
],
"jshintConfig": {
"esversion": 11,
"strict": "implied",
"eqeqeq": true,
"undef": true,
"unused": true,
"varstmt": true,
"browser": true,
"node": true,
"mocha": true
},
"runScriptsConfig": {
"clean": [
"rimraf build dist"
],
"lint": [
"jshint . --exclude-path .gitignore",
"eslint --max-warnings 0"
],
"build": [
"tsc",
"esm-to-plain-js --cd=build pretty-print-json.js pretty-print-json.dev.js",
"uglifyjs build/pretty-print-json.dev.js --output build/pretty-print-json.min.js",
"copy-folder src --ext=.css build/css",
"csso src/pretty-print-json.css --output build/css/pretty-print-json.min.css",
"csso src/pretty-print-json.dark-mode.css --output build/css/pretty-print-json.dark-mode.min.css",
"csso src/pretty-print-json.prefers.css --output build/css/pretty-print-json.prefers.min.css"
],
"dist": [
"add-dist-header build dist",
"add-dist-header build/css dist/css"
],
"docs": [
"replacer spec/interactive.html build/docs1 --find=dynamic.html --replacement=dynamic/",
"replacer build/docs1 build/docs2 --find=../dist --replacement=https://cdn.jsdelivr.net/npm/pretty-print-json@{{package.version{{pipe}}minor-version}}/dist",
"copy-file build/docs2/interactive.html docs/index.html",
"copy-file spec/dynamic.html docs/dynamic/index.html",
"html-validator docs"
]
},
"scripts": {
"pretest": "run-scripts clean lint build dist docs",
"test": "mocha spec/*.spec.js",
"examples": "npm test && node spec/examples.js"
},
"devDependencies": {
"@eslint/js": "~9.17",
"@fortawesome/fontawesome-free": "~6.7",
"@types/node": "~22.10",
"add-dist-header": "~1.4",
"assert-deep-strict-equal": "~1.2",
"copy-file-util": "~1.2",
"copy-folder-util": "~1.1",
"csso-cli": "~4.0",
"dna-engine": "~3.2",
"eslint": "~9.17",
"esm-to-plain-js": "~1.1",
"fetch-json": "~3.3",
"jsdom": "~25.0",
"jshint": "~2.13",
"mocha": "~11.0",
"replacer-util": "~1.3",
"rimraf": "~6.0",
"run-scripts-util": "~1.3",
"typescript": "~5.7",
"typescript-eslint": "~8.19",
"uglify-js": "~3.19",
"w3c-html-validator": "~1.8",
"web-ignition": "~2.2"
}
}