-
Notifications
You must be signed in to change notification settings - Fork 19
/
package.json
88 lines (88 loc) · 2.12 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
{
"name": "esmock",
"type": "module",
"version": "2.6.9",
"license": "ISC",
"readmeFilename": "README.md",
"description": "provides native ESM import and globals mocking for unit tests",
"author": "chris <chris@bumblehead.com>",
"main": "./src/esmock.js",
"exports": {
"types": "./src/esmock.d.ts",
"import": "./src/esmock.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/iambumblehead/esmock.git"
},
"contributors": [
{
"name": "Swivelgames",
"email": "swivelgames@gmail.com"
}
],
"files": [
"src"
],
"keywords": [
"esm",
"es module",
"mjs",
"unit-test",
"esmock",
"import",
"module",
"loader",
"load",
"export",
"require",
"experimental",
"es6",
"dependency",
"injection",
"dependency injection",
"mock dependency",
"di",
"inject",
"swap",
"test",
"mock",
"ava",
"modules",
"mocking",
"proxyquire",
"rewire",
"global",
"fetch",
"mock fetch"
],
"engines": {
"node": ">=14.16.0"
},
"dependencies": {
"resolvewithplus": "^2.1.5"
},
"devDependencies": {
"c8": "^10.1.2",
"eslint": "^9.13.0",
"eslint-plugin-markdown": "^5.0.0",
"typescript-eslint": "^8.0.0-alpha.30",
"@typescript-eslint/parser": "^8.0.0-alpha.30",
"@typescript-eslint/eslint-plugin": "^8.0.0-alpha.30"
},
"scripts": {
"test:install": "cd tests && npm run install:all",
"test:all": "cd tests && npm run test:all",
"test:all-ci": "cd tests && npm run test:all-ci",
"test": "npm run test:all",
"test-ci-pnpm": "cd tests && cd tests-pnpm && pnpm i && npm run test",
"test-ci": "npm run test:install && npm run test:all-ci",
"test-cover": "npm run test:install && c8 npm run test:all",
"lint": "eslint .",
"lint-fix": "eslint --fix .",
"mini:pkg": "npm pkg delete scripts devDependencies dependencies",
"mini:src": "cd src && npx rimraf --glob \"!(esmock|esmockLoader).js\"",
"mini": "npm run mini:src && npm run mini:pkg",
"prepublishOnly": "npm run lint && npm run test-ci && npm run mini"
}
}