-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
114 lines (114 loc) · 4.21 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
{
"name": "EVW-Self-Serve",
"version": "1.0.0",
"main": "app.js",
"description": "A tiny, HOF-based form to allow Electronic visa waiver users to update their travel details.",
"license": "GPLv2",
"repository": {
"type": "git",
"url": "https://github.com/UKHomeOffice/evw-self-serve/"
},
"engines": {
"node": "^6.11.4",
"npm": "^5.4.2"
},
"scripts": {
"start": "node .",
"dev": "npm-run-all --parallel watch:app watch:scss watch:js watch:translations",
"mock": "npm-run-all --parallel mock:integration mock:flight",
"mock:integration": "INTEGRATION_SERVICE_URL=http://localhost:9300 node ./node_modules/.bin/evw-integration-stub",
"mock:flight": "node ./node_modules/.bin/evw-ffs",
"dev:mock": "npm-run-all --parallel dev mock",
"inspect": "NODE_ENV=development node --inspect app.js",
"inspect:mock": "npm-run-all --parallel inspect mock",
"watch:app": "NODE_ENV=development nodemon --watch apps -e html,json,js",
"watch:scss": "nodemon -e scss -x 'npm run sass'",
"watch:js": "nodemon --watch assets/js -x 'npm run browserify'",
"watch:translations": "nodemon --watch apps/update-journey-details/translations/src -x 'npm run hof-transpile'",
"cypress:open": "cypress open",
"cypress": "cypress run",
"test": "NODE_ENV=test node_modules/.bin/mocha",
"test:acceptance": "node_modules/.bin/nightwatch -e default --skiptags update_journey_smoke",
"test:acceptance:chrome": "node_modules/.bin/nightwatch -e chrome --skiptags update_journey_smoke",
"test:ci": "npm run lint && npm run test",
"browserify": "browserify ./assets/js/index.js > ./public/js/bundle.js",
"lint": "eslint .",
"copy:images": "cp -r ./assets/images ./public/",
"quality": "plato -r -x 'node_modules|reports|test' -d reports/plato .",
"sass": "node_modules/node-sass/bin/node-sass ./assets/scss/app.scss ./public/css/app.css --include-path ./node_modules",
"create:public": "mkdir -p ./public/js ./public/css ./public/images",
"hof-transpile": "hof-transpiler ./apps/**/translations/src -w --shared ./apps/common/translations/src",
"postinstall": "npm run create:public; npm run sass; npm run browserify; npm run copy:images; npm run hof-transpile"
},
"author": "HomeOffice",
"dependencies": {
"accessible-autocomplete": "^2.0.3",
"async": "^2.0.0-rc.6",
"body-parser": "^1.13.0",
"browserify": "^13.0.1",
"churchill": "0.0.5",
"connect-mongo": "^1.3.2",
"connect-redis": "^3.0.2",
"cookie-parser": "^1.3.5",
"dayjs": "1.11.0",
"evw-ffs": "^2.0.0",
"evw-schemas": "6.1.0",
"express": "^4.12.4",
"express-partial-templates": "^0.1.0",
"express-session": "^1.13.0",
"forever": "~0.15.1",
"hof": "^8.1.0",
"hogan-express-strict": "^0.5.4",
"hogan.js": "^3.0.2",
"jquery": "^3.4.1",
"jsonschema": "^1.1.1",
"lodash": "^4.13.1",
"moment": "^2.13.0",
"moment-business": "^3.0.0",
"moment-timezone": "^0.5.4",
"node-sass": "^4.5.3",
"nodemailer": "^2.4.2",
"nodemailer-smtp-transport": "^2.5.0",
"nodemailer-stub-transport": "^1.0.0",
"redis": "^2.6.1",
"request": "^2.72.0",
"rtp-monitoring-metrics": "^0.1.0",
"underscore": "^1.8.3",
"validate.js": "^0.10.0",
"winston": "^1.*.*"
},
"devDependencies": {
"chai": "^3.0.0",
"chai-as-promised": "^5.3.0",
"chromedriver": "^2.24.1",
"colour": "^0.7.1",
"cucumber": "^1.2.0",
"cypress": "^3.1.0",
"debug": "^2.2.0",
"dyson": "^0.10.0",
"eslint": "^2.11.1",
"eslint-plugin-filenames": "^1.0.0",
"eslint-plugin-mocha": "^3.0.0",
"eslint-plugin-one-variable-per-var": "0.0.3",
"evw-integration-stub": "^1.8.4",
"hof-transpiler": "0.0.6",
"jscs": "^3.0.4",
"jsdom": "^9.9.1",
"mocha": "^2.2.5",
"mocha-junit-reporter": "^1.4.0",
"mocha-multi": "^0.9.0",
"nightwatch": "^0.9.2",
"nightwatch-cucumber": "^4.0.0",
"nodemon": "^1.9.0",
"npm-run-all": "^2.1.1",
"phantomjs-prebuilt": "^2.1.7",
"plato": "^1.5.0",
"pre-commit": "^1.0.10",
"proxyquire": "^1.5.0",
"selenium-server": "^2.53.0",
"sinomocha": "^0.2.4",
"sinon": "^1.17.7",
"sinon-as-promised": "^4.0.2",
"sinon-chai": "^2.8.0"
}
}