/
package.json
72 lines (72 loc) · 1.99 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
{
"name": "nextjs-with-jest-eslint",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"dev": "next",
"build": "next build",
"start": "next start",
"test": "yarn jest",
"test:watch": "yarn jest -- --watch",
"eslint": "eslint ./pages/*.js ./__tests__/*.js"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"@babel/runtime-corejs2": "^7.9.2",
"@testing-library/jest-dom": "^5.5.0",
"@testing-library/react": "^10.0.0",
"@zeit/next-css": "^1.0.1",
"@zeit/next-sass": "^1.0.1",
"babel-eslint": "^10.1.0",
"babel-plugin-import": "^1.12.2",
"babel-plugin-module-resolver": "^3.2.0",
"babel-plugin-styled-components": "^1.10.6",
"enzyme": "^3.10.0",
"enzyme-adapter-react-16": "^1.14.0",
"enzyme-adapter-react-16.3": "^1.7.2",
"enzyme-to-json": "^3.4.0",
"next": ">=9.3.2",
"node-sass": "^4.13.1",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"react-router-dom": "^5.1.2"
},
"devDependencies": {
"eslint": "^6.6.0",
"eslint-config-airbnb": "^18.0.1",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-react": "^7.16.0",
"eslint-plugin-react-hooks": "^2.3.0",
"husky": "^3.0.5",
"identity-obj-proxy": "^3.0.0",
"jest": "^24.9.0",
"minimist": ">=1.2.3",
"acorn": ">=6.4.1",
"kind-of": ">=6.0.3"
},
"husky": {
"hooks": {
"pre-push": "yarn eslint && yarn test"
}
},
"jest": {
"testPathIgnorePatterns": [
"<rootDir>/.next/",
"<rootDir>/.docz/"
],
"setupFilesAfterEnv": [
"./setupTest.js"
],
"moduleNameMapper": {
"^@src(.*)$": "<rootDir>/src/$1",
"^@static(.*)$": "<rootDir>/static/$1",
"^@components(.*)$": "<rootDir>/components/$1",
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/__mocks__/fileMock.js",
"\\.(css|less|sass)$": "identity-obj-proxy"
}
}
}