forked from walters954/why-salesforce
-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdeno.json
More file actions
64 lines (60 loc) · 2.87 KB
/
Copy pathdeno.json
File metadata and controls
64 lines (60 loc) · 2.87 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
{
"nodeModulesDir": "auto",
"fmt": {
"useTabs": true,
"indentWidth": 4,
"semiColons": true,
"singleQuote": false,
"proseWrap": "preserve",
"exclude": [
"*.git*",
"*bundled*"
]
},
"test": {
"permissions": {
"read": true
}
},
"tasks": {
"test": "deno test -P --coverage --parallel --quiet tests/*",
"test-this": "deno test -P --coverage --parallel --quiet",
"test-unit": "deno test -P --coverage --parallel --quiet tests/unit/*",
"test-int": "deno test -P --coverage --parallel --quiet tests/integration/*",
"test-bg": "deno test -P --coverage --parallel --quiet tests/unit/background/*",
"test-bd": "deno test -P --coverage --parallel --quiet tests/unit/build/*",
"test-man": "deno test -P --coverage --parallel --quiet tests/unit/manifest/*",
"test-sf": "deno test -P --coverage --parallel --quiet tests/unit/content/*",
"test-core": "deno test -P --coverage --parallel --quiet tests/unit/core/*",
"test-ui": "deno test -P --coverage --parallel --quiet tests/unit/ui/*",
"test-bin": "deno test -P --coverage --parallel --quiet tests/bin/*",
"fmt": "deno fmt",
"lint": "deno lint",
"sort": "deno --allow-read --allow-write bin/sort-locales.ts && git add src/_locales/*/messages.json",
"locale-check": "deno --allow-read --allow-write bin/find-invalid-variables.ts && deno --allow-read --allow-write bin/missing-locales.ts",
"locales": "deno task locale-check && deno task sort",
"audit-logging": "deno run --allow-read --allow-write bin/audit-logging.ts",
"bundle": "deno run -A bin/build.ts",
"checks": "deno task fmt && deno task lint && deno task test && deno task locales && deno task dev-firefox",
"dev-firefox": "deno --allow-write src/manifest/build-manifest.mjs firefox && deno task bundle",
"dev-chrome": "deno --allow-write src/manifest/build-manifest.mjs chrome && deno task bundle",
"dev-edge": "deno --allow-write src/manifest/build-manifest.mjs edge && deno task bundle",
"dev-safari": "deno --allow-write src/manifest/build-manifest.mjs safari && deno task bundle",
"build-firefox": "deno task dev-firefox && bash bin/zip-extension.bash firefox",
"build-chrome": "deno task dev-chrome && bash bin/zip-extension.bash chrome",
"build-edge": "deno task dev-edge && bash bin/zip-extension.bash edge",
"build-safari": "deno task dev-safari && bash bin/zip-extension.bash safari && bash bin/convert-to-safari-app-extension.bash",
"release": "deno --allow-read --allow-run --allow-env bin/build-releases.ts"
},
"imports": {
"/": "./src/",
"./": "./",
"@luca/esbuild-deno-loader": "jsr:@luca/esbuild-deno-loader@^0.11.1",
"esbuild": "npm:esbuild@^0.25.0",
"puppeteer": "npm:puppeteer@^24.17.0",
"@std/path": "jsr:@std/path@^1.1.2",
"@std/testing/asserts": "https://deno.land/std/testing/asserts.ts",
"@std/testing/mock": "https://deno.land/std/testing/mock.ts",
"happydom": "npm:happy-dom/lib/window/Window.js"
}
}