|
17 | 17 | "The scripts can be invoked with `npm run scriptNamed`.", |
18 | 18 | "`dependencyEnv` ensure the environment is set up correctly to include", |
19 | 19 | "build artifacts from your dependencies.", |
20 | | - |
21 | 20 | "npm run reasonBuild uses a program called `rebuild` which is included with Reason ", |
22 | 21 | "to build very simple test projects. `refmterr` processes stderr to print type errors ", |
23 | 22 | "more beautifully.", |
24 | | - |
25 | 23 | "Note: `rebuild` has nothing to do with the officially supported `npm rebuild` command." |
26 | 24 | ], |
27 | 25 | "exportedEnvVars": { |
|
32 | 30 | } |
33 | 31 | }, |
34 | 32 | "scripts": { |
35 | | - |
36 | 33 | "postinstall": "npm run reasonBuild", |
37 | 34 | "buildHelp": "eval $(dependencyEnv) && nopam && rebuild --help", |
38 | 35 | "reasonBuild": "eval $(dependencyEnv) && nopam && rebuild -use-ocamlfind -cflag -w -cflag -40 -I src ./src/Test.native 2>&1 | refmterr", |
39 | 36 | "reasonbuild": "npm run reasonBuild", |
40 | | - |
41 | 37 | "start": "eval $(dependencyEnv) && ./_build/src/Test.native", |
42 | 38 | "clean": "rm -r ./_build", |
43 | 39 | "top": "eval $(dependencyEnv) && rtop", |
44 | 40 | "env": "eval $(dependencyEnv) && env", |
45 | 41 | "editor": "eval $(dependencyEnv) && eval $EDITOR", |
46 | 42 | "whereisocamlmerlin": "eval $(dependencyEnv) && which ocamlmerlin-reason" |
47 | | - |
48 | 43 | }, |
49 | 44 | "devDependencies": { |
50 | 45 | "@opam-alpha/merlin": "^ 2.5.0" |
51 | 46 | }, |
52 | 47 | "dependencies": { |
53 | 48 | "reason": "^ 1.4.0", |
54 | 49 | "@opam-alpha/ocaml": "4.2.3", |
| 50 | + "dependency-env": "^0.1.1", |
55 | 51 | "fastrealpath": "^0.1.0", |
56 | | - "nopam": "^0.1.0", |
57 | | - "dependency-env": "^0.0.1" |
| 52 | + "nopam": "^0.1.0" |
58 | 53 | }, |
59 | | - "engines" : { |
60 | | - "npm" : ">=3.10.0" |
| 54 | + "engines": { |
| 55 | + "npm": ">=3.10.0" |
61 | 56 | } |
62 | 57 | } |
0 commit comments