use Cocos2d-html5-v2.2.2.min directly

hi
what is this file Cocos2d-html5-v2.2.2.min.js
in lib directory if it was the all library can i use it directly like

No, the cocos2d.js in YOUR GAME’S FOLDER holds configurations for that project, you should ALWAYS call THAT file from your index.html. In order to easily use the minified version of the engine, copy Cocos2d-html5-v2.2.2.min.js from the lib folder to your game’s folder, and then in your cocos2d.js look for the line engineDir:'SOMEPATH/cocos2d/', and comment it, then uncomment the line //SingleEngineFile:'', and change it to //SingleEngineFile:'Cocos2d-html5-v2.2.2.min.js',. In other words change:

engineDir:'SOMEPATH/cocos2d/',
//SingleEngineFile:'',

to

//engineDir:'SOMEPATH/cocos2d/',
SingleEngineFile:'Cocos2d-html5-v2.2.2.min.js',

I hope it’s clear enough.