/
package.json
133 lines (133 loc) · 3.83 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
{
"name": "streetmix",
"version": "1.3.0",
"private": false,
"repository": {
"type": "git",
"url": "https://github.com/streetmix/streetmix.git"
},
"license": "AGPL-3.0-or-later",
"engines": {
"node": "^18.x || ^20.x || ^22.x",
"npm": ">=9.x"
},
"type": "module",
"workspaces": [
"client",
"docs",
"packages/*"
],
"scripts": {
"cypress:open": "cypress open",
"cypress:run": "cypress run",
"start": "concurrently --names \"SERVER,CLIENT\" -c \"bgBlueBright.bold,bgMagentaBright.bold\" \"npm:dev-server\" \"npm:dev-client\"",
"serve": "nodemon -r newrelic index.js",
"build": "npm run -w @streetmix/client build",
"dev-client": "npm run -w @streetmix/client dev",
"dev-server": "nodemon -r dotenv/config --watch app --watch lib --watch index.js --watch app.js index.js",
"test": "npm run lint && npm run vitest",
"lint": "npm run lint:css && npm run lint:js",
"lint:css": "stylelint \"./client/**/*.scss\"",
"lint:js": "eslint --ext .jsx,.js,.tsx,.ts,.cjs .",
"vitest": "vitest",
"vitest:ci": "vitest run --coverage",
"translations:download": "node -r dotenv/config packages/i18n/download_translations.js",
"db:migrate": "npx sequelize-cli db:migrate",
"db:migrate:undo": "npx sequelize-cli db:migrate:undo",
"db:create": "npx sequelize-cli db:create",
"pretest:models": "NODE_ENV=test npm run db:migrate",
"test:models": "NODE_ENV=test vitest --watchAll --testPathPattern=app/db/models/_tests_",
"posttest:models": "NODE_ENV=test npm run db:reset",
"prepare": "husky"
},
"browserslist": [
"> 0.5%",
"last 2 versions",
"not dead"
],
"postcss": {
"modules": false,
"plugins": {
"postcss-round-subpixels": {}
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx,cjs}": [
"prettier --write",
"eslint --fix"
],
"*.{json,scss,css,md}": [
"prettier --write"
]
},
"alias": {
"process": {
"global": "process"
}
},
"@parcel/resolver-default": {
"packageExports": true
},
"dependencies": {
"@transifex/api": "7.1.0",
"axios": "1.6.8",
"axios-retry": "4.1.0",
"chalk": "5.3.0",
"cloudinary": "2.0.3",
"compression": "1.7.4",
"cookie-parser": "1.4.6",
"cookie-session": "2.1.0",
"cors": "2.8.5",
"dotenv": "16.4.5",
"express": "4.19.2",
"express-jwt": "8.4.1",
"glob": "10.3.12",
"hbs": "4.2.0",
"helmet": "7.1.0",
"jwks-rsa": "3.1.0",
"nanoid": "5.0.7",
"newrelic": "11.7.0",
"nodemon": "3.0.1",
"passport": "0.6.0",
"passport-oauth": "1.0.0",
"passport-patreon": "1.0.1",
"pg": "8.11.5",
"sequelize": "6.37.3",
"sequelize-cli": "6.6.2",
"sequelize-mock": "0.10.2",
"svg-sprite": "2.0.2",
"swagger-jsdoc": "6.2.8",
"swagger-ui-express": "5.0.0",
"uuid": "9.0.1",
"winston": "3.13.0"
},
"devDependencies": {
"@commitlint/cli": "19.3.0",
"@commitlint/config-conventional": "19.2.2",
"@faker-js/faker": "8.4.1",
"@typescript-eslint/eslint-plugin": "7.7.0",
"@typescript-eslint/parser": "7.7.0",
"@vitest/coverage-v8": "1.6.0",
"axios-mock-adapter": "1.22.0",
"concurrently": "8.2.2",
"cypress": "13.6.4",
"eslint": "8.57.0",
"eslint-config-standard": "17.1.0",
"eslint-config-standard-jsx": "11.0.0",
"eslint-config-standard-react": "13.0.0",
"eslint-config-standard-with-typescript": "43.0.1",
"eslint-import-resolver-typescript": "3.6.1",
"eslint-plugin-cypress": "2.15.1",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-n": "16.6.2",
"eslint-plugin-promise": "6.1.1",
"eslint-plugin-react": "7.34.1",
"eslint-plugin-react-hooks": "4.6.0",
"husky": "9.0.11",
"lint-staged": "15.2.2",
"prettier": "3.2.5",
"supertest": "7.0.0",
"typescript": "5.2.2",
"vitest": "1.6.0"
}
}