forked from mozilla-services/screenshots
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
113 lines (113 loc) · 3.67 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
{
"name": "firefox-screenshots",
"description": "An experiment in creating better shareable versions of content.",
"version": "40.1.0",
"author": "Mozilla (https://mozilla.org/)",
"bugs": {
"url": "https://github.com/mozilla-services/screenshots/issues"
},
"dependencies": {
"accepts": "1.3.5",
"ajv": "6.7.0",
"atob": "2.1.2",
"aws-sdk": "2.388.0",
"btoa": "1.2.1",
"classnames": "2.2.6",
"content-disposition": "0.5.3",
"convict": "4.4.1",
"cookies": "0.7.3",
"core-js": "2.6.2",
"csurf": "1.9.0",
"envc": "2.5.0",
"escape-html": "1.0.3",
"express": "4.16.4",
"fluent": "0.9.1",
"fluent-intl-polyfill": "0.1.0",
"fluent-langneg": "0.1.0",
"fluent-react": "0.8.2",
"form-data": "2.3.3",
"hawk": "7.0.10",
"jpm": "1.3.1",
"jsdom": "13.1.0",
"keygrip": "1.0.3",
"mobile-detect": "1.4.3",
"morgan": "1.9.1",
"mozlog": "2.2.0",
"multer": "1.4.1",
"node-fetch": "2.3.0",
"node-statsd": "0.1.1",
"nodemon": "1.18.9",
"nodify-uuid": "0.0.1",
"pg": "6.2.5",
"pg-patcher": "0.4.0",
"query-string": "6.2.0",
"raven": "2.6.4",
"raven-js": "3.27.0",
"react": "16.6.3",
"react-dom": "16.6.3",
"react-masonry-component": "6.2.1",
"rimraf": "2.6.3",
"universal-analytics": "0.4.20",
"uuid": "3.3.2",
"valid-url": "1.0.9"
},
"devDependencies": {
"addons-linter": "1.5.3",
"audit-filter": "0.3.0",
"babel-cli": "6.26.0",
"babel-polyfill": "6.26.0",
"babel-preset-es2015": "6.24.1",
"babel-preset-react": "6.24.1",
"body-parser": "1.18.3",
"browserify": "16.2.3",
"envify": "4.1.0",
"eslint": "4.19.1",
"eslint-plugin-mozilla": "1.0.4",
"eslint-plugin-no-unsanitized": "3.0.2",
"eslint-plugin-promise": "4.0.1",
"eslint-plugin-react": "7.11.1",
"fx-runner": "1.0.9",
"geckodriver": "1.14.1",
"istanbul-middleware": "0.2.2",
"mocha": "5.2.0",
"node-sass": "4.11.0",
"npm-run-all": "4.1.5",
"pontoon-to-webext": "1.0.2",
"postcss-cli": "6.1.1",
"postcss-logical": "3.0.0",
"sass-lint": "1.12.1",
"selenium-webdriver": "4.0.0-alpha.1",
"svgo": "1.1.1",
"uglify-es": "3.3.9",
"uglifyify": "5.0.1",
"web-ext": "2.9.3"
},
"engine-strict": true,
"engines": {
"node": ">=8.0.0",
"npm": ">=6.4.1"
},
"homepage": "https://screenshots.firefox.com",
"license": "MPL-2.0",
"repository": {
"type": "git",
"url": "git+https://github.com/mozilla-services/screenshots.git"
},
"scripts": {
"lint": "npm-run-all lint:*",
"lint:addon": "make zip && addons-linter ./build/screenshots.zip -o text",
"lint:flake8": "make flake8",
"lint:js": "eslint .",
"lint:sass": "sass-lint -v -q",
"lint:deps": "npm audit --json | audit-filter --nsp-config=.nsprc --audit=-",
"postlint": "npm audit || true",
"posttest": "npm run lint",
"test": "bin/test-helpers/make_addon_with_unavailable_server && mocha test/ test/server/unit/*",
"test:selenium": "bin/test-helpers/make_addon_with_unavailable_server && mocha test/test.js",
"test:server": "make .venv && make server && cd test/server && ../../.venv/bin/pytest",
"test:accessibility": "make .venv && .venv/bin/pytest test/accessibility --driver Firefox -srx --axe --verbose",
"make_versions_exact": "node bin/build-scripts/make_versions_exact.js",
"fill_database": "make .venv && ./.venv/bin/python ./bin/load_test_exercise.py -q --little-image --create=50 --read-shot=0 --read-my-shots=0 --search=0 --new-account http://localhost:10080",
"svgo": "find webextension/icons/*.svg | grep -v icon-v2.svg | xargs svgo && svgo --folder=static/img"
}
}