@popeindustries/lit-html
Advanced tools
Comparing version 1.0.2 to 2.0.0-beta.1
@@ -1,44 +0,10 @@ | ||
declare module '@popeindustries/lit-html' { | ||
export * from 'lit-html'; | ||
export { renderToBuffer, renderToStream, renderToString } from '@popeindustries/lit-html-server'; | ||
} | ||
import { TemplateResult as A } from 'lit-html'; | ||
import { TemplateResult as B } from '@popeindustries/lit-html-server'; | ||
declare module '@popeindustries/lit-html/directives/async-append.js' { | ||
export { asyncAppend } from 'lit-html/directives/async-append.js'; | ||
} | ||
type TemplateResult = A & B; | ||
declare module '@popeindustries/lit-html/directives/async-replace.js' { | ||
export { asyncReplace } from 'lit-html/directives/async-replace.js'; | ||
} | ||
export * from 'lit-html'; | ||
export { renderToBuffer, renderToStream, renderToString } from '@popeindustries/lit-html-server'; | ||
declare module '@popeindustries/lit-html/directives/cache.js' { | ||
export { cache } from 'lit-html/directives/cache.js'; | ||
} | ||
declare module '@popeindustries/lit-html/directives/class-map.js' { | ||
export { classMap } from 'lit-html/directives/class-map.js'; | ||
} | ||
declare module '@popeindustries/lit-html/directives/guard.js' { | ||
export { guard } from 'lit-html/directives/guard.js'; | ||
} | ||
declare module '@popeindustries/lit-html/directives/if-defined.js' { | ||
export { ifDefined } from 'lit-html/directives/if-defined.js'; | ||
} | ||
declare module '@popeindustries/lit-html/directives/repeat.js' { | ||
export { repeat } from 'lit-html/directives/repeat.js'; | ||
} | ||
declare module '@popeindustries/lit-html/directives/style-map.js' { | ||
export { styleMap } from 'lit-html/directives/style-map.js'; | ||
} | ||
declare module '@popeindustries/lit-html/directives/unsafe-html.js' { | ||
export { unsafeHTML } from 'lit-html/directives/unsafe-html.js'; | ||
} | ||
declare module '@popeindustries/lit-html/directives/until.js' { | ||
export { until } from 'lit-html/directives/until.js'; | ||
} | ||
export function html(strings: TemplateStringsArray, ...values: Array<unknown>): TemplateResult; | ||
export function svg(strings: TemplateStringsArray, ...values: Array<unknown>): TemplateResult; |
@@ -1,1 +0,1 @@ | ||
module.exports = require('@popeindustries/lit-html-server/index.js'); | ||
module.exports = require('@popeindustries/lit-html-server'); |
{ | ||
"name": "@popeindustries/lit-html", | ||
"version": "1.0.2", | ||
"version": "2.0.0-beta.1", | ||
"description": "Seamlessly render lit-html templates on the server and in the browser", | ||
"author": "Alexander Pope <alex@pope-industries.com>", | ||
"keywords": [ | ||
@@ -19,2 +20,4 @@ "html template", | ||
"./directives/async-append.mjs": "./browser/directives/async-append.js", | ||
"./directives/async-repeat.js": "./browser/directives/async-repeat.js", | ||
"./directives/async-repeat.mjs": "./browser/directives/async-repeat.js", | ||
"./directives/cache.js": "./browser/directives/cache.js", | ||
@@ -39,22 +42,21 @@ "./directives/cache.mjs": "./browser/directives/cache.js", | ||
"repository": "https://github.com/popeindustries/lit-html.git", | ||
"author": "Alexander Pope <alex@pope-industries.com>", | ||
"license": "MIT", | ||
"engines": { | ||
"node": ">=10" | ||
}, | ||
"peerDependencies": { | ||
"@popeindustries/lit-html-server": "^1.3.0", | ||
"lit-html": "^1.1.0" | ||
"@popeindustries/lit-html-server": "^1.6.1", | ||
"lit-html": "^1.1.2" | ||
}, | ||
"devDependencies": { | ||
"@popeindustries/lit-html-server": "^1.4.1", | ||
"@popeindustries/lit-html-server": "^1.6.1", | ||
"babel-eslint": "^10.0.1", | ||
"eslint": "^6.1.0", | ||
"eslint-config-prettier": "^6.0.0", | ||
"eslint-plugin-prettier": "^3.1.0", | ||
"husky": "^3.0.2", | ||
"lint-staged": "^9.2.1", | ||
"eslint": "^6.8.0", | ||
"eslint-config-prettier": "^6.9.0", | ||
"eslint-plugin-prettier": "^3.1.2", | ||
"husky": "^4.0.10", | ||
"lint-staged": "^9.5.0", | ||
"lit-html": "^1.1.2", | ||
"prettier": "^1.17.1" | ||
"prettier": "^1.19.1" | ||
}, | ||
"engines": { | ||
"node": ">=10" | ||
}, | ||
"scripts": { | ||
@@ -61,0 +63,0 @@ "format": "prettier --write './{src,test}/**/*.{js,json}'", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
47
9175
50
2