-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
53 lines (53 loc) · 1.2 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": "garf",
"version": "0.1.0",
"description": "An interpreter for the Garf programming language",
"scripts": {
"start": "nodemon --exec ts-node src/index.ts",
"build": "tsc",
"watch": "tsc --watch",
"test": "jest --coverage",
"lint": "eslint . --ext .ts",
"prettier": "prettier --write \"src/**/*.ts\"",
"prepare": "husky install",
"pre-commit": "lint-staged"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.ts": [
"eslint --fix",
"prettier --write"
]
},
"devDependencies": {
"@types/jest": "^29.4.0",
"@types/node": "^18.14.6",
"@typescript-eslint/eslint-plugin": "^5.54.1",
"@typescript-eslint/parser": "^5.54.1",
"eslint": "^8.35.0",
"husky": "^8.0.3",
"jest": "^29.5.0",
"lint-staged": "^13.1.2",
"nodemon": "^2.0.21",
"prettier": "^2.8.4",
"ts-jest": "^29.0.5",
"ts-node": "^10.9.1",
"typescript": "^4.9.5"
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"collectCoverageFrom": [
"src/**/*.ts"
],
"coverageDirectory": "coverage",
"coverageReporters": [
"text",
"html"
]
}
}