forked from nhsuk/cookie-consent
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
66 lines (66 loc) · 1.94 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
{
"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": "npm run build && start-server-and-test testserver http://localhost:8080 test-all",
"test-all": "npm-run-all --continue-on-error test:*",
"test:unit": "jest --runInBand",
"test:integration": "jest -c tests/integration-tests/jest.config.js",
"testserver": "./node_modules/.bin/http-server",
"clear_jest": "jest --clearCache",
"watch": "webpack --watch"
},
"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.10.5",
"@babel/core": "^7.10.5",
"@babel/polyfill": "^7.10.4",
"@babel/preset-env": "^7.10.4",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "^26.1.0",
"babel-loader": "^8.1.0",
"babel-plugin-rewire": "^1.2.0",
"css-loader": "^2.1.1",
"eslint": "^5.16.0",
"eslint-config-nhsuk": "^0.16.0",
"html-loader": "^0.5.5",
"http-server": "^0.12.3",
"husky": "^3.1.0",
"jest": "^26.1.0",
"jest-environment-jsdom": "^26.1.0",
"jest-puppeteer": "^4.4.0",
"jsdom": "^11.12.0",
"nhsuk-frontend": "^3.1.0",
"node-sass": "^4.14.1",
"npm-run-all": "^4.1.5",
"puppeteer": "^1.20.0",
"regenerator-runtime": "^0.13.5",
"sass-loader": "^7.3.1",
"start-server-and-test": "^1.11.2",
"webpack": "^4.43.0",
"webpack-cli": "^3.3.12"
},
"husky": {
"hooks": {
"pre-push": "npm run lint && npm run test"
}
}
}