-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
81 lines (81 loc) · 5.16 KB
/
package.json
File metadata and controls
81 lines (81 loc) · 5.16 KB
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
{
"private": true,
"name": "@contentful/optimization",
"description": "Contentful Optimization SDK Suite",
"license": "MIT",
"scripts": {
"build": "pnpm --filter @contentful/* --stream build",
"build:ci": "pnpm --filter @contentful/* --stream build:ci",
"build:pkgs": "pnpm build && pnpm run pack:pkgs",
"build:rsdoctor": "pnpm --filter @contentful/* --stream build:rsdoctor",
"clean": "pnpm -r --parallel clean",
"docs:generate": "typedoc",
"docs:watch": "typedoc --watch",
"format:check": "prettier . --check",
"format:fix": "prettier . --check --write",
"implementation:install": "pnpm run build:pkgs && pnpm run implementation:run -- --all -- implementation:install",
"implementation:node-sdk": "pnpm run implementation:run -- node-sdk",
"implementation:node-sdk+web-sdk": "pnpm run implementation:run -- node-sdk+web-sdk",
"implementation:react-native-sdk": "pnpm run implementation:run -- react-native-sdk",
"implementation:run": "tsx ./scripts/run-implementation-script.ts",
"implementation:web-sdk_react": "pnpm run implementation:run -- web-sdk_react",
"implementation:web-sdk": "pnpm run implementation:run -- web-sdk",
"implementation:lint": "eslint implementations --cache --cache-location .cache/eslint/implementations",
"implementation:lint:fix": "eslint implementations --fix",
"implementation:typecheck": "pnpm run implementation:run -- --all -- typecheck",
"lint": "eslint lib packages --cache --cache-location .cache/eslint/workspace",
"lint:fix": "eslint lib packages --fix",
"notices:generate": "pnpm --filter \"@contentful/*\" licenses list --prod --json | pnpm dlx @quantco/pnpm-licenses generate-disclaimer --json-input --output-file THIRD_PARTY_NOTICES.txt",
"pack:pkgs": "pnpm pack --filter @contentful/* --pack-destination pkgs",
"playwright:install": "pnpm run implementation:run -- --all -- implementation:playwright:install",
"playwright:install-deps": "pnpm run implementation:run -- --all -- implementation:playwright:install-deps",
"pm2:delete:all": "pm2 delete all",
"pm2:list": "pm2 list",
"pm2:logs": "pm2 logs",
"pm2:stop:all": "pm2 stop all",
"prepare": "husky",
"serve:mocks": "pnpm --dir lib/mocks serve",
"setup:e2e": "pnpm run build:pkgs && pnpm run implementation:run -- --all -- implementation:install && pnpm run playwright:install && pnpm run playwright:install-deps",
"setup:e2e:node-sdk": "pnpm run build:pkgs && pnpm run implementation:run -- node-sdk implementation:install && pnpm run implementation:run -- node-sdk implementation:setup:e2e",
"setup:e2e:node-sdk+web-sdk": "pnpm run build:pkgs && pnpm run implementation:run -- node-sdk+web-sdk implementation:install && pnpm run implementation:run -- node-sdk+web-sdk implementation:setup:e2e",
"setup:e2e:react-native-sdk": "pnpm run build:pkgs && pnpm run implementation:run -- react-native-sdk implementation:install && pnpm run implementation:run -- react-native-sdk implementation:setup:e2e",
"setup:e2e:web-sdk_react": "pnpm run build:pkgs && pnpm run implementation:run -- web-sdk_react implementation:install && pnpm run implementation:run -- web-sdk_react implementation:setup:e2e",
"setup:e2e:web-sdk": "pnpm run build:pkgs && pnpm run implementation:run -- web-sdk implementation:install && pnpm run implementation:run -- web-sdk implementation:setup:e2e",
"test:e2e": "pnpm run setup:e2e && pnpm run implementation:run -- --all -- implementation:test:e2e:run",
"test:e2e:node-sdk": "pnpm run setup:e2e:node-sdk && pnpm run implementation:run -- node-sdk implementation:test:e2e:run",
"test:e2e:node-sdk+web-sdk": "pnpm run setup:e2e:node-sdk+web-sdk && pnpm run implementation:run -- node-sdk+web-sdk implementation:test:e2e:run",
"test:e2e:react-native-sdk": "pnpm run setup:e2e:react-native-sdk && pnpm run implementation:run -- react-native-sdk implementation:test:e2e:run",
"test:e2e:web-sdk_react": "pnpm run setup:e2e:web-sdk_react && pnpm run implementation:run -- web-sdk_react implementation:test:e2e:run",
"test:e2e:web-sdk": "pnpm run setup:e2e:web-sdk && pnpm run implementation:run -- web-sdk implementation:test:e2e:run",
"test:unit": "pnpm --filter \"./lib/*\" --filter @contentful/* test:unit",
"test:unit:ci": "CI=true pnpm run test:unit",
"typecheck": "pnpm -r typecheck",
"version:node": "node -v",
"version:pnpm": "pnpm -v"
},
"engines": {
"node": ">=20.19.0"
},
"packageManager": "pnpm@10.32.1+sha512.a706938f0e89ac1456b6563eab4edf1d1faf3368d1191fc5c59790e96dc918e4456ab2e67d613de1043d2e8c81f87303e6b40d4ffeca9df15ef1ad567348f2be",
"devDependencies": {
"@rstest/core": "catalog:",
"@eslint/js": "^10.0.1",
"commitizen": "^4.3.1",
"cz-vinyl": "^2.5.4",
"eslint": "^10.0.0",
"eslint-config-love": "^121.0.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-lit": "^2.2.1",
"eslint-plugin-wc": "^3.1.0",
"husky": "^9.1.7",
"jiti": "^2.6.1",
"lint-staged": "^16.2.7",
"pm2": "catalog:",
"prettier": "^3.8.1",
"prettier-plugin-organize-imports": "^4.3.0",
"tsx": "catalog:",
"typedoc": "^0.28.17",
"typescript": "^5.9.3",
"typescript-eslint": "^8.56.0"
}
}