-
Notifications
You must be signed in to change notification settings - Fork 36
/
package.json
165 lines (165 loc) · 6.27 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
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
{
"name": "addons-code-manager",
"version": "0.1.0",
"private": true,
"dependencies": {
"@fortawesome/fontawesome-svg-core": "1.2.36",
"@fortawesome/free-regular-svg-icons": "5.15.4",
"@fortawesome/free-solid-svg-icons": "5.15.4",
"@fortawesome/react-fontawesome": "0.1.16",
"@types/classnames": "2.3.0",
"@types/dompurify": "2.3.1",
"@types/express": "4.17.17",
"@types/filesize": "4.2.0",
"@types/he": "1.1.2",
"@types/helmet": "0.0.48",
"@types/http-proxy": "1.17.9",
"@types/http-proxy-middleware": "0.19.3",
"@types/lodash.chunk": "4.2.6",
"@types/lodash.debounce": "4.0.6",
"@types/lodash.unescape": "4.0.6",
"@types/node": "16.11.13",
"@types/react": "17.0.37",
"@types/react-bootstrap": "0.32.28",
"@types/react-dom": "17.0.11",
"@types/react-helmet": "6.1.4",
"@types/react-redux": "7.0.8",
"@types/react-router-dom": "5.3.2",
"@types/react-textarea-autosize": "4.3.6",
"@types/redux-logger": "3.0.9",
"bootstrap": "5.1.3",
"chalk": "4.1.2",
"classnames": "2.3.1",
"connected-react-router": "5.0.1",
"dompurify": "2.3.4",
"express": "4.18.2",
"filesize": "8.0.6",
"focus-visible": "5.2.0",
"he": "1.2.0",
"helmet": "4.6.0",
"history": "4.10.1",
"http-proxy-middleware": "2.0.1",
"lodash.chunk": "4.2.0",
"lodash.debounce": "4.0.8",
"loglevel": "1.8.0",
"mini-css-extract-plugin": "1.6.2",
"prop-types": "15.7.2",
"query-string": "7.0.1",
"react": "16.14.0",
"react-bootstrap": "1.6.4",
"react-diff-view": "2.4.8",
"react-dom": "16.14.0",
"react-ga": "3.3.1",
"react-helmet": "6.1.0",
"react-redux": "5.1.2",
"react-router": "4.3.1",
"react-router-dom": "4.3.1",
"react-scripts": "4.0.3",
"react-textarea-autosize": "7.1.2",
"react-treefold": "1.0.0",
"redux": "4.2.1",
"redux-devtools-extension": "2.13.9",
"redux-logger": "3.0.6",
"redux-thunk": "2.4.1",
"refractor": "3.5.0",
"sass": "1.44.0",
"ts-node": "10.4.0",
"typesafe-actions": "5.1.0",
"typescript": "4.3.5",
"universal-cookie": "4.0.4",
"universal-cookie-express": "4.0.3"
},
"devDependencies": {
"@storybook/addon-actions": "^6.1.21",
"@storybook/addon-essentials": "^6.1.21",
"@storybook/addon-links": "^6.1.21",
"@storybook/node-logger": "^6.1.21",
"@storybook/preset-create-react-app": "^3.1.7",
"@storybook/react": "^6.1.21",
"@storybook/storybook-deployer": "^2.8.7",
"@types/dedent": "^0.7.0",
"@types/enzyme": "^3.1.15",
"@types/enzyme-adapter-react-16": "^1.0.3",
"@types/jest": "^27.0.0",
"@types/storybook__react": "^4.0.0",
"@types/supertest": "^2.0.10",
"@typescript-eslint/eslint-plugin": "^5.53.0",
"@typescript-eslint/parser": "^5.52.0",
"babel-loader": "8.1.0",
"content-security-policy-parser": "^0.4.0",
"dedent": "^0.7.0",
"enzyme": "^3.8.0",
"enzyme-adapter-react-16": "^1.7.1",
"eslint-config-amo": "^5.0.0",
"eslint-plugin-amo": "^1.10.1",
"jest-enzyme": "^7.1.2",
"jest-fetch-mock": "^3.0.0",
"prettier": "2.5.1",
"pretty-quick": "^3.1.3",
"stmux": "^1.8.4",
"storybook-addon-root-attribute": "^1.0.0",
"supertest": "^6.0.0",
"ts-node-dev": "^1.0.0-pre.32",
"type-coverage": "^2.0.0",
"zlib": "^1.0.5"
},
"scripts": {
"build": "react-scripts build --profile",
"build-local-dev-config": "cat .env.dev .env.common-local > .env.local",
"build-local-olympia-config": "cat .env.olympia > .env.local",
"build-local-stage-config": "cat .env.stage .env.common-local > .env.local",
"dev": "yarn build-local-dev-config && yarn stmux-dev",
"dev-2col": "yarn build-local-dev-config && yarn stmux [ 'yarn test' .. [ 'tsc -w' : 'yarn react-scripts-start' : 'yarn serve-dev' ] ]",
"dev-servers": "yarn build-local-dev-config && yarn stmux [ 'yarn serve-dev' : 'yarn react-scripts-start' ]",
"eject": "react-scripts eject",
"eslint": "eslint --ext ts --ext js --ext tsx src/",
"lint": "yarn eslint",
"olympia": "yarn build-local-olympia-config && yarn stmux-dev",
"prettier": "prettier --write '**'",
"prettier-ci": "prettier --list-different '**' || (echo '\n\nThis failure means you did not run `yarn prettier-dev` before committing\n\n' && exit 1)",
"prettier-dev": "pretty-quick --branch master",
"react-scripts-start": "PORT=3100 BROWSER=none react-scripts start",
"serve": "NODE_ENV=production ts-node -O '{\"module\": \"commonjs\", \"typeRoots\": [\"./src/@types\"]}' scripts/server.tsx",
"serve-dev": "NODE_ENV=development ts-node-dev -O '{\"module\": \"commonjs\", \"typeRoots\": [\"./src/@types\"]}' -- scripts/server.tsx",
"stage": "yarn build-local-stage-config && yarn stmux-dev",
"start": "rm -f .env.local && yarn start-local",
"start-local": "yarn build && yarn serve",
"start-local-dev": "yarn build-local-dev-config && yarn start-local",
"start-local-prod": "cat .env.common-local > .env.local && yarn start-local",
"start-local-stage": "yarn build-local-stage-config && yarn start-local",
"stmux": "stmux -nM -t addons-code-manager -e 'error,!0 errors,!no errors'",
"stmux-dev": "yarn stmux [ 'yarn test' : 'tsc -w' : 'yarn react-scripts-start' : 'yarn serve-dev' ]",
"storybook": "start-storybook -p 9001 -c stories/setup -s public",
"storybook-build": "build-storybook -c stories/setup -s public",
"storybook-deploy": "storybook-to-ghpages --script storybook-build",
"storybook-smoke-test": "yarn storybook --smoke-test",
"test": "react-scripts test --reporters=default --reporters='<rootDir>/src/jest-reporters/eslint-check.js'",
"test-ci": "yarn test --coverage --maxWorkers=2",
"type-coverage": "type-coverage",
"typecheck": "tsc"
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
],
"typeCoverage": {
"atLeast": 99
},
"storybook-deployer": {
"commitMessage": "[skip ci] Deploy Storybook to Github Pages"
},
"homepage": "/",
"jest": {
"resetMocks": false,
"collectCoverageFrom": [
"src/**/*.{js,jsx,ts,tsx}",
"!src/**/*.stories.{js,jsx,ts,tsx}",
"!<rootDir>/node_modules/",
"!src/jest-reporters/eslint-check.js",
"!src/index.tsx",
"!src/storybook-utils.tsx"
]
}
}