-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
40 lines (40 loc) · 1.42 KB
/
package.json
File metadata and controls
40 lines (40 loc) · 1.42 KB
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
{
"name": "how-long-to-read",
"version": "1.0.8",
"description": "Get a time estimate for how long it would take to read a web page",
"type": "module",
"repository": {
"type": "git",
"url": "https://github.com/danielrozenberg/how-long-to-read"
},
"scripts": {
"build": "npm run clean && npm run build:static && npm run build:esbuild",
"build:static": "cp -r static/* dist/",
"build:esbuild": "npm run build:esbuild:content && npm run build:esbuild:others",
"build:esbuild:content": "esbuild src/content.ts --bundle --format=iife --sourcemap --outdir=dist/",
"build:esbuild:others": "esbuild $(ls src/*.ts | grep -v content.ts) --bundle --format=esm --sourcemap --outdir=dist/ --out-extension:.js=.mjs",
"clean": "rm -rf dist/ && mkdir dist/",
"lint": "eslint .",
"test": "jest"
},
"author": "Daniel Rozenberg",
"license": "ISC",
"devDependencies": {
"@eslint/js": "9.39.1",
"@eslint/json": "0.14.0",
"@ianvs/prettier-plugin-sort-imports": "4.7.0",
"@types/webextension-polyfill": "0.12.4",
"esbuild": "0.27.0",
"eslint": "9.39.1",
"eslint-config-prettier": "10.1.8",
"eslint-plugin-jest": "29.1.0",
"eslint-plugin-prettier": "5.5.4",
"jest-environment-jsdom": "30.2.0",
"jest-webextension-mock": "4.0.0",
"prettier": "3.6.2",
"ts-jest": "29.4.5",
"ts-node": "10.9.2",
"typescript": "5.9.3",
"typescript-eslint": "8.47.0"
}
}