UNPKG

447 BJavaScriptView Raw
1#!/usr/bin/env node
2"use strict";
3
4const resolutions = require(`${process.cwd()}/package.json`).resolutions;
5
6if (!resolutions || resolutions["babel-core"] !== "^7.0.0-bridge.0") {
7 console.warn(`
8[gd-scripts]: babel-core should be set to bridge mode to avoid errors. To do that, add the following code to your package.json:
9
10"resolutions": {
11 "babel-core": "^7.0.0-bridge.0"
12},
13
14`);
15}
16
17require("./run-script");
18//# sourceMappingURL=index.js.map
\No newline at end of file