UNPKG

bs-platform

Version:

bucklescript compiler, ocaml standard libary by bucklescript and its required runtime support

90 lines (89 loc) 3.01 kB
{ "name": "bs-platform", "version": "7.2.0", "dependencies": { "ocaml": "4.6.1000+BS" }, "devDependencies": { "ocaml": "4.6.1000+BS" }, "resolutions": { "ocaml": "bucklescript/ocaml:package.json#bf88fbf88d4e305bab82259def35a4492e475400" }, "scripts": { "clean": "node ./scripts/ninja.js clean" }, "esy": { "buildsInSource": true, "build": [ ["node", "./scripts/install.js"], ["cp", "-r", "-f", "#{self.root / 'bsconfig.json'}", "#{self.install}"], ["cp", "-r", "-f", "#{self.root / 'esy.json'}", "#{self.install}"], ["cp", "-r", "-f", "#{self.root / 'package.json'}", "#{self.install}"], ["cp", "-r", "-f", "#{self.root / 'jscomp'}", "#{self.install}"], ["cp", "-r", "-f", "#{self.root / 'jscomp' / 'bin'}", "#{self.install}"], ["cp", "-r", "-f", "#{self.root / 'lib'}", "#{self.install}"], ["cp", "-r", "-f", "#{self.root / 'scripts'}", "#{self.install}"], ["cp", "-r", "-f", "#{self.root / 'vendor'}", "#{self.install}"], ["cp", "-r", "-f", "#{self.root / 'darwin'}", "#{self.bin}"], ["cp", "-r", "-f", "#{self.root / 'freebsd'}", "#{self.bin}"], ["cp", "-r", "-f", "#{self.root / 'linux'}", "#{self.bin}"], ["cp", "-r", "-f", "#{self.root / 'win32'}", "#{self.bin}"], ["cp", "-f", "#{self.root / 'bsb'}", "#{self.bin}"], ["cp", "-f", "#{self.root / 'bsc'}", "#{self.bin}"], ["cp", "-f", "#{self.root / 'bsrefmt'}", "#{self.bin}"], ["cp", "-f", "#{self.root / 'lib/bstracing'}", "#{self.bin}"] ], "buildDev": [ ["echo", "config"], ["node", "./scripts/ninja.js", "config"], ["echo", "build"], ["node", "./scripts/ninja.js", "build"] ], "buildEnv": { "ESY": "true" }, "exportedEnv": { "CAML_LD_LIBRARY_PATH": { "val": "#{self.lib / 'ocaml' / 'stublibs' : self.lib / 'ocaml' : $CAML_LD_LIBRARY_PATH}", "scope": "global" }, "OCAML_TOPLEVEL_PATH": { "val": "#{self.lib / 'ocaml' }", "scope": "global" }, "bs_custom_resolution": { "val": "true", "scope": "global" }, "bs_platform__install": { "val": "#{self.install}", "scope": "global" }, "PATH": { "val": "#{self.lib : $PATH}", "scope": "global" } } }, "description": "bucklescript compiler for use in esy, ocaml standard libary by bucklescript and its required runtime support", "repository": { "type": "git", "url": "git+https://github.com/bucklescript/bucklescript.git" }, "keywords": ["ocaml", "bucklescript", "stdlib", "functional programming"], "author": { "name": "Hongbo Zhang" }, "maintainers": [ { "name": "hongbo_zhang", "email": "bobzhang1988@gmail.com" } ], "license": "SEE LICENSE IN LICENSE", "bugs": { "url": "https://github.com/bucklescript/bucklescript/issues" }, "homepage": "https://github.com/bucklescript/bucklescript#readme" }