File tree 3 files changed +31
-0
lines changed
3 files changed +31
-0
lines changed Original file line number Diff line number Diff line change
1
+ * .swp
2
+ * ~
3
+ * .iml
4
+ . * .haste_cache. *
5
+ .DS_Store
6
+ .idea
7
+ .babelrc
8
+ .eslintrc
9
+ npm-debug.log
10
+ src /
11
+ examples /
12
+ public /
13
+ scripts /
14
+ test /
Original file line number Diff line number Diff line change 5
5
"description" : " A firebase v3 adapter" ,
6
6
"main" : " index" ,
7
7
"scripts" : {
8
+ "preversion" : " . ./scripts/prepublish.sh" ,
8
9
"start" : " node node_modules/react-native/local-cli/cli.js start" ,
9
10
"build" : " ./node_modules/.bin/babel --source-maps=true --out-dir=dist ." ,
10
11
"dev" : " npm run compile -- --watch" ,
12
+ "lint" : " eslint ./src" ,
13
+ "publish_pages" : " gh-pages -d public/" ,
11
14
"test" : " ./node_modules/.bin/mocha"
12
15
},
13
16
"repository" : {
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ echo " => Transpiling..."
4
+ echo " "
5
+ export NODE_ENV=production
6
+ rm -rf ./dist
7
+ ./node_modules/.bin/babel \
8
+ --plugins ' transform-es2015-modules-umd' \
9
+ --presets ' stage-0,react' \
10
+ --ignore __tests__ \
11
+ --out-dir ./dist \
12
+ lib
13
+ echo " "
14
+ echo " => Complete"
You can’t perform that action at this time.
0 commit comments