|
2 | 2 | "name": "jira.js", |
3 | 3 | "version": "4.0.2", |
4 | 4 | "description": "A comprehensive JavaScript/TypeScript library designed for both Node.JS and browsers, facilitating seamless interaction with the Atlassian Jira API.", |
5 | | - "main": "out/index.js", |
| 5 | + "main": "out/index.cjs", |
6 | 6 | "types": "out/index.d.ts", |
| 7 | + "module": "out/index.mjs", |
7 | 8 | "repository": "https://github.com/MrRefactoring/jira.js.git", |
8 | 9 | "author": "Vladislav Tupikin <vladislav.tupikin@icloud.com>", |
9 | 10 | "license": "MIT", |
|
19 | 20 | "library" |
20 | 21 | ], |
21 | 22 | "scripts": { |
22 | | - "build": "tsc", |
| 23 | + "build": "rollup --config rollup.config.ts --configPlugin typescript", |
23 | 24 | "prettier": "prettier --write src", |
24 | 25 | "lint": "npm run lint:tests && npm run lint:examples && npm run lint:src:agile && npm run lint:src:clients && npm run lint:src:services && npm run lint:src:version2 && npm run lint:src:version3 && npm run lint:src:files", |
25 | 26 | "lint:tests": "npm run lint:base -- tests", |
|
53 | 54 | "code:formatting": "npm run replace:all && npm run prettier && npm run lint:fix" |
54 | 55 | }, |
55 | 56 | "devDependencies": { |
56 | | - "@types/node": "^18.19.50", |
| 57 | + "@rollup/plugin-typescript": "^11.1.6", |
| 58 | + "@swc-node/register": "^1.9.1", |
| 59 | + "@swc/helpers": "^0.5.11", |
| 60 | + "@types/node": "^18.19.33", |
57 | 61 | "@types/sinon": "^17.0.3", |
58 | 62 | "@typescript-eslint/eslint-plugin": "^8.6.0", |
59 | 63 | "@typescript-eslint/parser": "^8.6.0", |
|
65 | 69 | "eslint-plugin-import": "^2.30.0", |
66 | 70 | "prettier": "^3.3.3", |
67 | 71 | "prettier-plugin-jsdoc": "^1.3.0", |
68 | | - "sinon": "^18.0.1", |
69 | | - "typedoc": "^0.26.7", |
70 | | - "typedoc-plugin-extras": "^3.1.0", |
71 | | - "typescript": "^5.6.2", |
72 | | - "vite-tsconfig-paths": "^5.0.1", |
73 | | - "vitest": "^2.1.1" |
| 72 | + "rollup": "^4.18.0", |
| 73 | + "sinon": "^18.0.0", |
| 74 | + "typedoc": "^0.25.13", |
| 75 | + "typedoc-plugin-extras": "^3.0.0", |
| 76 | + "typescript": "^5.4.5", |
| 77 | + "vitest": "^1.6.0" |
74 | 78 | }, |
75 | 79 | "dependencies": { |
76 | 80 | "axios": "^1.7.7", |
|
0 commit comments