forked from charto/nbind-example-universal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
39 lines (36 loc) · 1.22 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
{
"name": "nbind-example-universal",
"version": "0.2.0",
"description": "Example of compiling C++ to asm.js and Node.js addons",
"scripts": {
"autogypi": "autogypi",
"node-gyp": "node-gyp",
"emcc-path": "emcc-path",
"copyasm": "copyasm",
"tsc": "tsc",
"build:native": "autogypi -r build && node-gyp -C build/native configure build && copyasm build/native dist",
"build:asmjs": "autogypi -r build && node-gyp -C build/asmjs configure build --asmjs=1 && copyasm build/asmjs dist",
"install": "(npm run build:native || echo Warning: problems with native build)",
"prepublish": "tsc && (npm run build:asmjs || echo Warning: problems with asm.js build)",
"start": "node dist/serve.js",
"test": "node dist/example.js"
},
"author": "Juha Järvi",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/charto/nbind-example-universal.git"
},
"bugs": {
"url": "https://github.com/charto/nbind-example-universal/issues"
},
"homepage": "https://github.com/charto/nbind-example-universal#readme",
"dependencies": {
"autogypi": "^0.2.2",
"nbind": "^0.2.1",
"node-gyp": "^3.3.1"
},
"devDependencies": {
"typescript": "^1.8.10"
}
}