forked from opencollective/opencollective-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
162 lines (162 loc) · 6.4 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
{
"name": "opencollective-api",
"version": "0.0.264",
"description": "OpenCollective API",
"author": "@philmod @arnaudbenard @xdamman @asood123",
"main": "server/index.js",
"engines": {
"node": "6.2.2",
"npm": "3.10.5"
},
"dependencies": {
"async": "0.9.2",
"axios": "0.7.0",
"babel-cli": "6.14.0",
"babel-core": "6.14.0",
"babel-eslint": "6.1.2",
"babel-plugin-add-module-exports": "0.2.1",
"babel-plugin-lodash": "3.2.6",
"babel-preset-es2015": "6.9.0",
"babel-preset-stage-0": "6.5.0",
"babel-register": "6.11.5",
"base64url": "1.0.6",
"bcrypt": "1.0.2",
"bluebird": "3.4.0",
"body-parser": "1.15.0",
"child-process-promise": "1.1.0",
"clearbit": "1.2.1",
"config": "1.19.0",
"connect-session-sequelize": "3.1.0",
"cookie-parser": "1.4.3",
"cors": "2.7.1",
"debug": "2.2.0",
"deepmerge": "1.3.0",
"errorhandler": "1.4.3",
"eslint-plugin-mocha": "4.5.0",
"express": "4.14.0",
"express-graphql": "0.6.1",
"express-perf": "1.11.2",
"express-server-status": "1.0.3",
"express-session": "1.14.0",
"flat": "2.0.0",
"form-data": "0.2.0",
"graphql": "0.8.2",
"handlebars": "4.0.5",
"helmet": "3.5.0",
"joi": "7.3.0",
"json2csv": "3.4.2",
"jsonwebtoken": "5.7.0",
"juice": "2.0.0",
"knox": "github:automattic/knox#278337d7673341658efcc81e631c3f63fa53d374",
"knox-mpu-alt": "0.2.2",
"lodash": "3.10.1",
"mailgun-js": "0.7.11",
"mime": "1.3.4",
"moment": "2.12.0",
"moment-timezone": "0.5.2",
"morgan": "1.7.0",
"multer": "0.1.8",
"newrelic": "1.25.5",
"node-slack": "0.0.7",
"node-slug": "0.0.2",
"node-uuid": "1.4.7",
"nodemailer": "1.11.0",
"opencollective-jobs": "github:opencollective/opencollective-jobs#v0.3.1",
"passport": "0.3.2",
"passport-github": "1.1.0",
"passport-meetup-oauth2": "0.0.2",
"passport-twitter": "1.0.4",
"paypal-adaptive": "0.4.2",
"paypal-rest-sdk": "1.6.8",
"pg": "4.5.5",
"pg-hstore": "2.3.2",
"querystring": "0.2.0",
"request-as-curl": "0.1.0",
"request-promise": "4.1.1",
"sanitize-html": "1.14.1",
"sequelize": "3.28.0",
"sequelize-cli": "2.5.1",
"sequelize-temporal": "1.0.3",
"slug": "0.9.1",
"stripe": "4.8.0",
"twitter": "1.3.0",
"unicode": "0.6.1",
"uuid": "3.0.1"
},
"devDependencies": {
"babel-core": "6.14.0",
"babel-loader": "6.2.10",
"babel-polyfill": "6.20.0",
"babel-preset-es2015": "6.9.0",
"babel-preset-stage-0": "6.5.0",
"chai": "3.5.0",
"chance": "0.8.0",
"cheerio": "0.19.0",
"coveralls": "2.11.16",
"dotenv": "1.2.0",
"eslint": "3.1.1",
"eslint-config-opencollective": "1.1.5",
"eslint-plugin-import": "1.14.0",
"eslint-plugin-mocha": "4.5.0",
"eslint-plugin-react": "6.2.0",
"graphiql": "0.8.0",
"mocha": "3.0.2",
"mocha-circleci-reporter": "0.0.2",
"mocha-lcov-reporter": "1.3.0",
"nock": "2.18.2",
"nsp": "2.6.1",
"nyc": "10.1.2",
"react": "0.14.8",
"react-dom": "0.14.8",
"sinon": "1.10.3",
"supertest": "1.2.0",
"supertest-as-promised": "3.1.0",
"webpack": "2.2.0"
},
"scripts": {
"start": "node ./dist/index.js",
"dev": "nodemon server/index.js -x babel-node . -e js,hbs",
"clean": "rm -rf dist && mkdir dist",
"build-server": "babel server -d ./dist",
"build": "npm run clean && npm run build-server",
"hint": "eslint '**/*.js' --quiet",
"nsp": "nsp check",
"pretest": "npm run hint",
"test": "npm run test:unit && npm run coverage",
"test:unit:dev": "mocha --compilers js:babel-core/register --require babel-polyfill --reporter-options mochaFile=$(bash scripts/test_output_dir.sh junit)/junit.xml test",
"test:unit": "nyc mocha --compilers js:babel-core/register --require babel-polyfill --reporter-options mochaFile=$(bash scripts/test_output_dir.sh junit)/junit.xml test",
"test:e2e": "npm run test:e2e:exec api:run website:run website:testE2E app:run app:testE2E",
"test:e2e:exec": "bash scripts/test_e2e.sh",
"coverage": "nyc report --reporter=text-lcov | coveralls",
"db:migrate": "sequelize db:migrate --config config/sequelize_cli.json --models-path server/models/ --env $SEQUELIZE_ENV",
"db:migrate:undo": "sequelize db:migrate:undo --config config/sequelize_cli.json --models-path server/models/ --env $SEQUELIZE_ENV",
"db:migrate:dev": "sequelize db:migrate --models-path server/models/ --env development --url postgres://localhost:5432/${PG_DATABASE:='opencollective_localhost'}",
"db:migrate:dev:undo": "sequelize db:migrate:undo --models-path server/models/ --env development --url postgres://localhost:5432/${PG_DATABASE:='opencollective_localhost'}",
"db:seed": "sequelize db:seed --config config/sequelize_cli.json --env $SEQUELIZE_ENV",
"db:copy:prod": "./scripts/db_copy_to_localhost.sh prod && PG_DATABASE=opencollective_prod_snapshot npm run db:sanitize",
"db:copy:staging": "./scripts/db_copy_to_localhost.sh staging",
"db:copy:prod:staging": "./scripts/db_copy_prod_to_staging.sh && heroku run npm run db:sanitize --app opencollective-staging-api",
"db:sanitize": "babel-node scripts/replace_stripe_accounts",
"db:reset": "babel-node scripts/reset",
"migration:create": "sequelize migration:create --config config/sequelize_cli.json",
"postinstall": "npm run build && sh ./scripts/postinstall.sh",
"git:clean": "./scripts/git_clean.sh",
"deploy:staging": "bash -x scripts/deploy.sh staging",
"deploy:production": "bash -x scripts/deploy.sh production",
"report:weekly": "node cron/weekly/slack-report.js",
"report:monthly": "babel-node cron/monthly/slack-report.js",
"check:transactions": "node scripts/check_transactions_on_stripe",
"script": "node scripts/execute",
"install:debs": "bash scripts/install_apt_get_debs.sh",
"cron:daily": "PG_MAX_CONNECTIONS=1 babel-node cron/daily/update-contributions.js",
"cron:weekly": "PG_MAX_CONNECTIONS=1 babel-node cron/weekly/slack-report.js",
"cron:monthly": "PG_MAX_CONNECTIONS=1 babel-node cron/monthly/email-report.js && babel-node cron/monthly/slack-report.js",
"cron:yearly": "PG_MAX_CONNECTIONS=1 babel-node cron/yearly/email-report.js",
"compile:email": "babel-node scripts/compile-email.js"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/opencollective/opencollective-api.git"
}
}