-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
77 lines (77 loc) · 2.5 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
{
"name": "@pmu-tech/stub-server",
"version": "0.11.0",
"description": "Stub server for REST APIs",
"repository": "github:pmu-tech/stub-server",
"author": "PMU",
"license": "MIT",
"keywords": [
"stub-server",
"stub",
"mock",
"server",
"test"
],
"main": "dist/cjs/stubServer.js",
"module": "dist/stubServer.js",
"types": "dist/stubServer.d.ts",
"files": [
"dist/"
],
"bin": "bin/stub-server.js",
"sideEffects": false,
"scripts": {
"clean": "rm -rf dist coverage",
"clean:all": "npm run clean && rm -rf node_modules package-lock.json",
"build": "npm run clean && npm run build:dts && npm run build:esm && npm run build:cjs",
"build:dts": "tsc --project tsconfig.dist.json --declaration --emitDeclarationOnly --outDir dist",
"build:esm": "tsc --project tsconfig.dist.json --removeComments --outDir dist",
"build:cjs": "tsc --project tsconfig.dist.json --removeComments --module commonjs --outDir dist/cjs",
"pretest": "npm run build:cjs",
"test": "jest --verbose",
"pretest:coverage": "npm run pretest",
"test:coverage": "jest --coverage",
"tsc": "tsc",
"format": "prettier --write '**/*'",
"lint": "npm run tsc && eslint . '**/*.{js,ts}'",
"prepare": "husky install",
"precommit": "npm run format && npm run lint",
"prepush": "npm run test",
"prepublishOnly": "npm run build",
"publish:beta": "npm version 0.4.0-beta.1 && npm publish --tag next",
"npm:update": "npm run clean:all && npx npm-check-updates --upgrade && npm install"
},
"peerDependencies": {
"express": ">=4.16"
},
"dependencies": {
"commander": "^9.3.0",
"http-proxy": "^1.18.1"
},
"devDependencies": {
"@babel/core": "^7.18.6",
"@babel/preset-env": "^7.18.6",
"@babel/preset-typescript": "^7.18.6",
"@types/express": "^4.17.13",
"@types/http-proxy": "^1.17.9",
"@types/jest": "^28.1.4",
"@types/node": "^18.0.3",
"@types/supertest": "^2.0.12",
"@typescript-eslint/eslint-plugin": "^5.30.5",
"@typescript-eslint/parser": "^5.30.5",
"eslint": "^8.19.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^26.5.3",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-simple-import-sort": "^7.0.0",
"eslint-plugin-unicorn": "^42.0.0",
"express": "^4.17.1",
"husky": "^8.0.1",
"jest": "^28.1.2",
"prettier": "^2.7.1",
"supertest": "^6.2.4",
"typescript": "^4.7.4"
}
}