-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathpackage.json
53 lines (53 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
45
46
47
48
49
50
51
52
53
{
"name": "teacher-training-api",
"private": true,
"engines": {
"node": "20.x"
},
"scripts": {
"build": "yarn run build:css && yarn run build:js",
"build:css": "yarn run build:css:publish && yarn run build:css:find",
"build:css:publish": "sass ./app/assets/stylesheets/publish_application.scss ./app/assets/builds/publish_application.css --no-source-map --load-path=node_modules --load-path=. --quiet-deps",
"build:css:find": "sass ./app/assets/stylesheets/find_application.scss ./app/assets/builds/find_application.css --no-source-map --load-path=node_modules --load-path=. --quiet-deps",
"build:js": "yarn run build:js:publish && yarn run build:js:find",
"build:js:publish": "esbuild app/javascript/publish/*.* --bundle --sourcemap --outdir=app/assets/builds/publish",
"build:js:find": "esbuild app/javascript/find/*.* --bundle --sourcemap --outdir=app/assets/builds/find",
"pretest": "rm -rf .jest-cache",
"standard:fix": "standard --fix",
"standard": "standard",
"test:ci": "jest --ci --runInBand --no-cache --coverage",
"test": "jest"
},
"standard": {
"envs": [
"jest",
"browser"
],
"globals": [
"$",
"google",
"Stimulus"
]
},
"dependencies": {
"@hotwired/stimulus": "^3.2.2",
"@ministryofjustice/frontend": "2.0.0",
"accessible-autocomplete": "^2.0.4",
"core-js": "^3.9.1",
"govuk-frontend": "^5.8.0",
"jquery": "^3.6.0",
"lodash.throttle": "^4.1.1",
"set-value": "^4.0.1"
},
"devDependencies": {
"@babel/preset-env": "^7.18.9",
"@testing-library/dom": "^8.16.0",
"babel-jest": "^28.1.3",
"babel-polyfill": "^6.26.0",
"esbuild": "^0.14.43",
"jest": "^28.1.3",
"jest-environment-jsdom": "^28.1.3",
"sass": "^1.52.3",
"standard": "^17.0.0"
}
}