mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
add css linter recess
This commit is contained in:
parent
f4ba80e40c
commit
b912a77730
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
|
||||
echo "recess ./css/*.css"
|
||||
recess css/*.css
|
||||
node server.js test
|
||||
ls ./min
|
||||
Loading…
Add table
Add a link
Reference in a new issue