Socket
Socket
Sign inDemoInstall

twig

Package Overview
Dependencies
5
Maintainers
3
Versions
63
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.8.2 to 0.8.5

CHANGELOG.md

2

bower.json
{
"name": "twig.js",
"version": "0.8.2",
"version": "0.8.5",
"main": "twig.min.js",

@@ -5,0 +5,0 @@ "ignore": [

Steps to release twig.js
1. Update version in package.json
2. Update version in bower.json
3. Update version in src/twig.header.js
4. `git tag` new version
## repository
1. Compile list of changes in CHANGELOG.md
2. Update version in package.json
3. Update version in bower.json
4. Update version in src/twig.header.js
5. `make`, `make docs`, `make test` and commit the changes.
6. `git tag` new version
## bower
Bower will pick up the new version in bower.json and use the associated git tag.
## npm
To publish the latest version to npmjs.org run this command from the twig.js directory:
npm publish

@@ -5,3 +5,3 @@ {

"description": "JS port of the Twig templating language.",
"version": "0.8.2",
"version": "0.8.5",
"homepage": "https://github.com/justjohn/twig.js",

@@ -8,0 +8,0 @@ "licenses": [

@@ -1,3 +0,3 @@

[![Build Status](https://secure.travis-ci.org/justjohn/twig.js.png)](http://travis-ci.org/#!/justjohn/twig.js)
[![NPM version](https://badge.fury.io/js/twig.png)](http://badge.fury.io/js/twig)
[![Build Status](https://secure.travis-ci.org/justjohn/twig.js.svg)](http://travis-ci.org/#!/justjohn/twig.js)
[![NPM version](https://badge.fury.io/js/twig.svg)](http://badge.fury.io/js/twig)

@@ -21,10 +21,8 @@ # About

### Contributing
# Releases
If you have a change you want to make to twig.js, feel free to fork this repository and submit a pull request on Github. The source files are located in src/*.js. twig.js is built by running `make`
Download the latest twig.js release from github: https://github.com/justjohn/twig.js/releases
For more details on getting setup, see the [contributing page](https://github.com/justjohn/twig.js/wiki/Contributing) on the wiki.
## Browser Usage (bower)
# Browser Usage
Twig.js can be installed as a bower package with:

@@ -47,3 +45,3 @@

# Node Usage
## Node Usage (npm)

@@ -92,11 +90,17 @@ Twig.js can be installed with NPM

# Tests
# Contributing
If you have a change you want to make to twig.js, feel free to fork this repository and submit a pull request on Github. The source files are located in src/*.js. twig.js is built by running `make`
For more details on getting setup, see the [contributing page](https://github.com/justjohn/twig.js/wiki/Contributing) on the wiki.
## Tests
The twig.js tests are written in [Mocha][mocha] and can be invoked with `make test`.
# License
## License
Twig.js is available under a [BSD 2-Clause License][bsd-2], see the LICENSE file for more information.
# Acknowledgments
## Acknowledgments

@@ -103,0 +107,0 @@ See the LICENSES.md file for copies of the referenced licenses.

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc