UNPKG

@mcesystems/nbind

Version:

Magical headers that make your C++ library accessible from JavaScript

72 lines 2.12 kB
{ "name": "@mcesystems/nbind", "version": "0.3.18", "description": "Magical headers that make your C++ library accessible from JavaScript", "main": "dist/nbind.js", "typings": "dist/nbind.d.ts", "bin": { "copyasm": "bin/copyasm.js", "emcc-path": "bin/emcc-path.js", "ndts": "bin/ndts.js" }, "scripts": { "autogypi": "autogypi", "node-gyp": "node-gyp", "emcc-path": "node bin/emcc-path.js", "copyasm": "copyasm", "tsc": "tsc", "tslint": "tslint", "cbuild": "cbuild", "dump-lib": "dump-em-lib dist/em-api.js", "lint": "node src/checkver.js lt 10.0.0 || (tslint --type-check -c src/tslint.json -p src/tsconfig.json && tslint --type-check -c src/tslint.json -p src/em/tsconfig.json)", "prepublish": "npm run lint && tsc -p src/em && tsc -p src && (node src/checkver.js lt 0.12.0 || cbuild -x -v -s dist/bundle/em/em-api.js -o dist/em-api.js)", "clean-asm": "cd test/em && node-gyp clean", "config-test": "autogypi -c test/autogypi.json", "test-asm": "npm run config-test && cd test/em && node-gyp configure build --asmjs=1 && node ../../bin/ndts --no-shim . > ../testlib.d.ts && tsc -p .. && tap ../test.js", "test": "npm run config-test && cd test/v8 && node-gyp configure build && node ../../bin/ndts --no-shim . > ../testlib.d.ts && tsc -p .. && tap ../test.js --gc && tap ../test-v8.js" }, "author": "Juha Järvi", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/charto/nbind.git" }, "bugs": { "url": "https://github.com/charto/nbind/issues" }, "homepage": "https://github.com/charto/nbind#readme", "keywords": [ "asm.js", "bindings", "build", "c++", "electron", "emscripten", "nan", "native", "node-gyp" ], "os": [ "android", "darwin", "linux", "win32" ], "dependencies": { "emscripten-library-decorator": "~0.2.2", "mkdirp": "~0.5.1", "nan": "^2.9.2" }, "devDependencies": { "@types/node": "^8.0.51", "autogypi": "~0.2.2", "cbuild": "~0.1.8", "node-gyp": "^3.6.2", "tap": "^10.7.3", "tslint": "^5.9.1", "typescript": "^3.4.3" }, "publishConfig": { "access": "public" } }