Skip to content

Commit 9b562d9

Browse files
authored
Merge pull request #49 from choojs/nanoassert
Use Nanoassert in the browser
2 parents 7c3c923 + dd721a4 commit 9b562d9

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
All notable changes to this project will be documented in this file.
33
This project adheres to [Semantic Versioning](http://semver.org/).
44

5+
## Unreleased
6+
7+
- **Added**: Use [`nanoassert`](https://github.com/emilbayes/nanoassert) in the browser.
8+
59
## 6.2.0 - 2017-08-18
610

711
- **Added**: `afterreorder` event which is called after your component is remounted on sibbling reorders.

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,12 @@
33
"version": "6.2.0",
44
"description": "Native DOM components that pair nicely with DOM diffing algorithms",
55
"main": "index.js",
6+
"browser": {
7+
"assert": "nanoassert"
8+
},
69
"scripts": {
710
"test": "run-s test:*",
8-
"test:deps": "dependency-check . && dependency-check . --extra --no-dev",
11+
"test:deps": "dependency-check .",
912
"test:node": "NODE_ENV=test node test/node.js | tap-format-spec",
1013
"test:browser": "browserify test/browser/index.js | tape-run | tap-format-spec",
1114
"test:lint": "standard *.js",
@@ -38,6 +41,7 @@
3841
"homepage": "https://github.com/choojs/nanocomponent#readme",
3942
"dependencies": {
4043
"global": "^4.3.1",
44+
"nanoassert": "^1.1.0",
4145
"nanomorph": "^5.1.2",
4246
"nanotiming": "^6.1.3",
4347
"on-load": "^3.2.0"

0 commit comments

Comments
 (0)