SheetJS
0b29aa4c0f
- frameworks: react, react-native, preact, next.js, weex, nuxt.js - deployments: nodejs server, duktape, chakra, electron, nw.js
18 lines
406 B
Bash
Executable File
18 lines
406 B
Bash
Executable File
#!/bin/bash
|
|
|
|
if [ ! -e SheetJS ]; then
|
|
react-native init SheetJS
|
|
cd SheetJS
|
|
npm i -S xlsx react react-native react-native-table-component react-native-fs
|
|
cd -
|
|
fi
|
|
if [ ! -e SheetJS/logo.png ]; then
|
|
curl -O http://oss.sheetjs.com/assets/img/logo.png
|
|
mv logo.png SheetJS/logo.png
|
|
fi
|
|
cp react-native.js SheetJS/index.ios.js
|
|
cp react-native.js SheetJS/index.android.js
|
|
cd SheetJS;
|
|
react-native link
|
|
cd -;
|