-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathpackage.json
67 lines (67 loc) · 3.39 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
{
"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-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": "mkdir -p build/locales && node scripts/buildLocales src/locales/click-to-load > build/locales/ctl-locales.js",
"build-firefox": "mkdir -p build/firefox/ && node scripts/inject.js firefox > build/firefox/inject.js",
"build-chrome": "mkdir -p build/chrome/ && node scripts/inject.js chrome > build/chrome/inject.js",
"build-chrome-mv3": "mkdir -p build/chrome-mv3/ && node scripts/inject.js chrome-mv3 > build/chrome-mv3/inject.js",
"build-apple": "mkdir -p Sources/ContentScopeScripts/dist/ && node scripts/inject.js apple > Sources/ContentScopeScripts/dist/contentScope.js",
"build-android": "mkdir -p build/android/ && node scripts/inject.js android > build/android/contentScope.js",
"build-windows": "mkdir -p build/windows/ && node scripts/inject.js windows > build/windows/contentScope.js",
"build-integration": "mkdir -p build/integration/ && node scripts/inject.js integration > build/integration/contentScope.js && npm run copy-build-integration",
"copy-build-integration": "cp build/integration/contentScope.js integration-test/extension",
"docs": "typedoc",
"postbuild": "npm run build --workspaces --if-present",
"tsc": "tsc",
"tsc.watch": "tsc --watch",
"lint": "eslint . && npm run tsc",
"lint-no-output-globals": "eslint Sources/ContentScopeScripts/dist/contentScope.js --rule '{\"no-implicit-globals\": [\"error\"]}' --no-ignore --no-eslintrc --parser-options=ecmaVersion:latest",
"lint-fix": "eslint . --fix && npm run tsc",
"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",
"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"
},
"type": "module",
"workspaces": [
"packages/special-pages",
"packages/messaging"
],
"dependencies": {
"seedrandom": "^3.0.5",
"sjcl": "^1.0.8"
},
"devDependencies": {
"@canvas/image-data": "^1.0.0",
"@fingerprintjs/fingerprintjs": "^3.4.0",
"@rollup/plugin-commonjs": "^24.0.1",
"@rollup/plugin-node-resolve": "^15.0.1",
"@rollup/plugin-replace": "^5.0.2",
"@types/chrome": "^0.0.226",
"@types/jasmine": "^4.3.1",
"eslint": "^8.37.0",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-node": "^11.1.0",
"jasmine": "^4.6.0",
"puppeteer": "^19.8.0",
"rollup": "^3.20.2",
"rollup-plugin-dynamic-import-variables": "^1.1.0",
"typedoc": "^0.23.28",
"typescript": "^5.0.3"
}
}