-
Notifications
You must be signed in to change notification settings - Fork 19
/
package.json
89 lines (89 loc) · 4.15 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
{
"name": "@duckduckgo/content-scope-scripts",
"license": "Apache-2.0",
"files": [
"**/*",
"build/",
"Sources/ContentScopeScripts/dist/"
],
"scripts": {
"postinstall": "npm run copy-sjcl",
"copy-sjcl": "node scripts/generateSJCL.js",
"bundle-config": "node scripts/bundleConfig.mjs",
"build": "npm run build-locales && npm run build-types && npm run bundle-trackers && npm run build-firefox && npm run build-chrome && npm run build-apple && npm run build-android && npm run build-windows && npm run build-integration && npm run build-chrome-mv3",
"build-locales": "node scripts/buildLocales.js --dir src/locales/click-to-load --output build/locales/ctl-locales.js",
"build-firefox": "node scripts/inject.js --platform firefox",
"build-chrome": "node scripts/inject.js --platform chrome",
"build-chrome-mv3": "node scripts/inject.js --platform chrome-mv3",
"build-apple": "node scripts/inject.js --platform apple && node scripts/inject.js --platform apple-isolated",
"build-android": "node scripts/inject.js --platform android",
"build-windows": "node scripts/inject.js --platform windows",
"build-integration": "node scripts/inject.js --platform integration",
"bundle-trackers": "node scripts/bundleTrackers.mjs --output build/tracker-lookup.json",
"build-types": "node scripts/build-types.mjs",
"docs": "typedoc",
"docs-watch": "typedoc --watch",
"postbuild": "npm run build --workspaces --if-present",
"tsc": "tsc",
"tsc-watch": "tsc --watch",
"lint": "eslint . && npm run tsc",
"lint-no-output-globals": "eslint --no-eslintrc --config=build-output.eslintrc --no-ignore Sources/ContentScopeScripts/dist/contentScope.js",
"lint-fix": "eslint . --fix && npm run tsc",
"generate-snapshots": "node scripts/generateOverloadSnapshots.js",
"test-unit": "jasmine --config=unit-test/config.json",
"test-int": "npm run build-integration && jasmine --config=integration-test/config.js",
"test-int-x": "xvfb-run --server-args='-screen 0 1024x768x24' npm run test-int",
"test-clean-tree": "npm run build && sh scripts/check-for-changes.sh",
"test": "npm run lint && npm run lint-no-output-globals && npm run test-unit && npm run test-int && npm run playwright",
"posttest": "npm run test --workspaces --if-present",
"posttest-int": "npm run test-int --workspaces --if-present",
"posttest-int-x": "npm run test-int-x --workspaces --if-present",
"serve": "http-server -c-1 --port 3220 integration-test/test-pages",
"playwright": "playwright test",
"playwright-headed": "playwright test --headed",
"preplaywright": "npm run build-windows && npm run build-apple",
"preplaywright-headed": "npm run build-windows && npm run build-apple",
"playwright-e2e": "playwright test -c playwright-e2e.config.js --project duckplayer-e2e",
"playwright-e2e-headed": "npm run playwright-e2e -- --headed",
"preplaywright-e2e": "npm run build-windows && npm run build-apple"
},
"type": "module",
"workspaces": [
"packages/special-pages",
"packages/messaging"
],
"dependencies": {
"immutable-json-patch": "^5.1.3",
"parse-address": "^1.1.2",
"seedrandom": "^3.0.5",
"sjcl": "^1.0.8"
},
"devDependencies": {
"@canvas/image-data": "^1.0.0",
"@fingerprintjs/fingerprintjs": "^4.1.0",
"@playwright/test": "^1.38.1",
"@rollup/plugin-commonjs": "^25.0.4",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-replace": "^5.0.2",
"@types/chrome": "^0.0.248",
"@types/jasmine": "^4.3.1",
"@typescript-eslint/eslint-plugin": "^6.9.1",
"config-builder": "github:duckduckgo/privacy-configuration#main",
"esbuild": "^0.19.5",
"eslint": "^8.52.0",
"eslint-config-standard": "^17.1.0",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^6.1.1",
"fast-check": "^3.14.0",
"jasmine": "^4.6.0",
"json-schema-to-typescript": "^13.1.2",
"minimist": "^1.2.8",
"puppeteer": "^21.4.1",
"rollup": "^3.29.4",
"rollup-plugin-import-css": "^3.3.5",
"rollup-plugin-svg-import": "^2.1.0",
"typedoc": "^0.25.12",
"typescript": "^5.4.3"
}
}