File tree Expand file tree Collapse file tree 3 files changed +31
-0
lines changed Expand file tree Collapse file tree 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 55 "description" : " A firebase v3 adapter" ,
66 "main" : " index" ,
77 "scripts" : {
8+ "preversion" : " . ./scripts/prepublish.sh" ,
89 "start" : " node node_modules/react-native/local-cli/cli.js start" ,
910 "build" : " ./node_modules/.bin/babel --source-maps=true --out-dir=dist ." ,
1011 "dev" : " npm run compile -- --watch" ,
12+ "lint" : " eslint ./src" ,
13+ "publish_pages" : " gh-pages -d public/" ,
1114 "test" : " ./node_modules/.bin/mocha"
1215 },
1316 "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