-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
76 lines (73 loc) · 2.1 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
{
"version": "1.7.1",
"license": "MIT",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"typings": "./dist/index.d.ts",
"exports": {
".": {
"require": "./dist/index.js",
"import": "./dist/index.mjs",
"types": "./dist/index.d.ts"
}
},
"tsup": {
"entry": ["src/index.ts"],
"splitting": false,
"sourcemap": true,
"format": [
"cjs",
"esm"
],
"clean": true,
"dts": true,
"treeshake": true
},
"files": [
"dist",
"src"
],
"engines": {
"node": ">=10"
},
"bin": {
"sf-ts-sdk-gen": "bin/cli.js"
},
"scripts": {
"start": "tsup src/index.ts --watch --onSuccess 'npm test'",
"build": "tsup",
"test": "./bin/cli.js ./test/definition.json ./test/sdk --sdk-name @soluzionifutura/test-sdk --repo-url https://github.com/soluzionifutura/test-repo",
"test-gitpkg": "./bin/cli.js ./test/definition.json ./test/sdk --sdk-name @soluzionifutura/test-sdk --repo-url https://github.com/soluzionifutura/test-repo --gitpkg soluzionifutura",
"prepare": "tsup",
"size": "size-limit",
"analyze": "size-limit --why",
"eslint": "eslint '**/*.{ts,js}' --ignore-pattern node_modules/; exit 0",
"eslint:fix": "eslint '**/*.{ts,js}' --fix --ignore-pattern node_modules/; exit 0"
},
"name": "@soluzioni-futura/sf-ts-sdk-gen",
"author": "Soluzioni Futura ([email protected])",
"devDependencies": {
"@size-limit/preset-small-lib": "^8.2.4",
"@soluzioni-futura/eslint-config-soluzioni-futura": "^2.2.0",
"@types/fs-extra": "^11.0.1",
"@types/semver": "^7.3.13",
"@typescript-eslint/eslint-plugin": "^4.14.2",
"@typescript-eslint/parser": "^4.14.2",
"eslint": "^7.19.0",
"husky": "^8.0.3",
"openapi-types": "^12.1.0",
"size-limit": "^8.2.4",
"tslib": "^2.5.0",
"tsup": "^7.1.0",
"typescript": "^5.1.6"
},
"dependencies": {
"@apidevtools/swagger-parser": "^10.1.0",
"@soluzioni-futura/openapi2ts": "1.5.0",
"axios": "1.3.6",
"fs-extra": "^11.1.0",
"semver": "^7.3.8",
"yargs-parser": "^21.1.1"
}
}