forked from justinr1234/UniversalRelayBoilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
129 lines (126 loc) · 5.78 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
{
"engines": {
"node": "^6.0.0",
"npm": "^3.0.0"
},
"scripts": {
"postinstall-for-heroku-not-for-buld-server": "npm run build-schema && npm run build-webpack",
"setup-local": "cp ./configuration/scripts/default.env ./.env && cp ./configuration/scripts/default.publicURL.js ./configuration/scripts/publicURL.js",
"setup-cassandra-init": "cqlsh -f ./configuration/scripts/cassandra-init.cql",
"config-da-memory": "./node_modules/.bin/replace OBJECT_PERSISTENCE=cassandra OBJECT_PERSISTENCE=memory ./.env",
"config-da-cassandra": "./node_modules/.bin/replace OBJECT_PERSISTENCE=memory OBJECT_PERSISTENCE=cassandra ./.env",
"update-ip": "./node_modules/.bin/babel-node ./scripts/update-ip.js",
"build-schema": "./node_modules/.bin/babel-node ./scripts/build-schema.js",
"build-bump-version": "./node_modules/.bin/babel-node ./scripts/build-bump-version.js",
"build-webpack": "export NODE_ENV=production && rm -rf public/assets && mkdir public/assets && ./node_modules/.bin/webpack -p --output-filename client.js",
"build-babel": "export NODE_ENV=production && rm -rf build && mkdir build && cp -r configuration ./build/configuration && cp -r public ./build/public && cp -r webapp ./build/webapp && ./node_modules/.bin/babel -d ./build/server/ ./server -s --retain-lines && ./node_modules/.bin/babel -d ./build/configuration/ ./configuration -s --retain-lines && ./node_modules/.bin/babel -d ./build/graphql/ ./graphql -s --retain-lines && ./node_modules/.bin/babel -d ./build/scripts/ ./scripts -s --retain-lines && ./node_modules/.bin/babel -d ./build/server/ ./server -s --retain-lines && ./node_modules/.bin/babel -d ./build/units/ ./units -s --retain-lines && ./node_modules/.bin/babel -d ./build/webapp/ ./webapp -s --retain-lines && ./node_modules/.bin/babel -d ./build/server/ ./server -s --retain-lines && cp ./package.json ./build && cp ./Procfile ./build",
"build-server": "rm -rf build && npm run build-bump-version && npm run build-schema && npm run build-webpack && npm run build-babel",
"build-bundle-ios": "curl -o ./ios/main.jsbundle http://localhost:8081/index.ios.bundle?platform=ios&dev=false",
"build-bundle-ios-dev": "curl -o ./ios/main.jsbundle http://localhost:8081/index.ios.bundle?platform=ios&dev=true",
"lint": "eslint app configuration data graphql scripts server units webapp",
"start-webpack": "rm -rf build && better-npm-run start-webpack",
"start-dev": "better-npm-run start-dev",
"dev": "rm -rf build && concurrently --kill-others \"npm run start-webpack\" \"npm run start-dev\" \"npm run start\" ",
"prod": "export NODE_ENV=production && ./node_modules/.bin/babel-node ./server/server.js",
"start": "node node_modules/react-native/local-cli/cli.js start"
},
"betterScripts": {
"start-dev": {
"command": "nodemon --exec ./node_modules/.bin/babel-node -- ./server/server.js",
"env": {
"NODE_ENV": "development"
}
},
"start-webpack": {
"command": "./node_modules/.bin/webpack-dev-server --hot --inline --no-info --colors"
}
},
"metadata": {
"graphql": {
"schema": "./configuration/graphql/schema.json"
}
},
"dependencies": {
"bcrypt": "0.8.6",
"body-parser": "1.15.1",
"cassandra-driver": "3.0.2",
"classnames": "2.2.5",
"compression": "1.6.2",
"cookie-parser": "1.4.3",
"dataloader": "1.2.0",
"dotenv": "2.0.0",
"ejs": "2.4.2",
"eslint": "2.11.1",
"eslint-loader": "1.3.0",
"eslint-plugin-react": "5.1.1",
"express": "4.13.4",
"express-graphql": "0.5.3",
"graphql": "0.6.0",
"graphql-relay": "0.4.2",
"isomorphic-relay": "0.7.0",
"isomorphic-relay-router": "0.8.0",
"jwt-simple": "0.5.0",
"material-ui": "0.15.0",
"material-ui-country-flags": "3.0.1",
"material-ui-credit-card-icons": "3.0.1",
"mobile-detect": "1.3.2",
"nib": "1.1.0",
"node-fetch": "1.5.3",
"nodemon": "1.9.2",
"react": "15.0.2",
"react-dimensions": "1.2.0",
"react-dom": "15.0.2",
"react-event-listener": "0.2.1",
"react-helmet": "3.1.0",
"react-hot-loader": "1.3.0",
"react-relay": "0.9.0",
"react-router": "2.4.1",
"react-router-relay": "0.13.2",
"react-tap-event-plugin": "1.0.0",
"relay-local-schema": "0.5.0",
"replace": "0.3.0",
"winston": "2.2.0"
},
"devDependencies": {
"babel-cli": "6.9.0",
"babel-core": "6.9.1",
"babel-eslint": "6.0.4",
"babel-loader": "6.2.4",
"babel-plugin-react-transform": "2.0.2",
"babel-plugin-transform-async-to-generator": "6.8.0",
"babel-plugin-transform-runtime": "6.9.0",
"babel-polyfill": "6.9.1",
"babel-preset-es2015": "6.9.0",
"babel-preset-react": "6.5.0",
"babel-preset-stage-0": "6.5.0",
"babel-relay-plugin": "0.9.0",
"babel-relay-plugin-loader": "0.8.1",
"babel-runtime": "6.9.2",
"better-npm-run": "0.0.8",
"concurrently": "2.1.0",
"css-loader": "0.23.1",
"extract-text-webpack-plugin": "1.0.1",
"react-native": "0.26.2",
"react-native-button": "1.6.0",
"react-native-drawer": "2.2.3",
"react-native-listitem": "1.0.5",
"react-native-modalbox": "1.3.3",
"react-native-router-flux": "3.26.16",
"react-native-swipeout": "2.0.12",
"recursive-readdir-sync": "1.0.6",
"rnpm-plugin-upgrade": "0.26.0",
"style-loader": "0.13.1",
"webpack": "1.13.1",
"webpack-dev-server": "1.14.1"
},
"name": "UniversalRelayBoilerplate",
"description": "Boilerplate + examples for React Native (iOS, Android), React (isomorphic, Material-UI), Relay, GraphQL, JWT, Node.js, Apache Cassandra",
"homepage": "http://codefoundries.com/products/starter-kit.html",
"repository": {
"type": "git",
"url": "git+https://github.com/codefoundries/UniversalRelayBoilerplate.git"
},
"version": "8.0.0",
"private": false,
"license": "MIT"
}