gulp's Introduction
Improving Your Workflow with Gulp.js - Working Files ==================================================== //gulp instagg global npm install gulp -g //start project npm init //gulp install npm install gul --save-dev //get version gulp gulp -v ==> cmd Windows mkdir souce //create folder md source soi //create ewo fikder "source" "soi" cls //clear windows del p.js //remove file rmdir source //remove dir fource notepad file.txt //open with notepad copy file1.txt file1Copy.txt //copy file rename file1.txt file1_rename.txt //rename PhpStorm.exe C:\SamplesProjects\MetersToInchesConverter --line 3 C:\SamplesProjects\MetersToInchesConverter\src\javascript\numbers.js //open file with phpstorm start notepad++ //start notepad++ start notepad++ <filename> // open file with notepad++ dir //show list type nul > 3.txt | echo. > 5.txt //create empty file //show content file in cmd windows more package.json //create file gulpfile.js type nul > gulpfile.js //run default task in gulp gulp ====> gulp images [task] plugins list : gulp-imagemin //https://www.npmjs.com/package/gulp-imagemin برای کاهش حجم تصاویر gulp-newer //https://www.npmjs.com/package/gulp-newer تنها فایل های جدید را پیدا میکند و کم حجم میکند //for all subfolder in: source + 'images/**/*.*', ====> gulp watch [task] ctrl + c //for back from watch ===> gulp clean [task] del //https://www.npmjs.com/package/del همهی فایل های یک فولدر را پاک میکند برای ریست کردن پروژه ===>Development Or Production //for set global set NODE_ENV=development //for show varible echo %NODE_ENV% ===> gulp html [task] plugins list : gulp-preprocess //https://www.npmjs.com/package/gulp-preprocess حالت ضمیمه و چند تیکه کردن فایل اچ تی ام ال gulp-htmlclean //https://www.npmjs.com/package/gulp-htmlclean برای فشرده سازی فایل های html gulp-size //https://www.npmjs.com/package/gulp-size برای نمایش میزان حجم فشرده شدن اچ تی ام ال ===> gulp sass & gulp font gulp-sass //https://www.npmjs.com/package/gulp-sass برای رندر کردن فایل های sass gulp-imacss //تبدیل عکس به بیس 64 و قرار دادن در یک فایل sass
gulp's People
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.