-
Notifications
You must be signed in to change notification settings - Fork 30
/
package.json
75 lines (75 loc) · 2 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
{
"name": "my-account",
"dependencies": {
"apollo-client": "^2.4.7",
"exenv": "^1.2.2",
"graphql": "^14.0.2",
"moment": "^2.22.2",
"react": "^16.4.1",
"react-apollo": "^2.3.2",
"react-dropzone": "^5.0.1",
"react-intl": "^2.4.0",
"react-media": "^1.8.0",
"react-router-dom": "^4.3.1",
"recompose": "^0.27.1"
},
"devDependencies": {
"@babel/core": "^7.2.2",
"@babel/preset-env": "^7.3.1",
"@babel/preset-react": "^7.0.0",
"@babel/preset-typescript": "^7.1.0",
"@types/graphql": "^14.0.7",
"@types/jest": "^23.3.13",
"@types/node": "^10.12.21",
"@types/prop-types": "^15.5.8",
"@types/react": "^16.8.1",
"@types/react-intl": "^2.3.15",
"babel-jest": "^24.1.0",
"jest": "^23.6.0",
"jest-dom": "^3.0.0",
"jest-transform-graphql": "^2.1.0",
"prettier": "^1.16.1",
"react-dom": "^16.7.0",
"react-testing-library": "^5.4.4",
"regenerator-runtime": "^0.13.1",
"tslint": "^5.12.1",
"tslint-config-vtex": "^2.1.0",
"tslint-eslint-rules": "^5.4.0",
"typescript": "^3.3.1",
"typescript-babel-jest": "^1.0.5"
},
"resolutions": {
"babel-core": "^7.0.0-bridge.0"
},
"scripts": {
"test": "jest",
"test:watch": "jest --watch",
"lint": "tsc --noEmit && tslint -c tslint.json -e './mocks/*.ts' './**/*.ts'",
"lint:locales": "intl-equalizer"
},
"jest": {
"verbose": true,
"moduleNameMapper": {
"\\.(css|scss)$": "<rootDir>/__mocks__/styleMock.ts"
},
"setupTestFrameworkScriptFile": "./testUtils/setupTests.ts",
"collectCoverageFrom": [
"react/**/*.{ts, tsx}"
],
"transform": {
"\\.(gql|graphql)$": "jest-transform-graphql",
"^.+\\.(js|jsx|mjs)$": "<rootDir>/node_modules/babel-jest",
"^.+\\.(ts|tsx)$": "typescript-babel-jest"
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.tsx?$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node",
"graphql"
]
}
}