Skip to content

Commit

Permalink
feat(unpkg): add unpkg entry file to package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
si3nloong committed Feb 18, 2021
1 parent 6dcdd1b commit 817c204
Show file tree
Hide file tree
Showing 40 changed files with 40 additions and 0 deletions.
1 change: 1 addition & 0 deletions components/accordion/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"main": "lib/cjs/index.js",
"browser": "lib/index.js",
"module": "lib/esm/index.js",
"unpkg": "lib/index.min.js",
"svelte": "src/Accordion.svelte",
"types": "types/index.d.ts",
"publishConfig": {
Expand Down
1 change: 1 addition & 0 deletions components/badge/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"main": "lib/index.cjs",
"browser": "lib/index.js",
"module": "lib/index.mjs",
"unpkg": "lib/index.min.js",
"svelte": "src/Badge.svelte",
"types": "types/index.d.ts",
"publishConfig": {
Expand Down
1 change: 1 addition & 0 deletions components/bottom-bar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"main": "lib/cjs/index.js",
"browser": "lib/index.js",
"module": "lib/esm/index.js",
"unpkg": "lib/index.min.js",
"svelte": "src/BottomBar.svelte",
"types": "types/index.d.ts",
"publishConfig": {
Expand Down
1 change: 1 addition & 0 deletions components/bottom-modal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"main": "lib/cjs/index.js",
"browser": "lib/index.js",
"module": "lib/esm/index.js",
"unpkg": "lib/index.min.js",
"svelte": "src/BottomModal.svelte",
"types": "types/index.d.ts",
"publishConfig": {
Expand Down
1 change: 1 addition & 0 deletions components/bottom-sheet/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"main": "lib/cjs/index.js",
"browser": "lib/index.js",
"module": "lib/esm/index.js",
"unpkg": "lib/index.min.js",
"svelte": "src/BottomSheet.svelte",
"types": "types/index.d.ts",
"publishConfig": {
Expand Down
1 change: 1 addition & 0 deletions components/button/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"main": "lib/cjs/index.js",
"browser": "lib/index.js",
"module": "lib/esm/index.js",
"unpkg": "lib/index.min.js",
"svelte": "src/Button.svelte",
"types": "types/index.d.ts",
"publishConfig": {
Expand Down
1 change: 1 addition & 0 deletions components/card/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"main": "lib/cjs/index.js",
"browser": "lib/index.js",
"module": "lib/esm/index.js",
"unpkg": "lib/index.min.js",
"svelte": "src/Card.svelte",
"types": "types/index.d.ts",
"publishConfig": {
Expand Down
1 change: 1 addition & 0 deletions components/checkbox/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"main": "lib/cjs/index.js",
"browser": "lib/index.js",
"module": "lib/esm/index.js",
"unpkg": "lib/index.min.js",
"svelte": "src/Checkbox.svelte",
"types": "types/index.d.ts",
"publishConfig": {
Expand Down
1 change: 1 addition & 0 deletions components/column/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"main": "lib/cjs/index.js",
"browser": "lib/index.js",
"module": "lib/esm/index.js",
"unpkg": "lib/index.min.js",
"svelte": "src/Column.svelte",
"types": "types/index.d.ts",
"publishConfig": {
Expand Down
1 change: 1 addition & 0 deletions components/date-picker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"main": "lib/cjs/index.js",
"browser": "lib/index.js",
"module": "lib/esm/index.js",
"unpkg": "lib/index.min.js",
"svelte": "src/DatePicker.svelte",
"types": "types/index.d.ts",
"publishConfig": {
Expand Down
1 change: 1 addition & 0 deletions components/dock/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"main": "lib/cjs/index.js",
"browser": "lib/index.js",
"module": "lib/esm/index.js",
"unpkg": "lib/index.min.js",
"svelte": "src/Dock.svelte",
"types": "types/index.d.ts",
"publishConfig": {
Expand Down
1 change: 1 addition & 0 deletions components/dropdown/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"main": "lib/cjs/index.js",
"browser": "lib/index.js",
"module": "lib/esm/index.js",
"unpkg": "lib/index.min.js",
"svelte": "src/Dropdown.svelte",
"types": "types/index.d.ts",
"publishConfig": {
Expand Down
1 change: 1 addition & 0 deletions components/ellipsis/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"main": "lib/cjs/index.js",
"browser": "lib/index.js",
"module": "lib/esm/index.js",
"unpkg": "lib/index.min.js",
"svelte": "src/Ellipsis.svelte",
"types": "types/index.d.ts",
"publishConfig": {
Expand Down
1 change: 1 addition & 0 deletions components/fab/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"main": "lib/cjs/index.js",
"browser": "lib/index.js",
"module": "lib/esm/index.js",
"unpkg": "lib/index.min.js",
"svelte": "src/FloatingActionButton.svelte",
"types": "types/index.d.ts",
"publishConfig": {
Expand Down
1 change: 1 addition & 0 deletions components/header/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"main": "lib/cjs/index.js",
"browser": "lib/index.js",
"module": "lib/esm/index.js",
"unpkg": "lib/index.min.js",
"svelte": "src/Header.svelte",
"types": "types/index.d.ts",
"publishConfig": {
Expand Down
1 change: 1 addition & 0 deletions components/icon/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"main": "lib/cjs/index.js",
"browser": "lib/index.js",
"module": "lib/esm/index.js",
"unpkg": "lib/index.min.js",
"svelte": "src/Icon.svelte",
"types": "types/index.d.ts",
"publishConfig": {
Expand Down
1 change: 1 addition & 0 deletions components/infinite-scroll/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"main": "lib/cjs/index.js",
"browser": "lib/index.js",
"module": "lib/esm/index.js",
"unpkg": "lib/index.min.js",
"svelte": "src/InfiniteScroll.svelte",
"types": "types/index.d.ts",
"publishConfig": {
Expand Down
1 change: 1 addition & 0 deletions components/input-number/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"main": "lib/cjs/index.js",
"browser": "lib/index.js",
"module": "lib/esm/index.js",
"unpkg": "lib/index.min.js",
"svelte": "src/InputNumber.svelte",
"types": "types/index.d.ts",
"publishConfig": {
Expand Down
1 change: 1 addition & 0 deletions components/input/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"main": "lib/cjs/index.js",
"browser": "lib/index.js",
"module": "lib/esm/index.js",
"unpkg": "lib/index.min.js",
"svelte": "src/Input.svelte",
"types": "types/index.d.ts",
"publishConfig": {
Expand Down
1 change: 1 addition & 0 deletions components/label/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"main": "lib/cjs/index.js",
"browser": "lib/index.js",
"module": "lib/esm/index.js",
"unpkg": "lib/index.min.js",
"svelte": "src/Label.svelte",
"types": "types/index.d.ts",
"publishConfig": {
Expand Down
1 change: 1 addition & 0 deletions components/link/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"main": "lib/cjs/index.js",
"browser": "lib/index.js",
"module": "lib/esm/index.js",
"unpkg": "lib/index.min.js",
"svelte": "src/Link.svelte",
"types": "types/index.d.ts",
"publishConfig": {
Expand Down
1 change: 1 addition & 0 deletions components/loader/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"main": "lib/cjs/index.js",
"browser": "lib/index.js",
"module": "lib/esm/index.js",
"unpkg": "lib/index.min.js",
"svelte": "src/Loader.svelte",
"types": "types/index.d.ts",
"publishConfig": {
Expand Down
1 change: 1 addition & 0 deletions components/menu/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"main": "lib/cjs/index.js",
"browser": "lib/index.js",
"module": "lib/esm/index.js",
"unpkg": "lib/index.min.js",
"svelte": "src/Menu.svelte",
"types": "types/index.d.ts",
"publishConfig": {
Expand Down
1 change: 1 addition & 0 deletions components/poster/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"main": "lib/cjs/index.js",
"browser": "lib/index.js",
"module": "lib/esm/index.js",
"unpkg": "lib/index.min.js",
"svelte": "src/Poster.svelte",
"types": "types/index.d.ts",
"publishConfig": {
Expand Down
1 change: 1 addition & 0 deletions components/quantity/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"main": "lib/cjs/index.js",
"browser": "lib/index.js",
"module": "lib/esm/index.js",
"unpkg": "lib/index.min.js",
"svelte": "src/Quantity.svelte",
"types": "types/index.d.ts",
"publishConfig": {
Expand Down
1 change: 1 addition & 0 deletions components/responsive-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"main": "lib/cjs/index.js",
"browser": "lib/index.js",
"module": "lib/esm/index.js",
"unpkg": "lib/index.min.js",
"svelte": "index.js",
"types": "index.d.ts",
"publishConfig": {
Expand Down
1 change: 1 addition & 0 deletions components/responsive/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"main": "lib/cjs/index.js",
"browser": "lib/index.js",
"module": "lib/esm/index.js",
"unpkg": "lib/index.min.js",
"svelte": "src/index.ts",
"types": "types/index.d.ts",
"publishConfig": {
Expand Down
1 change: 1 addition & 0 deletions components/row/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"main": "lib/cjs/index.js",
"browser": "lib/index.js",
"module": "lib/esm/index.js",
"unpkg": "lib/index.min.js",
"svelte": "src/Row.svelte",
"types": "types/index.d.ts",
"publishConfig": {
Expand Down
1 change: 1 addition & 0 deletions components/search/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"main": "lib/cjs/index.js",
"browser": "lib/index.js",
"module": "lib/esm/index.js",
"unpkg": "lib/index.min.js",
"svelte": "src/Search.svelte",
"types": "types/index.d.ts",
"publishConfig": {
Expand Down
1 change: 1 addition & 0 deletions components/select/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"main": "lib/cjs/index.js",
"browser": "lib/index.js",
"module": "lib/esm/index.js",
"unpkg": "lib/index.min.js",
"svelte": "src/Select.svelte",
"types": "types/index.d.ts",
"publishConfig": {
Expand Down
1 change: 1 addition & 0 deletions components/show-more/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"main": "lib/cjs/index.js",
"browser": "lib/index.js",
"module": "lib/esm/index.js",
"unpkg": "lib/index.min.js",
"svelte": "src/ShowMore.svelte",
"types": "types/index.d.ts",
"publishConfig": {
Expand Down
1 change: 1 addition & 0 deletions components/snackbar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"main": "lib/cjs/index.js",
"browser": "lib/index.js",
"module": "lib/esm/index.js",
"unpkg": "lib/index.min.js",
"svelte": "src/index.ts",
"types": "types/index.d.ts",
"publishConfig": {
Expand Down
1 change: 1 addition & 0 deletions components/stepper/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"main": "lib/cjs/index.js",
"browser": "lib/index.js",
"module": "lib/esm/index.js",
"unpkg": "lib/index.min.js",
"svelte": "src/Stepper.svelte",
"types": "types/index.d.ts",
"publishConfig": {
Expand Down
1 change: 1 addition & 0 deletions components/switch/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"main": "lib/cjs/index.js",
"browser": "lib/index.js",
"module": "lib/esm/index.js",
"unpkg": "lib/index.min.js",
"svelte": "src/Switch.svelte",
"types": "types/index.d.ts",
"publishConfig": {
Expand Down
1 change: 1 addition & 0 deletions components/tab/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"main": "lib/cjs/index.js",
"browser": "lib/index.js",
"module": "lib/esm/index.js",
"unpkg": "lib/index.min.js",
"svelte": "src/Tab.svelte",
"types": "types/index.d.ts",
"publishConfig": {
Expand Down
1 change: 1 addition & 0 deletions components/table/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"main": "lib/cjs/index.js",
"browser": "lib/index.js",
"module": "lib/esm/index.js",
"unpkg": "lib/index.min.js",
"svelte": "src/Table.svelte",
"types": "types/index.d.ts",
"publishConfig": {
Expand Down
1 change: 1 addition & 0 deletions components/tag/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"main": "lib/cjs/index.js",
"browser": "lib/index.js",
"module": "lib/esm/index.js",
"unpkg": "lib/index.min.js",
"svelte": "src/Tag.svelte",
"types": "types/index.d.ts",
"publishConfig": {
Expand Down
1 change: 1 addition & 0 deletions components/textarea/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"main": "lib/cjs/index.js",
"browser": "lib/index.js",
"module": "lib/esm/index.js",
"unpkg": "lib/index.min.js",
"svelte": "src/Textarea.svelte",
"types": "types/index.d.ts",
"publishConfig": {
Expand Down
1 change: 1 addition & 0 deletions components/tooltip/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"main": "lib/cjs/index.js",
"browser": "lib/index.js",
"module": "lib/esm/index.js",
"unpkg": "lib/index.min.js",
"svelte": "src/index.ts",
"types": "types/index.d.ts",
"publishConfig": {
Expand Down
1 change: 1 addition & 0 deletions components/upload/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"main": "lib/cjs/index.js",
"browser": "lib/index.js",
"module": "lib/esm/index.js",
"unpkg": "lib/index.min.js",
"svelte": "src/Upload.svelte",
"types": "types/index.d.ts",
"publishConfig": {
Expand Down

0 comments on commit 817c204

Please sign in to comment.