Moving out javascript driver (#3040)

This commit is contained in:
Christopher Speller
2016-05-18 10:42:25 -04:00
committed by Joram Wilander
parent 02f8691fa4
commit 880ef25ab1
5 changed files with 13 additions and 1500 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -1,5 +1,5 @@
{
"name": "mattermost",
"name": "mattermost-webapp",
"version": "0.0.1",
"private": true,
"dependencies": {
@@ -17,6 +17,7 @@
"jquery": "2.2.3",
"keymirror": "0.1.1",
"marked": "mattermost/marked#cb85e5cc81bc7937dbb73c3c53d9532b1b97e3ca",
"mattermost": "mattermost/mattermost-javascript#master",
"match-at": "0.1.0",
"object-assign": "4.1.0",
"perfect-scrollbar": "0.6.11",

View File

@@ -1,7 +1,7 @@
// Copyright (c) 2016 Mattermost, Inc. All Rights Reserved.
// See License.txt for license information.
import Client from '../client/client.jsx';
import Client from '../node_modules/mattermost/client.jsx';
import jqd from 'jquery-deferred';
class TestHelperClass {

View File

@@ -1,7 +1,7 @@
// Copyright (c) 2016 Mattermost, Inc. All Rights Reserved.
// See License.txt for license information.
import Client from '../client/client.jsx';
import Client from 'mattermost/client.jsx';
import TeamStore from '../stores/team_store.jsx';
import BrowserStore from '../stores/browser_store.jsx';
import * as GlobalActions from 'action_creators/global_actions.jsx';

View File

@@ -42,6 +42,15 @@ var config = {
cacheDirectory: DEV
}
},
{
test: /node_modules\/mattermost\/client\.jsx?$/,
loader: 'babel',
query: {
presets: ['react', 'es2015-webpack', 'stage-0'],
plugins: ['transform-runtime'],
cacheDirectory: DEV
}
},
{
test: /\.json$/,
loader: 'json'