-
-
Notifications
You must be signed in to change notification settings - Fork 31
/
package.json
110 lines (110 loc) · 3.36 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
{
"name": "opencollective-images",
"version": "2.2.0",
"repository": {
"type": "git",
"url": "https://github.com/opencollective/opencollective-images.git"
},
"jest": {
"testPathIgnorePatterns": [
"opencollective-api/"
]
},
"private": true,
"engines": {
"node": "20.x",
"npm": "10.x"
},
"dependencies": {
"@hyperwatch/hyperwatch": "4.0.0",
"apollo-boost": "0.4.9",
"bluebird": "3.7.2",
"cached-request": "3.0.0",
"debug": "4.3.4",
"dotenv": "16.3.1",
"express": "4.18.2",
"express-basic-auth": "1.2.1",
"express-winston": "4.2.0",
"express-ws": "5.0.2",
"graphql": "16.8.1",
"graphql-tag": "2.12.6",
"image-size": "1.0.2",
"image-to-ascii": "3.2.0",
"lodash": "4.17.21",
"lru-cache": "10.1.0",
"mime-types": "2.1.35",
"node-fetch": "2.7.0",
"p-limit": "3.1.0",
"redis": "4.6.11",
"request": "2.88.2",
"sharp": "0.32.6",
"winston": "3.11.0"
},
"scripts": {
"start": "NODE_ENV=production node dist/server",
"dev": "nodemon --exec babel-node -- src/server/index.js",
"build": "npm run build:clean && npm run build:server",
"build:clean": "rm -rf dist",
"build:server": "babel --copy-files src --out-dir dist",
"test": "npm run test:server",
"test:server": "TZ=UTC jest test/server/*",
"lint": "eslint \"src/**/*.js\" \"test/**/*.js\"",
"lint:fix": "npm run lint -- --fix",
"lint:quiet": "npm run lint -- --quiet",
"pretest": "npm run lint:quiet && npm run prettier:check",
"commit": "git-cz",
"prettier": "prettier \"src/**/*.js\" \"test/**/*.js\"",
"prettier:write": "npm run prettier -- --write",
"prettier:check": "npm run prettier -- --list-different",
"deploy:production": "./scripts/pre-deploy.sh production && git push production main",
"deploy:staging": "./scripts/pre-deploy.sh staging && git push -f staging main",
"graphql:update": "npm-run-all graphql:updateV1 graphql:updateV2",
"graphql:updateV1": "npx get-graphql-schema http://localhost:3060/graphql > src/graphql/schema.graphql && prettier src/graphql/schema.graphql --write",
"graphql:updateV2": "npx get-graphql-schema http://localhost:3060/graphql/v2 > src/graphql/schemaV2.graphql && prettier src/graphql/schemaV2.graphql --write",
"depcheck": "npx depcheck"
},
"devDependencies": {
"@babel/cli": "^7.23.4",
"@babel/core": "^7.23.3",
"@babel/eslint-parser": "^7.23.3",
"@babel/node": "^7.22.19",
"@babel/preset-env": "^7.23.3",
"babel-plugin-lodash": "^3.3.4",
"commitizen": "^4.3.0",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^8.54.0",
"eslint-config-opencollective": "^3.0.3",
"eslint-plugin-babel": "^5.3.1",
"eslint-plugin-graphql": "^4.0.0",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-simple-import-sort": "^10.0.0",
"husky": "^4.3.8",
"jest": "^29.7.0",
"lint-staged": "^10.2.11",
"nodemon": "^3.0.1",
"npm-run-all": "^4.1.5",
"prettier": "^3.1.0"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"nodemonConfig": {
"watch": [
"src/server"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": [
"prettier --write"
]
}
}