This repository has been archived by the owner on Dec 6, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
121 lines (121 loc) · 3.58 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
{
"name": "WeAreDevelopers2022",
"version": "0.0.2",
"private": true,
"scripts": {
"clean": "rm -Rf ./.next ./storybook-static ./reports *.log",
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint",
"testWithCoverage": "jest --coverage --reporters=default --reporters=jest-junit",
"test": "jest --reporters=default --reporters=jest-junit",
"test:watch": "jest --watch",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook",
"chromatic": "npx chromatic --only-changed --project-token=$CHROMATIC_TOKEN",
"chromatic:ci": "npx chromatic --ci --junit-report ./reports/chromatic-junit.xml --project-token=$CHROMATIC_TOKEN",
"graphql-types": "apollo service:download --endpoint=$STORYBLOK_GRAPHQL_ENDPOINT?token=$STORYBLOK_GRAPHQL_TOKEN src/StoryblokClient/Schema/graphql-schema.json && apollo codegen:generate --localSchemaFile=src/StoryblokClient/Schema/graphql-schema.json --target=typescript --tagName=gql && jest --group=storyblok/types"
},
"dependencies": {
"@apollo/client": "^3.5.9",
"autoprefixer": "^10.4.2",
"axios": "^0.26.0",
"cross-fetch": "^3.1.5",
"interweave": "^13.0.0",
"lodash": "^4.17.21",
"next": "^12.1.5",
"next-swagger-doc": "^0.3.4",
"postcss": "^8.4.12",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"slugify": "^1.6.5",
"swr": "^1.2.1"
},
"devDependencies": {
"@babel/core": "^7.17.10",
"@storybook/addon-actions": "^6.5.0-beta.1",
"@storybook/addon-essentials": "^6.5.0-beta.1",
"@storybook/addon-interactions": "^6.5.0-beta.1",
"@storybook/addon-links": "^6.5.0-beta.1",
"@storybook/react": "^6.5.0-beta.1",
"@storybook/testing-library": "^0.0.10",
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "^12.1.2",
"@testing-library/user-event": "^14.2.0",
"@types/graphql": "^14.5.0",
"@types/jest": "^27.4.1",
"@types/lodash": "^4.14.178",
"@types/node": "17.0.18",
"@types/react": "17.0.2",
"apollo": "^2.33.9",
"babel-loader": "^8.2.5",
"chromatic": "^6.5.4",
"dotenv": "^16.0.1",
"eslint": "8.9.0",
"eslint-config-next": "12.0.10",
"eslint-plugin-storybook": "^0.5.11",
"jest": "^27.5.1",
"jest-junit": "^13.2.0",
"jest-runner-groups": "^2.1.0",
"msw": "^0.42.0",
"next-page-tester": "^0.32.0",
"ts-jest": "^27.1.3",
"ts-node": "^10.7.0",
"typescript": "^4.6.3"
},
"engines": {
"node": ">=16.14.0"
},
"jest": {
"globals": {
"ts-jest": {
"tsconfig": "./tsconfig.test.json"
}
},
"setupFiles": [
"dotenv/config"
],
"preset": "ts-jest",
"testEnvironment": "jsdom",
"runner": "groups",
"coverageThreshold": {
"global": {
"lines": 0
}
},
"coverageDirectory": "reports/coverage",
"collectCoverageFrom": [
"src/**/*.{ts,tsx,jsx}",
"pages/**/*.{ts,tsx,jsx}",
"!src/**/*.stories.{tsx,jsx}",
"!src/**/index.ts",
"!src/**/*.mock.ts"
],
"coveragePathIgnorePatterns": [
"/node_modules/",
"/dist/",
"/test/",
"/storybook-static/",
"/.next/",
"/.storybook/",
"/.vscode/"
],
"coverageReporters": [
"json",
"lcov",
"text",
"html",
"cobertura"
],
"moduleNameMapper": {
"\\.(css|less)$": "<rootDir>/test/__mocks__/styleMock.js"
}
},
"jest-junit": {
"suiteName": "WeAreDevelopers2022 jest-junit",
"outputDirectory": "./reports/",
"outputName": "jest-junit.xml",
"uniqueOutputName": "false"
}
}