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{
"name": "caf",
"version": "9.1.0",
"description": "Cancelable Async Flows: a wrapper to treat generators as cancelable async functions",
"main": "./index.js",
"browser": "./src/caf.src.js",
"scripts": {
"test": "node scripts/node-tests.js",
"test:dist": "TEST_DIST=true npm test",
"test:package": "TEST_PACKAGE=true npm test",
"test:all": "npm test && npm run test:dist && npm run test:package",
"coverage": "istanbul cover -x \"dist/*.js\" -x \"scripts/*.js\" scripts/node-tests.js",
"coverage:report": "npm run coverage && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
"build-core": "node scripts/build-core.js",
"build": "npm run build-core",
"prepare": "npm run build",
"prepublish": "npm run build && npm run test:all",
"publish": "npm run coverage:report"
},
"devDependencies": {
"abortcontroller-polyfill": "~1.4.0",
"coveralls": "~3.1.0",
"qunit": "~2.10.1",
"terser": "~4.8.0"
},
"repository": "getify/caf",
"keywords": [
"async",
"promises",
"generators",
"cancelation"
],
"bugs": {
"url": "https://github.com/getify/caf/issues",
"email": "getify@gmail.com"
},
"homepage": "https://github.com/getify/caf",
"author": "Kyle Simpson <getify@gmail.com>",
"license": "MIT"
}