-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
62 lines (62 loc) · 1.83 KB
/
package.json
File metadata and controls
62 lines (62 loc) · 1.83 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
{
"name": "ai-death-clock",
"version": "1.7.0",
"description": "AI Death Clock — visualising the environmental cost of global AI token consumption",
"homepage": "https://nitrocode.github.io/token-deathclock/",
"scripts": {
"typecheck": "tsc --noEmit",
"pretest": "npm run build:milestones && npm run build:js",
"test": "jest --coverage",
"pretest:ci": "npm run build:milestones && npm run build:js",
"test:ci": "jest --ci --coverage",
"test:e2e": "playwright test",
"test:e2e:ui": "playwright test --ui",
"build:milestones": "node scripts/build-milestones.js",
"build:changelog": "node scripts/build-changelog.js",
"build:project-stats": "node scripts/build-project-stats.js",
"build:js": "node scripts/build-js.js",
"build:css": "node scripts/build-css.js",
"build": "npm run build:milestones && npm run build:changelog && npm run build:project-stats && npm run build:js && npm run build:css",
"screenshots": "node scripts/screenshots.js"
},
"devDependencies": {
"@playwright/test": "1.59.1",
"@types/js-yaml": "4.0.9",
"esbuild": "0.28.0",
"jest": "30.3.0",
"jest-environment-jsdom": "30.3.0",
"js-yaml": "4.1.1",
"serve": "14.2.6",
"typescript": "6.0.3"
},
"jest": {
"testEnvironment": "node",
"testPathIgnorePatterns": [
"/node_modules/",
"/tests/e2e/"
],
"collectCoverageFrom": [
"death-clock-core.js",
"script.js"
],
"coverageThreshold": {
"global": {
"lines": 80,
"functions": 80,
"branches": 70
},
"./death-clock-core.js": {
"statements": 80,
"functions": 80,
"branches": 70,
"lines": 80
},
"./script.js": {
"statements": 60,
"functions": 60,
"branches": 50,
"lines": 90
}
}
}
}