forked from StateVoicesNational/Spoke
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
168 lines (168 loc) · 6.11 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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
{
"name": "spoke",
"version": "1.0.0",
"description": "Spoke",
"main": "src/server",
"engines": {
"node": "6.10.3",
"npm": "3.10.10"
},
"scripts": {
"test": "jest",
"clean": "rm -rf $OUTPUT_DIR",
"lint": "eslint --fix --ext js --ext jsx src; exit 0",
"prod-build-client": "webpack --config ./webpack/config.js",
"prod-build-server": "babel ./src -d ./build/server --source-maps",
"prod-build": "npm run clean && npm run prod-build-client && npm run prod-build-server",
"prod-static-upload": "if [ \"$S3_STATIC_PATH\" != \"\" ] ; then s3cmd sync --acl-public --guess-mime-type ./build/client/assets/ $S3_STATIC_PATH ; fi",
"postinstall": "if [ \"$NODE_ENV\" = production ] ; then npm run prod-build && npm run prod-static-upload; fi",
"start": "node ./build/server/server",
"dev-message-sender-01": "nodemon -e js,jsx -w ./src --exec ./dev-tools/babel-run -- ./src/workers/message-sender-01",
"prod-message-sender-01": "./dev-tools/babel-run ./src/workers/message-sender-01.js",
"dev-message-sender-234": "nodemon -e js,jsx -w ./src --exec ./dev-tools/babel-run -- ./src/workers/message-sender-234",
"prod-message-sender-234": "./dev-tools/babel-run ./src/workers/message-sender-234.js",
"dev-message-sender-56": "nodemon -e js,jsx -w ./src --exec ./dev-tools/babel-run -- ./src/workers/message-sender-56",
"prod-message-sender-56": "./dev-tools/babel-run ./src/workers/message-sender-56.js",
"dev-message-sender-789": "nodemon -e js,jsx -w ./src --exec ./dev-tools/babel-run -- ./src/workers/message-sender-789",
"prod-message-sender-789": "./dev-tools/babel-run ./src/workers/message-sender-789.js",
"dev-job-handler": "nodemon -e js,jsx -w ./src --exec ./dev-tools/babel-run -- ./src/workers/job-handler",
"prod-job-handler": "./dev-tools/babel-run ./src/workers/job-handler",
"dev-incoming-message-handler": "nodemon -e js,jsx -w ./src --exec ./dev-tools/babel-run -- ./src/workers/incoming-message-handler",
"prod-incoming-message-handler": "./dev-tools/babel-run ./src/workers/incoming-message-handler.js",
"predev-start": "npm run clean",
"dev-start": "nodemon -e js,jsx,md,mustache -w ./src --exec ./dev-tools/babel-run -- ./src/server",
"generate-contacts": "./dev-tools/babel-run ./dev-tools/generate-contacts.js",
"jest-test": "jest __test__/backend.test.js",
"dev": "nf start -w --procfile ./dev-tools/Procfile.dev"
},
"repository": {
"type": "git",
"url": "git+https://github.com/MoveOnOrg/spoke.git"
},
"keywords": [
"spoke",
"sms",
"texting",
"campaigns",
"campaigning",
"politics",
"activism",
"organizing",
"field"
],
"author": "Axle Factory",
"license": "MIT",
"bugs": {
"url": "https://github.com/MoveOnOrg/Spoke/issues"
},
"homepage": "https://github.com/MoveOnOrg/Spoke/#readme",
"dependencies": {
"aphrodite": "^0.4.1",
"apollo-client": "^0.4.7",
"apollo-server": "^0.1.5",
"apollo-tracer": "^0.1.4",
"aws-sdk": "^2.6.3",
"aws-serverless-express": "https://registry.npmjs.org/aws-serverless-express/-/aws-serverless-express-3.0.2.tgz",
"axios": "^0.16.1",
"babel-cli": "^6.10.1",
"babel-core": "^6.10.4",
"babel-loader": "^6.2.4",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-polyfill": "^6.23.0",
"babel-preset-es2015": "^6.9.0",
"babel-preset-es2017": "^6.24.1",
"babel-preset-react": "^6.11.1",
"babel-preset-stage-0": "^6.5.0",
"babel-register": "^6.9.0",
"babel-runtime": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.9.2.tgz",
"babyparse": "^0.4.6",
"body-parser": "^1.15.2",
"bonzo": "^2.0.0",
"chart.js": "^1.1.1",
"cookie-session": "^2.0.0-alpha.1",
"dataloader": "^1.2.0",
"dotenv": "^2.0.0",
"draft-js": "^0.7.0",
"express": "^4.14.0",
"faker": "^3.1.0",
"google-libphonenumber": "^1.0.25",
"graphql": "^0.6.1",
"graphql-tag": "^0.1.9",
"graphql-type-json": "^0.1.2",
"humps": "^1.1.0",
"isomorphic-fetch": "^2.2.1",
"json-loader": "^0.5.4",
"knex": "^0.13.0",
"lodash": "^4.13.1",
"material-ui": "^0.15.2",
"minilog": "^3.0.1",
"moment": "^2.14.1",
"nexmo": "^1.0.0-beta-7",
"nodemailer": "^4.0.1",
"papaparse": "^4.1.2",
"passport": "^0.3.2",
"passport-auth0": "^0.5.2",
"pg": "^6.4.0",
"query-string": "^4.1.0",
"react": "^15.6.1",
"react-addons-css-transition-group": "^15.2.1",
"react-apollo": "^0.3.15",
"react-async-script": "^0.6.0",
"react-chartjs": "^0.7.3",
"react-dom": "^15.6.1",
"react-formal": "^0.18.5",
"react-router": "^2.5.2",
"react-router-redux": "^4.0.5",
"react-tap-event-plugin": "^2.0.0",
"redux": "^3.7.2",
"redux-thunk": "^2.1.0",
"rethink-knex-adapter": "^0.4.2",
"rollbar": "^0.6.2",
"stripe": "^4.9.0",
"thinky": "^2.3.3",
"transform-loader": "^0.2.3",
"twilio": "^2.11.0",
"uuid": "^3.1.0",
"webpack": "^1.13.1",
"webpack-manifest-plugin": "^1.0.1",
"yup": "^0.19.0"
},
"devDependencies": {
"babel-eslint": "^6.1.2",
"babel-jest": "^20.0.3",
"eslint": "^2.9.0",
"eslint-config-airbnb": "^9.0.1",
"eslint-plugin-import": "^1.10.2",
"eslint-plugin-jsx-a11y": "^1.5.5",
"eslint-plugin-react": "^5.2.2",
"foreman": "^1.4.1",
"jest": "^20.0.4",
"jest-cli": "^20.0.4",
"json2csv": "^3.6.2",
"nodemon": "^1.9.2",
"react-hot-loader": "^1.3.0",
"regenerator-runtime": "^0.10.5",
"sqlite3": "^3.1.9",
"webpack-dev-server": "^1.14.1"
},
"jest": {
"testEnvironment": "node",
"globals": {
"DB_JSON": "{\"client\":\"sqlite3\",\"connection\":{\"filename\":\"./test.sqlite\"},\"defaultsUnsupported\":true}"
},
"moduleFileExtensions": [
"js",
"jsx"
],
"transform": {
".*.js": "<rootDir>/node_modules/babel-jest"
},
"moduleDirectories": [
"node_modules"
],
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/__mocks__/fileMock.js",
"\\.(css|less)$": "<rootDir>/__mocks__/styleMock.js"
}
}
}