-
Notifications
You must be signed in to change notification settings - Fork 27
/
package.json
163 lines (163 loc) · 5.18 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
163
{
"name": "blink",
"description": "Lightweight, planet-scale, CDN-driven link shortener for teams 🎉",
"repository": "JaneJeon/blink",
"author": "Jane Jeon <[email protected]>",
"license": "AGPL-3.0",
"proxy": "http://localhost:3000",
"homepage": "/app",
"scripts": {
"prestart": "run-s build:yaml build:schema db:clean && wait-on -l http://keycloak:8080/auth/realms/blink-realm",
"start": "concurrently npm:start:* npm:watch",
"start:frontend": "BROWSER=none FORCE_COLOR=true PORT=4000 react-scripts start | cat",
"start:backend": "nodemon ./bin/www",
"db:clean": "./scripts/drop-db.js",
"db:migrate": "knex migrate:latest",
"db:migrate:one": "knex migrate:up",
"db:migrate:make": "knex migrate:make",
"db:migrate:list": "knex migrate:list",
"db:migrate:unlock": "knex migrate:unlock",
"db:rollback": "knex migrate:rollback",
"db:rollback:one": "knex migrate:down",
"db:seed": "knex seed:run",
"db:seed:make": "knex seed:make --timestamp-filename-prefix",
"build": "run-s build:*",
"build:yaml": "yaml2json config/schema --save",
"build:schema": "./scripts/compile-schema.sh",
"build:frontend": "INLINE_RUNTIME_CHUNK=false react-scripts build",
"watch": "concurrently npm:watch:*",
"watch:yaml": "onchange -k 'config/schema/*.yaml' -- npm run build:yaml",
"watch:schema": "onchange -k 'config/schema/*.json' -- npm run build:schema",
"watch:prettier": "onchange -k '**/*.{js,json,yml}' -- prettier --write --ignore-unknown {{file}}",
"clean": "concurrently npm:clean:*",
"clean:frontend": "rm -rf build",
"clean:logs": "rm -rf logs/*.log",
"clean:db": "npm run db:clean",
"lint": "run-s lint:*",
"lint:prettier": "prettier --check .",
"lint:eslint": "eslint . --cache --ignore-path .gitignore",
"pretest": "run-s build:yaml build:schema",
"test": "run-s test:nowatch:*",
"test:watch": "npm run pretest && concurrently npm:test:watch:* npm:watch --kill-others",
"test:nowatch:frontend": "CI=1 react-scripts test",
"test:watch:frontend": "onchange -i -k '**/*.{js,json,yml}' -- npm run test:nowatch:frontend",
"test:nowatch:backend": "jest --forceExit",
"test:watch:backend": "onchange -i -k '**/*.{js,json,yml}' -- npm run test:nowatch:backend",
"prepare": "husky install"
},
"dependencies": {
"@casl/ability": "^5.4.3",
"@hapi/bourne": "^3.0.0",
"@passport-next/passport": "^3.1.0",
"ajv": "^8.6.3",
"ajv-formats": "^2.1.1",
"connect-redis": "^6.0.0",
"dotenv-flow": "^3.2.0",
"express": "^4.18.2",
"express-async-errors": "^3.1.1",
"express-jwt": "^8.0.0",
"express-query-boolean": "^2.0.0",
"express-rate-limit": "^6.4.0",
"express-session": "^1.17.1",
"express-unless": "^1.0.0",
"got": "^11.8.5",
"helmet": "^5.0.0",
"http-errors": "^2.0.0",
"ioredis": "^5.0.0",
"jwks-rsa": "^2.0.5",
"knex": "^2.4.0",
"lodash": "^4.17.21",
"metascraper": "^5.24.9",
"metascraper-author": "^5.24.9",
"metascraper-date": "^5.24.9",
"metascraper-description": "^5.24.9",
"metascraper-lang": "^5.24.9",
"metascraper-logo": "^5.24.9",
"metascraper-logo-favicon": "^5.24.9",
"metascraper-publisher": "^5.24.9",
"metascraper-title": "^5.24.9",
"normalize-url": "^5",
"objection": "^3.0.0",
"objection-authorize": "^5.0.1",
"objection-hashid": "^3.0.2",
"objection-table-name": "^2.0.2",
"openid-client": "^5.0.0",
"pg": "^8.7.1",
"pino": "^7.6.2",
"rate-limit-redis": "^3.0.1"
},
"devDependencies": {
"@casl/react": "^2.1.1",
"@janejeon/eslint-config": "3.0.0-6",
"@janejeon/prettier-config": "^2.0.0",
"@testing-library/jest-dom": "^5.11.2",
"@testing-library/react": "^12.1.2",
"@testing-library/user-event": "^13.4.1",
"@types/jest": "^27.0.2",
"ajv-cli": "^5.0.0",
"clarify": "^2.1.0",
"concurrently": "^7.0.0",
"dayjs": "^1.10.7",
"history": "^4.10.1",
"husky": "^8.0.3",
"jest-fetch-mock": "^3.0.3",
"jest-junit": "^13.0.0",
"json-schema-faker": "^0.5.0-rcv.40",
"jsonwebtoken": "^9.0.0",
"lint-staged": "^13.2.3",
"nock": "^13.2.1",
"node-notifier": "^10.0.0",
"nodemon": "^2.0.13",
"npm-run-all": "^4.1.5",
"onchange": "^7.1.0",
"pino-pretty": "^7.3.0",
"qrcode": "^1.4.4",
"ra-data-simple-rest": "^3.19.0",
"react": "^17.0.1",
"react-admin": "^3.19.12",
"react-copy-to-clipboard": "^5.0.4",
"react-dom": "^17.0.2",
"react-scripts": "^5.0.0",
"seedrandom": "^3.0.5",
"supertest": "^6.1.6",
"trace": "^3.1.1",
"wait-on": "^6.0.0",
"yamljs": "^0.3.0"
},
"prettier": "@janejeon/prettier-config",
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"keywords": [
"url",
"shortener",
"short",
"bitly",
"domain",
"link",
"express",
"aws",
"cloudfront",
"cloudflare",
"cdn",
"cache",
"objection",
"objection.js",
"postgres",
"knex",
"react",
"next",
"nextjs",
"analytics",
"kutt"
]
}