ts-class-to-openapi 1.1.1 → 1.1.2

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 +15 -15
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ts-class-to-openapi",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "description": "Transform TypeScript classes into OpenAPI 3.1.0 schema objects, which support class-validator decorators",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.esm.js",
@@ -18,6 +18,18 @@
18
18
  "README.md",
19
19
  "LICENSE"
20
20
  ],
21
+ "scripts": {
22
+ "test": "npm run build:test && node --test dist/test.js",
23
+ "test:watch": "npm run build:test && node --test --watch dist/**/*.test.js",
24
+ "test:coverage": "npm run build:test && node --test --experimental-test-coverage dist/**/*.test.js",
25
+ "build": "rm -rf dist && rollup -c",
26
+ "build:test": "rm -rf dist && BUILD_TARGET=test rollup -c",
27
+ "build:watch": "rm -rf dist && rollup -c -w",
28
+ "dev": "node --trace-deprecation --watch dist/run.js",
29
+ "format": "prettier --write .",
30
+ "format:check": "prettier --check .",
31
+ "prepublish": "pnpm run build"
32
+ },
21
33
  "repository": {
22
34
  "type": "git",
23
35
  "url": "git+https://github.com/julioolivares/ts-class-to-openapi.git"
@@ -73,17 +85,5 @@
73
85
  "socket.io": "4.8.1",
74
86
  "tslib": "2.8.1"
75
87
  },
76
- "package": "./package-dist.json",
77
- "scripts": {
78
- "test": "npm run build:test && node --test dist/test.js",
79
- "test:watch": "npm run build:test && node --test --watch dist/**/*.test.js",
80
- "test:coverage": "npm run build:test && node --test --experimental-test-coverage dist/**/*.test.js",
81
- "build": "rm -rf dist && rollup -c",
82
- "build:test": "rm -rf dist && BUILD_TARGET=test rollup -c",
83
- "build:watch": "rm -rf dist && rollup -c -w",
84
- "dev": "node --trace-deprecation --watch dist/run.js",
85
- "format": "prettier --write .",
86
- "format:check": "prettier --check .",
87
- "prepublish": "pnpm run build"
88
- }
89
- }
88
+ "package": "./package-dist.json"
89
+ }