![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
grunt-imweb
Advanced tools
基于Grunt的构建任务集合。将团队项目开发中常用的任务打包封装,满足从开发到发布的一系列需求。
这个插件依赖 Grunt ~0.4.1
如果对Grunt还不是很熟悉 Grunt , 可以看下官方的入门教程 Getting Started guide, as it explains how to create a Gruntfile, 或者俺之前写的一篇小总结《grunt从入门到自定义项目模板》 然后嘛,就是安装 grunt-imweb 了
npm install grunt-imweb --save-dev
插件安装完成后,可以在Gruntfile里通过如下代码引用它
grunt.loadNpmTasks('grunt-imweb');
在Gruntfile.js里,通过grunt.initConfig()
添加如下配置即可。目前grunt-imweb
插件支持两个任务,分别是dev
、dist
,由于目前尚为开放任何配置项,所以,把下面这段代码copy过去就完成了配置。
注意,由于当前未开放任何配置,所以会有几个小小的约定:
src
目录grunt.initConfig({
dev: {
options: {
// Task-specific options go here.
},
your_target: {
// Target-specific file lists and/or options go here.
}
},
dist: {
options: {
// Task-specific options go here.
},
your_target: {
// Target-specific file lists and/or options go here.
}
}
})
当前还没开放任何配置项,很快会补齐的!
在根目录下运行如下命令,src
目录的文件就会生成到dev
目录,目前主要作用是编译.scss
文件,后续还会加入其他类型的预编译任务 @todo
grunt dev
在根目录下运行如下命令,src
目录下的文件就会被发布到dist
目录,目前完成的任务主要有.scss
文件编译、文件文件打包合并、cdn路径替换等。此处的配置项很快就会打开 @todo
grunt dist
注意代码风格、单元测试等。话说这个项目的单元测试也还没做阿喂~@todo 单元测试
2013.10.24 Initialize the project with some necessary files.
FAQs
IMWEB Tasks Collection For Daily Workflow.
The npm package grunt-imweb receives a total of 2 weekly downloads. As such, grunt-imweb popularity was classified as not popular.
We found that grunt-imweb demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.