-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
63 lines (63 loc) · 2.18 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": "yaf-extension",
"repository": {
"type": "git",
"url": "https://github.com/falsefalse/yaf-extension.git"
},
"version": "1.2.3",
"private": true,
"scripts": {
"prerelease": "git stash -q && yarn -s lint && yarn -s test -R dot",
"release": "jake -q clean ${TASK:-release} && open ./pkg",
"release:firefox": "TASK=release:firefox yarn -s release",
"release:tag": "v=$npm_package_version ; git tag -a -m 🏷 $v HEAD && git push --tags 2>&1 | grep $v",
"typecheck": "tsc --noEmit -p ts.base.json",
"lint": "yarn -s prettier --check & p=$! ; yarn -s eslint ||s=1 ; wait $p||s=1 ; exit $s",
"eslint": "eslint --fix *.js src/ spec/ --ext .ts,.ejs.html",
"prettier": "prettier -u --loglevel warn --ignore-path .gitignore !**.ejs.html . ",
"pretest": "jake -q set_env config[specs] templates[specs] module",
"test": "TZ=utc mocha",
"test:clean": "jake -q clean[specs]",
"coverage": "c8 yarn -s test -R dot",
"report": "c8 -r html report && open coverage/index.html",
"coverage:ci": "c8 -o . -r json-summary yarn -s test",
"report:ci": "c8 -o . -r text report"
},
"engines": {
"node": "~18",
"yarn": "~1.22"
},
"devDependencies": {
"@types/chai": "^4.3.5",
"@types/chai-dom": "^1.11.0",
"@types/chrome": "^0.0.246",
"@types/firefox-webext-browser": "^111.0.1",
"@types/jsdom": "^21.1.1",
"@types/jsdom-global": "^3.0.4",
"@types/mocha": "^10.0.1",
"@types/node": "^18.0.0",
"@types/offscreencanvas": "^2019.7.0",
"@types/sinon": "^10.0.13",
"@types/sinon-chai": "^3.2.9",
"@typescript-eslint/eslint-plugin": "^6.7.2",
"@typescript-eslint/parser": "^6.7.2",
"c8": "^8.0.1",
"chai": "^4.3.7",
"chai-dom": "^1.11.0",
"chai-html": "^2.1.0",
"eslint": "^8.40.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-lodash-template": "^0.22.1",
"eslint-plugin-no-only-tests": "^3.1.0",
"jake": "^10.8.7",
"jsdom": "^22.0.0",
"jsdom-global": "^3.0.2",
"lodash.template": "^4.5.0",
"mocha": "^10.2.0",
"sinon": "^16.0.0",
"sinon-chai": "^3.7.0",
"ts-node": "^10.9.1",
"typescript": "^5.2.0",
"uglify-js": "^3.17.4"
}
}