Skip to content

Commit

Permalink
fix: use unescaped replacement
Browse files Browse the repository at this point in the history
  • Loading branch information
int64ago committed Sep 22, 2019
1 parent a925bce commit a77fcb8
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion template/LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) <%= author %>
Copyright (c) <%- author %>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
10 changes: 5 additions & 5 deletions template/README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<%= packageName %>
<%- packageName %>
---

[![svrx](https://img.shields.io/badge/svrx-plugin-%23ff69b4?style=flat-square)](https://svrx.io/)
[![npm](https://img.shields.io/npm/v/<%= packageName %>.svg?style=flat-square)](https://www.npmjs.com/package/<%= packageName %>)
[![npm](https://img.shields.io/npm/v/<%- packageName %>.svg?style=flat-square)](https://www.npmjs.com/package/<%- packageName %>)

<%= description %>
<%- description %>

## Usage

Expand All @@ -13,15 +13,15 @@
### Via CLI

```bash
svrx -p <%= pluginName %>
svrx -p <%- pluginName %>
```

### Via API

```js
const svrx = require('svrx');

svrx({ plugins: [ '<%= pluginName %>' ] }).start();
svrx({ plugins: [ '<%- pluginName %>' ] }).start();
```

## Options
Expand Down
8 changes: 4 additions & 4 deletions template/_package.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"name": "<%= packageName %>",
"name": "<%- packageName %>",
"version": "0.0.1",
"description": "<%= description %>",
"description": "<%- description %>",
"main": "index.js",
"keywords": [
"svrx",
"svrx-plugin",
"<%= pluginName %>"
"<%- pluginName %>"
],
"engines": {
"svrx": "~0.0"
},
"author": "<%= author %>",
"author": "<%- author %>",
"scripts": {
"test": "mocha",
"lint": "eslint \"**/*.js\"",
Expand Down

0 comments on commit a77fcb8

Please sign in to comment.