hi-mom 0.2.0 → 0.2.7
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.
Potentially problematic release.
This version of hi-mom might be problematic. Click here for more details.
- package/package.json +9 -2
- package/rollup.config.js +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hi-mom",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.7",
|
|
4
4
|
"description": "A blazingly fast JavaScript library to say hi to your mom!",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -18,6 +18,13 @@
|
|
|
18
18
|
"rollup": "^2.70.1"
|
|
19
19
|
},
|
|
20
20
|
"scripts": {
|
|
21
|
-
"build": "rollup -c rollup.config.js"
|
|
21
|
+
"build": "rollup -c rollup.config.js",
|
|
22
|
+
"install": "npm i && npm run build"
|
|
23
|
+
},
|
|
24
|
+
"exports": {
|
|
25
|
+
".": {
|
|
26
|
+
"require": "./lib/hi-mom.cjs",
|
|
27
|
+
"import": "./lib/hi-mom.js"
|
|
28
|
+
}
|
|
22
29
|
}
|
|
23
30
|
}
|
package/rollup.config.js
CHANGED
|
@@ -4,12 +4,12 @@ export default defineConfig({
|
|
|
4
4
|
input: "./index.js",
|
|
5
5
|
output: [
|
|
6
6
|
{
|
|
7
|
-
file: "./lib/hi-mom.
|
|
7
|
+
file: "./lib/hi-mom.js",
|
|
8
8
|
format: "cjs",
|
|
9
9
|
exports: "auto",
|
|
10
10
|
},
|
|
11
11
|
{
|
|
12
|
-
file: "./lib/hi-mom.js",
|
|
12
|
+
file: "./lib/hi-mom.esm.js",
|
|
13
13
|
format: "esm",
|
|
14
14
|
exports: "auto",
|
|
15
15
|
},
|