@bigtest/agent
Advanced tools
Comparing version 0.1.0-e1bf428 to 0.1.0-e6c6d16
@@ -1,16 +0,1 @@ | ||
import { Operation } from 'effection'; | ||
interface Options { | ||
port: number; | ||
externalURL?: string; | ||
} | ||
export declare class AgentServer { | ||
url: string; | ||
protected appDir: string; | ||
protected constructor(url: string, appDir: string); | ||
static create(options: Options, appDir?: string): AgentServer; | ||
connectURL(connectBackURL: string): string; | ||
get harnessScriptURL(): string; | ||
listen(): Operation; | ||
join(): Operation; | ||
} | ||
export {}; | ||
export { AgentServer } from './server'; |
{ | ||
"name": "@bigtest/agent", | ||
"version": "0.1.0-e1bf428", | ||
"version": "0.1.0-e6c6d16", | ||
"description": "Agent for connecting test environments (browsers) to BigTest", | ||
"main": "dist/agent.umd.js", | ||
"module": "dist/agent.esm.js", | ||
"main": "dist/index.js", | ||
"typings": "dist/index.d.ts", | ||
@@ -16,7 +15,7 @@ "repository": "https://github.com/thefrontside/bigtest.git", | ||
"scripts": { | ||
"lint": "eslint index.ts '{app,bin,test}/**/*.ts'", | ||
"lint": "eslint '{app,bin,src,test}/**/*.ts'", | ||
"test": "mocha -r ts-node/register test/**/*.test.ts", | ||
"start": "ts-node bin/start.ts", | ||
"start": "parcel serve --out-dir dist/app app/index.html", | ||
"bundle": "parcel watch --out-dir dist/app app/index.html", | ||
"prepack": "microbundle --entry index.ts --output dist --format modern,es,umd && parcel build --out-dir dist/app app/index.html app/harness.ts" | ||
"prepack": "tsc --outdir dist --project tsconfig.dist.json --declaration --sourcemap && parcel build --out-dir dist/app app/index.html app/harness.ts" | ||
}, | ||
@@ -32,3 +31,2 @@ "devDependencies": { | ||
"expect": "^24.9.0", | ||
"microbundle": "^0.12.0-next.8", | ||
"mocha": "^6.2.2", | ||
@@ -45,3 +43,3 @@ "node-fetch": "^2.6.0", | ||
"bowser": "^2.9.0", | ||
"effection": "^0.5.0", | ||
"effection": "^0.5.1", | ||
"express": "^4.17.1" | ||
@@ -48,0 +46,0 @@ }, |
@@ -38,10 +38,10 @@ # @bigtest/agent | ||
given port, and then point your bigtest server at it at the known | ||
location. To do this, run the `start` command. | ||
location. To do this, run the `start` command. This will start a | ||
parcel server to continually watch and build the application as you | ||
develop. Any arguments will be passed on to parcel. | ||
``` shell | ||
$ yarn start 5000 | ||
✨ Built in 501ms. | ||
serving agent application | ||
--> connect agents at http://localhost:56504 | ||
--> harness script at http://localhost:56504/harness.js | ||
$ yarn start --port 5000 | ||
Server running at http://localhost:5000 | ||
✨ Built in 463ms. | ||
``` | ||
@@ -48,0 +48,0 @@ |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
14
212
4
0
90496
13
Updatedeffection@^0.5.1