forked from mozilla/fxa
/
package.json
118 lines (118 loc) · 4.03 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
115
116
117
118
{
"name": "fxa-admin-panel",
"version": "1.230.4",
"description": "FxA Admin Panel",
"scripts": {
"build-postcss": "postcss src/styles/tailwind.css -o src/styles/tailwind.out.css",
"build-storybook": "NODE_ENV=production npm run build-postcss && build-storybook",
"build:client": "tsc --build ../fxa-react && tsc --build && NODE_ENV=production npm run build-postcss && SKIP_PREFLIGHT_CHECK=true PUBLIC_URL=/ INLINE_RUNTIME_CHUNK=false CI=false rescripts build",
"build:server": "tsc -p server/tsconfig.json",
"build": "npm-run-all build:client build:server",
"eject": "react-scripts eject",
"format": "prettier --write --config ../../_dev/.prettierrc '**'",
"lint": "eslint .",
"restart": "tsc --build ../fxa-react && npm run build-postcss && pm2 restart pm2.config.js",
"start": "tsc --build ../fxa-react && npm run build-postcss && pm2 start pm2.config.js",
"stop": "pm2 stop pm2.config.js",
"delete": "pm2 delete pm2.config.js",
"storybook": "npm run build-postcss && start-storybook -p 6009",
"test:frontend": "SKIP_PREFLIGHT_CHECK=true PUBLIC_URL=/ INLINE_RUNTIME_CHUNK=false rescripts test --coverage --verbose",
"test:server": "jest --runInBand --coverage --verbose --config server/jest.config.js --forceExit",
"test": "CI=true npm-run-all test:frontend test:server"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"dependencies": {
"@apollo/client": "^3.4.5",
"@emotion/react": "^11.9.0",
"@sentry/browser": "^6.19.4",
"@sentry/node": "^6.19.2",
"@sentry/tracing": "^6.19.2",
"body-parser": "^1.19.1",
"convict": "^6.2.2",
"convict-format-with-moment": "^6.2.0",
"convict-format-with-validator": "^6.2.0",
"dateformat": "^4.3.1",
"express": "^4.17.2",
"express-http-proxy": "^1.6.3",
"fxa-admin-server": "workspace:*",
"fxa-react": "workspace:*",
"graphql": "^15.6.1",
"helmet": "^5.0.0",
"mozlog": "^3.0.2",
"npm-run-all": "^4.1.5",
"on-headers": "^1.0.2",
"react": "^16.13.0",
"react-dom": "^16.13.0",
"react-router-dom": "^6.2.2",
"react-scripts": "^4.0.3",
"serve-static": "^1.14.2"
},
"devDependencies": {
"@babel/core": "^7.15.0",
"@rescripts/cli": "0.0.16",
"@storybook/addon-actions": "^6.4.12",
"@storybook/addon-links": "^6.3.13",
"@storybook/addons": "^6.3.12",
"@storybook/react": "^6.3.12",
"@tailwindcss/postcss7-compat": "^2.2.17",
"@testing-library/dom": "^8.11.2",
"@testing-library/jest-dom": "^5.16.2",
"@testing-library/react": "^12.1.3",
"@testing-library/user-event": "^14.1.1",
"@types/babel__core": "7.1.14",
"@types/chance": "^1.1.2",
"@types/convict": "^5.2.2",
"@types/dateformat": "^3.0.1",
"@types/eslint": "7.2.13",
"@types/express": "^4.17.12",
"@types/helmet": "4.0.0",
"@types/jest": "^26.0.23",
"@types/jsdom": "^16.2.11",
"@types/on-headers": "^1.0.0",
"@types/react": "^17.0.14",
"@types/serve-static": "1.13.9",
"@types/supertest": "^2.0.11",
"@types/webpack": "5.28.0",
"@typescript-eslint/eslint-plugin": "^5.4.0",
"@typescript-eslint/parser": "^5.4.0",
"autoprefixer": "^9.8.6",
"babel-loader": "^8.2.2",
"chance": "^1.1.8",
"esbuild": "^0.14.2",
"esbuild-register": "^3.2.0",
"eslint": "^7.32.0",
"eslint-config-react-app": "^6.0.0",
"eslint-plugin-fxa": "^2.0.2",
"eslint-plugin-jest": "^24.5.2",
"eslint-plugin-react": "^7.26.1",
"fxa-shared": "workspace:*",
"jest": "27.5.1",
"jest-watch-typeahead": "0.6.5",
"pm2": "^5.1.2",
"postcss-cli": "^7.1.1",
"prettier": "^2.3.1",
"supertest": "^6.2.2",
"tailwindcss": "^1.9.1",
"tailwindcss-textshadow": "^2.1.3",
"ts-jest": "^27.1.4",
"typescript": "^4.5.2",
"webpack": "^4.43.0"
}
}