audioplayr
Advanced tools
Comparing version 0.4.0 to 0.5.0
@@ -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" | ||
] | ||
} |
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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
169572
1
24
4329
0
1
+ Addeditemsholdr@0.5.3(transitive)
- Removeditemsholdr@0.4.2(transitive)
Updateditemsholdr@^0.5.0