Skip to content

Commit

Permalink
0.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
bahrus committed Apr 18, 2023
1 parent 509f516 commit dd3b01c
Show file tree
Hide file tree
Showing 3 changed files with 59 additions and 74 deletions.
24 changes: 24 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,30 @@ Since by default the decorator acts on the previous element, that becomes a prob
>**Note**: When it comes to XSLT, it seems that the common lineage shared between Chrome and WebKit almost guarantees that the XSLT engines will produce identical results. Not so with Firefox. So although we should always include Firefox in our tests, that is even more the case when using XSLT.

## Viewing Locally

1. Install git.
2. Fork/clone this repo.
3. Install node.
4. Open command window to folder where you cloned this repo.
5. > npm install
6. > npm run serve
7. Open http://localhost:3030/demo in a modern browser.

## Importing in ES Modules:

```JavaScript
import 'be-importing/be-derived.js';

```

## Using from CDN:

```html
<script type=module crossorigin=anonymous>
import 'https://esm.run/be-derived';
</script>
```



Expand Down
84 changes: 15 additions & 69 deletions package-lock.json

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

25 changes: 20 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,24 @@
{
"name": "be-derived",
"version": "0.0.3",
"description": "",
"main": "index.js",
"keywords": [
"web-components",
"web-component",
"custom-element",
"custom-elements"
],
"description": "Element decorator/behavior that derives data from server-rendered HTML",
"main": "be-derived.js",
"module": "be-derived.js",
"exports": {
".": "./be-derived.js",
"./be-derived.js": "./be-derived.js"
},
"files": [
"*.js",
"types.d.ts"
],
"types": "types.d.ts",
"dependencies": {
"be-decorated": "0.0.238",
"be-exportable": "0.0.68",
Expand All @@ -14,8 +30,7 @@
"devDependencies": {
"be-scoped": "0.0.8",
"may-it-serve": "0.0.5",
"@skypack/package-check": "0.2.2",
"@playwright/test": "1.32.1"
"@playwright/test": "1.32.3"
},
"scripts": {
"serve": "node node_modules/may-it-serve/serve.js",
Expand All @@ -26,7 +41,7 @@
"type": "git",
"url": "git+https://github.com/bahrus/be-derived.git"
},
"author": "",
"author": "anderson.bruce.b@gmail.com",
"license": "MIT",
"bugs": {
"url": "https://github.com/bahrus/be-derived/issues"
Expand Down

0 comments on commit dd3b01c

Please sign in to comment.