revbot.js 0.0.15 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{index.d.cts → index.d.mts} +44 -40
- package/dist/index.d.ts +44 -40
- package/dist/index.js +150 -70
- package/dist/index.js.map +1 -1
- package/dist/{index.cjs → index.mjs} +76 -150
- package/dist/index.mjs.map +1 -0
- package/package.json +5 -16
- package/dist/index.cjs.map +0 -1
package/package.json
CHANGED
|
@@ -1,24 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "revbot.js",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "A Revolt bot client used to interact with the revolt api for Node.js, written in TypeScript.",
|
|
5
|
-
"main": "./dist/index.
|
|
6
|
-
"module": "./dist/index.
|
|
5
|
+
"main": "./dist/index.js",
|
|
6
|
+
"module": "./dist/index.mjs",
|
|
7
7
|
"types": "./dist/index.d.ts",
|
|
8
|
-
"type": "module",
|
|
9
8
|
"files": [
|
|
10
|
-
"dist
|
|
9
|
+
"dist"
|
|
11
10
|
],
|
|
12
|
-
"exports": {
|
|
13
|
-
"require": {
|
|
14
|
-
"require": "./dist/index.cjs",
|
|
15
|
-
"types": "./dist/index.d.cts"
|
|
16
|
-
},
|
|
17
|
-
"import": {
|
|
18
|
-
"types": "./dist/index.d.ts",
|
|
19
|
-
"import": "./dist/index.js"
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
11
|
"engines": {
|
|
23
12
|
"node": ">=21.0.0"
|
|
24
13
|
},
|
|
@@ -57,7 +46,7 @@
|
|
|
57
46
|
},
|
|
58
47
|
"scripts": {
|
|
59
48
|
"lint": "eslint . --ext .ts --fix",
|
|
60
|
-
"build": "yarn clean && yarn tsup src/index.ts --format cjs,esm --
|
|
49
|
+
"build": "yarn clean && yarn tsup ./src/index.ts --format cjs,esm --clean --dts --sourcemap",
|
|
61
50
|
"start": "yarn build && yarn node --enable-source-maps dist/index.js",
|
|
62
51
|
"testClient": "yarn test:build && yarn node --enable-source-maps dist/test.js",
|
|
63
52
|
"clean": "rimraf dist",
|