Introduce React/TypeScript/TSLint into app for new UI components

npm run transpile
  Works on files under js/react/
  Outputs files right next to the .tsx file

This is part of our `grunt dev` task, as well as the default grunt task,
which does everything else necessary to get a raw git checkout ready to
run.
This commit is contained in:
Scott Nonnenberg 2018-03-26 11:44:45 -07:00
commit 893fb1cb9e
No known key found for this signature in database
GPG key ID: 5F82280C35134661
10 changed files with 739 additions and 27 deletions

View file

@ -108,6 +108,9 @@ window.nodeBuffer = Buffer;
window.nodeFetch = require('node-fetch');
window.nodeNotifier = require('node-notifier');
window.ProxyAgent = require('proxy-agent');
window.React = require('react');
window.ReactDOM = require('react-dom');
window.moment = require('moment');
const { setup } = require('./js/i18n');
@ -147,6 +150,8 @@ window.Signal.Database = require('./js/modules/database');
window.Signal.Debug = require('./js/modules/debug');
window.Signal.Logs = require('./js/modules/logs');
window.Signal.React = {};
window.Signal.Migrations = {};
window.Signal.Migrations.deleteAttachmentData =
Attachment.deleteData(deleteAttachmentData);