Permalink
Browse files

added: Travis CI support

  • Loading branch information...
1 parent 637cc40 commit 8ffe76905fa53c3487e5ee00fb80607f1d708fe2 @janpaepke committed Sep 4, 2014
Showing with 89 additions and 33 deletions.
  1. 0 {dev → }/.gitignore
  2. +5 −0 .travis.yml
  3. +7 −3 ScrollMagic.jquery.json
  4. +26 −6 bower.json
  5. +3 −3 dev/build.js
  6. +0 −21 dev/package.json
  7. +48 −0 package.json
File renamed without changes.
View
@@ -0,0 +1,5 @@
+language: node_js
+node_js:
+ - "0.10"
+before_script:
+ - "node dev/build"
@@ -1,7 +1,8 @@
{
"name": "ScrollMagic",
- "version": "1.1.0-alpha",
"title": "ScrollMagic",
+ "version": "1.1.0-alpha",
+ "description": "The jQuery plugin for magical scroll interactions.",
"author": {
"name": "Jan Paepke",
"url": "http://www.janpaepke.de"
@@ -12,24 +13,27 @@
"url": "https://github.com/janpaepke/ScrollMagic/blob/master/LICENSE.md"
},
{
- "type": "GPL",
+ "type": "GPL-3.0+",
"url": "http://www.gnu.org/licenses/gpl-3.0.html"
}
],
"dependencies": {
"jquery": ">=1.7",
"greensock": ">=1.8"
},
- "description": "The jQuery plugin for magical scroll interactions.",
"keywords": [
"scroll",
"scrolling",
"animation",
"sticky",
"pin",
+ "fixed",
"scrollbar",
"position",
"progress"
+ "parallax",
+ "events",
+ "classes"
],
"homepage": "http://janpaepke.github.io/ScrollMagic/",
"docs": "http://janpaepke.github.io/ScrollMagic/docs",
View
@@ -1,17 +1,37 @@
{
"name": "ScrollMagic",
- "description": "The jQuery plugin for magical scroll interactions.",
"version": "1.1.0-alpha",
+ "description": "The jQuery plugin for magical scroll interactions.",
"homepage": "http://janpaepke.github.io/ScrollMagic/",
- "author": {
- "name": "Jan Paepke",
- "url": "http://www.janpaepke.de"
- },
+ "authors": [
+ {
+ "name": "Jan Paepke",
+ "homepage": "http://www.janpaepke.de"
+ }
+ ],
"main": [
"js/jquery.scrollmagic.js"
],
+ "keywords": [
+ "scroll",
+ "scrolling",
+ "animation",
+ "sticky",
+ "pin",
+ "fixed",
+ "scrollbar",
+ "position",
+ "progress"
+ "parallax",
+ "events",
+ "classes"
+ ],
"dependencies": {
"jquery": "~1.11.0",
"gsap": "~> 1.11.5"
- }
+ },
+ "license" : [
+ "MIT",
+ "GPL-3.0+"
+ ]
}
View
@@ -23,7 +23,7 @@
"use strict";
// vars
-var pkg = require('./package.json');
+var pkg = require('../package.json');
// internals
var fs = require('fs');
@@ -286,7 +286,7 @@ for (var release in OUTPUT) {
// update version numbers?
if (options.version !== pkg.version) {
// where?
- var jsonFiles = ["package.json", "../bower.json", "../ScrollMagic.jquery.json"];
+ var jsonFiles = ["../package.json", "../bower.json", "../ScrollMagic.jquery.json"];
var readmeFile = "../README.md";
// go!
log.info("Updating version numbers to", options.version);
@@ -314,7 +314,7 @@ if (options.version !== pkg.version) {
if (options.updateDocs) {
log.info("Generating new docs");
var
- bin = '"' + abspath('node_modules/.bin/jsdoc') + '"',
+ bin = '"' + abspath('../node_modules/.bin/jsdoc') + '"',
docIn = '"' + abspath('../README.md') + '"',
docOut = '-d "' + options.folderDocsOut + '"',
conf = '-c "' + abspath('docs/jsdoc.conf.json') + '"',
View
@@ -1,21 +0,0 @@
-{
- "name": "scrollmagic-dev",
- "version": "1.1.0-alpha",
- "private": true,
- "devDependencies": {
- "chalk": "^0.5.1",
- "detect-indent": "^0.2.0",
- "jsdoc": "^3.3.0",
- "jshint": "~2.5.1",
- "karma": "^0.12.21",
- "karma-chrome-launcher": "^0.1.4",
- "karma-jasmine": "^0.2.2",
- "karma-requirejs": "^0.2.2",
- "semver": "^3.0.1",
- "uglify-js": "~2.4.13"
- },
- "scripts": {
- "pretest": "npm install",
- "test": "./node_modules/karma/bin/karma start tests/karma.conf.js"
- }
-}
View
@@ -0,0 +1,48 @@
+{
+ "name": "ScrollMagic",
+ "title": "ScrollMagic",
+ "version": "1.1.0-alpha",
+ "description": "The jQuery plugin for magical scroll interactions.",
+ "author": {
+ "name": "Jan Paepke",
+ "url": "http://www.janpaepke.de"
+ },
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/janpaepke/ScrollMagic.git"
+ },
+ "licenses": [
+ {
+ "type": "MIT",
+ "url": "https://github.com/janpaepke/ScrollMagic/blob/master/LICENSE.md"
+ },
+ {
+ "type": "GPL-3.0+",
+ "url": "http://www.gnu.org/licenses/gpl-3.0.html"
+ }
+ ],
+ "main": "js/jquery.scrollmagic.js",
+ "engines": {
+ "node": "0.10.x"
+ },
+ "devDependencies": {
+ "chalk": "^0.5.1",
+ "detect-indent": "^0.2.0",
+ "jsdoc": "^3.3.0",
+ "jshint": "~2.5.1",
+ "karma": "^0.12.21",
+ "karma-chrome-launcher": "^0.1.4",
+ "karma-jasmine": "^0.2.2",
+ "karma-requirejs": "^0.2.2",
+ "semver": "^3.0.1",
+ "uglify-js": "~2.4.13"
+ },
+ "directories": {
+ "doc":"./doc",
+ "example":"./examples"
+ },
+ "scripts": {
+ "pretest": "npm install",
+ "test": "./node_modules/karma/bin/karma start ./dev/tests/karma.conf.js"
+ }
+}

0 comments on commit 8ffe769

Please sign in to comment.