mirror of
https://github.com/DarrenOfficial/dpaste.git
synced 2024-11-23 11:56:36 +11:00
Better JS compression. Added npm start
.
This commit is contained in:
parent
d7477e6a97
commit
3851785b6e
2 changed files with 365 additions and 265 deletions
619
package-lock.json
generated
619
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -1,11 +1,16 @@
|
|||
{
|
||||
"name": "dpaste",
|
||||
"version": "3.0.0",
|
||||
"repository": "https://github.com/bartTC/dpaste",
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"build": "node-sass --output-style compressed -o build client/scss/dpaste.scss && uglifyjs -o build/dpaste.js client/js/dpaste.js",
|
||||
"build-css": "node-sass --output-style compressed -o build client/scss/dpaste.scss ",
|
||||
"build-js": "uglifyjs --compress=\"drop_console=true,ecma=6\" --mangle=\"toplevel\" --output=build/dpaste.js client/js/dpaste.js",
|
||||
"build": "npm run build-css && npm run build-js",
|
||||
"watch-css": "npm run build && node-sass --source-map true -o build/ --watch client/scss/dpaste.scss",
|
||||
"postinstall": "npm run build",
|
||||
"docs": "pipenv run sphinx-build -c docs docs docs/_build/html"
|
||||
"docs": "pipenv run sphinx-build -c docs docs docs/_build/html",
|
||||
"start": "npm run build && pipenv run ./manage.py runserver"
|
||||
},
|
||||
"dependencies": {
|
||||
"node-sass": "^4.9.0",
|
||||
|
|
Loading…
Reference in a new issue