-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
71 lines (71 loc) · 1.82 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
{
"name": "snarfetch",
"description": "A helpful fetch wrapper for NodeJS",
"author": "Andrew Aylett",
"version": "0.3.0",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/andrewaylett/snarfetch.git"
},
"type": "module",
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./*": {
"types": "./dist/*.d.ts",
"default": "./dist/*.js"
}
},
"imports": {
"#*": {
"types": "./dist/*.d.ts",
"default": "./dist/*.js"
}
},
"scripts": {
"build": "npm run buildonly",
"buildonly": "tsc -b --verbose .",
"test": "NODE_OPTIONS=--experimental-vm-modules jest build/test",
"postbuild": "prepackage-checks && downgrade-build build",
"lint": "eslint .",
"prebuild": "npm run test",
"pretest": "npm run lint && npm run buildonly",
"lint:fix": "npm run lint -- --fix",
"dev": "npm run lint:fix && npm run buildonly && npm run test",
"prepublishOnly": "npm run build"
},
"prettier": {
"semi": true,
"singleQuote": true,
"trailingComma": "all"
},
"devDependencies": {
"@tsconfig/node16": "1.0.3",
"@types/eslint": "8.37.0",
"@types/glob": "8.1.0",
"@types/jest": "29.5.1",
"@types/node": "18.16.4",
"@types/semver": "7.3.13",
"@typescript-eslint/eslint-plugin": "5.59.2",
"downgrade-build": "1.0.0",
"eslint": "8.39.0",
"eslint-config-andrewaylett": "2.2.0",
"eslint-plugin-unicorn": "46.0.0",
"extend-expect": "1.0.2",
"ignore": "5.2.4",
"jest": "29.5.0",
"node-fetch": "3.3.0",
"prepackage-checks": "0.1.2",
"prettier": "2.8.8",
"self-throttle": "0.3.1",
"semver": "7.5.0",
"typescript": "5.0.4"
},
"peerDependencies": {
"node-fetch": "^3",
"self-throttle": "^0.3.1"
}
}