-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
123 lines (123 loc) · 3.04 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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
{
"name": "my-planning-app",
"version": "0.1.1",
"description": "My planning app, built with nextjs and ant design.",
"main": "src/pages/index.tsx",
"repository": "https://github.com/jsi1v4/my-planning-app.git",
"author": "Jsi1v4 <[email protected]>",
"license": "MIT",
"private": false,
"scripts": {
"dev": "next",
"build": "next build",
"start": "next start",
"export": "next export",
"test": "jest -u --coverage",
"test:watch": "jest --watch",
"test:ci": "jest --ci",
"format": "prettier --write src/**/*.ts{,x}",
"lint": "eslint src/**/*.ts{,x}"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"prepare-commit-msg": "commitlint --edit",
"pre-push": "yarn test:ci"
}
},
"lint-staged": {
"*.@(ts|tsx)": [
"yarn lint"
]
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"dependencies": {
"@ant-design/charts": "^1.0.18",
"@ant-design/icons": "4.2.1",
"@next/bundle-analyzer": "^9.1.4",
"antd": "4.3.0",
"firebase": "^8.3.2",
"next": "^10.0.7",
"ramda": "^0.27.1",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-intl": "^5.13.1",
"styled-components": "^5.0.0"
},
"devDependencies": {
"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^11.0.0",
"@testing-library/react": "^11.2.5",
"@types/jest": "^26.0.22",
"@types/node": "^14.14.37",
"@types/ramda": "^0.27.39",
"@types/react": "^17.0.3",
"@types/react-dom": "^17.0.3",
"@types/styled-components": "^5.1.9",
"@typescript-eslint/eslint-plugin": "^4.20.0",
"@typescript-eslint/parser": "^4.20.0",
"babel-jest": "^26.6.3",
"babel-plugin-styled-components": "^1.8.0",
"eslint": "^7.23.0",
"eslint-config-airbnb": "^18.2.1",
"eslint-config-airbnb-typescript": "^12.3.1",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jest": "^24.3.3",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-react": "^7.23.1",
"eslint-plugin-react-hooks": "^4.2.0",
"husky": "^4.3.8",
"jest": "^26.6.3",
"lint-staged": "^10.5.3",
"prettier": "^2.2.1",
"ts-jest": "^26.5.4",
"typescript": "^4.2.3"
},
"browserslist": "> 0.25%, not dead",
"babel": {
"presets": [
"next/babel"
],
"plugins": [
[
"styled-components",
{
"ssr": true
}
]
]
},
"jest": {
"preset": "ts-jest",
"roots": [
"<rootDir>"
],
"globals": {
"ts-jest": {
"tsconfig": "<rootDir>/tsconfig.spec.json"
}
},
"moduleDirectories": [
"node_modules",
"<rootDir>"
],
"testPathIgnorePatterns": [
"<rootDir>[/\\\\](node_modules|.next)[/\\\\]"
],
"transformIgnorePatterns": [
"[/\\\\]node_modules[/\\\\].+\\.(ts|tsx)$"
],
"transform": {
"^.+\\.(ts|tsx)$": "babel-jest"
},
"setupFiles": [
"<rootDir>/setup-tests.js"
]
}
}