Skip to content

Commit f92a277

Browse files
rafaelcoelhoxcosta38r
andauthored
fix: packagejson correçao (#34)
Co-authored-by: costa38r <costa38r@proton.me>
1 parent d876780 commit f92a277

File tree

1 file changed

+42
-26
lines changed

1 file changed

+42
-26
lines changed

package.json

Lines changed: 42 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,55 @@
11
{
22
"name": "abacatepay-nodejs-sdk",
3-
"files": [
4-
"dist",
5-
"README",
6-
"LICENSE",
7-
"package.json"
8-
],
93
"version": "1.3.1",
10-
"main": "./dist/index.cjs",
11-
"module": "./dist/index.js",
12-
"types": "./dist/index.d.ts",
13-
"type": "module",
14-
"scripts": {
15-
"define:change": "changeset",
16-
"release:apply": "changeset version",
17-
"release:publish": "changeset publish",
18-
"lint": "biome check --write --unsafe ./src",
19-
"prebuild": "node -p \"'/*This file is auto generated during build, DO NOT CHANGE OR MODIFY */\\n\\nexport const ABACATE_PAY_VERSION = ' + JSON.stringify(require('./package.json').version) + ';'\" > src/version.ts",
20-
"build": "tsup ./src --out-dir ./dist --format cjs,esm --dts --silent --no-splitting --no-splitting --clean"
4+
"description": "SDK para integração com a AbacatePay.",
5+
"main": "dist/index.js",
6+
"types": "dist/index.d.ts",
7+
"publishConfig": {
8+
"access": "public"
9+
},
10+
"repository": {
11+
"type": "git",
12+
"url": "https://github.com/rafaelcoelhox/abct0.git"
2113
},
2214
"keywords": [
23-
"abacate",
15+
"sdk",
16+
"typescript",
2417
"abacatepay",
25-
"sdk"
18+
"nodejs",
19+
"api-client"
2620
],
2721
"author": "Christopher Ribeiro <christo_campiglia@hotmail.com>",
2822
"license": "MIT",
29-
"description": "AbacatePay NodeJS SDK",
30-
"dependencies": {
31-
"node-fetch": "^3.3.2"
23+
"files": [
24+
"dist",
25+
"README.md"
26+
],
27+
"scripts": {
28+
"prebuild": "node -p \"'/*This file is auto generated during build, DO NOT CHANGE OR MODIFY */\\n\\nexport const ABACATE_PAY_VERSION = ' + JSON.stringify(require('./package.json').version) + ';'\" > src/version.ts",
29+
"build": "tsup ./src --out-dir ./dist --format cjs,esm --dts --silent --no-splitting --clean",
30+
"lint": "biome lint . --config-path=.config/biome.json",
31+
"format": "biome format . --write --config-path=.config/biome.json",
32+
"changeset": "changeset",
33+
"version-packages": "changeset version",
34+
"prepublishOnly": "npm run build",
35+
"release": "changeset publish",
36+
"test": "jest --config=.config/jest.config.js",
37+
"test:coverage": "jest --config=.config/jest.config.js --coverage",
38+
"coverage:open": "npx open-cli coverage/lcov-report/index.html"
3239
},
3340
"devDependencies": {
3441
"@biomejs/biome": "1.9.4",
35-
"@changesets/cli": "^2.27.10",
36-
"tsup": "^8.3.5",
37-
"typescript": "^5.7.2"
42+
"@changesets/changelog-github": "^0.5.1",
43+
"@changesets/cli": "^2.29.2",
44+
"@commitlint/cli": "^19.8.0",
45+
"@commitlint/config-conventional": "^19.8.0",
46+
"@types/jest": "^29.5.14",
47+
"biome": "^0.3.3",
48+
"jest": "^29.7.0",
49+
"lefthook": "^1.11.12",
50+
"open-cli": "^8.0.0",
51+
"ts-jest": "^29.3.2",
52+
"tsup": "^8.4.0",
53+
"typescript": "^5.8.3"
3854
}
39-
}
55+
}

0 commit comments

Comments
 (0)