-
Notifications
You must be signed in to change notification settings - Fork 16
/
package.json
53 lines (53 loc) · 1.56 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
{
"name": "book",
"version": "1.0.0",
"description": "Bókin um vefforritun",
"main": "index.js",
"engines": {
"node": ">=14"
},
"scripts": {
"generate": "node src/generate.js",
"clean": "rm -rf ./cache ./build",
"wordlist": "find ./chapters/*.md -type f | xargs grep --color=always -w -Ff ./wordlist.txt | awk '{print $0,\"\\n\"}'",
"test": "jest",
"lint": "eslint \"*.js\" \"src/**/*.js\" --max-warnings=0 --report-unused-disable-directives",
"coverage": "jest --coverage --collectCoverageFrom='src/**/{!(generate),}.js'",
"stryker": "stryker run",
"format:eslint": "eslint --fix \"*.js\" \"src/**/*.js\"",
"format:prettier": "prettier --write \"*.{json,md}\" \"src/**/*.{json,md,html}\""
},
"repository": {
"type": "git",
"url": "git+https://github.com/vefforritun/book.git"
},
"keywords": [],
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/vefforritun/book/issues"
},
"homepage": "https://github.com/vefforritun/book#readme",
"dependencies": {
"jsdom": "^19.0.0",
"marked": "^4.0.16",
"gray-matter": "^4.0.3",
"highlight.js": "^11.5.1",
"image-size": "^1.0.1",
"prettier": "2.8.7"
},
"devDependencies": {
"@stryker-mutator/core": "^6.4.2",
"@stryker-mutator/jest-runner": "^6.4.2",
"eslint": "^8.38.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-import": "^2.27.5",
"jest": "^29.5.0"
},
"jest": {
"testPathIgnorePatterns": [
"<rootDir>/src/generate.js"
]
}
}