Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

audioplayr

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

audioplayr - npm Package Compare versions

Comparing version 0.4.0 to 0.5.0

lib/AudioPlayr.d.ts

58

gulpfile.js

@@ -1,55 +0,5 @@

const gulp = require("gulp");
const merge = require("merge2");
const mochaPhantomJS = require("gulp-mocha-phantomjs");
const runSequence = require("run-sequence");
const ts = require("gulp-typescript");
const tslint = require("gulp-tslint");
gulp.task("tslint", () => {
return gulp
.src(["src/**/*.ts", "!src/**/*.d.ts"])
.pipe(tslint())
.pipe(tslint.report("verbose"));
require("gulp-shenanigans").initialize({
dependencies: ["ItemsHoldr"],
gulp: require("gulp"),
packageName: "AudioPlayr"
});
gulp.task("tsc", () => {
const tsProject = ts.createProject("tsconfig.json");
return tsProject
.src()
.pipe(ts(tsProject))
.js.pipe(gulp.dest("src"));
});
gulp.task("test", () => {
return gulp
.src("test/unit/index.html")
.pipe(mochaPhantomJS());
});
gulp.task("dist", function() {
const tsProject = ts.createProject(
"tsconfig.json",
{
outFile: "dist/AudioPlayr.js",
removeComments: true
});
const tsResult = tsProject
.src()
.pipe(ts(tsProject));
return merge([
tsResult.dts.pipe(gulp.dest("dist")),
tsResult.js.pipe(gulp.dest("dist"))
]);
});
gulp.task("watch", ["default"], () => {
gulp.watch("src/**/*.ts", ["default"]);
});
gulp.task("default", ["tsc", "tslint", "dist"], cb => {
runSequence(["test"], cb);
});
{
"name": "audioplayr",
"description": "An audio playback manager for persistent and on-demand themes and sounds.",
"version": "0.4.0",
"version": "0.5.0",
"author": {

@@ -17,18 +17,8 @@ "name": "Josh Goldberg",

"license": "MIT",
"dependencies": {
"itemsholdr": "^0.5.0"
},
"devDependencies": {
"chai": "^3.5.0",
"gulp": "^3.9.1",
"gulp-mocha-phantomjs": "^0.11.0",
"gulp-tslint": "^5.0.0",
"gulp-typescript": "^2.13.4",
"merge2": "^1.0.2",
"mocha": "^2.4.5",
"requirejs": "^2.2.0",
"run-sequence": "^1.2.0",
"tslint": "^3.10.2",
"typescript": "^1.8.10"
},
"dependencies": {
"itemsholdr": "^0.4.2"
"gulp-shenanigans": "^0.3.2"
}
}

@@ -1,2 +0,2 @@

/// <reference path="../typings/itemsholdr/ItemsHoldr.d.ts" />
/// <reference path="../typings/ItemsHoldr.d.ts" />
define(["require", "exports"], function (require, exports) {

@@ -3,0 +3,0 @@ "use strict";

@@ -1,4 +0,3 @@

/// <reference path="../typings/itemsholdr/ItemsHoldr.d.ts" />
/// <reference path="../typings/ItemsHoldr.d.ts" />
import { IItemsHoldr } from "IItemsHoldr";
import { IAudioPlayr, IAudioPlayrSettings, IDirectoriesLibrary, ILibrarySettings, ISoundsLibrary } from "./IAudioPlayr";

@@ -58,3 +57,3 @@

*/
private ItemsHolder: IItemsHoldr | Storage;
private ItemsHolder: ItemsHoldr.IItemsHoldr | Storage;

@@ -61,0 +60,0 @@ /**

@@ -1,3 +0,1 @@

import { IItemsHoldr } from "IItemsHoldr";
/**

@@ -49,3 +47,3 @@ * Lookup for directories to the sounds contained within.

*/
ItemsHolder: IItemsHoldr | Storage;
ItemsHolder: ItemsHoldr.IItemsHoldr | Storage;

@@ -52,0 +50,0 @@ /**

@@ -7,7 +7,8 @@ {

"declaration": true,
"outDir": "dist"
"outDir": "lib"
},
"exclude": [
"node_modules"
"files": [
"src/AudioPlayr.ts",
"src/IAudioPlayr.ts"
]
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc