mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 18:55:26 +00:00
add css linter recess
This commit is contained in:
parent
720f59fd05
commit
bf77ee594d
1 changed files with 5 additions and 0 deletions
|
|
@ -1,4 +1,5 @@
|
|||
#!/bin/sh
|
||||
#linting js files
|
||||
npm i jshint -g
|
||||
echo "jshint server.js client.js lib/cloudfunc.js"
|
||||
jshint --config ./.jshintrc ./server.js ./client.js
|
||||
|
|
@ -7,5 +8,9 @@ jshint --config ./.jshintrc ./lib/cloudfunc.js ./lib/server/minify/minify.js ./l
|
|||
echo "jshint ./package.json ./config.json"
|
||||
jshint --config ./.jshintrc ./package.json ./config.json
|
||||
npm i uglify-js clean-css html-minifier css-b64-images
|
||||
#linting css files
|
||||
npm i recess -g
|
||||
console.log('recess ./css/*.css');
|
||||
recess css/*.css
|
||||
node server.js test
|
||||
ls ./min
|
||||
Loading…
Add table
Add a link
Reference in a new issue