-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Complete revamp! Spawn js/go daemons locally or remote (from th…
…e browser) (#176)
- Loading branch information
Showing
45 changed files
with
3,678 additions
and
863 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
'use strict' | ||
|
||
const createServer = require('./src').createServer | ||
|
||
const server = createServer() | ||
module.exports = { | ||
karma: { | ||
files: [{ | ||
pattern: 'test/fixtures/**/*', | ||
watched: false, | ||
served: true, | ||
included: false | ||
}], | ||
singleRun: true | ||
}, | ||
hooks: { | ||
browser: { | ||
pre: server.start.bind(server), | ||
post: server.stop.bind(server) | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,28 @@ | ||
version: "{build}" | ||
|
||
environment: | ||
matrix: | ||
- nodejs_version: "6" | ||
- nodejs_version: "8" | ||
|
||
# cache: | ||
# - node_modules | ||
|
||
platform: | ||
- x64 | ||
matrix: | ||
fast_finish: true | ||
|
||
install: | ||
- ps: Install-Product node $env:nodejs_version $env:platform | ||
# Install Node.js | ||
- ps: Install-Product node $env:nodejs_version | ||
|
||
# Upgrade npm | ||
- npm install -g npm | ||
|
||
# Output our current versions for debugging | ||
- node --version | ||
- npm --version | ||
|
||
# Install our package dependencies | ||
- npm install | ||
|
||
test_script: | ||
- npm test | ||
- npm run test | ||
|
||
build: off | ||
|
||
version: "{build}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,3 +36,5 @@ node_modules | |
|
||
dist | ||
docs | ||
|
||
.idea |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.