audioplayr
Advanced tools
Comparing version 0.8.1 to 0.8.3
@@ -0,0 +0,0 @@ import { AudioPlayrSettings, PlaySettings } from "./types"; |
export {}; | ||
//# sourceMappingURL=AudioPlayr.test.d.ts.map |
import * as sinon from "sinon"; | ||
import { AudioPlayr } from "./AudioPlayr"; | ||
import { AudioElementSound, Sound } from "./Sound"; | ||
import { AudioPlayrSettings } from "./types"; | ||
import { AudioElementSound, Sound } from "./Sound"; | ||
export declare const stubAudioPlayr: (settings?: Partial<AudioPlayrSettings>) => { | ||
audioPlayer: AudioPlayr; | ||
createSound: sinon.SinonSpy<[string], sinon.SinonStubbedInstance<AudioElementSound>>; | ||
createSound: sinon.SinonSpy<[name: string], sinon.SinonStubbedInstance<AudioElementSound>>; | ||
getCreatedSound: (name: string) => sinon.SinonStubbedInstance<Sound>; | ||
@@ -9,0 +9,0 @@ storage: { |
@@ -0,0 +0,0 @@ export * from "./AudioPlayr"; |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ import { CreateSound } from "./Sound"; |
import { AudioSettingsStorage } from "./types"; | ||
export declare const wrapNativeStorage: (storage: Storage) => AudioSettingsStorage; | ||
//# sourceMappingURL=wrapNativeStorage.d.ts.map |
{ | ||
"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" | ||
} |
15822
10
11
332