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