Skip to content

Commit 3f67c07

Browse files
committed
Fix package modules
1 parent 733e688 commit 3f67c07

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

package.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
"dist"
88
],
99
"types": "./dist/vue-tweet.vue.d.ts",
10-
"main": "./dist/vue-tweet.umd.js",
11-
"module": "./dist/vue-tweet.es.js",
10+
"main": "./dist/vue-tweet.umd.cjs",
11+
"module": "./dist/vue-tweet.js",
1212
"exports": {
1313
".": {
14-
"import": "./dist/vue-tweet.es.js",
15-
"require": "./dist/vue-tweet.umd.js"
14+
"import": "./dist/vue-tweet.js",
15+
"require": "./dist/vue-tweet.umd.cjs"
1616
}
1717
},
1818
"scripts": {
@@ -24,7 +24,7 @@
2424
"type-check": "vue-tsc --build --force",
2525
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
2626
"generate-tag": "np --no-2fa --no-tests --no-publish",
27-
"publish": "npm run generate-types && npm run build && npm run generate-tag && npm publish --access public",
27+
"publish-package": "npm run build && npm run generate-types && npm run generate-tag && npm publish --access public",
2828
"prepare": "husky install"
2929
},
3030
"dependencies": {
@@ -72,4 +72,4 @@
7272
"lint-staged": {
7373
"*.{vue,js,jsx,cjs,mjs,ts,tsx,cts,mts}": "eslint --cache --fix"
7474
}
75-
}
75+
}

0 commit comments

Comments
 (0)