![PyPI Now Supports iOS and Android Wheels for Mobile Python Development](https://cdn.sanity.io/images/cgdhsj6q/production/96416c872705517a6a65ad9646ce3e7caef623a0-1024x1024.webp?w=400&fit=max&auto=format)
Security News
PyPI Now Supports iOS and Android Wheels for Mobile Python Development
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
gulp-auto-angular
Advanced tools
在开发的过程中需要使用browserify、ng2html、style等功能,为了方便自动化实现便于、部署,减少很多不必要的麻烦特此开发此插件以供使用,由于刚开发,很多功能还不完善.
var app = require("gulp-auto-angular");
var config = {
modulename: "starter"
css:{
"./style.less": {
name: "style.css",
dest: ["./"]
}
},
js: {
"./main/main.js":{
name: "main.js",
dest: ["./"]
}
},
concat: {
src:["./main.js","./lib/ionic/js/ionic.bundle.min.js"],
name: "concat.js",
dest: ["./"]
},
watch: ["style.less","main/**"],
liverload: false
};
app(config);
通过简单的配置文件即可实现文件的自动化编译,另外,为了不进行额外的工作,直接将此内容写到gulpfile.js
中即可。
所有的路径都是以process.cwd()为基准
如: modulename: "starter"
,则自动添加
angular.module("starter")
css
是实现对less的编译,其key
值表示的是要编译的路径,value
是个对象,由name
和dest
构成,name
是编译后的文件的名称,dest
是数组,表示的是编译后的存放路径,如果有多条则存放到多个路径下。
js
的配置和css
一样
concat
是文件合并操作,由三个字段组成,分别是src
、name
、dest
,src
是个数组,表示的是需要合并的文件的组合,文件的名称服务vinyl
文件格式,name
是合并后的名称,dest
是数组,表示合并后的所在地。vinyl
js
自动在其目录或者父目录下(递推)的main.js中添加对应的require
,如require("./test")
FAQs
the auto generater of angular with gulp
The npm package gulp-auto-angular receives a total of 0 weekly downloads. As such, gulp-auto-angular popularity was classified as not popular.
We found that gulp-auto-angular 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
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
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.