Skip to content

Commit 34b5841

Browse files
committed
npm build system added
1 parent 46fc267 commit 34b5841

File tree

5 files changed

+38
-4
lines changed

5 files changed

+38
-4
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1+
.venv
12
.vscode
3+
node_modules
24

35
# Byte-compiled / optimized / DLL files
46
__pycache__/

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ before_script:
1818
- chmod +x ./cc-test-reporter
1919
- ./cc-test-reporter before-build
2020
script:
21-
- coverage run --source=bootstrap_datepicker_plus runtests.py
21+
- npm run travis-test
2222
- coverage xml
2323
after_script:
2424
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT

README.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -230,17 +230,17 @@ This project implements `Eonasdan/bootstrap-datetimepicker <https://github.com/E
230230
The project was initially forked from `pbucher/django-bootstrap-datepicker <https://github.com/pbucher/django-bootstrap-datepicker>`__.
231231

232232

233-
.. |date-picker-image| image:: https://raw.githubusercontent.com/monim67/django-bootstrap-datepicker-plus/master/images/date-picker.png
233+
.. |date-picker-image| image:: https://raw.githubusercontent.com/monim67/django-bootstrap-datepicker-plus/26d89a744d403a895422313a48c02885c4718251/images/date-picker.png
234234
:alt: Date-picker
235235
:width: 218px
236236
:height: 280px
237237

238-
.. |datetime-picker-image| image:: https://raw.githubusercontent.com/monim67/django-bootstrap-datepicker-plus/master/images/datetime-picker.png
238+
.. |datetime-picker-image| image:: https://raw.githubusercontent.com/monim67/django-bootstrap-datepicker-plus/26d89a744d403a895422313a48c02885c4718251/images/datetime-picker.png
239239
:alt: Datetime-picker
240240
:width: 218px
241241
:height: 280px
242242

243-
.. |time-picker-image| image:: https://raw.githubusercontent.com/monim67/django-bootstrap-datepicker-plus/master/images/time-picker.png
243+
.. |time-picker-image| image:: https://raw.githubusercontent.com/monim67/django-bootstrap-datepicker-plus/26d89a744d403a895422313a48c02885c4718251/images/time-picker.png
244244
:alt: Time-picker
245245
:width: 218px
246246
:height: 280px

package-lock.json

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

package.json

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"name": "django-bootstrap-datepicker-plus-dev-suite",
3+
"version": "1.0.0",
4+
"description": "Developement package for django-bootstrap-datepicker-plus",
5+
"main": "index.js",
6+
"directories": {
7+
"test": "tests"
8+
},
9+
"scripts": {
10+
"test": "python runtests.py",
11+
"coverage": "coverage run --source=bootstrap_datepicker_plus runtests.py && coverage report",
12+
"travis-test": "coverage run --source=bootstrap_datepicker_plus runtests.py",
13+
"build": "python setup.py sdist bdist_wheel",
14+
"upload": "twine upload dist/*",
15+
"test-upload": "twine upload --repository testpypi dist/*"
16+
},
17+
"repository": {
18+
"type": "git",
19+
"url": "git+https://github.com/monim67/django-bootstrap-datepicker-plus.git"
20+
},
21+
"author": "Munim Munna",
22+
"license": "Apache-2.0",
23+
"bugs": {
24+
"url": "https://github.com/monim67/django-bootstrap-datepicker-plus/issues"
25+
},
26+
"homepage": "https://github.com/monim67/django-bootstrap-datepicker-plus"
27+
}

0 commit comments

Comments
 (0)