-
Notifications
You must be signed in to change notification settings - Fork 229
Expand file tree
/
Copy pathpackage.json
More file actions
177 lines (177 loc) · 6.71 KB
/
package.json
File metadata and controls
177 lines (177 loc) · 6.71 KB
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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
{
"name": "fxa-content-server",
"version": "0.0.0",
"description": "Firefox Accounts Content Server",
"scripts": {
"prebuild": "yarn l10n-prime && yarn copy-local-config && yarn check-local-config ",
"build": "yarn build-l10n && yarn build-css && yarn build-js",
"build-css": "NODE_ENV=production tailwindcss --postcss -i ./app/styles/tailwind.css -o ./app/styles/tailwind.out.css",
"build-js": "NODE_ENV=production grunt build",
"build-l10n": "yarn l10n-create-json",
"check-local-config": "node scripts/check-local-config",
"clean": "rimraf dist",
"compile": "tsc --noEmit",
"copy-local-config": "cp server/config/local.json-dist server/config/local.json",
"glean-generate": "npx glean translate ../fxa-shared/metrics/glean/fxa-ui-pings.yaml ../fxa-shared/metrics/glean/fxa-ui-metrics.yaml -f javascript -o app/scripts/lib/glean && npx glean translate ../fxa-shared/metrics/glean/fxa-backend-pings.yaml ../fxa-shared/metrics/glean/fxa-backend-metrics.yaml -f javascript_server -s module_spec=commonjs -o server/lib/glean && prettier --config ../../_dev/.prettierrc --write app/scripts/lib/glean/*.js server/lib/glean/*.js",
"audit": "npm audit --json | audit-filter --nsp-config=.nsprc --audit=-",
"l10n-create-json": "NODE_OPTIONS=--openssl-legacy-provider grunt l10n-create-json",
"l10n-prime": "yarn l10n:prime packages/fxa-content-server",
"lint": "yarn lint-glean && eslint app server --cache",
"lint-glean": "npx glean glinter ../fxa-shared/metrics/glean/fxa-ui-pings.yaml ../fxa-shared/metrics/glean/fxa-ui-metrics.yaml",
"start": "pm2 start pm2.config.js && yarn check:url localhost:3030/bundle/app.bundle.js",
"stop": "pm2 stop pm2.config.js",
"restart": "pm2 restart pm2.config.js ",
"delete": "pm2 delete pm2.config.js",
"start-production": "NODE_ENV=production grunt build && yarn build-css && CONFIG_FILES=server/config/local.json,server/config/production.json,server/config/secrets.json grunt serverproc:dist",
"start-remote": "scripts/run_remote_dev.sh",
"format": "prettier --write --config ../../_dev/.prettierrc '**'"
},
"repository": {
"type": "git",
"url": "https://github.com/mozilla/fxa.git"
},
"homepage": "https://github.com/mozilla/fxa/tree/main/packages/fxa-content-server",
"bugs": "https://github.com/mozilla/fxa/issues",
"author": "Mozilla (https://mozilla.org/)",
"license": "MPL-2.0",
"dependencies": {
"babel-loader": "^9.1.3",
"backbone": "^1.6.0",
"backbone.cocktail": "0.5.15",
"base32-decode": "1.0.0",
"body-parser": "^1.20.3",
"browserify-zlib": "^0.2.0",
"buffer": "^6.0.3",
"cache-loader": "^4.1.0",
"chosen-js": "https://github.com/mozilla-fxa/chosen.git#3bea55b356c249ae82980c04f67ccc98ff3b28b0",
"consolidate": "1.0.3",
"convict": "^6.2.5",
"convict-format-with-moment": "^6.2.0",
"convict-format-with-validator": "^6.2.0",
"cookie-parser": "1.4.6",
"crypto-browserify": "^3.12.0",
"css-loader": "1.0.0",
"duration-js": "4.0.0",
"expose-loader": "5.0.0",
"express": "^4.21.2",
"fast-text-encoding": "^1.0.4",
"fxa-auth-client": "workspace:*",
"fxa-auth-server": "workspace:*",
"fxa-geodb": "workspace:*",
"fxa-mustache-loader": "0.0.2",
"fxa-pairing-channel": "1.0.2",
"fxa-profile-server": "workspace:*",
"fxa-react": "workspace:*",
"fxa-settings": "workspace:*",
"fxa-shared": "workspace:*",
"grunt": "^1.6.1",
"grunt-babel": "8.0.0",
"grunt-cdn": "0.6.5",
"grunt-contrib-clean": "^2.0.1",
"grunt-contrib-concat": "2.1.0",
"grunt-contrib-copy": "1.0.0",
"grunt-contrib-cssmin": "5.0.0",
"grunt-contrib-htmlmin": "3.1.0",
"grunt-file-rev": "1.0.2",
"grunt-po2json": "https://github.com/mozilla-fxa/grunt-po2json.git#2f415c8ac0435bf8942dc7131c3916ecd1684a46",
"grunt-sri": "0.2.0",
"grunt-text-replace": "0.4.0",
"grunt-usemin": "3.1.1",
"grunt-z-schema": "0.1.0",
"handlebars": "^4.7.9",
"helmet": "^8.0.0",
"hot-shots": "^10.2.1",
"http-proxy-middleware": "^2.0.7",
"i18n-abide": "0.0.26",
"joi": "^17.13.3",
"jquery": "3.7.0",
"jquery-modal": "https://github.com/mozilla-fxa/jquery-modal.git#0576775d1b4590314b114386019f4c7421c77503",
"jquery-simulate": "1.0.2",
"jquery-ui": "1.14.0",
"jquery-ui-touch-punch-amd": "1.0.1",
"js-md5": "0.7.3",
"jsxgettext-recursive-next": "1.1.0",
"legal-docs": "https://github.com/mozilla/legal-docs.git#68a02d3a95f22fb10db68893bb54e49bc0604f69",
"load-grunt-tasks": "^5.1.0",
"lodash": "^4.18.1",
"mkdirp": "3.0.1",
"mocha": "^10.4.0",
"morgan": "^1.10.0",
"mozlog": "^3.0.2",
"mustache": "4.2.0",
"node-uuid": "1.4.8",
"node-vat": "0.0.9",
"normalize.css": "8.0.1",
"on-headers": "1.1.0",
"postcss-cli": "11.0.0",
"postcss-loader": "8.1.1",
"sass-loader": "^16.0.3",
"serve-static": "^1.16.0",
"source-map": "^0.7.3",
"source-map-loader": "^5.0.0",
"stream-browserify": "^3.0.0",
"thread-loader": "^4.0.2",
"time-grunt": "2.0.0",
"ua-parser-js": "1.0.35",
"underscore": "^1.13.8",
"verror": "1.10.1",
"webpack": "^5.104.1"
},
"devDependencies": {
"@babel/cli": "7.23.0",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@types/backbone": "^1.4.19",
"@types/postcss-import": "^14",
"@types/sinon-chai": "3.2.5",
"@types/sinon-express-mock": "1.3.9",
"audit-filter": "^0.5.0",
"babel-eslint": "^10.1.0",
"babel-plugin-dynamic-import-webpack": "1.1.0",
"chai": "^4.5.0",
"copy-webpack-plugin": "12.0.2",
"core-js": "^3.41.0",
"css": "3.0.0",
"esbuild": "^0.17.15",
"esbuild-register": "^3.5.0",
"eslint": "^7.32.0",
"firefox-profile": "4.7.0",
"got": "11.8.5",
"grunt-ban-word": "0.1.1",
"grunt-copyright": "0.3.0",
"grunt-htmllint": "0.3.0",
"grunt-jsonlint": "3.0.0",
"grunt-newer": "1.3.0",
"grunt-todo": "0.5.0",
"htmlparser2": "9.1.0",
"install": "0.13.0",
"jsqr": "1.4.0",
"mini-css-extract-plugin": "^2.9.2",
"otplib": "^11.0.1",
"pm2": "^6.0.14",
"postcss-assets": "^6.0.0",
"postcss-import": "^16.1.0",
"prettier": "^3.5.3",
"proxyquire": "^2.1.3",
"request": "^2.88.2",
"request-promise": "4.2.6",
"sinon": "4.5.0",
"sinon-chai": "^4.0.0",
"sinon-express-mock": "^2.2.1",
"tailwindcss": "^3.4.1",
"ts-loader": "^9.5.1",
"typescript": "5.5.3",
"upng-js": "2.1.0",
"url-loader": "4.1.1",
"webpack-dev-middleware": "^7.4.0",
"xmlhttprequest": "^1.8.0",
"yargs": "^17.0.1"
},
"readmeFilename": "README.md",
"nx": {
"tags": [
"scope:frontend",
"type:core"
]
}
}