Skip to content

Commit b8c1f88

Browse files
committed
disabled npm publishing routine
Since it doesn't really work as planned the npm publishing routine is disabled for now.
1 parent 1678c39 commit b8c1f88

File tree

3 files changed

+12
-11
lines changed

3 files changed

+12
-11
lines changed

.travis.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
language: node_js
22
node_js:
3-
- "stable"
3+
- stable
44
script: node ./node_modules/gulp/bin/gulp travis-ci
55
before_script:
66
- export CHROME_BIN=chromium-browser
@@ -12,7 +12,6 @@ deploy:
1212
provider: npm
1313
1414
api_key:
15-
secure: GJhwr9MBlgp8CDMtmMoTZ1elxbL5RZVp+PZGBGPusFI8GnvzDlrJ0GjoddTzN1eY+bTNG/s+xPuhqKkFQrDa2oapLVKIDsaPJ9Epp6615m1NlOppM7lurD67wqMwoPKbHHHjkWssymTcgSKlIWKGhR1rkSlawXw/3Hx++QVyQoU=
16-
skip_cleanup: true
15+
secure: g3eo7PEKf+EhYX7TnWwWgPTAEHr8YMfzAcqzYfYzU+PdzNfeu70wxv30JlqrLsQP9YmdICqqh49VLREzBNTOdBKPcb9TvtJl6DJ0OkeiqIaKi5MmEIM6VXe2kicmmaBjH/cJ2J1xeFknS6qUfygdfaNBH75ArcMxm2L9ycKsmlA=
1716
on:
1817
tags: true

gulpfile.js

+8-2
Original file line numberDiff line numberDiff line change
@@ -305,17 +305,22 @@ gulp.task('test', ['build:uncompressed', 'build:minified'], function () {
305305
});
306306
});
307307

308+
// Currently not used.
309+
/*
308310
gulp.task("npm:prepublish", [], function () {
309311
// update package.json
310312
gulp.src("./package.json")
311313
.pipe(jeditor({main: "ScrollMagic.js"}, {keep_array_indentation: true}))
312314
.pipe(gulp.dest("./"));
313315
// copy dist files to root.
314-
return gulp.src(options.folderOut + "/" + options.subfolder.uncompressed + "/**/*.js")
315-
.pipe(gulp.src(options.folderOut + "/" + options.subfolder.minified + "/**/*.js"))
316+
return gulp.src(options.folderOut + "/" + options.subfolder.uncompressed + "/** /*.js")
317+
.pipe(gulp.src(options.folderOut + "/" + options.subfolder.minified + "/** /*.js"))
316318
.pipe(gulp.dest("./"));
317319
});
320+
*/
318321

322+
// Currently not used.
323+
/*
319324
gulp.task("npm:postpublish", [], function (callback) {
320325
// update package.json
321326
gulp.src("./package.json")
@@ -324,6 +329,7 @@ gulp.task("npm:postpublish", [], function (callback) {
324329
// remove root dist files and plugin folder
325330
del(["./ScrollMagic*.js", "./plugins"], callback);
326331
});
332+
*/
327333

328334
gulp.task('travis-ci', ['build:uncompressed', 'build:minified', 'test']);
329335

package.json

+2-6
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,7 @@
6060
},
6161
"scripts": {
6262
"test": "./node_modules/karma/bin/karma start ./dev/tests/karma.conf.js",
63-
"start": "node ./node_modules/gulp/bin/gulp open-demo",
64-
"prepublish": "node ./node_modules/gulp/bin/gulp npm:prepublish",
65-
"postpublish": "node ./node_modules/gulp/bin/gulp npm:postpublish"
63+
"start": "node ./node_modules/gulp/bin/gulp open-demo"
6664
},
6765
"homepage": "http://janpaepke.github.io/ScrollMagic/",
6866
"keywords": [
@@ -83,9 +81,7 @@
8381
],
8482
"bugs": "https://github.com/janpaepke/ScrollMagic/issues",
8583
"files": [
86-
"plugins",
87-
"ScrollMagic.js",
88-
"ScrollMagic.min.js",
84+
"scrollmagic",
8985
"LICENSE.md",
9086
"README.md"
9187
]

0 commit comments

Comments
 (0)