2018-03-24 18:57:05 +11:00
|
|
|
{
|
|
|
|
"name": "dpaste",
|
|
|
|
"version": "3.0.0",
|
2018-06-23 22:32:04 +10:00
|
|
|
"repository": "https://github.com/bartTC/dpaste",
|
|
|
|
"license": "MIT",
|
2018-03-24 18:57:05 +11:00
|
|
|
"scripts": {
|
2018-06-24 03:01:22 +10:00
|
|
|
"postinstall": "npm run build",
|
|
|
|
"start": "npm run build && pipenv run ./manage.py runserver",
|
|
|
|
"docs": "pipenv run sphinx-build -c docs docs docs/_build/html",
|
2019-07-13 00:14:18 +10:00
|
|
|
"build-css": "sass --no-source-map --style=compressed client/scss/dpaste.scss:dpaste/static/dpaste.css ",
|
|
|
|
"build-js": "uglifyjs --compress=\"drop_console=true,ecma=6\" --mangle=\"toplevel\" --output=dpaste/static/dpaste.js client/js/dpaste.js",
|
2018-06-23 22:32:04 +10:00
|
|
|
"build": "npm run build-css && npm run build-js",
|
2018-12-20 01:48:04 +11:00
|
|
|
"watch-css": "npm run build && sass --watch --style=compressed client/scss/dpaste.scss:build/dpaste.css",
|
2019-07-13 00:14:18 +10:00
|
|
|
"watch-docs": "pipenv run sphinx-autobuild -c docs docs docs/_build/html",
|
|
|
|
"release": "npm run build && python setup.py sdist && python setup.py bdist_wheel --universal && printf \"\\n Now run: twine upload dist/* --sign\\n\""
|
2018-03-24 18:57:05 +11:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2018-12-20 01:48:04 +11:00
|
|
|
"sass": "^1.15.2",
|
2018-06-22 21:41:41 +10:00
|
|
|
"uglify-es": "^3.3.10"
|
2018-03-24 18:57:05 +11:00
|
|
|
}
|
|
|
|
}
|