math-wizard 1.0.0 → 1.0.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.ts +1 -0
- package/dist/index.js +3 -0
- package/package.json +16 -4
- package/index.ts +0 -5
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const add: (a: number, b: number) => number;
|
package/dist/index.js
ADDED
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "math-wizard",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "a package that enables you to add numbers",
|
|
5
|
-
"main": "index.js",
|
|
6
5
|
"scripts": {
|
|
7
|
-
"
|
|
6
|
+
"build": "tsc",
|
|
7
|
+
"prepublishOnly": "npm run build"
|
|
8
8
|
},
|
|
9
9
|
"keywords": [
|
|
10
10
|
"add",
|
|
@@ -13,7 +13,19 @@
|
|
|
13
13
|
],
|
|
14
14
|
"author": "Moe",
|
|
15
15
|
"license": "MIT",
|
|
16
|
-
"type": "
|
|
16
|
+
"type": "module",
|
|
17
|
+
"main": "./dist/index.js",
|
|
18
|
+
"types": "./dist/index.d.ts",
|
|
19
|
+
"exports": {
|
|
20
|
+
".": {
|
|
21
|
+
"import": "./dist/index.js",
|
|
22
|
+
"types": "./dist/index.d.ts"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"files": [
|
|
26
|
+
"dist"
|
|
27
|
+
],
|
|
28
|
+
"peerDependencies": {},
|
|
17
29
|
"dependencies": {
|
|
18
30
|
"typescript": "^6.0.2"
|
|
19
31
|
}
|