|
| 1 | +{ |
| 2 | + "name": "reason-rocket", |
| 3 | + "version": "5.1.0", |
| 4 | + "dependencies": { |
| 5 | + "ocaml": "4.02.3000+BS" |
| 6 | + }, |
| 7 | + "devDependencies": { |
| 8 | + "ocaml": "4.02.3000+BS" |
| 9 | + }, |
| 10 | + "resolutions": { |
| 11 | + "ocaml": "ulrikstrid/ocaml:package.json#e433d5b3fbe8963ac98257d1ed3b32c01515e07d" |
| 12 | + }, |
| 13 | + "esy": { |
| 14 | + "buildsInSource": true, |
| 15 | + "build": [ |
| 16 | + "echo 'config'", |
| 17 | + ["node", "./scripts/ninja.js", "config", "-env"], |
| 18 | + "echo 'build'", |
| 19 | + ["node", "./scripts/ninja.js", "build", "-env"], |
| 20 | + "echo 'install'", |
| 21 | + ["cp", "-r", "-f", "#{self.root / 'bsconfig.json'}", "#{self.install}"], |
| 22 | + ["cp", "-r", "-f", "#{self.root / 'esy.json'}", "#{self.install}"], |
| 23 | + ["cp", "-r", "-f", "#{self.root / 'package.json'}", "#{self.install}"], |
| 24 | + ["cp", "-r", "-f", "#{self.root / 'jscomp'}", "#{self.install}"], |
| 25 | + ["cp", "-r", "-f", "#{self.root / 'lib'}", "#{self.install}"], |
| 26 | + ["cp", "-r", "-f", "#{self.root / 'scripts'}", "#{self.install}"], |
| 27 | + ["cp", "-r", "-f", "#{self.root / 'vendor'}", "#{self.install}"] |
| 28 | + ], |
| 29 | + "exportedEnv": { |
| 30 | + "OCAMLLIB": { |
| 31 | + "val": "#{self.lib / 'ocaml' }", |
| 32 | + "scope": "global" |
| 33 | + }, |
| 34 | + "CAML_LD_LIBRARY_PATH": { |
| 35 | + "val": "#{self.lib / 'ocaml' / 'stublibs' : self.lib / 'ocaml' : $CAML_LD_LIBRARY_PATH}", |
| 36 | + "scope": "global" |
| 37 | + }, |
| 38 | + "OCAML_TOPLEVEL_PATH": { |
| 39 | + "val": "#{self.lib / 'ocaml' }", |
| 40 | + "scope": "global" |
| 41 | + }, |
| 42 | + "bs_custom_resolution": { |
| 43 | + "val": "true", |
| 44 | + "scope": "global" |
| 45 | + }, |
| 46 | + "bs_platform__install": { |
| 47 | + "val": "#{self.install}", |
| 48 | + "scope": "global" |
| 49 | + }, |
| 50 | + "PATH": { |
| 51 | + "val": "#{reason-rocket.lib : $PATH}", |
| 52 | + "scope": "global" |
| 53 | + } |
| 54 | + } |
| 55 | + }, |
| 56 | + "description": "bucklescript compiler for use in esy, ocaml standard libary by bucklescript and its required runtime support", |
| 57 | + "repository": { |
| 58 | + "type": "git", |
| 59 | + "url": "git+https://github.com/reuniverse/reason-rocket.git" |
| 60 | + }, |
| 61 | + "keywords": ["ocaml", "bucklescript", "stdlib", "functional programming"], |
| 62 | + "author": { |
| 63 | + "name": "Hongbo Zhang" |
| 64 | + }, |
| 65 | + "maintainers": [ |
| 66 | + { |
| 67 | + "name": "reuniverse", |
| 68 | + "email": "ulrik.strid@outlook.com" |
| 69 | + } |
| 70 | + ], |
| 71 | + "license": "SEE LICENSE IN LICENSE", |
| 72 | + "bugs": { |
| 73 | + "url": "https://github.com/reuniverse/reason-rocket/issues" |
| 74 | + }, |
| 75 | + "homepage": "https://github.com/reuniverse/reason-rocket#readme" |
| 76 | +} |
0 commit comments