-
Notifications
You must be signed in to change notification settings - Fork 213
/
Copy pathpackage.json
111 lines (111 loc) · 4.06 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
{
"name": "fxa-react",
"version": "0.0.0",
"description": "Shared components for FxA React Apps",
"exports": {
"./components/": "./dist/packages/fxa-react/components/",
"./configs/tailwind": "./configs/tailwind.js",
"./configs/rescripts": "./configs/rescripts.js",
"./configs/storybooks": "./configs/storybooks.js",
"./images/": "./images/",
"./extract-imported-components": "./extract-imported-components.js",
"./lib/": "./dist/packages/fxa-react/lib/"
},
"scripts": {
"build-css": "tailwindcss -i ./styles/tailwind.css -o ./styles/tailwind.out.css",
"build-storybook": "yarn merge-ftl && NODE_ENV=production yarn build-css && NODE_OPTIONS=--openssl-legacy-provider build-storybook && cp -r public/locales ./storybook-static/locales",
"build": "tsc --build && yarn merge-ftl",
"compile": "tsc --noEmit",
"clean": "git clean -fXd",
"l10n-prime": "yarn l10n:prime fxa-react",
"lint": "eslint . .storybook",
"format": "prettier --write --config ../../_dev/.prettierrc '**'",
"restart": "pm2 restart pm2.config.js",
"start": "yarn merge-ftl && pm2 start pm2.config.js",
"stop": "pm2 stop pm2.config.js",
"delete": "pm2 delete pm2.config.js",
"storybook": "yarn merge-ftl && yarn build-css && NODE_OPTIONS=--openssl-legacy-provider start-storybook -p 6007 --no-version-updates",
"test": "yarn merge-ftl-test && JEST_JUNIT_OUTPUT_FILE=../../artifacts/tests/$npm_package_name/jest-unit.xml jest --coverage --runInBand --logHeapUsage --env=jest-environment-jsdom -t '^(?!.*?#integration).*' --ci --reporters=default --reporters=jest-junit ",
"test-unit": "yarn test",
"test-integration": "echo No integration tests present for $npm_package_name",
"merge-ftl": "yarn l10n-prime && grunt merge-ftl",
"merge-ftl-test": "yarn l10n-prime && grunt merge-ftl:test",
"watch-ftl": "grunt watch-ftl"
},
"dependencies": {
"@fluent/bundle": "^0.18.0",
"@fluent/langneg": "^0.6.2",
"@fluent/react": "^0.13.1",
"async-wait-until": "^2.0.12",
"classnames": "^2.3.1",
"fetch-mock": "^9.11.0",
"fxa-shared": "workspace:*",
"postcss": "^8.4.23",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-helmet": "^6.1.0",
"react-transition-group": "^4.4.2",
"sinon": "^9.2.3",
"tailwindcss-dir": "^4.0.0"
},
"devDependencies": {
"@babel/core": "^7.15.0",
"@storybook/addon-actions": "^6.5.9",
"@storybook/addon-links": "^6.5.9",
"@storybook/addon-postcss": "^2.0.0",
"@storybook/addons": "^6.5.9",
"@storybook/react": "^6.5.9",
"@svgr/webpack": "^5.5.0",
"@testing-library/dom": "^9.2.0",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^12.1.5",
"@testing-library/user-event": "^14.4.3",
"@types/camelcase": "5.2.0",
"@types/classnames": "^2.3.1",
"@types/file-loader": "^5.0.0",
"@types/jest": "^26.0.23",
"@types/node": "^18.14.2",
"@types/postcss-import": "^14",
"@types/prettier": "2.3.0",
"@types/react": "^17.0.14",
"@types/react-dom": "^17.0.9",
"@types/react-helmet": "^6.1.2",
"@types/react-transition-group": "^4.4.2",
"@types/rimraf": "3.0.0",
"@types/sinon": "^10",
"babel-eslint": "^10.1.0",
"babel-loader": "^8.3.0",
"babel-preset-react-app": "^10.0.1",
"camelcase": "^6.3.0",
"eslint": "^7.32.0",
"file-loader": "^4.3.0",
"grunt": "^1.6.1",
"grunt-cli": "^1.4.3",
"grunt-contrib-concat": "^2.1.0",
"grunt-contrib-watch": "^1.1.0",
"identity-obj-proxy": "^3.0.0",
"jest": "27.5.1",
"jest-environment-jsdom": "^27.5.1",
"pm2": "^5.3.0",
"postcss-import": "^15.1.0",
"prettier": "^2.3.1",
"rimraf": "^5.0.0",
"sass-loader": "^10.0.3",
"tailwindcss": "^3.3.1",
"ts-jest": "^29.1.0",
"typescript": "^4.9.3",
"webpack": "^4.43.0"
},
"repository": {
"type": "git",
"url": "https://github.com/mozilla/fxa.git"
},
"keywords": [
"fxa"
],
"author": "Mozilla (https://mozilla.org/)",
"license": "MPL-2.0",
"bugs": {
"url": "https://github.com/mozilla/fxa/issues"
}
}