Skip to content

Commit

Permalink
bel -> nanohtml, update deps (sec) (#28)
Browse files Browse the repository at this point in the history
* bel -> nanohtml, update deps (sec)

* ci: busta cache
  • Loading branch information
ungoldman authored Aug 22, 2018
1 parent fd3b4d9 commit 2ca310a
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 18 deletions.
10 changes: 5 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ jobs:
# Download and cache dependencies
- restore_cache:
keys:
- v1-dependencies-{{ checksum "package.json" }}
# fallback to using the latest cache if no exact match is found
- v1-dependencies-
- source-v1-{{ .Branch }}-{{ .Revision }}
- source-v1-{{ .Branch }}-
- source-v1-

- run:
name: Authenticate with NPM
Expand All @@ -40,9 +40,9 @@ jobs:
command: DISPLAY=:99 npm test

- save_cache:
key: source-v1-{{ .Branch }}-{{ .Revision }}
paths:
- node_modules
key: v1-dependencies-{{ checksum "package.json" }}
- ".git"

workflows:
version: 2
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ A collection of form elements.
## Usage
```js
const els = require('form-elements')
const html = require('bel')
const html = require('nanohtml')

const scratch = {
test: '',
Expand Down
2 changes: 1 addition & 1 deletion button-el.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const applyOpts = require('./element-helper')
const html = require('bel')
const html = require('nanohtml')
const noop = () => {}

module.exports = button
Expand Down
2 changes: 1 addition & 1 deletion error-el.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const html = require('bel')
const html = require('nanohtml')
const helpers = require('./element-helper')

function ErrorEl (opts) {
Expand Down
2 changes: 1 addition & 1 deletion input-el.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const html = require('bel')
const html = require('nanohtml')

const applyOpts = require('./element-helper')
const mergeFuncs = require('./merge-function')
Expand Down
2 changes: 1 addition & 1 deletion label-el.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const applyOpts = require('./element-helper')
const html = require('bel')
const html = require('nanohtml')

module.exports = label

Expand Down
13 changes: 6 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
"test": "standard && npm run dep && node test/ssr-rendering.js && browserify test/*.spec.js | tape-run",
"coverage": "npm run test && node test-harness.js",
"start": "bankai start standalone.js --debug --no-uglify",
"dep": "dependency-check . && dependency-check . --unused --no-dev -i envify -i yo-yoify -i babelify -i babel-preset-env -i sheetify"
"dep": "dependency-check . && dependency-check . --unused --no-dev -i envify -i babelify -i babel-preset-env -i sheetify"
},
"browserify": {
"transform": [
"envify",
"yo-yoify",
"nanohtml",
"sheetify/transform",
"babelify"
]
Expand All @@ -29,13 +29,12 @@
"dependencies": {
"babel-preset-env": "^1.5.2",
"babelify": "^7.3.0",
"bel": "^5.1.2",
"envify": "^4.0.0",
"sheetify": "^6.1.0",
"yo-yoify": "^4.0.0"
"nanohtml": "^1.2.4",
"sheetify": "^7.3.3"
},
"devDependencies": {
"bankai": "^7.6.2",
"bankai": "^9.14.0",
"browserify": "^14.3.0",
"browserify-istanbul": "github:toddself/browserify-istanbul#strip-base-path",
"dependency-check": "^2.9.1",
Expand All @@ -46,6 +45,6 @@
"standard": "^10.0.2",
"tape": "^4.6.3",
"tape-istanbul": "^1.1.1",
"tape-run": "^3.0.0"
"tape-run": "^4.0.0"
}
}
2 changes: 1 addition & 1 deletion standalone.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const choo = require('choo')
const html = require('bel')
const html = require('nanohtml')
const els = require('./')

const scratch = {
Expand Down

0 comments on commit 2ca310a

Please sign in to comment.