-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
58 lines (58 loc) · 2.61 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
{
"name": "movies-and-vegetables",
"version": "0.8.4",
"scripts": {
"tdd:unit": "mocha --watch --timeout 5000 --reporter-option maxDiffSize=500 test/unit/",
"clear-html-cache": "rm -rf test/tools/fetch-cache",
"firefox": "web-ext -s src run",
"coverage": "nyc --reporter=lcov mocha -R=progress --forbid-only test/unit/ && open coverage/lcov-report/index.html",
"lint:eslint": "eslint --ignore-path .gitignore .",
"lint:eslint:fix": "eslint --ignore-path .gitignore . --fix",
"lint:webext": "web-ext -s src lint",
"test": "echo '### COMMIT SUITE ###' && npm-run-all --aggregate-output -p lint:* test:*",
"test:end-to-end": "mocha test/end-to-end --forbid-only --timeout 120000 --color",
"test:end-to-end:with-head": "set endToEndWithHead=1&& mocha test/end-to-end --forbid-only --timeout 120000 --color",
"test:unit": "nyc --reporter=text-summary mocha -R=progress --forbid-only --timeout 5000 --color test/unit/",
"build": "web-ext -s src build -i icons/icon.psd",
"preversion": "npm run _force-develop-branch && npm test",
"version": "npm run _bump-manifest-version && npm run _generate-changelog && git add ./src/manifest.json changelog.json",
"postversion": "npm run _merge-develop-to-master && npm run _push-everything",
"_ci:unit-test": "nyc --reporter=lcov mocha --forbid-only --timeout 5000 test/unit/ && codecov",
"_ci:deploy-to-amo": "web-ext sign -s src --channel listed -i icons/icon.psd | grep -q 'Your add-on has been submitted for review.' || error 1",
"_force-develop-branch": "node force-develop-branch.js",
"_bump-manifest-version": "node bump-manifest-version.js",
"_generate-changelog": "node generate-json-changelog.js",
"_merge-develop-to-master": "git checkout master && git merge develop --ff-only && git checkout develop",
"_push-everything": "git push --all && git push --tags"
},
"author": "gergooo <[email protected]>",
"license": "no license",
"devDependencies": {
"@types/selenium-webdriver": "^4.1.21",
"chai": "^4.3.7",
"chai-as-promised": "^7.1.1",
"codecov": "^3.8.2",
"eslint": "^8.56.0",
"eslint-config-google": "^0.14.0",
"geckodriver": "^4.3.2",
"jsdom": "^24.0.0",
"mocha": "^10.3.0",
"node-cmd": "^5.0.0",
"node-fetch": "^3.3.2",
"npm-run-all": "^4.1.5",
"nyc": "^15.1.0",
"selenium-webdriver": "^4.17.0",
"sinon": "^17.0.1",
"sinon-chai": "^3.6.0",
"web-ext": "^7.11.0"
},
"mocha": {
"recursive": true,
"file": "./test/setup.js",
"inline-diffs": true
},
"prettier": {
"singleQuote": true,
"htmlWhitespaceSensitivity": "strict"
}
}