remove bower as dependence and add install-build help

This commit is contained in:
extremumratio 2015-09-26 17:16:57 +05:00
parent e8d06199ce
commit 9996f9cb0b
2 changed files with 19 additions and 2 deletions

View File

@ -9,7 +9,6 @@ $.datetimepicker.setLocale('en');
```
[Documentation][doc]
jQuery Plugin Date and Time Picker
DateTimePicker
@ -33,3 +32,22 @@ Options to highlight individual dates or periods
![ScreenShot](https://raw.github.com/Mingpao/datetimepicker/master/screen/6.png)
[doc]: http://xdsoft.net/jqplugins/datetimepicker/
### JS Build help
**Requires Node and NPM** [Download and install node.js](http://nodejs.org/download/).
Install:
1. Install `bower` globally with `npm install -g bower`.
2. Run `npm install`. npm will look at `package.json` and automatically install the necessary dependencies.
3. Run `bower install`, which installs front-end packages defined in `bower.json`.
Build:
- `npm run build`
When build completed, you'll have the following files:
- **jquery.datetimepicker.full.js** - browser file
- **jquery.datetimepicker.full.min.js** - browser minified file
- **jquery.datetimepicker.min.js** - amd module style minified file

View File

@ -30,7 +30,6 @@
},
"homepage": "https://github.com/xdan/datetimepicker",
"devDependencies": {
"bower": "^1.5.2",
"concat-cli": "^1.0.1",
"uglifyjs": "^2.4.10"
}