package.json 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. {
  2. "name": "synchronous-promise",
  3. "version": "2.0.17",
  4. "description": "Synchronous Promise-like prototype to use in testing where you would have used an ES6 Promise",
  5. "main": "index.js",
  6. "files": [
  7. "browser.js",
  8. "index.d.ts",
  9. "index.js",
  10. "LICENSE",
  11. "README.md"
  12. ],
  13. "repository": {
  14. "type": "git",
  15. "url": "git+https://github.com/fluffynuts/synchronous-promise.git"
  16. },
  17. "scripts": {
  18. "preautotest-once": "node -e \"console.log('Tests started: ', new Date());\"",
  19. "autotest-once": "mocha index.spec.js --reporter mocha-yar",
  20. "autotest": "nodemon -q -x \"run-s -s autotest-once\"",
  21. "autolint": "nodemon -q -x \"run-s -s lint\"",
  22. "prelint": "node -e \"console.log('Linting started: ', new Date());\"",
  23. "lint": "jshint index.js",
  24. "postlint": "node -e \"console.log('Linting completed: ', new Date());\"",
  25. "pretest": "run-s lint",
  26. "test-js": "mocha index.spec.js",
  27. "test": "run-s test-js test-ts",
  28. "predist": "mkdirp dist",
  29. "dist": "browserify browser.js -o dist/synchronous-promise.js",
  30. "prerelease": "run-s -s test dist",
  31. "release": "npm publish",
  32. "debug": "mocha -w *.spec.js --reporter mocha-yar --debug-brk --inspect",
  33. "debug-ts": "mocha -r ts-node/register *.spec.ts --debug-brk --inspect",
  34. "preautotest-ts-once": "node -e \"console.log('TS Tests started: ', new Date());\"",
  35. "autotest-ts": "nodemon -q -e ts -x \"run-s -s test-ts\"",
  36. "test-ts": "mocha -r ts-node/register *.spec.ts --reporter mocha-yar",
  37. "tsc": "tsc",
  38. "test-emitted": "mocha index-ts.spec.js",
  39. "debug-emitted": "mocha index-ts.spec.js --debug-brk --inspect"
  40. },
  41. "author": "Davyd McColl <davydm@gmail.com> (https://github.com/fluffynuts)",
  42. "license": "BSD-3-Clause",
  43. "devDependencies": {
  44. "@types/chai": "^4.2.11",
  45. "@types/mocha": "^7.0.2",
  46. "@types/node": "^14.0.5",
  47. "browserify": "^16.5.1",
  48. "chai": "^4.2.0",
  49. "jshint": "^2.11.1",
  50. "mkdirp": "^1.0.4",
  51. "mocha": "^7.1.2",
  52. "mocha-yar": "^1.0.14",
  53. "nodemon": "^2.0.4",
  54. "npm-run-all": "^4.1.5",
  55. "run-sequence": "^2.2.1",
  56. "ts-node": "^8.10.1",
  57. "typescript": "^3.9.3"
  58. }
  59. }