forked from filipedeschamps/tabnews.com.br
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
126 lines (126 loc) · 4.58 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
{
"dependencies": {
"@bytemd/plugin-breaks": "1.21.0",
"@bytemd/plugin-gemoji": "1.21.0",
"@bytemd/plugin-gfm": "1.21.0",
"@bytemd/plugin-highlight-ssr": "1.21.0",
"@bytemd/plugin-math": "1.21.0",
"@bytemd/plugin-mermaid": "1.21.0",
"@bytemd/react": "1.21.0",
"@primer/octicons-react": "19.8.0",
"@primer/react": "36.4.0",
"@resvg/resvg-js": "2.4.1",
"@upstash/ratelimit": "0.4.2",
"@upstash/redis": "1.20.4",
"@vercel/analytics": "1.0.0",
"async-retry": "1.3.3",
"bcryptjs": "2.4.3",
"cookie": "0.5.0",
"cross-fetch": "3.1.5",
"date-fns": "2.29.3",
"feed": "4.2.2",
"is-in-subnet": "4.0.1",
"joi": "17.9.2",
"next": "13.2.4",
"next-connect": "0.13.0",
"next-swr": "0.1.2-canary.0",
"node-pg-migrate": "6.2.2",
"nodemailer": "6.9.1",
"nprogress": "0.2.0",
"parse-link-header": "2.0.0",
"pg": "8.10.0",
"pino": "8.11.0",
"react": "18.2.0",
"react-confetti": "6.1.0",
"react-dom": "18.2.0",
"react-icons": "4.8.0",
"react-rewards": "2.0.4",
"recharts": "2.5.0",
"satori": "0.9.1",
"set-cookie-parser": "2.6.0",
"slug": "8.2.2",
"snakeize": "0.1.0",
"styled-components": "5.3.10",
"swr": "2.1.4",
"uuid": "9.0.0",
"vis-network": "9.1.7"
},
"devDependencies": {
"@commitlint/cli": "17.6.1",
"@commitlint/config-conventional": "17.6.1",
"@faker-js/faker": "7.6.0",
"autoprefixer": "10.4.14",
"concurrently": "8.0.1",
"cz-conventional-changelog": "3.3.0",
"dotenv": "16.0.3",
"dotenv-expand": "10.0.0",
"eslint": "8.39.0",
"eslint-config-next": "13.3.1",
"eslint-config-prettier": "8.8.0",
"eslint-plugin-jsx-a11y": "6.7.1",
"eslint-plugin-primer-react": "3.0.0",
"husky": "8.0.3",
"jest": "29.5.0",
"kill-port": "1.6.1",
"lint-staged": "13.2.1",
"prettier": "2.8.8",
"retry-cli": "0.7.0"
},
"scripts": {
"dev": "kill-port 3000 && npm run services:up && npm run migration:run && npm run migration:seed && npm run next && npm run services:stop",
"next": "next dev",
"services:up": "docker-compose -f infra/docker-compose.development.yml up -d || docker compose -f infra/docker-compose.development.yml up -d",
"services:stop": "docker-compose -f infra/docker-compose.development.yml stop || docker compose -f infra/docker-compose.development.yml stop",
"build": "next build",
"build:local": "kill-port 3000 && npm run services:up && npm run migration:run && npm run migration:seed && next build && npm run services:stop",
"start": "next start",
"start:local": "kill-port 3000 && npm run services:up && npm run migration:run && npm run migration:seed && next start && npm run services:stop",
"test": "kill-port 3000 && npm run services:up && concurrently -s -k -n next,jest --hide next \"npm run next\" \"jest --runInBand --verbose\" && npm run services:stop",
"test:watch": "jest --runInBand --watchAll",
"test:watch:services": "kill-port 3000 && npm run services:up && concurrently -s -k -n next,jest \"npm run next\" \"jest --runInBand --watchAll\" && npm run services:stop",
"lint": "npm run lint:next && npm run lint:prettier",
"lint:next": "next lint --max-warnings=0 --dir .",
"lint:prettier": "prettier --check .",
"lint:fix": "eslint --fix . && prettier --write .",
"commit": "cz",
"migration:create": "node-pg-migrate --migrations-dir ./infra/migrations create",
"migration:run": "node -r dotenv-expand/config infra/scripts/wait-for-db-connection-ready.js && node-pg-migrate up --envPath ./.env -m infra/migrations/ 2>migrations.log",
"migration:dry-run": "node-pg-migrate up --dry-run --envPath ./.env -m infra/migrations",
"migration:seed": "node -r dotenv-expand/config infra/scripts/seed-database.js",
"prepare": "husky install",
"pre-commit": "lint-staged"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"eslint --fix",
"prettier --write"
],
"*.{json,css,scss,md}": [
"prettier --write"
]
},
"engines": {
"node": "18"
},
"name": "tabnews.com.br",
"description": "Conteúdos para quem vive de programação e tecnologia.",
"version": "1.0.0",
"repository": {
"type": "git",
"url": "git+https://github.com/filipedeschamps/tabnews.com.br.git"
},
"keywords": [
"news"
],
"author": "Filipe Deschamps",
"license": "GPL-3.0-only",
"bugs": {
"url": "https://github.com/filipedeschamps/tabnews.com.br/issues"
},
"homepage": "https://www.tabnews.com.br/",
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}