-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
48 lines (48 loc) · 1.71 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
{
"name": "graphiql-plugins-monorepo",
"private": true,
"type": "module",
"scripts": {
"setup": "npm install && npx playwright install",
"dev": "lerna run dev --stream",
"lint": "eslint .",
"fix": "npm run lint -- --fix",
"test": "npm run test:unit && npm run test:integration",
"test:unit": "lerna run test:unit",
"test:integration": "playwright test --config ./tests",
"demo": "npm run demo:record && npm run demo:convert",
"demo:record": "RECORD_DEMO=true npx playwright test --config ./tests --project=chromium ./integration/demo.spec.ts",
"demo:convert": "find . -type f -name \"demo.webm\" -exec bash -c 'ffmpeg -y -i \"$0\" -ss 1 -vf \"scale=1000:-1:flags=lanczos,split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse=dither=bayer:bayer_scale=4\" -c:v gif \"${0%.webm}.gif\" && rm \"$0\"' {} \\;",
"precommit": "npm run lint && npm run test && npm run release",
"build": "lerna run build",
"release": "lerna run release",
"clean": "lerna run clean --stream"
},
"workspaces": [
"packages/*",
"tests/test-utils",
"example"
],
"devDependencies": {
"@playwright/test": "^1.44.0",
"@testing-library/react": "^14.3.1",
"@types/jest": "^29.5.12",
"@types/jsdom": "^21.1.6",
"@types/react": "^18.3.1",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-react": "^7.34.1",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-fetch-mock": "^3.0.3",
"jsdom": "^23.2.0",
"lerna": "^8.1.2",
"prettier": "3.2.5",
"rimraf": "^5.0.5",
"ts-jest": "^29.1.2",
"tshy": "^1.14.0",
"typescript": "^5.4.5",
"typescript-eslint": "^7.8.0"
}
}