-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
92 lines (92 loc) · 2.32 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": "scheme-ts",
"version": "0.0.1",
"description": "Implementation of a variant of the Scheme programming language, written in Typescript",
"keywords": [
"TypeScript",
"interpreter",
"Scheme"
],
"dependencies": {
"antlr4ts": "^0.5.0-alpha.4",
"node-getopt": "^0.3.2",
"source-map": "^0.7.3"
},
"main": "dist/index",
"types": "dist/index",
"files": [
"dist"
],
"bin": {
"scheme-ts": "dist/repl/repl.js"
},
"scripts": {
"check": "yarn run format:check && yarn run eslint:check && yarn test",
"fix": "yarn run format:fix && yarn run eslint:fix",
"format:fix": "prettier --write \"src/**/*.{ts,tsx}\"",
"format:check": "prettier --list-different \"src/**/*.{ts,tsx}\"",
"test": "jest",
"test-coverage": "jest --coverage",
"eslint:fix": "eslint --fix --ext \".ts,.tsx\" src",
"eslint:check": "eslint --ext \".ts,.tsx\" src",
"build": "yarn tsc",
"antlr4ts": "antlr4ts -visitor ./src/lang/Scheme.g4"
},
"devDependencies": {
"@types/jest": "^26.0.14",
"@types/node": "^14.11.2",
"@typescript-eslint/eslint-plugin": "^4.4.1",
"@typescript-eslint/parser": "^4.4.1",
"coveralls": "^3.1.0",
"eslint": "^7.11.0",
"eslint-config-prettier": "^6.13.0",
"husky": "^4.3.0",
"jest": "^26.4.2",
"jest-html-reporter": "^3.2.0",
"prettier": "^2.1.2",
"ts-jest": "^26.4.1",
"typescript": "^4.0.3",
"antlr4ts-cli": "^0.5.0-alpha.4"
},
"jest": {
"moduleFileExtensions": [
"ts",
"js"
],
"transform": {
"\\.ts$": "<rootDir>/node_modules/ts-jest",
"\\.js$": "<rootDir>/node_modules/babel-jest"
},
"testRegex": "/__tests__/.*\\.ts$",
"testPathIgnorePatterns": [
"/dist/",
"'.*benchmark.*'"
],
"coveragePathIgnorePatterns": [
"/dist/",
"/node_modules/",
"/src/typings/",
"/src/utils/testing.ts"
],
"reporters": [
"default",
[
"./node_modules/jest-html-reporter",
{
"pageTitle": "Test Report",
"includeFailureMsg": true,
"includeConsoleLog": true
}
]
],
"setupFilesAfterEnv": [
"<rootDir>/src/jest.setup.ts"
]
},
"husky": {
"hooks": {
"pre-commit": "yarn run fix && yarn run check",
"pre-push": "yarn run check"
}
}
}