Big refactor: ts/ directory for all typescript, including react

Split out test-specific and general utility react components too.

And moved our test/legacy* files for the Style Guide into a styleguide/
subdirectory of test/.

I think we'll be able to live in this directory structure for a while.
This commit is contained in:
Scott Nonnenberg 2018-04-05 15:30:40 -07:00
parent 50d4dbaae7
commit 23537546fe
No known key found for this signature in database
GPG key ID: 5F82280C35134661
18 changed files with 54 additions and 37 deletions

View file

@ -107,7 +107,6 @@ module.exports = function(grunt) {
'!js/logging.js',
'!js/modules/**/*.js',
'!js/Mp3LameEncoder.min.js',
'!js/react/**/*.js',
'!js/signal_protocol_store.js',
'!js/views/conversation_search_view.js',
'!js/views/debug_log_view.js',
@ -162,7 +161,6 @@ module.exports = function(grunt) {
'!js/libtextsecure.js',
'!js/modules/**/*.js',
'!js/Mp3LameEncoder.min.js',
'!js/react/**/*.js',
'!js/WebAudioRecorderMp3.js',
'test/**/*.js',
'!test/blanket_mocha.js',
@ -193,7 +191,7 @@ module.exports = function(grunt) {
tasks: ['jscs']
},
transpile: {
files: ['./js/react/**/*.js'],
files: ['./ts/**/*.js'],
tasks: ['exec:transpile']
}
},