mirror of
https://github.com/bobwen-dev/react-templates
synced 2025-04-12 00:56:39 +02:00
publish to npm
This commit is contained in:
parent
71af8eb7ad
commit
2b20484bf0
2
.gitignore
vendored
2
.gitignore
vendored
@ -16,3 +16,5 @@ npm-debug.log
|
||||
### bower ###
|
||||
/bower_components/*
|
||||
|
||||
/web
|
||||
|
||||
|
@ -20,5 +20,6 @@ npm-debug.log
|
||||
/test
|
||||
|
||||
### gh-pages content ###
|
||||
index.html
|
||||
playground
|
||||
/index.html
|
||||
/playground
|
||||
/web
|
||||
|
@ -33,7 +33,7 @@ Some love JSX, some don't. We don't. More specifically, it seems to us that JSX
|
||||
## Installation
|
||||
You can install react-templates using npm:
|
||||
```shell
|
||||
npm install git+ssh://git@github.com:wix/react-templates -g
|
||||
npm install react-templates -g
|
||||
```
|
||||
|
||||
## Usage
|
||||
@ -41,9 +41,6 @@ npm install git+ssh://git@github.com:wix/react-templates -g
|
||||
rt [file.rt|dir]* [options]
|
||||
```
|
||||
|
||||
**src/cli.js < filename.rt >**
|
||||
*(you might need to provide execution permission to the file)* ?
|
||||
|
||||
Note that in most cases, this package will be wrapped in a Grunt task, so that cli will not be used explicitly.
|
||||
[grunt-react-templates](https://github.com/wix/grunt-react-templates)
|
||||
|
||||
|
@ -1,10 +1,7 @@
|
||||
{
|
||||
"name": "react-templates",
|
||||
"version": "0.1.2",
|
||||
"version": "0.1.3",
|
||||
"description": "Light weight templates for react -> write html get valid react code",
|
||||
"publishConfig": {
|
||||
"registry": "http://repo.dev.wix/artifactory/api/npm/npm-local"
|
||||
},
|
||||
"main": "./src/cli.js",
|
||||
"bin": {
|
||||
"rt": "./bin/rt.js"
|
||||
|
Loading…
x
Reference in New Issue
Block a user