-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathpackage.json
124 lines (124 loc) · 3.4 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
{
"name": "@duffel/api",
"version": "4.2.0",
"description": "Javascript client library for the Duffel API",
"main": "dist/index.js",
"module": "dist/index.es.js",
"types": "dist/typings.d.ts",
"homepage": "https://github.com/duffelhq/duffel-api-javascript",
"repository": {
"type": "git",
"url": "https://github.com/duffelhq/duffel-api-javascript.git"
},
"keywords": [
"duffel"
],
"files": [
"dist"
],
"author": "Duffel Technology Limited <[email protected]> (http://duffel.com)",
"license": "MIT",
"scripts": {
"generate:operation": "node ./scripts/createOperation.mjs",
"build": "rm -rf dist && rollup -c && yarn remove-declaration-files",
"remove-declaration-files": "rm -rf dist/types dist/Client.d.ts dist/index.d.ts dist/Resource.d.ts",
"build:test": "rm -rf dist && tsc --noEmit && rollup -c",
"start": "node ./dist/index.js",
"dev": "ts-node ./src/index.ts",
"lint": "eslint . --ext .ts,.tsx",
"test": "jest --runInBand",
"pre-commit-check": "yarn lint-staged && yarn test && yarn build:test",
"prepare": "husky install",
"example": "ts-node ./examples/example.ts",
"get-version": "echo $npm_package_version",
"release": "npx semantic-release",
"commit": "git-cz",
"commitlint": "commitlint",
"prettier": "prettier --write --loglevel=warn .",
"prettier-check": "prettier --check ."
},
"config": {
"commitizen": {
"path": "@commitlint/cz-commitlint"
}
},
"lint-staged": {
"*.{ts,tsx}": [
"eslint",
"prettier --write"
],
"*.{js,jsx,md,yml,yaml}": [
"prettier --write"
]
},
"resolutions": {
"ansi-regex": "^5.0.1",
"set-value": "^4.0.1",
"minimist": "1.2.8",
"semver": "^7.5.3",
"@aashutoshrathi/word-wrap": "npm:word-wrap"
},
"dependencies": {
"@types/node": "^18.0.0",
"@types/node-fetch": "^2.6.2",
"node-fetch": "2.7.0"
},
"devDependencies": {
"@babel/core": "7.26.0",
"@babel/preset-env": "7.26.0",
"@babel/preset-typescript": "7.26.0",
"@commitlint/cli": "17.8.1",
"@commitlint/config-angular": "17.8.1",
"@commitlint/cz-commitlint": "17.8.1",
"@rollup/plugin-commonjs": "25.0.8",
"@rollup/plugin-node-resolve": "15.3.1",
"@types/jest": "29.5.14",
"@typescript-eslint/eslint-plugin": "6.7.5",
"@typescript-eslint/parser": "6.7.5",
"colors": "1.4.0",
"commitizen": "4.3.1",
"dotenv": "16.4.7",
"eslint": "8.57.1",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-spellcheck": "0.0.20",
"husky": "8.0.3",
"jest": "29.7.0",
"lint-staged": "15.2.10",
"nock": "13.5.6",
"prettier": "3.0.3",
"rollup": "4.22.4",
"rollup-plugin-dts-bundle": "^1.0.0",
"rollup-plugin-inject-process-env": "1.3.1",
"rollup-plugin-peer-deps-external": "2.2.4",
"@rollup/plugin-terser": "0.4.4",
"rollup-plugin-typescript2": "0.36.0",
"semantic-release": "22.0.12",
"ts-jest": "29.1.2",
"ts-node": "10.9.2",
"typescript": "5.2.2"
},
"engines": {
"node": ">=18.*"
},
"release": {
"plugins": [
[
"@semantic-release/commit-analyzer"
],
[
"@semantic-release/release-notes-generator"
],
"@semantic-release/npm",
[
"@semantic-release/github",
{
"successComment": false,
"failTitle": false
}
]
],
"branches": [
"main"
]
}
}