-
Notifications
You must be signed in to change notification settings - Fork 24
/
package.json
57 lines (57 loc) · 2.25 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
{
"name": "webextension-polyfill-ts",
"version": "0.26.0",
"description": "webextension-polyfill for TypeScript",
"keywords": [
"TypeScript",
"webextension",
"polyfill"
],
"homepage": "https://github.com/Lusito/webextension-polyfill-ts",
"bugs": {
"url": "https://github.com/Lusito/webextension-polyfill-ts/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/Lusito/webextension-polyfill-ts.git"
},
"license": "Zlib",
"author": "Santo Pfingsten",
"scripts": {
"all": "npm run fetch && npm run validate:schemas && npm run build && npm run validate:out",
"build": "node -r esbuild-register src/build.ts && npm run format:out",
"copy": "rimraf ../DefinitelyTyped/types/webextension-polyfill/**/*.d.ts && copyfiles -u 1 out/**/*.d.ts out/index.d.ts ../DefinitelyTyped/types/webextension-polyfill",
"fetch": "node -r esbuild-register src/fetch.ts",
"format:out": "dprint fmt \"out/**/*.d.ts\"",
"lint": "npm run lint:es && npm run lint:package && npm run lint:style",
"lint:es": "eslint \"src/**/*.ts\" --ext .ts --ignore-path .prettierignore",
"lint:es:fix": "npm run lint:es -- --fix",
"lint:fix": "npm run lint:es:fix && npm run lint:package:fix && npm run lint:style:fix",
"lint:out": "eslint \"out/**/*.ts\" --ext .ts --ignore-path .prettierignore",
"lint:package": "sort-package-json --check",
"lint:package:fix": "sort-package-json",
"lint:style": "npm run lint:style:base -- --check",
"lint:style:base": "prettier \"{src,_locales}/**/*.{ts,js,json}\" \"./*.{ts,js,json}\" --quote-props consistent",
"lint:style:fix": "npm run lint:style:base -- --write",
"validate:out": "tsc -p tsconfig-out.json && npm run lint:out",
"validate:schemas": "node -r esbuild-register src/validate.ts"
},
"devDependencies": {
"@definitelytyped/eslint-plugin": "^0.1.12",
"@lusito/eslint-config": "^3.0.1",
"@lusito/prettier-config": "^3.0.0",
"@types/node": "^20.12.13",
"@types/rimraf": "^4.0.5",
"copyfiles": "^2.4.1",
"dprint": "^0.46.1",
"esbuild": "^0.21.4",
"esbuild-register": "^3.5.0",
"got": "^14.3.0",
"rimraf": "^5.0.7",
"sort-package-json": "^2.10.0",
"typescript": "^5.4.5"
},
"volta": {
"node": "20.14.0"
}
}