2016-10-10 03:43:44 +02:00
|
|
|
{
|
2016-11-03 01:33:53 +01:00
|
|
|
"name": "when",
|
2017-04-20 03:09:25 +02:00
|
|
|
"version": "3.7.8",
|
2016-11-03 01:33:53 +01:00
|
|
|
"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"
|
2016-10-10 03:43:44 +02:00
|
|
|
],
|
2016-11-03 01:33:53 +01:00
|
|
|
"homepage": "http://cujojs.com",
|
|
|
|
"license": "MIT",
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com/cujojs/when"
|
2016-10-10 03:43:44 +02:00
|
|
|
},
|
2016-11-03 01:33:53 +01:00
|
|
|
"bugs": "https://github.com/cujojs/when/issues",
|
|
|
|
"maintainers": [
|
|
|
|
{
|
|
|
|
"name": "Brian Cavalier",
|
|
|
|
"web": "http://hovercraftstudios.com"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "John Hann",
|
|
|
|
"web": "http://unscriptable.com"
|
|
|
|
}
|
2016-10-10 03:43:44 +02:00
|
|
|
],
|
|
|
|
"contributors": [
|
|
|
|
{
|
|
|
|
"name": "Brian Cavalier",
|
2016-11-03 01:33:53 +01:00
|
|
|
"web": "http://hovercraftstudios.com"
|
2016-10-10 03:43:44 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "John Hann",
|
2016-11-03 01:33:53 +01:00
|
|
|
"web": "http://unscriptable.com"
|
2016-10-10 03:43:44 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Scott Andrews"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"devDependencies": {
|
|
|
|
"benchmark": "~1",
|
|
|
|
"browserify": "~2",
|
|
|
|
"buster": "~0.7",
|
|
|
|
"exorcist": "~0.4",
|
2017-04-20 03:09:25 +02:00
|
|
|
"glob": "^7.1.1",
|
2016-10-10 03:43:44 +02:00
|
|
|
"jshint": "~2",
|
|
|
|
"json5": "~0.2",
|
2017-04-20 03:09:25 +02:00
|
|
|
"microtime": "~2",
|
|
|
|
"mkdirp": "^0.5.1",
|
2016-10-10 03:43:44 +02:00
|
|
|
"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"
|
|
|
|
},
|
2016-11-03 01:33:53 +01:00
|
|
|
"main": "when.js",
|
2016-10-10 03:43:44 +02:00
|
|
|
"ender": {
|
|
|
|
"files": [
|
|
|
|
"*.js",
|
|
|
|
"lib/*.js",
|
|
|
|
"node/*.js",
|
|
|
|
"unfold/*.js",
|
|
|
|
"monitor/*.js",
|
|
|
|
"lib/decorators/*.js"
|
|
|
|
]
|
|
|
|
},
|
2016-11-03 01:33:53 +01:00
|
|
|
"browser": {
|
|
|
|
"when": "./dist/browser/when.js",
|
|
|
|
"vertx": false
|
|
|
|
},
|
|
|
|
"directories": {
|
|
|
|
"test": "test"
|
2016-10-10 03:43:44 +02:00
|
|
|
},
|
|
|
|
"scripts": {
|
2016-11-03 01:33:53 +01:00
|
|
|
"test": "jshint . && buster-test -e node && promises-aplus-tests test/promises-aplus-adapter.js",
|
2017-04-20 03:09:25 +02:00
|
|
|
"build-browser-test": "browserify ./node_modules/poly/es5.js -o test/browser/es5.js && node scripts/browserify-tests",
|
2016-11-03 01:33:53 +01:00
|
|
|
"browser-test": "npm run build-browser-test && buster-static -e browser -p 8080",
|
2016-10-10 03:43:44 +02:00
|
|
|
"ci": "npm test && node test/sauce.js",
|
2016-11-03 01:33:53 +01:00
|
|
|
"tunnel": "node test/sauce.js -m",
|
|
|
|
"start": "buster-static -e browser",
|
|
|
|
"benchmark": "node benchmark/promise && node benchmark/map",
|
2016-10-10 03:43:44 +02:00
|
|
|
"prepublish": "npm run browserify && npm run uglify",
|
|
|
|
"preversion": "npm run browserify && npm run uglify",
|
2016-11-03 01:33:53 +01:00
|
|
|
"browserify": "npm run browserify-es6 && npm run browserify-when && npm run browserify-debug",
|
2017-04-20 03:09:25 +02:00
|
|
|
"browserify-es6": "node scripts/browserify.js es6",
|
|
|
|
"browserify-when": "node scripts/browserify.js when",
|
|
|
|
"browserify-debug": "node scripts/browserify.js debug",
|
2016-10-10 03:43:44 +02:00
|
|
|
"uglify": "npm run uglify-es6 && npm run uglify-when",
|
2017-04-20 03:09:25 +02:00
|
|
|
"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"
|
2016-11-03 01:33:53 +01:00
|
|
|
}
|
2016-10-10 03:43:44 +02:00
|
|
|
}
|