File tree Expand file tree Collapse file tree 4 files changed +14
-9
lines changed
Expand file tree Collapse file tree 4 files changed +14
-9
lines changed Original file line number Diff line number Diff line change 11example /* .ts
2- bin
2+ bin
3+
4+ dist
5+ examples
6+ tests
Original file line number Diff line number Diff line change 1- 15
1+ 16
Original file line number Diff line number Diff line change 11module . exports = {
2- preset : "ts-jest" ,
3- testEnvironment : "node" ,
42 globals : {
53 "ts-jest" : {
64 tsconfig : "tsconfig.jest.json" ,
75 } ,
86 } ,
7+ preset : "ts-jest" ,
8+ testTimeout : 10000 ,
9+ verbose : true ,
910} ;
Original file line number Diff line number Diff line change 33 "description" : " Generate TypeScript types from Swagger OpenAPI specs" ,
44 "version" : " 4.0.1" ,
55 "engines" : {
6- "node" : " >= 10 .0.0"
6+ "node" : " >= 12 .0.0"
77 },
88 "author" : " drew@pow.rs" ,
99 "license" : " ISC" ,
4444 "homepage" : " https://github.com/drwpow/openapi-typescript#readme" ,
4545 "scripts" : {
4646 "build" : " rm -rf dist && tsc --build tsconfig.json && tsc --build tsconfig.cjs.json" ,
47- "format" : " yarn prettier -w ." ,
48- "lint" : " eslint --ignore-path .gitignore --ext .js,.ts src " ,
47+ "format" : " npm run prettier -w ." ,
48+ "lint" : " eslint . " ,
4949 "prepare" : " npm run build" ,
5050 "pregenerate" : " npm run build" ,
51- "test" : " npm run build && jest --no-cache --test-timeout=10000 " ,
52- "test:coverage" : " npm run build && jest --no-cache --test-timeout=10000 -- coverage && codecov" ,
51+ "test" : " npm run build && jest --no-cache" ,
52+ "test:coverage" : " npm run build && jest --no-cache --coverage && codecov" ,
5353 "typecheck" : " tsc --noEmit" ,
5454 "version" : " npm run build"
5555 },
You can’t perform that action at this time.
0 commit comments