forked from opencollective/opencollective-rest
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
102 lines (102 loc) · 3.42 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
{
"name": "opencollective-rest",
"version": "2.2.0",
"repository": {
"type": "git",
"url": "https://github.com/opencollective/opencollective-rest.git"
},
"private": true,
"engines": {
"node": "16.x",
"npm": "8.x"
},
"dependencies": {
"@apollo/client": "3.6.9",
"@hyperwatch/hyperwatch": "3.8.2",
"cloudflare-ip": "0.0.7",
"cors": "2.8.5",
"debug": "4.3.4",
"dotenv": "16.0.2",
"express": "4.18.1",
"express-basic-auth": "1.2.1",
"express-winston": "4.2.0",
"express-ws": "5.0.2",
"graphql": "16.6.0",
"graphql-request": "4.3.0",
"graphql-tag": "2.12.6",
"json2csv": "5.0.7",
"lodash": "4.17.21",
"moment": "2.29.4",
"node-fetch": "2.6.7",
"omit-deep-lodash": "1.1.7",
"react": "18.2.0",
"winston": "3.8.2"
},
"scripts": {
"build": "npm run build:clean && npm run build:updates && npm run build:server",
"build:clean": "rm -rf dist",
"build:server": "babel --copy-files ./src --out-dir ./dist",
"build:updates": "npm --prefix node_modules/cloudflare-ip run update-list",
"commit": "git-cz",
"deploy:production": "./scripts/pre-deploy.sh production && git push production main",
"deploy:staging": "./scripts/pre-deploy.sh staging && git push -f staging main",
"dev": "nodemon --exec babel-node -- src/server",
"git:clean": "./scripts/git_clean.sh",
"graphql:update": "npm-run-all graphql:updateV1 graphql:updateV2",
"graphql:updateV1": "curl https://raw.githubusercontent.com/opencollective/opencollective-frontend/main/lib/graphql/schema.graphql --output src/graphql/schema.graphql && prettier src/graphql/schema.graphql --write",
"graphql:updateV2": "curl https://raw.githubusercontent.com/opencollective/opencollective-frontend/main/lib/graphql/schemaV2.graphql --output src/graphql/schemaV2.graphql && prettier src/graphql/schemaV2.graphql --write",
"lint": "eslint \"src/**/*.js\" \"test/**/*.js\"",
"lint:fix": "npm run lint -- --fix",
"lint:quiet": "npm run lint -- --quiet",
"prettier": "prettier \"src/**/*.js\" \"test/**/*.js\"",
"prettier:check": "npm run prettier -- --list-different",
"prettier:write": "npm run prettier -- --write",
"start": "node dist/server",
"test:server": "TZ=UTC ./scripts/run_test.sh",
"prepare": "husky install"
},
"devDependencies": {
"@babel/cli": "^7.6.4",
"@babel/core": "^7.18.6",
"@babel/eslint-parser": "^7.18.2",
"@babel/node": "^7.6.3",
"@babel/preset-env": "^7.9.0",
"babel-eslint": "^10.1.0",
"babel-plugin-lodash": "^3.3.4",
"commitizen": "^4.2.4",
"cz-conventional-changelog": "^3.1.0",
"eslint": "^8.19.0",
"eslint-config-opencollective": "^3.0.3",
"eslint-plugin-babel": "^5.3.1",
"eslint-plugin-graphql": "^4.0.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-react": "^7.30.1",
"eslint-plugin-simple-import-sort": "^8.0.0",
"husky": "^8.0.1",
"jest": "^29.0.0",
"lint-staged": "^13.0.3",
"nodemon": "^2.0.2",
"npm-run-all": "^4.1.5",
"prettier": "^2.0.0"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"jest": {
"testPathIgnorePatterns": [
"opencollective-api/"
]
},
"lint-staged": {
"*.{js,json,md,graphql}": [
"prettier --write"
]
},
"cacheDirectories": [
"node_modules"
],
"heroku-run-build-script": true
}