* use @xarc/xrun to streamline tasks in an imperative manner * add lint-staged/husky for git hook tasks * run prettier across all files * fixing tests * add ci test workflow * add a ci workflow * remove precommit in favor of husky * add .prettierrc.js * reformat with prettier
14 lines
346 B
JavaScript
14 lines
346 B
JavaScript
/* global browser */
|
|
|
|
/* This is a fix for Bootstrap requiring jQuery */
|
|
global.jQuery = require('jquery');
|
|
require('bootstrap');
|
|
|
|
var React = require('react');
|
|
var ReactDOM = require('react-dom');
|
|
|
|
// React components
|
|
var Options = require('./components/Options.jsx');
|
|
|
|
ReactDOM.render(<Options />, document.getElementById('wakatime-options'));
|