欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  web前端

html5 js os build

程序员文章站 2022-04-19 23:04:47
...
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!