-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpackage.json
68 lines (68 loc) · 2.01 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
{
"name": "cookie-consent",
"version": "0.5.4",
"description": "In-house solution for managing cookies on nhs.uk",
"main": "src/cookieconsent.js",
"directories": {
"test": "tests"
},
"scripts": {
"build": "webpack",
"build:production": "webpack --mode=production",
"lint": "eslint .",
"start": "npm run watch & npm run testserver",
"test": "start-server-and-test testserver http://localhost:8080 test-all",
"test-all": "npm-run-all --continue-on-error test:*",
"test:unit": "jest --runInBand --coverage=true",
"test:integration": "jest -c tests/integration-tests/jest.config.js --coverage=true",
"testserver": "./node_modules/.bin/http-server",
"clear_jest": "jest --clearCache",
"watch": "webpack --watch",
"prepare": "husky install"
},
"repository": {
"type": "git",
"url": "git+https://github.com/nhsuk/cookie-consent.git"
},
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/nhsuk/cookie-consent/issues"
},
"homepage": "https://github.com/nhsuk/cookie-consent#readme",
"devDependencies": {
"@babel/cli": "^7.24.1",
"@babel/core": "^7.24.4",
"@babel/polyfill": "7.12.1",
"@babel/preset-env": "^7.24.4",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "^29.7.0",
"babel-loader": "^9.1.3",
"babel-plugin-rewire": "^1.2.0",
"css-loader": "^7.0.0",
"eslint": "^9.0.0",
"eslint-config-nhsuk": "^1.0.0",
"html-loader": "^0.5.5",
"http-server": "^14.1.1",
"husky": "^9.0.11",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-puppeteer": "^10.0.1",
"jsdom": "^24.0.0",
"nhsuk-frontend": "^8.1.1",
"node-sass": "^9.0.0",
"npm-run-all": "^4.1.5",
"puppeteer": "^22.6.3",
"regenerator-runtime": "^0.14.1",
"sass": "^1.74.1",
"sass-loader": "^14.1.1",
"start-server-and-test": "^2.0.3",
"webpack": "^5.91.0",
"webpack-cli": "^5.1.4"
},
"husky": {
"hooks": {
"pre-push": "npm run lint && npm run test"
}
}
}