Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
node_modules
.nyc_output
coverage
7 changes: 7 additions & 0 deletions maintaining.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
# Maintaining


## Testing

- `npm test`: Lint the code and run the entire test suite with coverage.
- `npm run test-win`: Run the tests on Windows.
- `npm run coverage`: Generate a coverage report for the last test run (opens a browser window).
- `tap test/fork.js -b`: Run a specific test file and bail on the first failure (useful when hunting bugs).

## Release process

- Bump dependencies.
Expand Down
14 changes: 11 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,9 @@
},
"scripts": {
"test": "xo && tap --coverage --reporter=spec --timeout=150 test/*.js",
"test-win": "tap --coverage --reporter=spec --timeout=150 test/*.js",
"coveralls": "nyc report --reporter=text-lcov | coveralls"
"test-win": "tap --reporter=spec --timeout=150 test/*.js",
"coveralls": "tap --coverage-report=text-lcov | coveralls",
"coverage": "tap --coverage-report=lcov"
},
"files": [
"index.js",
Expand Down Expand Up @@ -75,6 +76,14 @@
"observable",
"observables"
],
"config": {
"nyc": {
"exclude": [
"node_modules[/\\\\]",
"test[/\\\\]"
]
}
},
"dependencies": {
"arr-flatten": "^1.0.1",
"ava-init": "^0.1.0",
Expand Down Expand Up @@ -112,7 +121,6 @@
},
"devDependencies": {
"coveralls": "^2.11.4",
"nyc": "^3.2.2",
"signal-exit": "^2.1.2",
"tap": "^2.2.1",
"xo": "*",
Expand Down