-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
101 lines (101 loc) · 3.15 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
93
94
95
96
97
98
99
100
101
{
"name": "zon",
"version": "0.1.0",
"description": "Shed light on your codebase",
"repository": "[email protected]:thomasvanlankveld/zon.git",
"author": "Thomas van Lankveld <[email protected]>",
"license": "MIT",
"private": true,
"scripts": {
"develop": "concurrently -r \"npm:type-check:watch\" \"npm:start\"",
"start": "parcel ./src-ui/index.html",
"build": "yarn run type-check && parcel build ./src-ui/index.html",
"test": "jest --coverage",
"type-check": "tsc --noEmit --incremental false",
"type-check:watch": "tsc --noEmit --watch",
"lint": "eslint './src-ui/**/*.{ts,tsx}'",
"lint:fix": "yarn lint --fix",
"cli": "ts-node src-ui/cli.ts",
"verify": "yarn type-check && yarn lint && yarn test",
"format": "prettier --write './src-ui/**/*.{ts,tsx}'"
},
"husky": {
"hooks": {
"prepare-commit-msg": "exec < /dev/tty && git cz --hook || true",
"pre-commit": "yarn format && yarn verify"
}
},
"jest": {
"preset": "ts-jest",
"globals": {
"ts-jest": {
"tsConfig": "<rootDir>/tsconfig.test.json"
}
},
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"moduleNameMapper": {
".+\\.css$": "<rootDir>/src-ui/assets/test-support/assetMock.ts",
"^[./a-zA-Z0-9$_-]+\\.jpg": "<rootDir>/src-ui/assets/test-support/assetMock.ts",
"^[./a-zA-Z0-9$_-]+\\.mp4": "<rootDir>/src-ui/assets/test-support/assetMock.ts",
"^[./a-zA-Z0-9$_-]+\\.png": "<rootDir>/src-ui/assets/test-support/assetMock.ts",
"^[./a-zA-Z0-9$_-]+\\.svg": "<rootDir>/src-ui/assets/test-support/assetMock.ts"
},
"collectCoverageFrom": [
"src-ui/**/*.{js,jsx,ts,tsx}"
],
"setupFilesAfterEnv": [
"<rootDir>/src-ui/test-support/jest.setup.ts"
]
},
"devDependencies": {
"@testing-library/jest-dom": "^5.11.2",
"@testing-library/react": "^10.4.3",
"@types/d3": "^5.7.2",
"@types/jest": "^25.2.1",
"@types/lodash": "^4.14.151",
"@types/node": "^14.0.11",
"@types/react": "^16.9.34",
"@types/react-dom": "^16.9.7",
"@types/styled-components": "^5.1.0",
"@typescript-eslint/eslint-plugin": "^2.13.0",
"@typescript-eslint/parser": "^2.13.0",
"commitizen": "^4.0.5",
"cz-conventional-changelog": "3.1.0",
"eslint": "^6.8.0",
"eslint-config-airbnb": "^18.0.1",
"eslint-config-prettier": "^6.9.0",
"eslint-plugin-import": "^2.19.1",
"eslint-plugin-jest": "^23.1.1",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-prettier": "^3.1.2",
"eslint-plugin-react": "^7.17.0",
"eslint-plugin-react-hooks": "^4.0.0",
"husky": "^4.2.5",
"jest": "^25.5.4",
"parcel": "^1.12.4",
"prettier": "^2.0.5",
"ts-jest": "^25.4.0",
"ts-node": "^8.10.1",
"typescript": "^3.8.3"
},
"dependencies": {
"d3": "^5.16.0",
"fp-ts": "^2.6.1",
"immer": "^8.0.1",
"io-ts": "^2.2.2",
"lodash": "^4.17.19",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"styled-components": "^5.1.0",
"utility-types": "^3.10.0"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}