mirror of
https://github.com/misskey-dev/summaly.git
synced 2025-05-11 00:27:35 +09:00
Merge pull request #66 from armchair-philosophy/remove-gulp
[package] remove gulp
This commit is contained in:
commit
d9f4bf2c63
19
gulpfile.js
19
gulpfile.js
@ -1,19 +0,0 @@
|
||||
'use strict';
|
||||
|
||||
const gulp = require('gulp');
|
||||
const ts = require('gulp-typescript');
|
||||
const es = require('event-stream');
|
||||
|
||||
const project = ts.createProject('tsconfig.json');
|
||||
|
||||
gulp.task('build', () => {
|
||||
const tsResult = project
|
||||
.src()
|
||||
.pipe(project());
|
||||
|
||||
return es.merge(
|
||||
tsResult.js
|
||||
.pipe(gulp.dest('./built/')),
|
||||
tsResult.dts.pipe(gulp.dest('./built/'))
|
||||
);
|
||||
});
|
@ -9,22 +9,16 @@
|
||||
"main": "./built/index.js",
|
||||
"types": "./built/index.d.ts",
|
||||
"scripts": {
|
||||
"build": "gulp build",
|
||||
"build": "tsc",
|
||||
"test": "mocha --harmony"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/debug": "0.0.29",
|
||||
"@types/express": "4.0.35",
|
||||
"@types/mocha": "2.2.40",
|
||||
"@types/event-stream": "3.3.31",
|
||||
"@types/gulp": "4.0.2",
|
||||
"@types/gulp-typescript": "0.0.33",
|
||||
"@types/node": "7.0.14",
|
||||
"@types/request": "0.0.42",
|
||||
"event-stream": "3.3.4",
|
||||
"express": "4.14.1",
|
||||
"gulp": "3.9.1",
|
||||
"gulp-typescript": "3.1.6",
|
||||
"mocha": "3.3.0",
|
||||
"typescript": "2.2.2"
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user