第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定

正在回答

2 回答

這是完整的配置代碼:

module.exports?=?function(grunt)?{

??grunt.initConfig({
????watch:?{
??????jade:?{
????????files:?['views/**'],
????????options:?{
??????????livereload:?true
????????}
??????},
??????js:?{
????????files:?['public/js/**',?'models/**/*.js',?'schemas/**/*.js'],
????????//tasks:?['jshint'],
????????options:?{
??????????livereload:?true
????????}
??????},
??????uglify:?{
????????files:?['public/**/*.js'],
????????tasks:?['jshint'],
????????options:?{
??????????livereload:?true
????????}
??????},
??????styles:?{
????????files:?['public/**/*.less'],
????????tasks:?['less'],
????????options:?{
??????????nospawn:?true
????????}
??????}
????},

????jshint:?{
??????options:?{
????????jshintrc:?'.jshintrc',
????????ignores:?['public/libs/**/*.js']
??????},
??????all:?['public/js/*.js',?'test/**/*.js',?'app/**/*.js']
????},

????less:?{
??????development:?{
????????options:?{
??????????compress:?true,
??????????yuicompress:?true,
??????????optimization:?2
????????},
????????files:?{
??????????'public/build/index.css':?'public/less/index.less'
????????}
??????}
????},

????uglify:?{
??????development:?{
????????files:?{
??????????'public/build/admin.min.js':?'public/js/admin.js',
??????????'public/build/detail.min.js':?[
????????????'public/js/detail.js'
??????????]
????????}
??????}
????},

????nodemon:?{
??????dev:?{
????????options:?{
??????????file:?'app.js',
??????????args:?[],
??????????ignoredFiles:?['README.md',?'node_modules/**',?'.DS_Store'],
??????????watchedExtensions:?['js'],
??????????watchedFolders:?['./'],
??????????debug:?true,
??????????delayTime:?1,
??????????env:?{
????????????PORT:?3000
??????????},
??????????cwd:?__dirname
????????}
??????}
????},

????mochaTest:?{
??????options:?{
????????reporter:?'spec'
??????},
??????src:?['test/**/*.js']
????},

????concurrent:?{
??????tasks:?['nodemon',?'watch',?'less',?'uglify',?'jshint'],
??????options:?{
????????logConcurrentOutput:?true
??????}
????}
??})

??grunt.loadNpmTasks('grunt-contrib-watch')
??grunt.loadNpmTasks('grunt-nodemon')
??grunt.loadNpmTasks('grunt-concurrent')
??grunt.loadNpmTasks('grunt-mocha-test')
??grunt.loadNpmTasks('grunt-contrib-less')
??grunt.loadNpmTasks('grunt-contrib-uglify')
??grunt.loadNpmTasks('grunt-contrib-jshint')

??grunt.option('force',?true)

??grunt.registerTask('default',?['concurrent'])

??grunt.registerTask('test',?['mochaTest'])
}


1 回復(fù) 有任何疑惑可以回復(fù)我~
#1

Kvkens 提問(wèn)者

當(dāng)時(shí)迷茫,然后去看了下grunt的學(xué)習(xí)知識(shí),然后現(xiàn)在配置正確了,謝謝!老師。
2014-10-13 回復(fù) 有任何疑惑可以回復(fù)我~

是指配置 grunt 的過(guò)程中么,還是其他 包模塊的配置?


本來(lái)把 grunt 作為一個(gè)附帶的東西串了下,如果是 grunt 配置這塊讓大家很迷惑,那就是錄制前期低估了它的難度了。

0 回復(fù) 有任何疑惑可以回復(fù)我~

舉報(bào)

0/150
提交
取消
node建站攻略(二期)——網(wǎng)站升級(jí)
  • 參與學(xué)習(xí)       51926    人
  • 解答問(wèn)題       421    個(gè)

幫助你深入前后端開(kāi)發(fā)留下的迷惑,為進(jìn)一步自學(xué)打下基礎(chǔ)

進(jìn)入課程
微信客服

購(gòu)課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)