add 'less' as dev dependency and add a 'style' task

pull/1/head
ansuz 9 years ago
parent d3825b9644
commit 195a95fe1a

@ -10,10 +10,12 @@
}, },
"devDependencies": { "devDependencies": {
"jshint": "~2.9.1", "jshint": "~2.9.1",
"selenium-webdriver": "^2.53.1" "selenium-webdriver": "^2.53.1",
"less": "2.7.1"
}, },
"scripts": { "scripts": {
"lint": "jshint --config .jshintrc --exclude-path .jshintignore .", "lint": "jshint --config .jshintrc --exclude-path .jshintignore .",
"test": "node TestSelenium.js" "test": "node TestSelenium.js",
"style": "lessc ./customize.dist/src/cryptpad.less > ./customize.dist/main.css"
} }
} }

Loading…
Cancel
Save