-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
92 lines (92 loc) · 2.3 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
{
"name": "sustainability",
"version": "0.6.1",
"description": "Digital Sustainability Audits",
"main": "build/index.js",
"bin": {
"sustainability": "build/cli.js"
},
"types": "build/index.d.ts",
"scripts": {
"test": "DEBUG='sustainability:*' jest",
"coverage": "jest --coverage --silent",
"dev": "DEBUG='sustainability:*' ts-node-dev --respawn --poll --clear ./src/index-dev.ts",
"start:dev": "DEBUG='sustainability:*' ts-node ./src/index-dev.ts",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\" ",
"build": "tsc && cp ./src/bin/** ./build/bin/",
"prepare": "husky install",
"format:check": "prettier --check \"src/**/*.ts\" \"test/**/*.ts\""
},
"author": "David Monras",
"repository": {
"type": "git",
"url": "https://github.com/auditsdigital/sustainability.git"
},
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/das"
},
"license": "MIT",
"peerDependencies": {
"puppeteer": ">=13.0.0"
},
"devDependencies": {
"@types/css-tree": "^1.0.7",
"@types/debug": "^4.1.7",
"@types/jest": "^27.4.0",
"@types/memoizee": "^0.4.7",
"@types/minimist": "^1.2.2",
"@types/node": "^17.0.16",
"characterset": "^1.3.0",
"fastify": "^3.27.1",
"fastify-static": "^4.5.0",
"husky": "^7.0.0",
"jest": "^27.5.1",
"prettier": "^2.5.1",
"puppeteer": "^13.3.2",
"ts-jest": "^27.1.3",
"ts-node": "^10.5.0",
"ts-node-dev": "^1.1.8",
"typescript": "^4.5.5"
},
"dependencies": {
"abort-controller": "^3.0.0",
"characterset": "^1.3.0",
"cross-fetch": "^3.1.5",
"css-tree": "^2.0.4",
"debug": "^4.3.3",
"memoizee": "^0.4.14",
"minimist": "^1.2.5",
"parse-cache-control": "^1.0.1"
},
"jest": {
"setupFilesAfterEnv": [
"<rootDir>/test/config/setup.js"
],
"collectCoverageFrom": [
"src/**/*.ts",
"!src/audits/audit.ts"
],
"coveragePathIgnorePatterns": [
"/collect/",
"/bin/",
"/utils/",
"cli.ts",
"index-dev.ts"
],
"coverageReporters": [
"lcov",
"text",
"text-summary"
],
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testRegex": "/test/.*\\.test\\.ts$",
"moduleFileExtensions": [
"ts",
"js",
"json"
]
}
}