mirror of https://github.com/grafana/grafana.git
16 lines
369 B
JavaScript
16 lines
369 B
JavaScript
'use strict';
|
|
|
|
const { pull } = require('lodash');
|
|
|
|
const pkg = require('../../package.json');
|
|
|
|
let dependencies = Object.keys(pkg.dependencies);
|
|
// remove jquery so we can add it first
|
|
// remove rxjs so we can only depend on parts of it in code
|
|
pull(dependencies, 'jquery', 'rxjs');
|
|
|
|
// add jquery first
|
|
dependencies.unshift('jquery');
|
|
|
|
module.exports = dependencies;
|