-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
48 lines (48 loc) · 1.39 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
{
"name": "adventofcode",
"version": "1.0.0",
"description": "",
"main": "index.js",
"dependencies": {
"linked-list": "^2.1.0",
"sinon": "^12.0.1",
"tree-model": "^1.0.7"
},
"devDependencies": {
"advent-of-code": "^5.0.0",
"eslint": "^7.14.0",
"mocha": "^8.2.1",
"nyc": "^15.1.0",
"pre-push": "^0.1.1"
},
"scripts": {
"test": "nyc --reporter=lcov --reporter=text --reporter=text-summary mocha **/day*/**/*test.js utils.test.js",
"testYear": "nyc --reporter=lcov --reporter=text --reporter=text-summary mocha year-$YEAR/day*/**/*test.js utils.test.js",
"testDay": "mocha year-$YEAR/day$DAY/**/*test.js",
"day": "DEBUG=* advent run $DAY 1 + && DEBUG=* advent run $DAY 2 +",
"init": "advent init $DAY && cp test.js.template year-2024/day$DAY/test.js",
"lint": "eslint ./utils*.js year**/day*/**/*.js --fix"
},
"pre-push": [
"lint",
"test"
],
"nyc": {
"exclude": "**/*test.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/merrazquin/advent-of-code.git"
},
"author": "Marcela Errazquin",
"license": "ISC",
"bugs": {
"url": "https://github.com/merrazquin/advent-of-code/issues"
},
"homepage": "https://github.com/merrazquin/advent-of-code#readme",
"adventConfig": {
"year": "2024",
"nameTemplate": "year-2024/day{{num}}/script.js",
"templateFile": "templates/day.js"
}
}