Skip to content

Commit 8ffe769

Browse files
committed
added: Travis CI support
1 parent 637cc40 commit 8ffe769

7 files changed

+89
-33
lines changed

dev/.gitignore .gitignore

File renamed without changes.

.travis.yml

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
language: node_js
2+
node_js:
3+
- "0.10"
4+
before_script:
5+
- "node dev/build"

ScrollMagic.jquery.json

+7-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
{
22
"name": "ScrollMagic",
3-
"version": "1.1.0-alpha",
43
"title": "ScrollMagic",
4+
"version": "1.1.0-alpha",
5+
"description": "The jQuery plugin for magical scroll interactions.",
56
"author": {
67
"name": "Jan Paepke",
78
"url": "http://www.janpaepke.de"
@@ -12,24 +13,27 @@
1213
"url": "https://github.com/janpaepke/ScrollMagic/blob/master/LICENSE.md"
1314
},
1415
{
15-
"type": "GPL",
16+
"type": "GPL-3.0+",
1617
"url": "http://www.gnu.org/licenses/gpl-3.0.html"
1718
}
1819
],
1920
"dependencies": {
2021
"jquery": ">=1.7",
2122
"greensock": ">=1.8"
2223
},
23-
"description": "The jQuery plugin for magical scroll interactions.",
2424
"keywords": [
2525
"scroll",
2626
"scrolling",
2727
"animation",
2828
"sticky",
2929
"pin",
30+
"fixed",
3031
"scrollbar",
3132
"position",
3233
"progress"
34+
"parallax",
35+
"events",
36+
"classes"
3337
],
3438
"homepage": "http://janpaepke.github.io/ScrollMagic/",
3539
"docs": "http://janpaepke.github.io/ScrollMagic/docs",

bower.json

+26-6
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,37 @@
11
{
22
"name": "ScrollMagic",
3-
"description": "The jQuery plugin for magical scroll interactions.",
43
"version": "1.1.0-alpha",
4+
"description": "The jQuery plugin for magical scroll interactions.",
55
"homepage": "http://janpaepke.github.io/ScrollMagic/",
6-
"author": {
7-
"name": "Jan Paepke",
8-
"url": "http://www.janpaepke.de"
9-
},
6+
"authors": [
7+
{
8+
"name": "Jan Paepke",
9+
"homepage": "http://www.janpaepke.de"
10+
}
11+
],
1012
"main": [
1113
"js/jquery.scrollmagic.js"
1214
],
15+
"keywords": [
16+
"scroll",
17+
"scrolling",
18+
"animation",
19+
"sticky",
20+
"pin",
21+
"fixed",
22+
"scrollbar",
23+
"position",
24+
"progress"
25+
"parallax",
26+
"events",
27+
"classes"
28+
],
1329
"dependencies": {
1430
"jquery": "~1.11.0",
1531
"gsap": "~> 1.11.5"
16-
}
32+
},
33+
"license" : [
34+
"MIT",
35+
"GPL-3.0+"
36+
]
1737
}

dev/build.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"use strict";
2424

2525
// vars
26-
var pkg = require('./package.json');
26+
var pkg = require('../package.json');
2727

2828
// internals
2929
var fs = require('fs');
@@ -286,7 +286,7 @@ for (var release in OUTPUT) {
286286
// update version numbers?
287287
if (options.version !== pkg.version) {
288288
// where?
289-
var jsonFiles = ["package.json", "../bower.json", "../ScrollMagic.jquery.json"];
289+
var jsonFiles = ["../package.json", "../bower.json", "../ScrollMagic.jquery.json"];
290290
var readmeFile = "../README.md";
291291
// go!
292292
log.info("Updating version numbers to", options.version);
@@ -314,7 +314,7 @@ if (options.version !== pkg.version) {
314314
if (options.updateDocs) {
315315
log.info("Generating new docs");
316316
var
317-
bin = '"' + abspath('node_modules/.bin/jsdoc') + '"',
317+
bin = '"' + abspath('../node_modules/.bin/jsdoc') + '"',
318318
docIn = '"' + abspath('../README.md') + '"',
319319
docOut = '-d "' + options.folderDocsOut + '"',
320320
conf = '-c "' + abspath('docs/jsdoc.conf.json') + '"',

dev/package.json

-21
This file was deleted.

package.json

+48
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
{
2+
"name": "ScrollMagic",
3+
"title": "ScrollMagic",
4+
"version": "1.1.0-alpha",
5+
"description": "The jQuery plugin for magical scroll interactions.",
6+
"author": {
7+
"name": "Jan Paepke",
8+
"url": "http://www.janpaepke.de"
9+
},
10+
"repository": {
11+
"type": "git",
12+
"url": "git://github.com/janpaepke/ScrollMagic.git"
13+
},
14+
"licenses": [
15+
{
16+
"type": "MIT",
17+
"url": "https://github.com/janpaepke/ScrollMagic/blob/master/LICENSE.md"
18+
},
19+
{
20+
"type": "GPL-3.0+",
21+
"url": "http://www.gnu.org/licenses/gpl-3.0.html"
22+
}
23+
],
24+
"main": "js/jquery.scrollmagic.js",
25+
"engines": {
26+
"node": "0.10.x"
27+
},
28+
"devDependencies": {
29+
"chalk": "^0.5.1",
30+
"detect-indent": "^0.2.0",
31+
"jsdoc": "^3.3.0",
32+
"jshint": "~2.5.1",
33+
"karma": "^0.12.21",
34+
"karma-chrome-launcher": "^0.1.4",
35+
"karma-jasmine": "^0.2.2",
36+
"karma-requirejs": "^0.2.2",
37+
"semver": "^3.0.1",
38+
"uglify-js": "~2.4.13"
39+
},
40+
"directories": {
41+
"doc":"./doc",
42+
"example":"./examples"
43+
},
44+
"scripts": {
45+
"pretest": "npm install",
46+
"test": "./node_modules/karma/bin/karma start ./dev/tests/karma.conf.js"
47+
}
48+
}

0 commit comments

Comments
 (0)