mapscreenr
Advanced tools
Comparing version 0.8.1 to 0.8.3
export * from "./MapScreenr"; | ||
export * from "./types"; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -0,0 +0,0 @@ import { MapScreenrSettings, VariableFunctions, Variables } from "./types"; |
/** | ||
* functions to compute new variable values, keyed by their variable's names. | ||
*/ | ||
export interface VariableFunctions { | ||
[i: string]: () => any; | ||
} | ||
export declare type VariableFunctions = Record<string, () => any>; | ||
/** | ||
* Known variables, keyed by name. | ||
*/ | ||
export interface Variables { | ||
[i: string]: any; | ||
} | ||
export declare type Variables = Record<string, any>; | ||
/** | ||
@@ -14,0 +10,0 @@ * Settings to initialize a new instance of the MapScreenr class. |
{ | ||
"author": { | ||
"email": "me@joshuakgoldberg.com", | ||
"email": "git@joshuakgoldberg.com", | ||
"name": "Josh Goldberg" | ||
@@ -12,3 +12,12 @@ }, | ||
"devDependencies": { | ||
"shenanigans-manager": "^0.8.1" | ||
"@types/chai": "^4.3.3", | ||
"@types/mocha": "^9.1.1", | ||
"@types/sinon": "^10.0.13", | ||
"@types/sinon-chai": "^3.2.8", | ||
"chai": "^4.3.6", | ||
"mocha": "^10.0.0", | ||
"mocha-headless-chrome": "^4.0.0", | ||
"shenanigans-manager": "^0.8.3", | ||
"sinon": "^14.0.0", | ||
"sinon-chai": "^3.7.0" | ||
}, | ||
@@ -22,10 +31,10 @@ "license": "MIT", | ||
"scripts": { | ||
"clean": "rm -rf lib *.tsbuildinfo", | ||
"clean": "rm -rf dist lib *.tsbuildinfo", | ||
"compile": "tsc -b", | ||
"hydrate": "shenanigans-manager hydrate", | ||
"hydrate": "yarn shenanigans-manager hydrate", | ||
"link": "yarn link", | ||
"publish:ci": "shenanigans-manager publish-if-updated", | ||
"publish:ci": "yarn shenanigans-manager publish-if-updated", | ||
"test": "yarn run test:setup && yarn run test:run", | ||
"test:run": "mocha-headless-chrome --file test/index.html", | ||
"test:setup": "shenanigans-manager generate-tests" | ||
"test:run": "yarn mocha-headless-chrome --file test/index.html", | ||
"test:setup": "yarn shenanigans-manager generate-tests" | ||
}, | ||
@@ -36,3 +45,3 @@ "shenanigans": { | ||
"types": "./lib/index.d.ts", | ||
"version": "0.8.1" | ||
} | ||
"version": "0.8.3" | ||
} |
7215
10
8
146