103 lines
2.9 KiB
JSON
103 lines
2.9 KiB
JSON
|
{
|
||
|
"name": "when",
|
||
|
"version": "3.7.8",
|
||
|
"description": "A lightweight Promises/A+ and when() implementation, plus other async goodies.",
|
||
|
"keywords": [
|
||
|
"cujo",
|
||
|
"Promises/A+",
|
||
|
"promises-aplus",
|
||
|
"promise",
|
||
|
"promises",
|
||
|
"deferred",
|
||
|
"deferreds",
|
||
|
"when",
|
||
|
"async",
|
||
|
"asynchronous",
|
||
|
"ender"
|
||
|
],
|
||
|
"homepage": "http://cujojs.com",
|
||
|
"license": "MIT",
|
||
|
"repository": {
|
||
|
"type": "git",
|
||
|
"url": "https://github.com/cujojs/when"
|
||
|
},
|
||
|
"bugs": "https://github.com/cujojs/when/issues",
|
||
|
"maintainers": [
|
||
|
{
|
||
|
"name": "Brian Cavalier",
|
||
|
"web": "http://hovercraftstudios.com"
|
||
|
},
|
||
|
{
|
||
|
"name": "John Hann",
|
||
|
"web": "http://unscriptable.com"
|
||
|
}
|
||
|
],
|
||
|
"contributors": [
|
||
|
{
|
||
|
"name": "Brian Cavalier",
|
||
|
"web": "http://hovercraftstudios.com"
|
||
|
},
|
||
|
{
|
||
|
"name": "John Hann",
|
||
|
"web": "http://unscriptable.com"
|
||
|
},
|
||
|
{
|
||
|
"name": "Scott Andrews"
|
||
|
}
|
||
|
],
|
||
|
"devDependencies": {
|
||
|
"benchmark": "~1",
|
||
|
"browserify": "~2",
|
||
|
"buster": "~0.7",
|
||
|
"exorcist": "~0.4",
|
||
|
"glob": "^7.1.1",
|
||
|
"jshint": "~2",
|
||
|
"json5": "~0.2",
|
||
|
"microtime": "~2",
|
||
|
"mkdirp": "^0.5.1",
|
||
|
"optimist": "~0.6",
|
||
|
"poly": "^0.6.1",
|
||
|
"promises-aplus-tests": "~2",
|
||
|
"rest": "1.1.x",
|
||
|
"sauce-connect-launcher": "~0.4",
|
||
|
"uglify-js": "~2",
|
||
|
"wd": "~0.2"
|
||
|
},
|
||
|
"main": "when.js",
|
||
|
"ender": {
|
||
|
"files": [
|
||
|
"*.js",
|
||
|
"lib/*.js",
|
||
|
"node/*.js",
|
||
|
"unfold/*.js",
|
||
|
"monitor/*.js",
|
||
|
"lib/decorators/*.js"
|
||
|
]
|
||
|
},
|
||
|
"browser": {
|
||
|
"when": "./dist/browser/when.js",
|
||
|
"vertx": false
|
||
|
},
|
||
|
"directories": {
|
||
|
"test": "test"
|
||
|
},
|
||
|
"scripts": {
|
||
|
"test": "jshint . && buster-test -e node && promises-aplus-tests test/promises-aplus-adapter.js",
|
||
|
"build-browser-test": "browserify ./node_modules/poly/es5.js -o test/browser/es5.js && node scripts/browserify-tests",
|
||
|
"browser-test": "npm run build-browser-test && buster-static -e browser -p 8080",
|
||
|
"ci": "npm test && node test/sauce.js",
|
||
|
"tunnel": "node test/sauce.js -m",
|
||
|
"start": "buster-static -e browser",
|
||
|
"benchmark": "node benchmark/promise && node benchmark/map",
|
||
|
"prepublish": "npm run browserify && npm run uglify",
|
||
|
"preversion": "npm run browserify && npm run uglify",
|
||
|
"browserify": "npm run browserify-es6 && npm run browserify-when && npm run browserify-debug",
|
||
|
"browserify-es6": "node scripts/browserify.js es6",
|
||
|
"browserify-when": "node scripts/browserify.js when",
|
||
|
"browserify-debug": "node scripts/browserify.js debug",
|
||
|
"uglify": "npm run uglify-es6 && npm run uglify-when",
|
||
|
"uglify-es6": "uglifyjs es6-shim/Promise.js --compress --mangle --in-source-map es6-shim/Promise.js.map --source-map es6-shim/Promise.min.js.map -o es6-shim/Promise.min.js",
|
||
|
"uglify-when": "uglifyjs dist/browser/when.js --compress --mangle --in-source-map dist/browser/when.js.map --source-map dist/browser/when.min.js.map -o dist/browser/when.min.js"
|
||
|
}
|
||
|
}
|