mirror of
https://github.com/xdan/datetimepicker.git
synced 2024-11-18 06:24:22 +00:00
remove bower as dependence and add install-build help
This commit is contained in:
parent
e8d06199ce
commit
9996f9cb0b
20
README.md
20
README.md
@ -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
|
@ -30,7 +30,6 @@
|
||||
},
|
||||
"homepage": "https://github.com/xdan/datetimepicker",
|
||||
"devDependencies": {
|
||||
"bower": "^1.5.2",
|
||||
"concat-cli": "^1.0.1",
|
||||
"uglifyjs": "^2.4.10"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user