Skip to content

Commit 2ed51ab

Browse files
committed
first commit
1 parent c8ce577 commit 2ed51ab

10 files changed

+777
-2
lines changed

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2014 usabli.ca
3+
Copyright (c) 2014 Afshin Mehrabani ([email protected])
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy of
66
this software and associated documentation files (the "Software"), to deal in

Makefile

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
BASE = .
2+
3+
build:
4+
cd build && node build.js
5+
6+
.PHONY: build

README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
progressjs
1+
ProgressJS
22
==========
33

44
ProgressJs is a JavaScript and CSS3 library which help developers to create and manage progress bar for every objects on the page.
5+
6+

bower.json

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"name": "progress.js",
3+
"version": "0.1.0",
4+
"description": "Themeable HTML5 progress bar library",
5+
"keywords": ["progress", "progressbar", "loading"],
6+
"homepage": "http://usablica.github.io/progress.js/",
7+
"author": "Afshin Mehrabani",
8+
"main": ["src/progress.js","src/progressjs.css"]
9+
}

build/build.js

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
#!/usr/bin/env node
2+
3+
var fs = require('fs'),
4+
compressor = require('node-minify');
5+
6+
new compressor.minify({
7+
type: 'gcc',
8+
fileIn: '../src/progress.js',
9+
fileOut: '../minified/progress.min.js',
10+
callback: function (err) {
11+
if (err) {
12+
console.log(err);
13+
} else {
14+
console.log("JS minified successfully.");
15+
}
16+
}
17+
});
18+
19+
new compressor.minify({
20+
type: 'yui-css',
21+
fileIn: '../src/progressjs.css',
22+
fileOut: '../minified/progressjs.min.css',
23+
callback: function (err) {
24+
if (err) {
25+
console.log(err);
26+
} else {
27+
console.log("Main CSS minified successfully.");
28+
}
29+
}
30+
});

minified/progress.min.js

+11
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

minified/progressjs.min.css

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"name": "Progress.js",
3+
"description": "Themeable HTML5 progress bar library",
4+
"version": "0.1.0",
5+
"author": "Afshin Mehrabani <[email protected]>",
6+
"repository": {
7+
"type": "git",
8+
"url": "https://github.com/usablica/progress.js"
9+
},
10+
"devDependencies": {
11+
"node-minify": "*"
12+
},
13+
"engine": [
14+
"node >=0.1.90"
15+
],
16+
"main": "src/progress.js"
17+
}

0 commit comments

Comments
 (0)