dompack
Advanced tools
Comparing version 0.1.11 to 1.0.0
{ | ||
"name": "dompack", | ||
"version": "0.1.11", | ||
"version": "1.0.0", | ||
"description": "Dompack - tools and components to build sites in a ES7/IE11+ world", | ||
@@ -5,0 +5,0 @@ "main": "src/index.es", |
@@ -11,3 +11,5 @@ # Dompack - tools and components to build sites in a ES7/IE11+ world | ||
# Using dompack | ||
# Usage | ||
## Using dompack in WebHare | ||
``` | ||
@@ -17,3 +19,22 @@ import * as dompack from 'dompack'; | ||
# Layout/internals | ||
## Using dompack outside WebHare | ||
If you intend to ship published files, you amy only need it as a dev-dependency | ||
``` | ||
npm i --save-dev dompack dompack-builder | ||
echo '{ "build": { "entrypoint": "site.es" }}' > dompack.json | ||
node_modules/.bin/dompack-builder -r . # add '-w' to watch | ||
``` | ||
And add something like this to your pages | ||
``` | ||
<head> | ||
<link href="dompackbuild/ap.css" rel="stylesheet"> | ||
<script async src="dompackbuild/ap.js"></script> | ||
</head> | ||
``` | ||
# Background | ||
## Layout/internals | ||
- `src/` core dompack code, exported by 'dompack' itself | ||
@@ -20,0 +41,0 @@ - `api/` hooks/base classes |
{ "build": { | ||
"tests": ["test_utils.es","test_swipelistener.es","test_browserfix_url.es","test_pulldown.es"] | ||
"tests": ["test_utils.es","test_swipelistener.es","test_browserfix_url.es","test_pulldown.es","test_autosuggest.es"] | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
288743
70
1
84