-
-
Notifications
You must be signed in to change notification settings - Fork 15
/
package.json
69 lines (69 loc) · 3.46 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
{
"name": "url2clipboard",
"description": "Copy document URL / link URL to clipboard as HTML, Markdown, Plain Text, etc.",
"author": "asamuzaK",
"license": "MPL-2.0",
"homepage": "https://github.com/asamuzaK/url2clipboard",
"bugs": {
"url": "https://github.com/asamuzaK/url2clipboard/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/asamuzaK/url2clipboard.git"
},
"type": "module",
"dependencies": {
"commander": "^12.1.0",
"dompurify": "^3.1.7",
"url-sanitizer": "^2.0.4",
"webext-schema": "^5.5.0",
"webextension-polyfill": "^0.12.0"
},
"devDependencies": {
"@types/node": "^22.8.5",
"addons-linter": "^7.3.0",
"c8": "^10.1.2",
"chai": "^5.1.2",
"copyfiles": "^2.4.1",
"eslint": "^9.13.0",
"eslint-plugin-import-x": "^4.4.0",
"eslint-plugin-jsdoc": "^50.4.3",
"eslint-plugin-no-unsanitized": "^4.1.2",
"eslint-plugin-regexp": "^2.6.0",
"eslint-plugin-unicorn": "^56.0.0",
"globals": "^15.11.0",
"html-validate": "^8.24.2",
"jsdom": "^25.0.1",
"mocha": "^10.8.2",
"neostandard": "^0.11.7",
"npm-run-all2": "^7.0.1",
"sinon": "^19.0.2",
"stylelint": "^16.10.0",
"stylelint-config-standard": "^36.0.1",
"typescript": "^5.6.3"
},
"scripts": {
"bundle": "npm-run-all -s bundle-*",
"bundle-compat": "node index compat -ci",
"bundle-copy": "copyfiles --up=1 --verbose src/LICENSE src/_locales/**/*.json src/css/*.css src/html/*.html src/img/*.* src/lib/**/* src/mjs/*.js src/js/*.js --exclude=src/mjs/background.js --exclude=src/mjs/exec-copy.js --exclude=src/mjs/offscreen.js --exclude=src/mjs/options.js --exclude=src/mjs/popup.js --exclude=src/mjs/prompt.js --exclude=src/mjs/sanitize.js bundle",
"bundle-repl": "copyfiles --up=2 --verbose src/repl/*.js bundle/mjs",
"include": "npm-run-all -s include-*",
"include-browser": "copyfiles --up=3 --verbose node_modules/webext-schema/modules/browser.js src/mjs",
"include-polyfill": "copyfiles -f --verbose node_modules/webextension-polyfill/LICENSE node_modules/webextension-polyfill/dist/browser-polyfill.min.js node_modules/webextension-polyfill/dist/browser-polyfill.min.js.map src/lib/mozilla && node index include --dir=mozilla -i",
"include-purify": "copyfiles -f --verbose node_modules/dompurify/LICENSE node_modules/dompurify/dist/purify.min.js node_modules/dompurify/dist/purify.min.js.map src/lib/purify && node index include --dir=purify -i",
"include-url": "copyfiles -f --verbose node_modules/url-sanitizer/LICENSE node_modules/url-sanitizer/dist/url-sanitizer-wo-dompurify.min.js node_modules/url-sanitizer/dist/url-sanitizer-wo-dompurify.min.js.map src/lib/url && node index include --dir=url -i",
"lint": "npm-run-all -s lint-*",
"lint-addons-linter": "addons-linter src",
"lint-eslint": "eslint --fix .",
"lint-html": "html-validate src/html/*.html",
"lint-style": "stylelint --fix src/css/*.css",
"test": "npm run test-central",
"test-beta": "c8 mocha --require=test/mocha/setup.js --channel=beta --exit test/*.test.js",
"test-central": "c8 mocha --require=test/mocha/setup.js --channel=central --exit test/*.test.js",
"test-esr": "c8 mocha --require=test/mocha/setup.js --channel=esr --exit test/*.test.js",
"test-release": "c8 mocha --require=test/mocha/setup.js --channel=release --exit test/*.test.js",
"test_all": "npm-run-all -s test-*",
"tsc": "node index clean --dir=types -i && npx tsc"
},
"version": "14.3.0"
}