Skip to content

Commit

Permalink
Update package main file to export all components
Browse files Browse the repository at this point in the history
  • Loading branch information
jouni committed Jul 4, 2018
1 parent 9f35172 commit 1d8e6e8
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 248 deletions.
23 changes: 23 additions & 0 deletions elements.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import {JAppLayout} from './src/j-app-layout.js';
import {JAvatar} from './src/j-avatar.js';
import {JCard} from './src/j-card.js';
import {JDialog} from './src/j-dialog.js';
import {JField} from './src/j-field.js';
import {JIcon} from './src/j-icon.js';
import {JPlaceholder} from './src/j-placeholder.js';
import {JTooltip} from './src/j-tooltip.js';
import {StylableMixin} from './src/stylable-mixin.js';
import {TeleportingElement} from './src/teleporting-element.js';

export {
JAppLayout,
JAvatar,
JCard,
JDialog,
JField,
JIcon,
JPlaceholder,
JTooltip,
StylableMixin,
TeleportingElement
};
231 changes: 1 addition & 230 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 3 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,30 +1,15 @@
{
"name": "j-elements",
"homepage": "https://github.com/jouni/j-elements",
"homepage": "https://jouni.github.com/j-elements",
"repository": "https://github.com/jouni/j-elements",
"authors": [
"Jouni Koivuviita <[email protected]>"
],
"description": "Proof-of-concept and prototype web components to fill in some gaps in the Vaadin components collection.",
"main": [
"j-avatar.js",
"j-card.js",
"j-dialog.js",
"j-field.js",
"j-tooltip.js",
"stylable-mixin.js",
"teleportin-element.js"
],
"main": "elements.js",
"keywords": [
"web-components"
],
"license": "Apache-2.0",
"dependencies": {},
"devDependencies": {
"@polymer/iron-demo-helpers": "^3.0.0-pre.19",
"@polymer/polymer": "^3.0.0",
"@vaadin/vaadin-lumo-styles": "^1.0.0-pre.6",
"@webcomponents/webcomponentsjs": "^2.0.0",
"@vaadin/vaadin-text-field": "^2.0.1-pre.2"
}
"dependencies": {}
}

0 comments on commit 1d8e6e8

Please sign in to comment.