-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
63 lines (63 loc) · 2.17 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
{
"name": "crx3",
"version": "1.1.4",
"description": "Package web extension into CRX file (version 3) for Google Chrome and Chromium browsers",
"main": "index.js",
"homepage": "https://github.com/ahwayakchih/crx3",
"repository": {
"type": "git",
"url": "git://github.com/ahwayakchih/crx3.git"
},
"engines": {
"node": ">=12"
},
"bin": {
"crx3": "bin/crx3.js"
},
"dependencies": {
"mri": "^1.2.0",
"pbf": "^3.2.1",
"yazl": "^2.5.1"
},
"devDependencies": {
"c8": "^8.0.0",
"docdash": "^2.0.1",
"eslint": "^8.43.0",
"eslint-plugin-jsdoc": "^46.2.6",
"jsdoc": "^4.0.2",
"tap-diff": "^0.1.1",
"tape": "^5.6.3",
"tape-catch": "^1.0.6"
},
"scripts": {
"puppeteer": "node ./puppeteer-core.js",
"test": "node ./test/index.js | tap-diff",
"prepublishOnly": "npm run -s test && npm run -s checkStyle",
"proto": "curl https://raw.githubusercontent.com/chromium/chromium/master/components/crx_file/crx3.proto > lib/crx3.proto",
"postproto": "echo '/* eslint-disable */' > lib/crx3.pb.js && pbf lib/crx3.proto --no-read >> lib/crx3.pb.js",
"precheckStyle": "rm -f ./reports/eslint.txt",
"checkStyle": "eslint index.js puppeteer-core.js lib/*.js test/** bin/* > ./reports/eslint.txt || echo 'ESLint results saved to `reports/eslint.txt`' && cat ./reports/eslint.txt",
"precheckCoverage": "rm -rf ./reports/coverage",
"checkCoverage": "c8 --clean --report --reporter text --reporter html --reports-dir reports/coverage node ./test/index.js",
"postcheckCoverage": "echo Coverage results saved to '`reports/coverage/index.html`'",
"checkAudit": "npm shrinkwrap && npm audit > ./reports/audit.log || cat ./reports/audit.log; rm npm-shrinkwrap.json",
"predoc": "rm -rf ./reports/jsdoc",
"doc": "jsdoc -d reports/jsdoc -c .jsdoc.json --readme README.md -r index.js lib",
"postdoc": "echo 'Documentation available at `reports/jsdoc/index.html`'"
},
"keywords": [
"crx",
"web",
"extension",
"chromium",
"chrome",
"opera"
],
"author": "Marcin Konicki (https://ahwayakchih.neoni.net)",
"license": "MIT",
"files": [
"bin/**",
"lib/**",
"index.js"
]
}