-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
98 lines (98 loc) · 4.88 KB
/
package.json
File metadata and controls
98 lines (98 loc) · 4.88 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
{
"private": true,
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/extension-js/examples.git"
},
"engines": {
"node": ">=18.0.0"
},
"workspaces": [
"programs/*"
],
"packageManager": "pnpm@10.10.0",
"name": "extension-examples-workspace",
"version": "1.0.0",
"type": "module",
"description": "Examples for Extension.js",
"author": {
"name": "Cezar Augusto",
"email": "boss@cezaraugusto.net",
"url": "https://cezaraugusto.com"
},
"scripts": {
"extension": "extension",
"test:content-workflows": "node scripts/verify-content-template-first-dev.mjs",
"test:content-react": "node scripts/verify-content-template-first-dev.mjs --templates content-react",
"test:content-frameworks": "node scripts/verify-content-template-first-dev.mjs --templates content-react,content-vue,content-svelte",
"test:content-live:chromium": "playwright test --project=dev-live --grep \"dev content\"",
"test:content-live:firefox": "node scripts/verify-content-live.mjs --browser=firefox",
"test:full-reload:chromium": "node scripts/verify-full-extension-reload.mjs --browser=chromium",
"test:full-reload:firefox": "node scripts/verify-full-extension-reload.mjs --browser=firefox",
"test:html-context-regression": "playwright test --project=sidebar --project=action --project=newtab --project=special-folders",
"test:dev-reload-suite": "node scripts/verify-dev-reload-suite.mjs",
"generate": "node scripts/generate-templates-meta.mjs",
"build:examples": "node scripts/build-all.mjs",
"artifacts:package": "node scripts/package-artifacts.mjs",
"artifacts:stage": "node scripts/publish-artifacts.mjs",
"artifacts:prepare": "pnpm run build:examples && pnpm run artifacts:package && pnpm run generate && pnpm run artifacts:stage",
"pretest": "node -e \"const fs=require('fs'); if (!process.env.SKIP_BUILD && !fs.existsSync('examples/content/dist/chrome')) { require('child_process').execSync('pnpm run build:examples', {stdio: 'inherit'}); }\"",
"ci": "node scripts/normalize-examples.mjs && pnpm run build:examples && pnpm test",
"test": "playwright test",
"test:ci": "pnpm lint",
"test:all": "pnpm lint && pnpm test",
"test:watch": "playwright test --ui",
"test:debug": "playwright test --debug",
"test:headed": "playwright test --headed",
"test:report": "playwright show-report",
"test:install": "playwright install",
"test:banner": "node scripts/test-browser-banner.mjs",
"test:canary-one-run": "node scripts/assert-canary-one-run-builds.mjs",
"test:optional-deps-contract": "node scripts/assert-optional-deps-canary-matrix.mjs",
"test:stable-install-modes": "node scripts/assert-stable-install-modes.mjs",
"test:create-dev-workflow": "node scripts/assert-create-dev-workflow.mjs",
"test:create-dev-workflow:all-templates": "node scripts/assert-create-dev-workflow-all-templates.mjs",
"test:stable-pnpm-postcss-repro": "node scripts/assert-stable-pnpm-postcss-repro.mjs",
"test:pnpm-monorepo-dev": "node scripts/assert-pnpm-monorepo-dev.mjs",
"test:optional-deps-contract-all": "pnpm run test:canary-one-run && pnpm run test:stable-install-modes -- --pm all && pnpm run test:create-dev-workflow && pnpm run test:stable-pnpm-postcss-repro",
"test:coverage": "playwright test --reporter=html --reporter=json --reporter=junit",
"test:content": "playwright test --project=content",
"test:sidebar": "playwright test --project=sidebar",
"test:action": "playwright test --project=action",
"test:newtab": "playwright test --project=newtab",
"test:special": "playwright test --project=special-folders",
"test:mixed": "playwright test --project=mixed-context",
"test:other": "playwright test --project=other",
"test:assets": "playwright test --project=assets",
"test:create": "playwright test --project=create",
"test:multi-browser": "playwright test --project=multi-browser",
"test:reload": "playwright test --project=reload",
"test:firefox": "playwright test --project=firefox",
"postinstall": "node -e \"if (!process.env.CI) { require('child_process').execSync('playwright install --with-deps', {stdio: 'inherit'}); }\"",
"prepublishOnly": "pnpm generate",
"format": "prettier --write \"**/*.{ts,tsx,md,js,mjs,json}\"",
"lint": "eslint .",
"lint-staged": "lint-staged",
"install:all": "pnpm install && pnpm -r install",
"clean": "pnpm -r exec rm -rf dist build .extension node_modules/.cache"
},
"files": [
"public/**",
"templates-meta.json",
"templates-meta.d.ts"
],
"devDependencies": {
"@eslint/js": "^9.16.0",
"@playwright/test": "^1.56.1",
"@types/chrome": "^0.0.287",
"@types/node": "^22.10.1",
"eslint": "^9.16.0",
"extension": "3.13.5",
"globals": "^15.13.0",
"knip": "^5.33.0",
"lint-staged": "16.1.0",
"prettier": "^3.4.2",
"typescript": "5.7.2"
}
}