forked from uktrade/lite-frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
75 lines (75 loc) · 3.23 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
{
"name": "lite-frontend",
"version": "1.0.0",
"description": "Combined repo for LITE exporter and caseworker frontends",
"private": true,
"scripts": {
"build_exporter": "parcel build ./exporter/assets/javascripts/main.js ./exporter/assets/javascripts/cookie-policy-form.js --dist-dir exporter/assets/built --public-url /assets/",
"build_caseworker": "parcel build ./caseworker/assets/javascripts/{main,head,bookmarks,cookie-policy-form,beis,tau,tau-edit,tau-multiple-assessment-edit,case-filters,refusal-review-consolidate,search-products}.js --dist-dir caseworker/assets/built --public-url /assets/",
"watch_exporter": "PARCEL_WORKERS=0 parcel watch --port 8400 ./exporter/assets/javascripts/{main,head}.js ./exporter/assets/javascripts/cookie-policy-form.js --dist-dir exporter/assets/built --public-url /assets/",
"watch_caseworker": "PARCEL_WORKERS=0 parcel watch --port 8401 ./caseworker/assets/javascripts/{main,head,bookmarks,cookie-policy-form,search-cases,beis,tau,tau-edit,tau-multiple-assessment-edit,case-filters,refusal-review-consolidate,search-products}.js --dist-dir caseworker/assets/built --public-url /assets/",
"watch": "rm -rf .parcel-cache && npm run build_exporter && npm run build_caseworker && concurrently 'npm run watch_exporter' 'npm run watch_caseworker'",
"build": "npm install --no-save && npm run build_all",
"build_all": "export NODE_ENV=production && concurrently 'npm run build_exporter' 'npm run build_caseworker'",
"heroku-postbuild": "npm run build && rm -r node_modules",
"test": "jest",
"test:debug": "node --inspect-brk node_modules/.bin/jest --runInBand"
},
"engines": {
"node": "16.20.x",
"npm": "8.19.x"
},
"repository": {
"type": "git",
"url": "git+https://github.com/uktrade/lite-frontend.git"
},
"author": "DIT",
"license": "MIT",
"bugs": {
"url": "https://github.com/uktrade/lite-frontend/issues"
},
"homepage": "https://github.com/uktrade/lite-frontend#readme",
"browserslist": "> 0.25%, not dead",
"devDependencies": {
"@testing-library/dom": "^8.14.0",
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/user-event": "^14.2.1",
"babel-jest": "^28.1.1",
"eslint": "^8.44.0",
"global-jsdom": "^8.5.0",
"jest": "^28.1.1",
"jest-environment-jsdom": "^28.1.1",
"jest-fetch-mock": "^3.0.3"
},
"dependencies": {
"@babel/core": "^7.22.10",
"@babel/preset-env": "^7.22.10",
"@parcel/transformer-image": "^2.11.0",
"@parcel/transformer-sass": "^2.11.0",
"@popperjs/core": "^2.4.4",
"@tarekraafat/autocomplete.js": "^8.3.2",
"accessible-autocomplete": "^2.0.3",
"concurrently": "^8.2.0",
"dotenv": "^15.0.0",
"eslint-plugin-jest": "^27.2.3",
"events": "^3.3.0",
"fetch-polyfill": "^0.8.2",
"govuk-frontend": "^4.8.0",
"highlight-within-textarea": "^2.0.5",
"jquery": "^3.6.0",
"lightpick": "^1.6.2",
"lodash.debounce": "^4.0.8",
"mark.js": "^8.11.1",
"moment": "^2.29.4",
"parcel": "^2.11.0",
"sass": "^1.38.0",
"sortablejs": "^1.11.2-alpha.3",
"tippy.js": "^6.3.7",
"tokenfield": "^1.5.0",
"tributejs": "^5.1.3",
"url-search-params-polyfill": "^8.1.0"
},
"alias": {
"core": "./core/assets/javascripts"
}
}