-
Notifications
You must be signed in to change notification settings - Fork 35
/
package.json
48 lines (48 loc) · 1.67 KB
/
package.json
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
{
"name": "async-to-gen",
"version": "1.4.0",
"description": "Transform async functions to generator functions with speed and simplicity.",
"author": "Lee Byron <lee@leebyron.com> (http://leebyron.com/)",
"license": "BSD-3-Clause",
"main": "index.js",
"bin": {
"async-to-gen": "./async-to-gen",
"async-node": "./async-node"
},
"homepage": "https://github.com/leebyron/async-to-gen",
"bugs": {
"url": "https://github.com/leebyron/async-to-gen/issues"
},
"repository": {
"type": "git",
"url": "http://github.com/leebyron/async-to-gen.git"
},
"scripts": {
"test": "DIFF=$(./async-to-gen test/source.js | diff test/expected.js -); if [ -n \"$DIFF\" ]; then echo \"$DIFF\"; exit 1; fi; RES=$(node -e 'require(\"./register\");require(\"./test/test-node-module.js\")'); if [ \"$RES\" != 42 ]; then echo 'Node register hook failed'; exit 1; fi; ASYNC_NODE=$(./async-node ./test/test-node-module.js); if [ \"$ASYNC_NODE\" != 42 ]; then echo 'async-node failed'; exit 1; fi; ASYNC_GEN_NODE=$(./async-node ./test/test-async-generator.js); if [ \"$ASYNC_GEN_NODE\" != 42 ]; then echo 'async-node failed for async generators'; exit 1; fi; ./async-to-gen test/memtest.js | node --max-old-space-size=10;",
"test-update": "./async-to-gen test/source.js > test/expected.js"
},
"files": [
"index.js",
"register.js",
"async-to-gen",
"async-node",
"LICENSE"
],
"keywords": [
"async",
"await",
"async-await",
"for-await",
"for-await-of",
"generators",
"compiler",
"transpiler",
"transform",
"es7"
],
"dependencies": {
"babylon": "^6.14.0",
"magic-string": "^0.22.0",
"pirates": "^3.0.2"
}
}