{ "_from": "synchronous-promise@^2.0.5", "_id": "synchronous-promise@2.0.15", "_inBundle": false, "_integrity": "sha512-k8uzYIkIVwmT+TcglpdN50pS2y1BDcUnBPK9iJeGu0Pl1lOI8pD6wtzgw91Pjpe+RxtTncw32tLxs/R0yNL2Mg==", "_location": "/synchronous-promise", "_phantomChildren": {}, "_requested": { "type": "range", "registry": true, "raw": "synchronous-promise@^2.0.5", "name": "synchronous-promise", "escapedName": "synchronous-promise", "rawSpec": "^2.0.5", "saveSpec": null, "fetchSpec": "^2.0.5" }, "_requiredBy": [ "/yup" ], "_resolved": "https://registry.npmmirror.com/synchronous-promise/-/synchronous-promise-2.0.15.tgz", "_shasum": "07ca1822b9de0001f5ff73595f3d08c4f720eb8e", "_spec": "synchronous-promise@^2.0.5", "_where": "D:\\源码\\vue-element-admin-master\\node_modules\\yup", "author": { "name": "Davyd McColl", "email": "davydm@gmail.com", "url": "https://github.com/fluffynuts" }, "bugs": { "url": "https://github.com/fluffynuts/synchronous-promise/issues" }, "bundleDependencies": false, "deprecated": false, "description": "Synchronous Promise-like prototype to use in testing where you would have used an ES6 Promise", "devDependencies": { "@types/chai": "^4.2.11", "@types/mocha": "^7.0.2", "@types/node": "^14.0.5", "browserify": "^16.5.1", "chai": "^4.2.0", "jshint": "^2.11.1", "mkdirp": "^1.0.4", "mocha": "^7.1.2", "mocha-yar": "^1.0.14", "nodemon": "^2.0.4", "npm-run-all": "^4.1.5", "run-sequence": "^2.2.1", "ts-node": "^8.10.1", "typescript": "^3.9.3" }, "homepage": "https://github.com/fluffynuts/synchronous-promise#readme", "license": "BSD-3-Clause", "main": "index.js", "name": "synchronous-promise", "repository": { "type": "git", "url": "git+https://github.com/fluffynuts/synchronous-promise.git" }, "scripts": { "autolint": "nodemon -q -x \"run-s -s lint\"", "autotest": "nodemon -q -x \"run-s -s autotest-once\"", "autotest-once": "mocha index.spec.js --reporter mocha-yar", "autotest-ts": "nodemon -q -e ts -x \"run-s -s test-ts\"", "debug": "mocha -w *.spec.js --reporter mocha-yar --debug-brk --inspect", "debug-emitted": "mocha index-ts.spec.js --debug-brk --inspect", "debug-ts": "mocha -r ts-node/register *.spec.ts --debug-brk --inspect", "dist": "browserify browser.js -o dist/synchronous-promise.js", "lint": "jshint index.js", "postlint": "node -e \"console.log('Linting completed: ', new Date());\"", "preautotest-once": "node -e \"console.log('Tests started: ', new Date());\"", "preautotest-ts-once": "node -e \"console.log('TS Tests started: ', new Date());\"", "predist": "mkdirp dist", "prelint": "node -e \"console.log('Linting started: ', new Date());\"", "prepublish": "run-s -s test dist", "pretest": "run-s lint", "test": "run-s test-js test-ts", "test-emitted": "mocha index-ts.spec.js", "test-js": "mocha index.spec.js", "test-ts": "mocha -r ts-node/register *.spec.ts --reporter mocha-yar", "tsc": "tsc" }, "version": "2.0.15" }