Skip to content

Commit

Permalink
add jar
Browse files Browse the repository at this point in the history
  • Loading branch information
minwe committed Jun 23, 2015
1 parent 972ec1b commit a362700
Show file tree
Hide file tree
Showing 7 changed files with 48 additions and 1 deletion.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,14 @@ React snippets(live templates) for JetBrains series editors (e.g. WebStorm, PHPS

## Installation

1. Download and copy the xml file to your templates folder:
### Importing

1. Download `jetbrains-react.jar`;
2. Click `File` -> `Importing Settings...` on your IDE menubar, select `jetbrains-react.jar`, then click `OK`.

### Manually

1. Download and copy the `jetbrains/templates/ReactES5.xml` file to your templates folder:

- Windows: `<your home directory>\.<product name><version number>\config\templates`
- Linux: `~\.<product name><version number>\config\templates`
Expand Down
10 changes: 10 additions & 0 deletions gulpfile.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
'use strict';

var gulp = require('gulp');
var zip = require('gulp-zip');

gulp.task('default', function() {
return gulp.src('jetbrains/**/*')
.pipe(zip('jetbrains-react.jar'))
.pipe(gulp.dest('.'));
});
Binary file added jetbrains-react.jar
Binary file not shown.
Empty file.
1 change: 1 addition & 0 deletions jetbrains/installed.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
com.intellij
File renamed without changes.
29 changes: 29 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"name": "jetbrains-react",
"version": "0.0.1",
"description": "React snippets(live templates) for JetBrains series editors.",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Minwe/jetbrains-react.git"
},
"keywords": [
"React",
"JetBrains",
"live-templates",
"snippets"
],
"author": "minwe <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/Minwe/jetbrains-react/issues"
},
"homepage": "https://github.com/Minwe/jetbrains-react#readme",
"devDependencies": {
"gulp": "^3.9.0",
"gulp-zip": "^3.0.2"
}
}

0 comments on commit a362700

Please sign in to comment.