-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
102 lines (102 loc) · 3.14 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": "contributors-svg",
"version": "2.2.0",
"repository": {
"type": "git",
"url": "https://github.com/opencollective/contributors-svg.git"
},
"private": true,
"engines": {
"node": "^16.0.0",
"npm": "^6.9.0"
},
"dependencies": {
"@hyperwatch/hyperwatch": "3.8.2",
"@octokit/auth-oauth-app": "4.3.1",
"@octokit/rest": "18.12.0",
"apollo-boost": "0.4.9",
"bluebird": "3.7.2",
"cached-request": "3.0.0",
"debug": "4.3.4",
"dotenv": "16.0.1",
"express": "4.17.2",
"express-basic-auth": "1.2.1",
"express-winston": "4.2.0",
"express-ws": "5.0.2",
"graphql": "16.5.0",
"image-size": "1.0.1",
"lodash": "4.17.21",
"lru-cache": "7.10.1",
"mime-types": "2.1.34",
"node-fetch": "2.6.7",
"p-limit": "3.1.0",
"p-queue": "6.6.2",
"redis": "3.1.2",
"request": "2.88.2",
"sharp": "0.30.6",
"winston": "3.7.2"
},
"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",
"lint": "eslint \"src/**/*.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\"",
"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"
},
"devDependencies": {
"@babel/cli": "^7.14.8",
"@babel/core": "^7.15.0",
"@babel/eslint-parser": "^7.15.0",
"@babel/node": "^7.14.9",
"@babel/preset-env": "^7.15.0",
"babel-plugin-lodash": "^3.3.4",
"commitizen": "^4.2.4",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^7.32.0",
"eslint-config-opencollective": "^3.0.1",
"eslint-plugin-babel": "^5.3.1",
"eslint-plugin-graphql": "^4.0.0",
"eslint-plugin-import": "^2.24.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-react": "^7.24.0",
"eslint-plugin-simple-import-sort": "^7.0.0",
"husky": "^4.3.8",
"lint-staged": "^10.5.4",
"nodemon": "^2.0.12",
"npm-run-all": "^4.1.5",
"prettier": "^2.3.2"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"nodemonConfig": {
"watch": [
"src/server"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": [
"prettier --write"
]
}
}