forked from opencollective/opencollective-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
138 lines (138 loc) · 5.29 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
{
"name": "opencollective-api",
"version": "0.0.145",
"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.11.4",
"babel-core": "6.11.4",
"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": "0.8.7",
"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",
"errorhandler": "1.4.3",
"eslint-plugin-mocha": "4.5.0",
"express": "4.14.0",
"express-server-status": "1.0.3",
"express-session": "1.14.0",
"flat": "2.0.0",
"form-data": "0.2.0",
"handlebars": "4.0.5",
"joi": "7.3.0",
"json2csv": "3.4.2",
"jsonwebtoken": "5.7.0",
"juice": "2.0.0",
"knox": "github:automattic/knox#278337d7673341658efcc81e631c3f63fa53d374",
"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-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": "2.72.0",
"request-as-curl": "0.1.0",
"request-promise": "3.0.0",
"sequelize": "3.23.3",
"sequelize-cli": "2.4.0",
"sequelize-temporal": "1.0.3",
"slug": "0.9.1",
"stripe": "4.8.0",
"twitter": "1.3.0"
},
"devDependencies": {
"chai": "3.5.0",
"chance": "0.8.0",
"cheerio": "0.19.0",
"dotenv": "1.2.0",
"eslint": "3.1.1",
"eslint-config-opencollective": "1.1.5",
"eslint-plugin-import": "1.14.0",
"eslint-plugin-react": "6.2.0",
"eslint-plugin-mocha": "4.5.0",
"istanbul": "1.0.0-alpha.2",
"mocha": "2.4.5",
"mocha-circleci-reporter": "0.0.1",
"nock": "2.18.2",
"nsp": "2.4.0",
"sinon": "1.10.3",
"supertest": "1.2.0",
"supertest-as-promised": "3.1.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",
"test:unit": "mocha --reporter-options mochaFile=$(bash scripts/test_output_dir.sh junit)/junit.xml test",
"test:cover": "istanbul cover _mocha -- -R spec 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",
"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: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": "node scripts/reset",
"migration:create": "sequelize migration:create --config config/sequelize_cli.json",
"postinstall": "npm run build && sh ./scripts/postinstall.sh",
"git:clean": "git branch --merged | grep -v \\* | grep -v master | grep -v dev | xargs -n 1 git branch -d",
"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": "babel-node cron/daily/update-contributions.js",
"cron:weekly": "babel-node cron/weekly/slack-report.js",
"cron:monthly": "babel-node cron/monthly/email-report.js && babel-node cron/monthly/slack-report.js"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/opencollective/opencollective-api.git"
}
}