-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathpackage.json
108 lines (108 loc) · 2.31 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
102
103
104
105
106
107
108
{
"name": "smoke",
"version": "4.0.0",
"description": "Simple yet powerful file-based mock server with recording abilities",
"type": "module",
"repository": {
"type": "git",
"url": "https://github.com/sinedied/smoke.git"
},
"exports": "./lib/smoke.js",
"bin": {
"smoke": "./bin/smoke",
"smoke-conv": "./bin/smoke-conv"
},
"scripts": {
"lint": "xo",
"lint:fix": "xo --fix",
"start": "npx smoke test/mocks",
"test": "xo && npm run -s test:unit",
"test:unit": "node --experimental-vm-modules node_modules/jest/bin/jest.js",
"release:check": "semantic-release --dry-run"
},
"keywords": [
"mock",
"server",
"api",
"file",
"file-based",
"json",
"rest",
"template"
],
"author": {
"name": "Yohan Lasorsa",
"url": "https://twitter.com/sinedied"
},
"homepage": "https://github.com/sinedied/smoke",
"bugs": {
"url": "https://github.com/sinedied/smoke/issues"
},
"license": "MIT",
"dependencies": {
"body-parser": "^1.19.0",
"cors": "2.8.5",
"express": "^4.17.1",
"express-http-proxy": "^2.1.1",
"globby": "^11.1.0",
"lodash.template": "^4.5.0",
"mime-types": "^2.1.27",
"minimist": "^1.2.5",
"morgan": "^1.10.0",
"multer": "^1.4.5-lts.1",
"path-to-regexp": "^8.2.0"
},
"devDependencies": {
"jest": "^30.0.0-alpha.6",
"semantic-release": "^24.2.0",
"semantic-release-npm-github": "^5.0.0",
"supertest": "^7.0.0",
"xo": "^0.60.0"
},
"xo": {
"space": true,
"prettier": true,
"envs": [
"node",
"jest"
],
"ignores": [
"test/mocks/**/*"
],
"rules": {
"unicorn/prevent-abbreviations": "off",
"unicorn/no-array-reduce": "off",
"unicorn/prefer-spread": "off",
"unicorn/no-await-expression-member": "off",
"unicorn/import-style": "off"
}
},
"jest": {
"transform": {},
"collectCoverageFrom": [
"*.js",
"lib/**/*.js"
],
"silent": true,
"verbose": true
},
"prettier": {
"singleQuote": true,
"bracketSpacing": false
},
"release": {
"extends": "semantic-release-npm-github",
"branches": "main"
},
"engines": {
"node": ">=18.0.0"
},
"files": [
"smoke-cli.js",
"smoke-conv-cli.js",
"bin",
"lib",
"test/hooks.js",
"ssl"
]
}