-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
81 lines (81 loc) · 2.37 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
76
77
78
79
80
81
{
"name": "tamato",
"author": "Department for International Trade",
"private": true,
"version": "0.1.0",
"description": "Tariff Management Tool",
"repository": "https://github.com/uktrade/tamato.git",
"licence": "MIT",
"engines": {
"node": "^20.10.0",
"npm": "^10.2.3"
},
"dependencies": {
"@babel/core": "^7.23.2",
"@babel/preset-env": "^7.23.7",
"@babel/preset-react": "^7.23.3",
"@types/styled-components": "^5.1.29",
"accessible-autocomplete": "^2.0.3",
"ansi-regex": "^6.0.1",
"babel-loader": "^9.1.3",
"chart.js": "^3.9.1",
"chartjs-adapter-moment": "^1.0.0",
"css-loader": "^5.2.6",
"file-loader": "^6.2.0",
"govuk-frontend": "^3.15.0",
"govuk-react": "^0.10.6",
"mini-css-extract-plugin": "^1.6.0",
"moment": "^2.29.4",
"prop-types": "^15.8.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-select": "^5.8.0",
"sass": "^1.38.2",
"sass-loader": "^12.1.0",
"style-loader": "^3.0.0",
"styled-components": "^6.1.0",
"webpack": "^5.94.0",
"webpack-bundle-tracker": "^3.0.1",
"webpack-cli": "^4.7.2"
},
"scripts": {
"dev": "npx webpack-cli --config webpack.config.js --watch",
"build": "npx webpack-cli --config webpack.config.js --stats-children",
"clean": "rm -f ./run/static/webpack_bundles/*",
"heroku-prebuild": "",
"heroku-postbuild": "npm run build",
"start": "bash scripts/web-worker-entrypoint.sh",
"test": "jest",
"lint:js": "npx eslint . --ext .jsx,.js",
"lint:js:fix": "npx eslint . --ext .jsx,.js --fix",
"lint-staged": "lint-staged --verbose"
},
"lint-staged": {
"*.{js,jsx}": [
"eslint --fix",
"prettier --write"
]
},
"pre-commit": [
"lint-staged"
],
"devDependencies": {
"@testing-library/jest-dom": "^6.2.1",
"@testing-library/react": "^14.1.2",
"babel-jest": "^29.7.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jest": "^27.9.0",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-react": "^7.34.1",
"eslint-plugin-react-hooks": "^4.6.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"lint-staged": "^15.2.2",
"pre-commit": "^1.2.2",
"react-test-renderer": "^18.2.0"
}
}