@redocly/mock-server 0.0.6 → 0.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1) hide show
  1. package/package.json +5 -26
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@redocly/mock-server",
3
- "version": "0.0.6",
3
+ "version": "0.0.7",
4
4
  "description": "Redocly Mock server",
5
5
  "author": "team@redocly.com",
6
6
  "license": "SEE LICENSE IN LICENSE",
@@ -14,7 +14,8 @@
14
14
  "openapi-sampler": "1.2.3",
15
15
  "swagger2openapi": "^7.0.8",
16
16
  "ts-node": "^10.9.1",
17
- "yargs": "^17.5.1"
17
+ "yargs": "^17.5.1",
18
+ "punycode": "2.3.0"
18
19
  },
19
20
  "devDependencies": {
20
21
  "@types/jest": "^27.5.1",
@@ -47,35 +48,13 @@
47
48
  "singleQuote": true,
48
49
  "trailingComma": "all"
49
50
  },
50
- "nx": {
51
- "namedInputs": {
52
- "prod": [
53
- "!{projectRoot}/**/__tests__/**",
54
- "!{projectRoot}/tests/**/*",
55
- "!{projectRoot}/docs/**/*"
56
- ]
57
- },
58
- "targets": {
59
- "build": {
60
- "outputs": [
61
- "{projectRoot}/dist"
62
- ]
63
- },
64
- "test": {
65
- "outputs": [
66
- "{projectRoot}/coverage",
67
- "{projectRoot}/report.json"
68
- ]
69
- }
70
- }
71
- },
72
51
  "scripts": {
73
- "start": "npx ts-node-dev -r tsconfig-paths/register --respawn src/cli/cli.ts mock ./test/fixtures/large-openapi.json",
52
+ "start": "npx ts-node-dev -r tsconfig-paths/register --respawn src/cli/cli.ts mock ./tests/fixtures/large-openapi.json",
74
53
  "ts:check": "npx tsc --noEmit --skipLibCheck",
75
54
  "test": "npm run test:unit && npm run test:integration",
76
55
  "test:unit": "npx jest ./src",
77
56
  "test:unit:coverage": "npm run test:unit -- --coverage",
78
- "test:integration": "npx jest ./test --forceExit",
57
+ "test:integration": "npx jest ./tests --forceExit",
79
58
  "test:integration:coverage": "npm run test:integration -- --coverage",
80
59
  "build:js": "node ./esbuild.js",
81
60
  "build": "npx rimraf ./dist && npm run build:js"