Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
awesome_project
Advanced tools
English description | Описание на русском
TARS is a markup builder, which is based on gulp.js. It facilitates and accelerates process of html-markup of any complexity. TARS will be suitable for teams and individual developer. It solves the most routine cases associated with a markup and it brings you more pleasure from work.
TARS is the framework for gulp, including a set of gulp-tasks and it allows the ability to easily expand (creating new tasks) and modification of existing tasks.
TARS provides comfortable architecture for storage tasks and watchers in the project.
There is TARS-CLI in order to not install all dependencies all the time, when you are installing TARS. So, TARS is not a npm-package by itself. This decision was decided so that everyone can customize the builder as comfortable as possible for themselves. CLI — just simple interface for builder, which includes all dependencies for TARS.
It is strongly recommended to use TARS-CLI for developing from with moment.
You can install TARS-CLI via NPM. More info in project's repository.
Listed below are just a little part of the features. In fact builder has much more.
Attention, TARS-CLI is the preferably way to work with TARS. It is more comfortable, fast to work with TARS-CLI.
You need to install Node.js
with version equal to 0.12 or more. If you use Node.js version 5.x.x, please, be sure, that you use npm version 3.3.10 and higher. Otherwise update npm by using command:
npm i -g npm
For Windows you have to do some more steps:
npm install npm@latest
.If you get a Permission denied or Error: EACCES error, you should run the previous command again in sudo.
Next you need to install gulp globally. (You may need rights of superuser or administrator).
npm install -g gulp
Download TARS and unzip it in the working directory. Then install dependencies. Command is run from a folder with TARS files (usually it is a tars-master).
npm install
If not all of the dependencies have been installed, the last operation must be repeated.
After installing of all dependencies you need to open tars-config (detailed description of the options here) and set up the project for yourself. In the config, you can select the templater, css-preprocessor, using the notifications, folder names for different static and etc. After setting up the project, execute the following command:
gulp init
This command will create the basic file structure, take tasks for selected templater and css-preprocessor. Everything is ready, make it work! :)
gulp init
— initializes project with the specified settings in the tars-config. Creates a file structure.
gulp re-init
— reinitialize the project with specified settings in the tars-config. It is proposed to use this command if you initialize the project with incorrect options.
gulp
or gulp build
— make project assembly. There not minimized files are connected. Type of assembly depends on the transmitted keys with this command. Available keys:
--min
– minimized files connected to html.--release
– minimized files connected to html whose names have hash. This mode is useful if you are directly trying to deploy ready markup to the server.gulp dev
— initialization of builder in development mode. Dev-version of the project is created without any minifications. Also it launches watchers for project files. Available keys:
--lr
– initialization livereload (live page reloads with changes in project files), if it is included in the configuration of the project.--tunnel
– initialization project with sharing markup to an external web.The link will be shown in the console. There also will be a link to control panel for devices on which markup was sharing.
gulp build-dev
— generation of dev-version of the project without watchers.
Keys are available in any mode of assembly:
--ie8
– to include in the build styles for ie8.--ie9
– to include in the build styles for ie9.--ie
– to include in the build styles for ie8 and ie9.gulp update-deps
– updates of all assembler dependences to the latest stable. It may take some time to execute this command. It is desirable to execute once a week. Command will copy the current package.json, add underline to its name, download a new package.json from the repository and execute npm install. So, if something was broken with the new package, you can always return to the last version, just rename last package.json. Also you can read a upgrade guide.
It is important! All examples in documentation use the default settings.
All recent changes are available at the link: changelog.
If you have a question you can write in gitter or mail tars.builder@gmail.com
Bugs and feature-request here: issues.
FAQs
Your awesome project description
We found that awesome_project 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.