File tree 1 file changed +5
-1
lines changed 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 22
22
"prestart" : " npm stop && npm run rebase && touch janitor.log janitor.pid && chmod 600 janitor.log janitor.pid" ,
23
23
"start" : " if [ -z \" $SCRIPT\" ] ; then printf \" Run which Janitor script? [join/app]:\" && read SCRIPT ; fi ; node \" $SCRIPT\" >> janitor.log 2>&1 & printf \" $!\\ n\" > janitor.pid" ,
24
24
"poststart" : " printf \" [$(date -uIs)] Background process started (PID $(cat janitor.pid), LOGS $(pwd)/janitor.log).\\ n\" " ,
25
- "stop" : " if [ -e janitor.pid -a -n \" $(ps h $(cat janitor.pid))\" ] ; then kill $(cat janitor.pid) && printf \" [$(date -uIs)] Background process stopped (PID $(cat janitor.pid)).\\ n\" ; fi ; rm -f janitor.pid"
25
+ "stop" : " if [ -e janitor.pid -a -n \" $(ps h $(cat janitor.pid))\" ] ; then kill $(cat janitor.pid) && printf \" [$(date -uIs)] Background process stopped (PID $(cat janitor.pid)).\\ n\" ; fi ; rm -f janitor.pid" ,
26
+ "lint-node" : " eslint -c .eslintrc-node.js *.js api/ lib/" ,
27
+ "lint-node-fix" : " npm run lint-node -- --fix" ,
28
+ "lint-browser" : " eslint -c .eslintrc-browser.js *.js api/ lib/" ,
29
+ "lint-browser-fix" : " npm run lint-browser -- --fix"
26
30
},
27
31
"dependencies" : {
28
32
"@jankeromnes/camp" : " ~16.2.17" ,
You can’t perform that action at this time.
0 commit comments