Skip to content

Commit

Permalink
Merge pull request #4 from techlab/v3-beta
Browse files Browse the repository at this point in the history
v3 Release
  • Loading branch information
techlab committed Apr 17, 2017
2 parents b338e7b + bc0f4e8 commit aac0f64
Show file tree
Hide file tree
Showing 39 changed files with 2,885 additions and 1,600 deletions.
21 changes: 21 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
/mpp-sc.txt
/bower_components
/node_modules/
/vendor/
coverage
.DS_Store

# IDE Files
#-------------------------
/nbproject/
/nbproject/private/
.idea/*
.vscode/*
.tmp
## Sublime Text cache files
*.tmlanguage.cache
*.tmPreferences.cache
*.stTheme.cache
*.sublime-workspace
*.sublime-project
/examples/test-page.html
52 changes: 52 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# Automatically ignored per:
# https://www.npmjs.org/doc/developers.html#Keeping-files-out-of-your-package
#
# .*.swp
# ._*
# .DS_Store
# .git
# .hg
# .lock-wscript
# .svn
# .wafpickle-*
# CVS
# npm-debug.log
# node_modules

*.seed
*.log
*.csv
*.dat
*.out
*.pid
*.gz
*.orig
*.jql.js

work
build
src
test
spec
pids
logs
results
coverage
lib-cov
html-report
xunit.xml

.project
.idea
.settings
.iml
*.sublime-workspace
*.sublime-project

ehthumbs.db
Icon?
Thumbs.db
.AppleDouble
.LSOverride
.Spotlight-V100
.Trashes
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
language: node_js
node_js:
- "node"
36 changes: 36 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Contributing

## What can I contribute?
- Fix a bug you found or already reported on the [GitHub Issues Tracker](https://github.com/techlab/SmartCart/issues/).
- Add new features to the project.
- Add new test cases.
- Add documentation
- Add a demo page
- [Donate](https://www.paypal.me/dipuraj) money for the project on [Paypal](https://www.paypal.me/dipuraj)

## How to contribute code
Here are the basic steps to get started contributing:

1. Fork the [repo](https://github.com/techlab/SmartCart/) and get development running on your computer.
2. Replicate the issue you're trying to fix or spec out the feature you're trying to add.
3. Change the code to fix the bug or add the feature. All changes should happen in the relevant `src/js/*.js` and `src/css/*.css` files.
4. Build the code by running `npm run build` or `gulp build`
5. Run the test cases by running `npm test` or `gulp test`, you can also add more test cases based on your new change.
6. Verify that your fix or feature works.
7. Commit your changes with an informative description
8. Open a pull request to the [repo](https://github.com/techlab/SmartCart/) with your new commit and a descriptive message about what the PR does.

## Reporting bugs
### Make sure it is a bug related to this project
Before reporting the bug, please make sure that the bug is in the project and not from your own code or any other library used.

### Try the latest version
Bugs in the older versions of the project may have already been fixed.
In order to avoid reporting known issues, make sure you are always testing against the latest release.
Also make sure the problem hasn't already been reported on the [GitHub Issues Tracker](https://github.com/techlab/SmartCart/issues/).
If not, create a new issue there and include your test case.

### Notes for pull request
- Follow the same code style as the library.
- Run the test suites in the `test` directory first by running `npm test` or `gulp test`.
- Don't modify any files in the `dist` directory.
22 changes: 22 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
MIT License

Copyright (c) 2017 Dipu Raj
http://www.techlaboratory.net

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
97 changes: 0 additions & 97 deletions SmartCart2-Events.htm

This file was deleted.

49 changes: 0 additions & 49 deletions SmartCart2-MultipleCart.htm

This file was deleted.

39 changes: 39 additions & 0 deletions bower.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"name": "jquery-smartcart",
"version": "v3.0.1",
"homepage": "http://techlaboratory.net/smartcart",
"authors": [
"Dipu Raj <hello@techlaboratory.net>"
],
"description": "The smart interactive jQuery Shopping Cart plugin with PayPal payment support",
"main": [
"./dist/css/smart_cart.css",
"./dist/js/jquery.smartCart.js"
],
"keywords": [
"jquery",
"cart",
"paypal",
"shopping",
"bootstrap",
"ui",
"jquery-plugin"
],
"dependencies": {
"jquery": ">= 1.9.0",
"bootstrap": ">= 3.0.0"
},
"license": "MIT",
"ignore": [
"**/.*",
"node_modules",
"composer.json",
"examples",
"bower_components",
".git*",
".travis*",
"*bower.json",
"*jquery.json",
"test"
]
}
31 changes: 31 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"name": "techlab/jquery-smartcart",
"description": "The smart interactive jQuery Shopping Cart plugin with PayPal payment support",
"homepage": "http://techlaboratory.net/smartcart",
"license": "MIT",
"support": {
"source": "https://github.com/techlab/SmartCart",
"issues": "https://github.com/techlab/SmartCart/issues",
"docs": "http://techlaboratory.net/smartcart/documentation"
},
"keywords": [
"jquery",
"cart",
"paypal",
"shopping",
"bootstrap",
"ui",
"jquery-plugin"
],
"authors": [
{
"name": "Dipu Raj",
"email": "hello@techlaboratory.net",
"homepage": "http://dipuraj.me"
}
],
"require": {
"components/jquery": ">=1.9",
"components/bootstrap": ">=3.0.0"
}
}

0 comments on commit aac0f64

Please sign in to comment.