-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
55 lines (55 loc) · 1.45 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
{
"name": "@matthieug/shm",
"description": "Simple http mocking for unit tests in node, and react-native, with good developer experience",
"homepage": "https://github.com/matthieugicquel/shm#readme",
"repository": "github:matthieugicquel/shm",
"bugs": {
"url": "https://github.com/matthieugicquel/shm/issues"
},
"version": "0.7.0",
"author": {
"name": "Matthieu Gicquel",
"email": "matthieug@bam.tech"
},
"license": "MIT",
"react-native": "./dist/src/index.react-native.js",
"browser": "./dist/src/index.browser.js",
"main": "./dist/src/index.js",
"exports": {
".": {
"types": "./dist/src/index.d.ts",
"browser": "./dist/src/index.browser.js",
"default": "./dist/src/index.js"
}
},
"files": [
"/dist/**/*.js",
"/dist/**/*.ts",
"/dist/**/*.map"
],
"engines": {
"node": ">=18"
},
"scripts": {
"format": "prettier --write .",
"build": "tsc",
"prepublishOnly": "tsc",
"release": "bun install && rm -rf ./dist && np --no-cleanup",
"test": "bun run vitest run && bun run test:types && bun run test:format",
"test:unit": "vitest",
"test:types": "tsc --noEmit",
"test:format": "prettier --check ."
},
"devDependencies": {
"axios": "^1.6.7",
"bun-types": "latest",
"np": "^9.2.0",
"prettier": "^3.2.4",
"typescript": "^5.3.3",
"vitest": "^1.2.2"
},
"dependencies": {
"@mswjs/interceptors": "^0.25.15",
"regexparam": "^3.0.0"
}
}