mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-22 08:53:48 +01:00
Clean up ✨
This commit is contained in:
parent
d27bf100ef
commit
a2b1948d6b
@ -6,7 +6,6 @@ import * as fs from 'fs';
|
|||||||
import * as Path from 'path';
|
import * as Path from 'path';
|
||||||
import * as gulp from 'gulp';
|
import * as gulp from 'gulp';
|
||||||
import * as gutil from 'gulp-util';
|
import * as gutil from 'gulp-util';
|
||||||
import * as babel from 'gulp-babel';
|
|
||||||
import * as ts from 'gulp-typescript';
|
import * as ts from 'gulp-typescript';
|
||||||
import tslint from 'gulp-tslint';
|
import tslint from 'gulp-tslint';
|
||||||
import * as glob from 'glob';
|
import * as glob from 'glob';
|
||||||
@ -43,9 +42,6 @@ gulp.task('rebuild', ['clean', 'build']);
|
|||||||
|
|
||||||
gulp.task('build:js', () =>
|
gulp.task('build:js', () =>
|
||||||
gulp.src(['./src/**/*.js', '!./src/web/**/*.js'])
|
gulp.src(['./src/**/*.js', '!./src/web/**/*.js'])
|
||||||
.pipe(babel({
|
|
||||||
presets: ['es2015', 'stage-3']
|
|
||||||
}))
|
|
||||||
.pipe(gulp.dest('./built/'))
|
.pipe(gulp.dest('./built/'))
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -37,7 +37,6 @@
|
|||||||
"@types/glob": "5.0.30",
|
"@types/glob": "5.0.30",
|
||||||
"@types/gm": "1.17.29",
|
"@types/gm": "1.17.29",
|
||||||
"@types/gulp": "3.8.32",
|
"@types/gulp": "3.8.32",
|
||||||
"@types/gulp-babel": "6.1.29",
|
|
||||||
"@types/gulp-mocha": "0.0.29",
|
"@types/gulp-mocha": "0.0.29",
|
||||||
"@types/gulp-rename": "0.0.31",
|
"@types/gulp-rename": "0.0.31",
|
||||||
"@types/gulp-tslint": "3.6.30",
|
"@types/gulp-tslint": "3.6.30",
|
||||||
@ -65,10 +64,6 @@
|
|||||||
"@types/webpack-stream": "3.2.6",
|
"@types/webpack-stream": "3.2.6",
|
||||||
"@types/websocket": "0.0.33",
|
"@types/websocket": "0.0.33",
|
||||||
"autwh": "0.0.1",
|
"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",
|
"bcryptjs": "2.4.3",
|
||||||
"body-parser": "1.17.0",
|
"body-parser": "1.17.0",
|
||||||
"chai": "3.5.0",
|
"chai": "3.5.0",
|
||||||
@ -94,7 +89,6 @@
|
|||||||
"glob": "7.1.1",
|
"glob": "7.1.1",
|
||||||
"gm": "1.23.0",
|
"gm": "1.23.0",
|
||||||
"gulp": "3.9.1",
|
"gulp": "3.9.1",
|
||||||
"gulp-babel": "6.1.2",
|
|
||||||
"gulp-cssnano": "2.1.2",
|
"gulp-cssnano": "2.1.2",
|
||||||
"gulp-imagemin": "3.1.1",
|
"gulp-imagemin": "3.1.1",
|
||||||
"gulp-mocha": "4.0.1",
|
"gulp-mocha": "4.0.1",
|
||||||
|
@ -26,10 +26,6 @@ import loadConfig from './config';
|
|||||||
|
|
||||||
const clusterLog = debug('misskey:cluster');
|
const clusterLog = debug('misskey:cluster');
|
||||||
|
|
||||||
// Init babel
|
|
||||||
require('babel-core/register');
|
|
||||||
require('babel-polyfill');
|
|
||||||
|
|
||||||
enum InitResult {
|
enum InitResult {
|
||||||
Success,
|
Success,
|
||||||
Warn,
|
Warn,
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
"noFallthroughCasesInSwitch": true,
|
"noFallthroughCasesInSwitch": true,
|
||||||
"declaration": false,
|
"declaration": false,
|
||||||
"sourceMap": false,
|
"sourceMap": false,
|
||||||
"target": "es6",
|
"target": "es2017",
|
||||||
"module": "commonjs",
|
"module": "commonjs",
|
||||||
"removeComments": false,
|
"removeComments": false,
|
||||||
"noLib": false
|
"noLib": false
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
"noFallthroughCasesInSwitch": true,
|
"noFallthroughCasesInSwitch": true,
|
||||||
"declaration": false,
|
"declaration": false,
|
||||||
"sourceMap": false,
|
"sourceMap": false,
|
||||||
"target": "es6",
|
"target": "es2017",
|
||||||
"module": "commonjs",
|
"module": "commonjs",
|
||||||
"removeComments": false,
|
"removeComments": false,
|
||||||
"noLib": false
|
"noLib": false
|
||||||
|
Loading…
Reference in New Issue
Block a user