Permalink
Browse files

disabled npm publishing routine

Since it doesn't really work as planned the npm publishing routine is
disabled for now.
  • Loading branch information...
1 parent 1678c39 commit b8c1f889079ba215aa3786e5b0ed94fd762c11be @janpaepke committed Apr 2, 2015
Showing with 12 additions and 11 deletions.
  1. +2 −3 .travis.yml
  2. +8 −2 gulpfile.js
  3. +2 −6 package.json
View
@@ -1,6 +1,6 @@
language: node_js
node_js:
-- "stable"
+- stable
script: node ./node_modules/gulp/bin/gulp travis-ci
before_script:
- export CHROME_BIN=chromium-browser
@@ -12,7 +12,6 @@ deploy:
provider: npm
email: e-mail@janpaepke.de
api_key:
- secure: GJhwr9MBlgp8CDMtmMoTZ1elxbL5RZVp+PZGBGPusFI8GnvzDlrJ0GjoddTzN1eY+bTNG/s+xPuhqKkFQrDa2oapLVKIDsaPJ9Epp6615m1NlOppM7lurD67wqMwoPKbHHHjkWssymTcgSKlIWKGhR1rkSlawXw/3Hx++QVyQoU=
- skip_cleanup: true
+ secure: g3eo7PEKf+EhYX7TnWwWgPTAEHr8YMfzAcqzYfYzU+PdzNfeu70wxv30JlqrLsQP9YmdICqqh49VLREzBNTOdBKPcb9TvtJl6DJ0OkeiqIaKi5MmEIM6VXe2kicmmaBjH/cJ2J1xeFknS6qUfygdfaNBH75ArcMxm2L9ycKsmlA=
on:
tags: true
View
@@ -305,17 +305,22 @@ gulp.task('test', ['build:uncompressed', 'build:minified'], function () {
});
});
+// Currently not used.
+/*
gulp.task("npm:prepublish", [], function () {
// update package.json
gulp.src("./package.json")
.pipe(jeditor({main: "ScrollMagic.js"}, {keep_array_indentation: true}))
.pipe(gulp.dest("./"));
// copy dist files to root.
- return gulp.src(options.folderOut + "/" + options.subfolder.uncompressed + "/**/*.js")
- .pipe(gulp.src(options.folderOut + "/" + options.subfolder.minified + "/**/*.js"))
+ return gulp.src(options.folderOut + "/" + options.subfolder.uncompressed + "/** /*.js")
+ .pipe(gulp.src(options.folderOut + "/" + options.subfolder.minified + "/** /*.js"))
.pipe(gulp.dest("./"));
});
+*/
+// Currently not used.
+/*
gulp.task("npm:postpublish", [], function (callback) {
// update package.json
gulp.src("./package.json")
@@ -324,6 +329,7 @@ gulp.task("npm:postpublish", [], function (callback) {
// remove root dist files and plugin folder
del(["./ScrollMagic*.js", "./plugins"], callback);
});
+*/
gulp.task('travis-ci', ['build:uncompressed', 'build:minified', 'test']);
View
@@ -60,9 +60,7 @@
},
"scripts": {
"test": "./node_modules/karma/bin/karma start ./dev/tests/karma.conf.js",
- "start": "node ./node_modules/gulp/bin/gulp open-demo",
- "prepublish": "node ./node_modules/gulp/bin/gulp npm:prepublish",
- "postpublish": "node ./node_modules/gulp/bin/gulp npm:postpublish"
+ "start": "node ./node_modules/gulp/bin/gulp open-demo"
},
"homepage": "http://janpaepke.github.io/ScrollMagic/",
"keywords": [
@@ -83,9 +81,7 @@
],
"bugs": "https://github.com/janpaepke/ScrollMagic/issues",
"files": [
- "plugins",
- "ScrollMagic.js",
- "ScrollMagic.min.js",
+ "scrollmagic",
"LICENSE.md",
"README.md"
]

0 comments on commit b8c1f88

Please sign in to comment.