add lerna to manage monorepo
This commit is contained in:
@@ -32,7 +32,8 @@
|
||||
"dev": "rollup -c -w",
|
||||
"prepublishOnly": "yarn build",
|
||||
"start": "sirv public",
|
||||
"validate": "svelte-check"
|
||||
"validate": "svelte-check",
|
||||
"prepublish": "yarn build"
|
||||
},
|
||||
"description": "rrweb's replayer UI",
|
||||
"main": "lib/index.js",
|
||||
|
||||
@@ -8,7 +8,8 @@
|
||||
"test": "cross-env TS_NODE_CACHE=false TS_NODE_FILES=true mocha -r ts-node/register test/**/*.ts",
|
||||
"bundle": "rollup --config",
|
||||
"bundle:es-only": "cross-env ES_ONLY=true rollup --config",
|
||||
"typings": "tsc -d --declarationDir typings"
|
||||
"typings": "tsc -d --declarationDir typings",
|
||||
"prepublish": "npm run typings && npm run bundle"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
||||
@@ -12,7 +12,8 @@
|
||||
"bundle:browser": "cross-env BROWSER_ONLY=true rollup --config",
|
||||
"bundle": "rollup --config",
|
||||
"typings": "tsc -d --declarationDir typings",
|
||||
"check-types": "tsc -noEmit"
|
||||
"check-types": "tsc -noEmit",
|
||||
"prepublish": "npm run typings && npm run bundle"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
||||
@@ -39,5 +39,4 @@ export declare type Logger = {
|
||||
};
|
||||
export declare const PLUGIN_NAME = "rrweb/console@1";
|
||||
export declare const getRecordConsolePlugin: (options?: LogRecordOptions) => RecordPlugin;
|
||||
export { };
|
||||
|
||||
export {};
|
||||
|
||||
2
packages/rrweb/typings/replay/index.d.ts
vendored
2
packages/rrweb/typings/replay/index.d.ts
vendored
@@ -19,6 +19,7 @@ export declare class Replayer {
|
||||
private fragmentParentMap;
|
||||
private elementStateMap;
|
||||
private virtualStyleRulesMap;
|
||||
private cache;
|
||||
private imageMap;
|
||||
private mirror;
|
||||
private firstFullSnapshot;
|
||||
@@ -38,6 +39,7 @@ export declare class Replayer {
|
||||
addEvent(rawEvent: eventWithTime | string): void;
|
||||
enableInteract(): void;
|
||||
disableInteract(): void;
|
||||
resetCache(): void;
|
||||
private setupDom;
|
||||
private handleResize;
|
||||
private getCastFn;
|
||||
|
||||
Reference in New Issue
Block a user