-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
36 lines (36 loc) · 1.73 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
{
"name": "opg-modernising-lpa",
"version": "0.0.1",
"scripts": {
"build": "yarn build:js && yarn build:css && yarn build:images && yarn build:fonts",
"build:js": "node_modules/.bin/esbuild --bundle web/assets/main.js --minify --outdir=web/static/javascript --sourcemap --resolve-extensions=.mjs,.js",
"build:css": "node_modules/.bin/sass --load-path . --style compressed web/assets/main.scss web/static/stylesheets/all.css",
"build:images": "mkdir -p web/static/assets/images && cp node_modules/govuk-frontend/dist/govuk/assets/images/* node_modules/@ministryofjustice/frontend/moj/assets/images/* web/static/assets/images",
"build:fonts": "mkdir -p web/static/assets/fonts && cp node_modules/govuk-frontend/dist/govuk/assets/fonts/* web/static/assets/fonts",
"cypress:open": "node_modules/.bin/cypress open",
"cypress:run": "node_modules/.bin/cypress run -vvv",
"cypress:parallel": "cypress-parallel -s cypress:run -t 6 --spec cypress/e2e/**/*.cy.js cypress/smoke/*.cy.js",
"cypress:parallel-with-specs": "cypress-parallel -s cypress:run -t 2",
"test": "jest"
},
"license": "MIT",
"dependencies": {
"@ministryofjustice/frontend": "2.1.3",
"aws-rum-web": "^1.11.0",
"esbuild": "^0.21.0",
"govuk-frontend": "5.3.1",
"jquery": "^3.6.1",
"sass": "^1.56.1",
"totp-generator": "^1.0.0"
},
"devDependencies": {
"axe-core": "^4.6",
"cypress": "^13.0.0",
"cypress-axe": "^1.4",
"cypress-file-upload": "^5.0.8",
"cypress-multi-reporters": "^1.6.1",
"cypress-parallel": "^0.14.0",
"cypress-real-events": "^1.8.1",
"stop-only": "^3.3.1"
}
}