8000 fix: Copy readme so it's included in npm · fuse-box/fuse-box@836ff48 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Jun 20, 2023. It is now read-only.

Commit 836ff48

Browse files
Fjandinnchanged
authored andcommitted
fix: Copy readme so it's included in npm
1 parent 58877fd commit 836ff48

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed
8000

gulpfile.js

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,10 @@ gulp.task("prepare:copy-package", function() {
9595
return result = gulp.src("./package.json")
9696
.pipe(gulp.dest(RELEASE_FOLDER))
9797
});
98+
gulp.task("prepare:copy-readme", function() {
99+
return result = gulp.src("./README.md")
100+
.pipe(gulp.dest(RELEASE_FOLDER))
101+
})
98102

99103
gulp.task("prepare:dist-loader-typings", () => {
100104
return gulp.src("src/loader/LoaderAPI.ts")
@@ -140,6 +144,7 @@ gulp.task("dist", ["prepare:clean"], function(done) {
140144
return runSequence(
141145
"dist-modules",
142146
"dist:loader",
147+
"prepare:copy-readme",
143148
"prepare:copy-package",
144149
"prepare:js",
145150
"prepare:copy-modules",
@@ -359,15 +364,15 @@ gulp.task("installDevDeps", function(done) {
359364
"buble",
360365
"consolidate",
361366
"pug",
362-
"tslint",
363-
"tslint-react",
364-
"tslint-eslint-rules",
365-
"tslint-immutable",
367+
"tslint",
368+
"tslint-react",
369+
"tslint-eslint-rules",
370+
"tslint-immutable",
366371
"tslint-clean-code"
367372
];
368373

369374
const ext = /^win/.test(os.platform()) ? ".cmd" : ""
370375
spawn("npm" + ext, ["install", "--no-save"].concat(deps), {
371376
stdio: "inherit",
372377
});
373-
});
378+
});

0 commit comments

Comments
 (0)
0