forked from WordPress/openverse
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
153 lines (153 loc) · 6.21 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
{
"name": "@openverse/frontend",
"description": "Openverse frontend",
"private": true,
"version": "2.2.1",
"scripts": {
"predev": "pnpm install && pnpm i18n:no-get",
"dev": "run-p dev:only 'i18n:en --watch'",
"dev:only": "nuxt --hostname 0.0.0.0",
"dev:secure": "LOCAL_SSL=enabled pnpm dev",
"prebuild": "pnpm install && pnpm i18n",
"build": "pnpm build:only",
"build:only": "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": "nuxt start",
"start:playwright": "pnpm i18n:copy-test-locales && pnpm start",
"prod": "pnpm build:only && pnpm start",
"prod:playwright": "pnpm i18n:copy-test-locales && pnpm prod",
"storybook": "NODE_OPTIONS=--openssl-legacy-provider nuxt storybook --port=54000",
"storybook:build": "nuxt storybook build",
"storybook:build-for-docs": "NODE_OPTIONS=--openssl-legacy-provider nuxt storybook build",
"talkback": "node ./test/proxy.js",
"pretest": "pnpm install",
"test": "pnpm test:unit && pnpm test:playwright",
"test:unit": "jest",
"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": "vue-tsc -p .",
"i18n": "pnpm i18n:create-locales-list && pnpm i18n:get-translations && pnpm i18n:update-locales",
"i18n:en": "pnpm i18n:get-translations --en-only",
"i18n:copy-test-locales": "cp -r test/locales/* src/locales/",
"i18n:no-get": "pnpm i18n:create-locales-list && pnpm i18n:update-locales",
"i18n:create-locales-list": "node src/locales/scripts/create-wp-locale-list",
"i18n:get-translations": "node src/locales/scripts/get-translations",
"i18n:update-locales": "node src/locales/scripts/get-validated-locales",
"i18n:generate-pot": "node src/locales/scripts/json-to-pot",
"i18n:check": "vue-i18n-extract report --vueFiles './src/*/**.?(js|ts|vue)' --languageFiles './src/locales/en.json'",
"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"
},
"dependencies": {
"@floating-ui/dom": "^1.5.3",
"@nuxt/components": "^2.2.1",
"@nuxt/vue-app": "^2.17.2",
"@nuxtjs/composition-api": "^0.33.1",
"@nuxtjs/i18n": "^7.3.1",
"@nuxtjs/proxy": "^2.1.0",
"@nuxtjs/redirect-module": "^0.3.1",
"@nuxtjs/sentry": "^7.5.0",
"@nuxtjs/sitemap": "^2.4.0",
"@nuxtjs/svg-sprite": "0.5.2",
"@pinia/nuxt": "0.2.1",
"@vueuse/core": "^10.2.1",
"@wordpress/is-shallow-equal": "^4.6.0",
"async-mutex": "^0.4.0",
"axios": "^1.0.0",
"axios-mock-adapter": "^1.20.0",
"clipboard": "^2.0.11",
"cookie-universal-nuxt": "^2.1.5",
"core-js": "^3.27.2",
"express-prom-bundle": "^6.4.1",
"express-useragent": "^1.0.15",
"focus-trap": "^7.5.4",
"focus-visible": "^5.2.0",
"glob": "^8.0.1",
"node-html-parser": "^5.3.3",
"nuxt": "^2.17.2",
"pinia": "^2.0.33",
"portal-vue": "^2.1.7",
"postcss-focus-visible": "^6.0.4",
"prom-client": "^14.0.1",
"rfdc": "^1.3.0",
"seeded-rand": "^2.0.1",
"throttle-debounce": "^5.0.0",
"uuid": "^9.0.1",
"vue": "^2.7.15",
"vue-i18n": "^8.26.7",
"vue-plausible": "^1.3.2"
},
"devDependencies": {
"@babel/core": "^7.22.5",
"@babel/parser": "^7.22.5",
"@babel/preset-env": "^7.22.5",
"@babel/preset-typescript": "^7.22.5",
"@itsjonq/remake": "^2.0.0",
"@nuxt/types": "^2.17.2",
"@nuxt/typescript-build": "^3.0.1",
"@nuxtjs/storybook": "^4.3.2",
"@pinia/testing": "^0.1.0",
"@playwright/test": "1.40.1",
"@tailwindcss/typography": "^0.5.10",
"@testing-library/dom": "^8.13.0",
"@testing-library/jest-dom": "^5.16.1",
"@testing-library/user-event": "^14.0.0",
"@testing-library/vue": "^5.8.2",
"@types/express-useragent": "^1.0.2",
"@types/jest": "^29.5.4",
"@types/node": "18.19.4",
"@types/throttle-debounce": "^5.0.0",
"@types/uuid": "^9.0.6",
"@vue/test-utils": "^1.1.3",
"adm-zip": "^0.5.10",
"autoprefixer": "^10.4.16",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "^26.6.3",
"babel-loader": "8.3.0",
"chokidar": "^3.5.3",
"comment-json": "^4.2.3",
"css-loader": "^5.2.7",
"eslint-plugin-jsonc": "^2.8.0",
"jest": "^26.6.3",
"jest-fail-on-console": "^3.1.1",
"jest-transform-stub": "^2.0.0",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.31",
"qs": "^6.11.0",
"rimraf": "^3.0.2",
"tailwindcss": "^3.3.5",
"talkback": "^3.0.1",
"ts-node": "^10.9.1",
"typescript": "^5.2.2",
"vue-demi": "^0.14.6",
"vue-i18n-extract": "^2.0.7",
"vue-jest": "^3.0.7",
"vue-loader": "^15.10.0",
"vue-server-renderer": "^2.7.15",
"vue-template-compiler": "^2.7.15",
"vue-tsc": "1.8.27",
"webpack": "^4.46.0"
},
"browserslist": [
"> 1%",
"last 2 versions",
"not dead"
]
}