mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-25 11:04:04 +03:00
f67f37a463
* update grunt-sass * add to contributors * update gulp deps * update grunt deps * add convenience run script to grunt and gulp configurations
65 lines
1.8 KiB
JSON
65 lines
1.8 KiB
JSON
{
|
|
"name": "{{cookiecutter.project_slug}}",
|
|
"version": "{{ cookiecutter.version }}",
|
|
"dependencies": {},
|
|
"devDependencies": {
|
|
{% if cookiecutter.js_task_runner == 'Grunt' %}
|
|
"autoprefixer": "~8.1.0",
|
|
{% if cookiecutter.custom_bootstrap_compilation == 'y' %}
|
|
"bootstrap": "^4.0.0",
|
|
{% endif %}
|
|
"connect-livereload": "~0.6.0",
|
|
"cssnano": "~3.10.0",
|
|
"grunt": "~1.0.2",
|
|
"grunt-bg-shell": "~2.3.1",
|
|
"grunt-contrib-watch": "~1.0.0",
|
|
"grunt-postcss": "~0.9.0",
|
|
"grunt-sass": "~2.1.0",
|
|
{% if cookiecutter.custom_bootstrap_compilation == 'y' %}
|
|
"jquery": "^3.2.1-slim",
|
|
{% endif %}
|
|
"load-grunt-tasks": "~3.2.0",
|
|
"pixrem": "~4.0.1",
|
|
{% if cookiecutter.custom_bootstrap_compilation == 'y' %}
|
|
"popper.js": "^1.12.3",
|
|
{% endif %}
|
|
"time-grunt": "~1.2.1"
|
|
{% elif cookiecutter.js_task_runner == 'Gulp' %}
|
|
{% if cookiecutter.custom_bootstrap_compilation == 'y' %}
|
|
"bootstrap": "^4.0.0",
|
|
{% endif %}
|
|
"browser-sync": "^2.14.0",
|
|
"del": "^2.2.2",
|
|
"gulp": "^3.9.1",
|
|
"gulp-autoprefixer": "^5.0.0",
|
|
{% if cookiecutter.custom_bootstrap_compilation == 'y' %}
|
|
"gulp-concat": "^2.6.1",
|
|
{% endif %}
|
|
"gulp-cssnano": "^2.1.2",
|
|
"gulp-imagemin": "^4.1.0",
|
|
"gulp-pixrem": "^1.0.0",
|
|
"gulp-plumber": "^1.1.0",
|
|
"gulp-rename": "^1.2.2",
|
|
"gulp-sass": "^3.1.0",
|
|
"gulp-uglify": "^3.0.0",
|
|
"gulp-util": "^3.0.7",
|
|
{% if cookiecutter.custom_bootstrap_compilation == 'y' %}
|
|
"jquery": "^3.2.1-slim",
|
|
"popper.js": "^1.12.3",
|
|
{% endif %}
|
|
"run-sequence": "^2.1.1"
|
|
{% endif %}
|
|
},
|
|
"engines": {
|
|
"node": ">=0.8.0"
|
|
},
|
|
"scripts": {
|
|
{% if cookiecutter.js_task_runner == 'Grunt' %}
|
|
"dev": "grunt serve"
|
|
{% elif cookiecutter.js_task_runner == 'Gulp' %}
|
|
"dev": "gulp"
|
|
{% endif %}
|
|
|
|
}
|
|
}
|