└── tips.json /tips.json: -------------------------------------------------------------------------------- 1 | { 2 | "tip001" : { 3 | "title" : "create new empty file in windows command line", 4 | "content" : "(type nul > newfile.txt) or (whateverInvalidCommand > newfile.txt)" 5 | }, 6 | "tip002" : { 7 | "title" : "run 'bower install' after npm install by script", 8 | "content" : "put following in package.json: \"scripts\":{\"bower cache clean && bower install\"}" 9 | }, 10 | "tip003" : { 11 | "title" : "set bower components install folder", 12 | "content" : "step1: create .bowerrc in root; \ 13 | step2: put following in .bowerrc: \ 14 | \"directory\":\"public/assets/lib\"" 15 | }, 16 | "tip000" : { 17 | "title" : "", 18 | "content" : "" 19 | } 20 | } 21 | 22 | 23 | 24 | 25 | --------------------------------------------------------------------------------