-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
167 lines (167 loc) · 5.91 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
166
167
{
"name": "editorial-frontend",
"version": "0.0.1",
"description": "System for producing content for NDLA",
"type": "module",
"scripts": {
"build:client": "vite build --outDir build/public",
"build:server": "node scripts/build-server.mjs",
"build": "yarn clean && yarn tsc && cross-env NODE_ENV=production NODE_OPTIONS='--max-old-space-size=3072 --preserve-symlinks' yarn build:client && yarn build:server",
"clean": "rimraf ./build ./node_modules/.cache",
"check-all": "yarn lint && yarn tsc --noEmit && yarn test",
"lint": "yarn format-check && yarn lint-es",
"lint-es": "eslint --cache --cache-location '.eslintcache/' --ext .js,.jsx,.ts,.tsx --max-warnings=0 src",
"format-check": "prettier '{src,scripts}/**/*(*.js|*.jsx|*.ts|*.tsx)' --check",
"format": "prettier '{src,scripts}/**/*(*.js|*.jsx|*.ts|*.tsx)' --write",
"start:tsc": "tsc -b -w --preserveWatchOutput",
"start": "cross-env NODE_ENV=development NODE_OPTIONS='--max-old-space-size=3072 --preserve-symlinks' concurrently \"yarn start:tsc\" \"tsx src/index.ts\"",
"start-with-local-converter": "LOCAL_CONVERTER=true NODE_OPTIONS='--preserve-symlinks' yarn start",
"start-prod": "cross-env NODE_ENV=production node build/server.mjs",
"start-minimal": "NODE_ENV=development NODE_OPTIONS='--max-old-space-size=3072 --preserve-symlinks' tsx src/index.ts",
"now-start": "cross-env NODE_ENV=production NOW=true node build/server.mjs",
"test": "vitest --run",
"tdd": "vitest",
"e2e": "playwright test --ui",
"e2e:headless": "playwright test",
"e2e:record": "DISABLE_CSP=true RECORD_FIXTURES=true playwright test --ui",
"check-translations": "vitest src/phrases/__tests__/ --run"
},
"engines": {
"node": ">=20.13.1",
"npm": ">=8.0.0"
},
"devDependencies": {
"@babel/core": "^7.24.5",
"@emotion/babel-plugin": "11.11.0",
"@emotion/eslint-plugin": "11.11.0",
"@emotion/jest": "11.11.0",
"@ndla/preset-panda": "^0.0.44",
"@ndla/scripts": "^2.1.2",
"@ndla/types-backend": "^0.2.96",
"@ndla/types-embed": "^5.0.4-alpha.0",
"@ndla/types-taxonomy": "^1.0.30",
"@pandacss/dev": "^0.46.1",
"@playwright/test": "^1.42.0",
"@tanstack/react-query-devtools": "^5.7.2",
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/react": "^15.0.2",
"@types/auth0-js": "^9.13.2",
"@types/diff-match-patch": "^1.0.32",
"@types/express": "^5.0.0",
"@types/lodash": "^4.17.10",
"@types/node": "^20.12.12",
"@types/node-fetch": "^2.6.2",
"@types/prismjs": "^1.26.0",
"@types/react": "^18.3.2",
"@types/react-dom": "^18.3.0",
"@vitejs/plugin-react": "^4.3.1",
"concurrently": "^8.2.2",
"cross-env": "^7.0.3",
"esbuild": "^0.20.2",
"eslint": "^8.57.0",
"eslint-config-ndla": "^5.0.3",
"filter-console": "^0.1.1",
"jsdom": "^24.0.0",
"nock": "^13.5.4",
"postcss": "^8.4.39",
"postcss-import": "^16.1.0",
"postcss-preset-env": "^9.6.0",
"postcss-reporter": "^7.1.0",
"rimraf": "^3.0.0",
"sirv": "^2.0.4",
"tsx": "^4.7.2",
"typescript": "^5.4.5",
"vite": "^5.4.8",
"vitest": "^2.1.1"
},
"dependencies": {
"@ark-ui/react": "^4.1.2",
"@dnd-kit/core": "^6.0.8",
"@dnd-kit/modifiers": "^6.0.1",
"@dnd-kit/sortable": "^7.0.2",
"@dnd-kit/utilities": "^3.2.1",
"@emotion/react": "^11.11.1",
"@emotion/styled": "^11.11.0",
"@fontsource/source-code-pro": "^4.5.9",
"@fontsource/source-sans-pro": "^4.5.9",
"@fontsource/source-serif-pro": "^4.5.7",
"@ndla/article-converter": "^10.0.71-alpha.0",
"@ndla/audio-search": "^7.0.58-alpha.0",
"@ndla/button": "^15.0.43-alpha.0",
"@ndla/error-reporter": "^2.0.4",
"@ndla/icons": "^8.0.42-alpha.0",
"@ndla/image-search": "^11.0.60-alpha.0",
"@ndla/licenses": "^8.0.3-alpha.0",
"@ndla/modal": "^8.0.42-alpha.0",
"@ndla/primitives": "^1.0.52-alpha.0",
"@ndla/safelink": "^7.0.53-alpha.0",
"@ndla/styled-system": "^0.0.27",
"@ndla/tracker": "^5.0.11-alpha.0",
"@ndla/ui": "^56.0.68-alpha.0",
"@ndla/util": "^5.0.0-alpha.0",
"@ndla/video-search": "^8.0.57-alpha.0",
"@radix-ui/react-popover": "^1.0.3",
"@radix-ui/react-portal": "^1.0.3",
"@radix-ui/react-toolbar": "^1.0.4",
"@tanstack/react-query": "5.7.2",
"auth0-js": "^9.22.1",
"body-parser": "^1.20.3",
"compression": "^1.7.4",
"cross-fetch": "^3.1.5",
"date-fns": "2.30.0",
"diff-match-patch": "^1.0.5",
"downshift": "^3.2.12",
"escape-html": "^1.0.3",
"express": "^5.0.0",
"express-jwt": "^8.4.1",
"form-data": "^4.0.0",
"formik": "^2.4.5",
"graphql": "^16.8.1",
"graphql-request": "^6.0.0",
"he": "^1.2.0",
"helmet": "^3.23.3",
"history": "^5.1.0",
"html-react-parser": "^5.1.8",
"htmldiff-js": "^1.0.5",
"i18next": "^23.11.5",
"is-hotkey": "^0.2.0",
"jwks-rsa": "^3.1.0",
"jwt-decode": "^4.0.0",
"lodash": "^4.17.21",
"monaco-editor": "0.47.0",
"prettier": "^3.1.1",
"prismjs": "^1.29.0",
"punycode": "2.3.1",
"query-string": "^5.1.1",
"react": "^18.3.1",
"react-day-picker": "^8.8.0",
"react-dom": "^18.3.1",
"react-helmet-async": "^1.3.0",
"react-i18next": "^14.1.1",
"react-image-crop": "^11.0.2",
"react-router-dom": "^6.1.0",
"react-simple-code-editor": "^0.13.1",
"serialize-javascript": "^6.0.2",
"slate": "^0.110.2",
"slate-history": "^0.109.0",
"slate-hyperscript": "^0.100.0",
"slate-react": "^0.110.2",
"source-map-support": "^0.5.13",
"winston": "^3.13.0"
},
"repository": {
"type": "git",
"url": "https://github.com/NDLANO/editorial-frontend.git"
},
"bugs": {
"url": "https://github.com/NDLANO/editorial-frontend/issues"
},
"homepage": "https://github.com/NDLANO/editorial-frontend",
"author": "[email protected]",
"license": "GPL-3.0",
"packageManager": "[email protected]",
"browserslist": [
"> 0.25%",
"not dead"
]
}