首页 > 代码库 > html5 js os build

html5 js os build

1、NodeJS6.6 install   https://nodejs.org/en/

c:\nodejs>npm install -g grunt-cli
C:\Users\police\AppData\Roaming\npm\grunt -> C:\Users\police\AppData\Roaming\npm\node_modules\grunt-cli\bin\grunt
C:\Users\police\AppData\Roaming\npm
`-- grunt-cli@1.2.0
+-- findup-sync@0.3.0
| `-- glob@5.0.15
| +-- inflight@1.0.5
| | `-- wrappy@1.0.2
| +-- inherits@2.0.3
| +-- minimatch@3.0.3
| | `-- brace-expansion@1.1.6
| | +-- balanced-match@0.4.2
| | `-- concat-map@0.0.1
| +-- once@1.4.0
| `-- path-is-absolute@1.0.0
+-- grunt-known-options@1.1.0
+-- nopt@3.0.6
| `-- abbrev@1.0.9
`-- resolve@1.1.7

2、WebStorm-2016.2.3 https://download.jetbrains.8686c.com/webstorm/WebStorm-2016.2.3.exe

注册的时候,选择License server  http://idea.imsxm.com/

3、npm install grunt-contrib-sass grunt-contrib-uglify grunt-contrib-watch --save-dev

npm install grunt-contrib-clean grunt-contrib-concat grunt-contrib-copy grunt-contrib-jshint grunt-contrib-requirejs grunt-ftp-deploy grunt-jsduck grunt-rename grunt-string-replace grunt-strip js-obfuscator --save-dev

http://www.cnblogs.com/unofficial/p/3895215.html

http://lawrencenaman.com/blog/sass-compass-windows/

 

grunt build

done!

html5 js os build