mirror of
https://github.com/DarrenOfficial/dpaste.git
synced 2024-11-23 11:56:36 +11:00
Using sass for node-sass
This commit is contained in:
parent
f25b765aaf
commit
6872ea8f9f
2 changed files with 1412 additions and 1115 deletions
2521
package-lock.json
generated
2521
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -7,14 +7,14 @@
|
|||
"postinstall": "npm run build",
|
||||
"start": "npm run build && pipenv run ./manage.py runserver",
|
||||
"docs": "pipenv run sphinx-build -c docs docs docs/_build/html",
|
||||
"build-css": "node-sass --output-style compressed -o build client/scss/dpaste.scss ",
|
||||
"build-css": "sass --no-source-map --style=compressed client/scss/dpaste.scss:build/dpaste.css ",
|
||||
"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",
|
||||
"watch-css": "npm run build && sass --watch --style=compressed client/scss/dpaste.scss:build/dpaste.css",
|
||||
"watch-docs": "pipenv run sphinx-autobuild -c docs docs docs/_build/html"
|
||||
},
|
||||
"dependencies": {
|
||||
"node-sass": "^4.11.0",
|
||||
"sass": "^1.15.2",
|
||||
"uglify-es": "^3.3.10"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue