-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
55 lines (55 loc) · 1.39 KB
/
Copy pathpackage.json
File metadata and controls
55 lines (55 loc) · 1.39 KB
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
{
"name": "mock-match-media",
"version": "1.0.3",
"description": "mock window.matchMedia for tests or node",
"repository": "git@github.com:Ayc0/mock-match-media.git",
"author": "Ayc0 <ayc0.benj@gmail.com>",
"license": "MIT",
"bugs": "https://github.com/Ayc0/mock-match-media/issues",
"homepage": "https://github.com/Ayc0/mock-match-media#readme",
"keywords": [
"match-media",
"mock",
"test",
"jest",
"ssr",
"server-side-rendering"
],
"main": "dist/index.cjs",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"require": "./dist/index.cjs",
"import": "./dist/index.mjs",
"browser": "./dist/index.mjs"
},
"./package.json": "./package.json",
"./polyfill": {
"types": "./polyfill.d.ts",
"require": "./polyfill.cjs",
"import": "./polyfill.mjs"
},
"./jest-setup": {
"types": "./jest-setup.d.ts",
"require": "./jest-setup.cjs"
}
},
"scripts": {
"build": "rm -rf dist && tsdown --format esm --format cjs",
"//": "--test-reporter spec is just here for node 20 & 22 for CI. Starting from Node 23, this is the default",
"test": "node --test --test-reporter spec",
"prepublishOnly": "pnpm run build"
},
"volta": {
"node": "24.6.0",
"pnpm": "10.33.2"
},
"packageManager": "pnpm@10.33.2",
"devDependencies": {
"media-query-fns": "^2.1.2",
"tsdown": "^0.22.0",
"typescript": "^6.0.3"
}
}