forked from WordPress/openverse
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
126 lines (126 loc) · 5.3 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
{
"name": "@openverse/frontend",
"description": "Openverse frontend",
"private": true,
"version": "2.2.1",
"packageManager": "[email protected]",
"scripts": {
"predev": "pnpm install && pnpm i18n:en",
"dev": "run-p dev:only 'i18n:en --watch'",
"dev:only": "nuxt dev --host 0.0.0.0",
"dev:secure": "LOCAL_SSL=enabled pnpm dev",
"build": "NODE_ENV=production nuxt build",
"build:clean": "rm -rf .nuxt",
"docker:build": "docker build . -t openverse-frontend:latest",
"docker:run": "docker run --rm -it -p 127.0.0.1:8443:8443/tcp openverse-frontend:latest",
"generate": "nuxt generate",
"start": "PORT=\"${PORT:-8443}\" CONSOLA_LEVEL=\"${CONSOLA_LEVEL:-1}\" node .output/server/index.mjs",
"start:mem": "PORT=\"${PORT:-8443}\" CONSOLA_LEVEL=\"${CONSOLA_LEVEL:-1}\" node --inspect .output/server/index.mjs",
"start:playwright": "pnpm i18n:test && pnpm start",
"prod": "pnpm build && pnpm start",
"prod:playwright": "pnpm i18n:test && pnpm prod",
"prod:storybook": "pnpm i18n:test && pnpm storybook:build && pnpm storybook:start",
"storybook": "storybook dev --port 54000",
"storybook:build": "pnpm i18n:test && storybook build",
"storybook:start": "pnpx http-server storybook-static -p 54000 -s",
"talkback": "node ./test/proxy.js",
"prepare:nuxt": "pnpm i18n:en && npx nuxi prepare",
"test": "pnpm test:unit && pnpm test:playwright",
"test:unit": "pnpm run i18n:en && NUXT_PUBLIC_PLAUSIBLE_ENABLED=false vitest run",
"test:unit:ui": "pnpm test:unit --ui",
"test:unit:coverage": "pnpm test:unit --coverage",
"test:unit:watch": "pnpm test:unit --collectCoverage=false --watch",
"test:playwright": "./bin/playwright.sh",
"test:playwright:local": "playwright test -c test/playwright",
"test:playwright:debug": "PWDEBUG=1 pnpm test:playwright:local",
"test:playwright:recreate-tapes": "rimraf test/tapes && pnpm test:playwright:update-tapes",
"test:playwright:update-tapes": "UPDATE_TAPES=true pnpm test:playwright",
"test:playwright:gen": "playwright codegen localhost:8443/",
"test:playwright:faststart": "FASTSTART=true pnpm test:playwright",
"test:storybook": "TEST_COMMAND=test:storybook:local ./bin/playwright.sh",
"test:storybook:local": "playwright test -c test/storybook",
"test:storybook:debug": "PWDEBUG=1 pnpm test:storybook:local",
"test:storybook:gen": "playwright codegen localhost:54000/",
"types": "pnpm run i18n:test && npx nuxi typecheck",
"i18n": "node i18n/scripts/setup.mjs",
"i18n:debug": "pnpm i18n --debug",
"i18n:en": "pnpm i18n --en-only",
"i18n:test": "pnpm i18n --test",
"i18n:no-get": "pnpm i18n --no-get",
"i18n:generate-pot": "node i18n/scripts/generate-pot.mjs",
"create:component-sfc": "remake component",
"create:story": "remake story",
"create:component-storybook-test": "remake component-storybook-test",
"create:component-unit-test": "remake component-unit-test",
"create:component-scaffolding": "npm-run-all \"create:component-sfc --output=src/components --name={1}\" \"create:story --output=src/components/{1}/meta --name={1}\" \"create:component-unit-test --output=test/unit/specs/components/{1} --name={1} --fileName={2}\" \"create:component-storybook-test --output=test/storybook/visual-regression --fileName={2} --name={1}\" --",
"create:component": "./bin/create-component.sh",
"doc:media-props": "node ./scripts/document-media.js"
},
"dependencies": {
"@floating-ui/dom": "^1.6.8",
"@nuxtjs/plausible": "^1.0.3",
"@nuxtjs/robots": "^5.0.0",
"@nuxtjs/sitemap": "^7.0.0",
"@nuxtjs/tailwindcss": "^6.12.1",
"@pinia/nuxt": "^0.9.0",
"@sentry/nuxt": "^8.45.0",
"@tailwindcss/typography": "^0.5.13",
"@vueuse/core": "^12.0.0",
"@wordpress/is-shallow-equal": "^5.3.0",
"async-mutex": "^0.5.0",
"axios": "^1.7.2",
"axios-mock-adapter": "^1.22.0",
"clipboard": "^2.0.11",
"focus-trap": "^7.5.4",
"focus-visible": "^5.2.0",
"pinia": "^2.2.5",
"postcss-focus-visible": "^10.0.0",
"rfdc": "^1.4.1",
"seeded-rand": "^2.0.1",
"throttle-debounce": "^5.0.2",
"uuid": "^11.0.0"
},
"devDependencies": {
"@babel/parser": "^7.24.8",
"@intlify/core": "10.0.5",
"@intlify/core-base": "10.0.5",
"@intlify/shared": "10.0.5",
"@nuxt/test-utils": "^3.14.4",
"@nuxtjs/i18n": "^9.1.0",
"@nuxtjs/storybook": "8.3.2",
"@playwright/test": "1.49.0",
"@storybook-vue/nuxt": "8.3.2",
"@storybook/addon-essentials": "^8.3.6",
"@storybook/addon-interactions": "^8.3.6",
"@storybook/addon-links": "^8.3.6",
"@testing-library/user-event": "^14.5.2",
"@testing-library/vue": "^8.1.0",
"@vitest/coverage-v8": "^2.1.4",
"@vitest/ui": "^2.1.4",
"@vue/test-utils": "^2.4.6",
"adm-zip": "^0.5.14",
"chokidar": "^4.0.0",
"core-js": "^3.37.1",
"eslint-plugin-jsonc": "^2.16.0",
"jsdom": "^25.0.0",
"json5": "^2.2.3",
"node-html-parser": "^6.1.13",
"npm-run-all2": "^7.0.0",
"nuxt": "^3.14.1592",
"rimraf": "^6.0.1",
"storybook": "^8.3.6",
"talkback": "^4.2.0",
"typescript": "5.6.3",
"vitest": "^2.1.4",
"vitest-dom": "^0.1.1",
"vue": "^3.5.13",
"vue-router": "^4.4.5",
"vue-tsc": "2.1.10",
"vue-i18n": "10.0.5"
},
"browserslist": [
"> 1%",
"last 2 versions",
"not dead"
]
}