mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-23 08:13:08 +02:00
Clean up ✨
This commit is contained in:
parent
b99dc759e6
commit
f210260826
5 changed files with 2 additions and 16 deletions
|
@ -6,7 +6,6 @@ import * as fs from 'fs';
|
|||
import * as Path from 'path';
|
||||
import * as gulp from 'gulp';
|
||||
import * as gutil from 'gulp-util';
|
||||
import * as babel from 'gulp-babel';
|
||||
import * as ts from 'gulp-typescript';
|
||||
import tslint from 'gulp-tslint';
|
||||
import * as glob from 'glob';
|
||||
|
@ -43,9 +42,6 @@ gulp.task('rebuild', ['clean', 'build']);
|
|||
|
||||
gulp.task('build:js', () =>
|
||||
gulp.src(['./src/**/*.js', '!./src/web/**/*.js'])
|
||||
.pipe(babel({
|
||||
presets: ['es2015', 'stage-3']
|
||||
}))
|
||||
.pipe(gulp.dest('./built/'))
|
||||
);
|
||||
|
||||
|
|
|
@ -37,7 +37,6 @@
|
|||
"@types/glob": "5.0.30",
|
||||
"@types/gm": "1.17.29",
|
||||
"@types/gulp": "3.8.32",
|
||||
"@types/gulp-babel": "6.1.29",
|
||||
"@types/gulp-mocha": "0.0.29",
|
||||
"@types/gulp-rename": "0.0.31",
|
||||
"@types/gulp-tslint": "3.6.30",
|
||||
|
@ -65,10 +64,6 @@
|
|||
"@types/webpack-stream": "3.2.6",
|
||||
"@types/websocket": "0.0.33",
|
||||
"autwh": "0.0.1",
|
||||
"babel-core": "6.23.1",
|
||||
"babel-polyfill": "6.23.0",
|
||||
"babel-preset-es2015": "6.22.0",
|
||||
"babel-preset-stage-3": "6.22.0",
|
||||
"bcryptjs": "2.4.3",
|
||||
"body-parser": "1.17.0",
|
||||
"chai": "3.5.0",
|
||||
|
@ -94,7 +89,6 @@
|
|||
"glob": "7.1.1",
|
||||
"gm": "1.23.0",
|
||||
"gulp": "3.9.1",
|
||||
"gulp-babel": "6.1.2",
|
||||
"gulp-cssnano": "2.1.2",
|
||||
"gulp-imagemin": "3.1.1",
|
||||
"gulp-mocha": "4.0.1",
|
||||
|
|
|
@ -26,10 +26,6 @@ import loadConfig from './config';
|
|||
|
||||
const clusterLog = debug('misskey:cluster');
|
||||
|
||||
// Init babel
|
||||
require('babel-core/register');
|
||||
require('babel-polyfill');
|
||||
|
||||
enum InitResult {
|
||||
Success,
|
||||
Warn,
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
"noFallthroughCasesInSwitch": true,
|
||||
"declaration": false,
|
||||
"sourceMap": false,
|
||||
"target": "es6",
|
||||
"target": "es2017",
|
||||
"module": "commonjs",
|
||||
"removeComments": false,
|
||||
"noLib": false
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
"noFallthroughCasesInSwitch": true,
|
||||
"declaration": false,
|
||||
"sourceMap": false,
|
||||
"target": "es6",
|
||||
"target": "es2017",
|
||||
"module": "commonjs",
|
||||
"removeComments": false,
|
||||
"noLib": false
|
||||
|
|
Loading…
Reference in a new issue