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:
parent
f86a6ef752
commit
893fb1cb9e
10 changed files with 739 additions and 27 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue