Add react-native-cli

This commit is contained in:
Travis Burtrum 2017-09-08 12:26:02 -04:00
parent a2f6158e95
commit db92daffa6
2 changed files with 17 additions and 0 deletions

3
src/react-native-cli/.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
src/
pkg/
*.xz

View File

@ -0,0 +1,14 @@
# Maintainer: farwayer <farwayer@gmail.com>
pkgname=react-native-cli
pkgver=2.0.1
pkgrel=1
pkgdesc="The React Native CLI tools"
arch=(any)
url="http://facebook.github.io/react-native/"
license=('BSD-3-Clause')
depends=('nodejs')
makedepends=('npm')
package() {
npm install -g --prefix "$pkgdir/usr" $pkgname@$pkgver
}