-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
60 lines (60 loc) · 1.84 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
{
"name": "app",
"private": "true",
"dependencies": {
"@hotwired/stimulus": "^3.2.2",
"@hotwired/turbo-rails": "^8.0.12",
"accessible-autocomplete": "^3.0.1",
"esbuild": "^0.24.0",
"govuk-frontend": "^5.7.1",
"idb": "^8.0.0",
"nhsuk-frontend": "^9.1.0",
"sass": "^1.82.0",
"stimulus": "^3.2.2",
"workbox-build": "^7.3.0"
},
"scripts": {
"build:css": "sass ./app/assets/stylesheets/application.scss:./app/assets/builds/application.css --no-source-map --load-path=node_modules --quiet-deps --style compressed",
"build": "esbuild app/javascript/*.[jt]s app/javascript/controllers/*.[jt]s --bundle --sourcemap --outdir=app/assets/builds --public-path=assets --minify",
"build:serviceworker": "esbuild app/javascript/serviceworker/main.js --bundle --sourcemap --outfile=public/sw.js --minify",
"test:e2e": "PW_EXPERIMENTAL_SERVICE_WORKER_NETWORK_EVENTS=1 playwright test",
"test:load": "artillery run tests/load.yml",
"test": "jest"
},
"devDependencies": {
"@axe-core/playwright": "^4.10.1",
"@playwright/test": "^1.49.0",
"@prettier/plugin-ruby": "^4.0.4",
"@types/jest": "^29.5.14",
"esbuild-jest": "^0.5.0",
"fake-indexeddb": "^4.0.2",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-fetch-mock": "^3.0.3",
"mutationobserver-shim": "^0.3.7",
"officecrypto-tool": "^0.0.18",
"playwright-core": "^1.49.0",
"prettier": "^3.4.2"
},
"jest": {
"collectCoverage": true,
"setupFilesAfterEnv": [
"<rootDir>/jest.setup.js"
],
"testPathIgnorePatterns": [
"app/assets/builds/",
"node_modules/",
"tests"
],
"transformIgnorePatterns": [],
"testEnvironment": "jsdom",
"transform": {
"^.+\\.(j|t)sx?$": [
"esbuild-jest",
{
"sourcemap": true
}
]
}
}
}