mirror of
https://github.com/misskey-dev/summaly.git
synced 2025-05-09 15:47:18 +09:00
Fix type definitions problem
This commit is contained in:
parent
15256abee4
commit
e7696155ea
13
gulpfile.js
13
gulpfile.js
@ -15,14 +15,15 @@ gulp.task('build', [
|
||||
gulp.task('build:ts', () => {
|
||||
const tsResult = project
|
||||
.src()
|
||||
.pipe(ts(project))
|
||||
.pipe(babel({
|
||||
presets: ['es2015', 'stage-3']
|
||||
}));
|
||||
.pipe(project());
|
||||
|
||||
return es.merge(
|
||||
tsResult.pipe(gulp.dest('./built/'))/*,
|
||||
tsResult.dts.pipe(gulp.dest('./built/'))*/
|
||||
tsResult.js
|
||||
.pipe(babel({
|
||||
presets: ['es2015', 'stage-3']
|
||||
}))
|
||||
.pipe(gulp.dest('./built/')),
|
||||
tsResult.dts.pipe(gulp.dest('./built/'))
|
||||
);
|
||||
});
|
||||
|
||||
|
12
package.json
12
package.json
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "summaly",
|
||||
"version": "1.2.4",
|
||||
"version": "1.2.5",
|
||||
"description": "Get web page's summary",
|
||||
"author": "syuilo <i@syuilo.com>",
|
||||
"license": "MIT",
|
||||
@ -13,16 +13,16 @@
|
||||
"build": "gulp build"
|
||||
},
|
||||
"devDependencies": {
|
||||
"babel-preset-es2015": "6.13.2",
|
||||
"babel-preset-stage-3": "6.11.0",
|
||||
"babel-preset-es2015": "6.16.0",
|
||||
"babel-preset-stage-3": "6.17.0",
|
||||
"event-stream": "3.3.4",
|
||||
"gulp": "3.9.1",
|
||||
"gulp-babel": "6.1.2",
|
||||
"gulp-typescript": "2.13.6",
|
||||
"typescript": "1.8.10"
|
||||
"gulp-typescript": "3.0.2",
|
||||
"typescript": "2.0.3"
|
||||
},
|
||||
"dependencies": {
|
||||
"babel-core": "6.13.2",
|
||||
"babel-core": "6.17.0",
|
||||
"babel-polyfill": "6.13.0",
|
||||
"cheerio-httpcli": "0.6.9",
|
||||
"escape-regexp": "0.0.1",
|
||||
|
Loading…
x
Reference in New Issue
Block a user