forked from paulswartz/dotcom
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
44 lines (44 loc) · 1.79 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
{
"name": "dotcom",
"dependencies": {
"artillery": "2.0.11",
"axios": "1.6.8",
"hot-shots": "10.0.0",
"node-cron": "3.0.3",
"node-json-logger": "0.2.1",
"@playwright/test": "1.42.1",
"@sentry/node": "7.109.0",
"pm2": "5.3.1",
"redis": "4.6.13"
},
"devDependencies": {
"prettier": "3.2.5"
},
"scripts": {
"install": "npm install --prefix assets --omit=optional",
"install:ci": "npm ci --prefix assets --omit=optional",
"prettier": "npm run --prefix assets prettier",
"ci:lint:ts": "npm run --prefix assets eslint:ts",
"ci:lint:js": "npm run --prefix assets eslint:js",
"ci:lint:scss": "npm run --prefix assets stylelint -- css/**/*.scss",
"ci:lint:ex": "mix credo diff main -a",
"ci:unit:exunit": "mix coveralls.html",
"ci:unit:mocha": "npm run --prefix assets mocha",
"ci:unit:jest": "npm run --prefix assets jest",
"ci:unit:jest:update": "npm run --prefix assets jest:update",
"ci:types:ex": "mix dialyzer --ignore-exit-status",
"ci:types:ts": "npm run --prefix assets tsc:check",
"ci:format:ex": "mix format --check-formatted",
"ci:format:ts": "npm run --prefix assets prettier:check",
"ci:integration:cypress": "npm run test:cypress:run",
"dialyzer": "mix dialyzer --ignore-exit-status",
"cypress:run": "PORT=4004 npx --prefix assets cypress run",
"cypress:open": "PORT=4004 npx --prefix assets cypress open",
"test:integration": "node --test integration/tests/**/*.test.js",
"test:cypress:run": "npx --prefix assets start-server-and-test 'MIX_ENV=test PORT=4004 mix phx.server' 4004 cypress:run",
"test:cypress:open": "npx --prefix assets start-server-and-test 'MIX_ENV=test PORT=4004 mix phx.server' 4004 cypress:open"
},
"lint-staged": {
"**/*.{ex,exs}": "mix format"
}
}