package.json 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. {
  2. "name": "asap",
  3. "version": "2.0.6",
  4. "description": "High-priority task queue for Node.js and browsers",
  5. "keywords": [
  6. "event",
  7. "task",
  8. "queue"
  9. ],
  10. "license": "MIT",
  11. "repository": {
  12. "type": "git",
  13. "url": "https://github.com/kriskowal/asap.git"
  14. },
  15. "main": "./asap.js",
  16. "browser": {
  17. "./asap": "./browser-asap.js",
  18. "./asap.js": "./browser-asap.js",
  19. "./raw": "./browser-raw.js",
  20. "./raw.js": "./browser-raw.js",
  21. "./test/domain.js": "./test/browser-domain.js"
  22. },
  23. "react-native": {
  24. "domain": false
  25. },
  26. "files": [
  27. "raw.js",
  28. "asap.js",
  29. "browser-raw.js",
  30. "browser-asap.js"
  31. ],
  32. "scripts": {
  33. "test": "npm run lint && npm run test-node",
  34. "test-travis": "npm run lint && npm run test-node && npm run test-saucelabs && npm run test-saucelabs-worker",
  35. "test-node": "node test/asap-test.js",
  36. "test-publish": "node scripts/publish-bundle.js test/asap-test.js | pbcopy",
  37. "test-browser": "node scripts/publish-bundle.js test/asap-test.js | xargs opener",
  38. "test-saucelabs": "node scripts/saucelabs.js test/asap-test.js scripts/saucelabs-spot-configurations.json",
  39. "test-saucelabs-all": "node scripts/saucelabs.js test/asap-test.js scripts/saucelabs-all-configurations.json",
  40. "test-saucelabs-worker": "node scripts/saucelabs-worker-test.js scripts/saucelabs-spot-configurations.json",
  41. "test-saucelabs-worker-all": "node scripts/saucelabs-worker-test.js scripts/saucelabs-all-configurations.json",
  42. "lint": "jshint raw.js asap.js browser-raw.js browser-asap.js $(find scripts -name '*.js' | grep -v gauntlet)",
  43. "benchmarks": "node benchmarks"
  44. },
  45. "devDependencies": {
  46. "events": "^1.0.1",
  47. "jshint": "^2.5.1",
  48. "knox": "^0.8.10",
  49. "mr": "^2.0.5",
  50. "opener": "^1.3.0",
  51. "q": "^2.0.3",
  52. "q-io": "^2.0.3",
  53. "saucelabs": "^0.1.1",
  54. "wd": "^0.2.21",
  55. "weak-map": "^1.0.5",
  56. "benchmark": "^1.0.0"
  57. }
  58. }