-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathpackage.json
101 lines (101 loc) · 2.62 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
{
"name": "fetch-json",
"description": "A wrapper around Fetch just for JSON",
"version": "3.3.4",
"license": "MIT",
"type": "module",
"module": "dist/fetch-json.js",
"browser": "dist/fetch-json.min.js",
"types": "dist/fetch-json.d.ts",
"exports": "./dist/fetch-json.js",
"files": [
"dist"
],
"repository": {
"type": "git",
"url": "git+https://github.com/center-key/fetch-json.git"
},
"homepage": "https://fetch-json.js.org",
"bugs": "https://github.com/center-key/fetch-json/issues",
"docs": "https://github.com/center-key/fetch-json#readme",
"keywords": [
"browser",
"fetch",
"fetch-json",
"get",
"http",
"jamstack",
"javascript",
"json",
"post",
"rest",
"typescript"
],
"jshintConfig": {
"esversion": 11,
"strict": "implied",
"eqeqeq": true,
"nonbsp": false,
"undef": true,
"unused": true,
"varstmt": true,
"browser": true,
"mocha": true,
"node": true,
"globals": {
"fetch": true
}
},
"runScriptsConfig": {
"clean": [
"rimraf build dist"
],
"lint": [
"jshint . --exclude-path .gitignore",
"eslint --max-warnings 0"
],
"build": [
"tsc",
"esm-to-plain-js --cd=build fetch-json.js fetch-json.dev.js",
"uglifyjs build/fetch-json.dev.js --output build/fetch-json.min.js"
],
"dist": [
"add-dist-header build dist",
"html-validator spec docs"
]
},
"scripts": {
"pretest": "run-scripts clean lint build dist",
"test": "mocha spec/*.spec.js --timeout 7000",
"examples": "node docs/js/examples.js",
"dev": "tsc && node docs/js/dev.js",
"interactive": "http-server -o spec/fixtures/"
},
"devDependencies": {
"@eslint/js": "~9.18",
"@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",
"dna-engine": "~3.2",
"eslint": "~9.18",
"esm-to-plain-js": "~1.1",
"http-server": "~14.1",
"jsdom": "~26.0",
"jshint": "~2.13",
"mocha": "~11.0",
"puppeteer": "~24.1",
"puppeteer-browser-ready": "~1.3",
"replacer-util": "~1.3",
"rimraf": "~6.0",
"run-scripts-util": "~1.3",
"typescript": "~5.7",
"typescript-eslint": "~8.20",
"uglify-js": "~3.19",
"w3c-html-validator": "~1.8",
"web-ignition": "~2.3",
"whatwg-fetch": "~3.6"
}
}