Skip to content

Commit 85f13c5

Browse files
authored
Merge pull request #1 from yusufshakeel/dev
v1.0.0
2 parents 72c82c9 + b35833a commit 85f13c5

18 files changed

Lines changed: 4338 additions & 0 deletions

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.idea/
2+
3+
node_modules/

.travis.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
language: node_js
2+
node_js:
3+
- "7.7.2"
4+
before_install: npm install -g grunt-cli typescript grunt-mocha mocha chai
5+
install: npm install
6+
script:
7+
- npm run build
8+
- npm run test

Gruntfile.js

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
/*!
2+
* dyCacheJS
3+
*
4+
* Author: Yusuf Shakeel
5+
* https://github.com/yusufshakeel
6+
*
7+
* GitHub Link: https://github.com/yusufshakeel/dyCacheJS
8+
*
9+
* MIT license
10+
* Copyright (c) 2018 Yusuf Shakeel
11+
*
12+
* Date: 2016-12-27 Tuesday
13+
*/
14+
15+
/*! dyCacheJS | (c) 2018 Yusuf Shakeel | https://github.com/yusufshakeel/dyCacheJS */
16+
17+
module.exports = function (grunt) {
18+
19+
// project configurations
20+
grunt.initConfig({
21+
22+
pkg: grunt.file.readJSON('package.json'),
23+
24+
uglify: {
25+
distVersion: {
26+
options: {
27+
banner: "/*! dyCacheJS v<%= pkg.version %> | https://github.com/yusufshakeel/dyCacheJS | MIT license | Copyright (c) 2018 Yusuf Shakeel | Date: 2016-12-27 Tuesday | Build: <%= grunt.template.today(\"yyyy-mm-dd HH:MM:ss\") %> */",
28+
mangle: true
29+
},
30+
files: {
31+
'dist/js/dyCache.min.js': [
32+
'src/js/dyCache.js'
33+
]
34+
}
35+
}
36+
}
37+
38+
});
39+
40+
// load plugin
41+
grunt.loadNpmTasks('grunt-contrib-uglify');
42+
43+
// create default task
44+
grunt.registerTask("default", ["uglify:distVersion"]);
45+
46+
};

README.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,29 @@
11
# dyCacheJS
22
Cache data using JavaScript in the browser.
3+
4+
5+
### Status
6+
7+
[![license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/yusufshakeel/dyCacheJS)
8+
[![npm version](https://img.shields.io/badge/npm-1.0.0-blue.svg)](https://www.npmjs.com/package/dycachejs)
9+
[![](https://data.jsdelivr.com/v1/package/npm/dycachejs/badge)](https://www.jsdelivr.com/package/npm/dycachejs)
10+
[![Build Status](https://travis-ci.org/yusufshakeel/dycachejs.svg?branch=master)](https://travis-ci.org/yusufshakeel/dycachejs)
11+
12+
13+
### Getting Started
14+
* Download the [latest release](https://github.com/yusufshakeel/dyCacheJS/releases) of the project.
15+
* Clone the repo: `git clone https://github.com/yusufshakeel/dyCacheJS.git`
16+
* Install with npm: `npm install dycachejs`
17+
* From jsDelivr CDN: `https://www.jsdelivr.com/package/npm/dycachejs`
18+
19+
20+
### Documentation
21+
Check the `index.html` file of this project.
22+
23+
### License
24+
It's free and released under [MIT License](https://github.com/yusufshakeel/dyCacheJS/blob/master/LICENSE) Copyright (c) 2018 Yusuf Shakeel
25+
26+
### Donate
27+
Feeling generous :-) Buy me a cup of tea.
28+
29+
[Donate via PayPal](https://www.paypal.me/yusufshakeel)

dist/js/dyCache.min.js

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)