grafana/scripts/webpack/dependencies.js
Zoltán Bedi c16890c22d
Chore: use fork-ts-checker plugin for eslint check (#25631)
* Use fork-ts-checker for eslint check

* Fix lint issue

* Add packages to lint

* Add comments to webpack configs
2020-06-22 16:15:29 +02:00

15 lines
369 B
JavaScript

'use strict';
const pkg = require('../../package.json');
const pull = require('lodash/pull');
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;