-
-
Notifications
You must be signed in to change notification settings - Fork 3k
/
package.json
60 lines (60 loc) · 2.85 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
{
"name": "build-a-quiz-component-with-react",
"version": "0.1.0",
"private": true,
"dependencies": {
"react": "16.2.0",
"react-dom": "16.2.0",
"react-scripts": "1.1.1"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "./node_modules/.bin/cross-env react-scripts test --env=jsdom",
"test:part2": "./node_modules/.bin/cross-env react-scripts test --env=jsdom --noStackTrace src/__tests__/part2",
"test:part3": "./node_modules/.bin/cross-env react-scripts test --env=jsdom --noStackTrace src/__tests__/part3",
"test:part4": "./node_modules/.bin/cross-env react-scripts test --env=jsdom --noStackTrace src/__tests__/part4",
"test:part5": "./node_modules/.bin/cross-env react-scripts test --env=jsdom --noStackTrace src/__tests__/part5",
"test:part6": "./node_modules/.bin/cross-env react-scripts test --env=jsdom --noStackTrace src/__tests__/part6",
"test:part7": "./node_modules/.bin/cross-env react-scripts test --env=jsdom --noStackTrace src/__tests__/part7",
"test:part8": "./node_modules/.bin/cross-env react-scripts test --env=jsdom --noStackTrace src/__tests__/part8",
"tutor-test:part2": "./node_modules/.bin/cross-env CI=true react-scripts test --env=jsdom --json --noStackTrace src/__tests__/part2",
"tutor-test:part3": "./node_modules/.bin/cross-env CI=true react-scripts test --env=jsdom --json --noStackTrace src/__tests__/part3",
"tutor-test:part4": "./node_modules/.bin/cross-env CI=true react-scripts test --env=jsdom --json --noStackTrace src/__tests__/part4",
"tutor-test:part5": "./node_modules/.bin/cross-env CI=true react-scripts test --env=jsdom --json --noStackTrace src/__tests__/part5",
"tutor-test:part6": "./node_modules/.bin/cross-env CI=true react-scripts test --env=jsdom --json --noStackTrace src/__tests__/part6",
"tutor-test:part7": "./node_modules/.bin/cross-env CI=true react-scripts test --env=jsdom --json --noStackTrace src/__tests__/part7",
"tutor-test:part8": "./node_modules/.bin/cross-env CI=true react-scripts test --env=jsdom --json --noStackTrace src/__tests__/part8",
"tutor-test": "./node_modules/.bin/cross-env CI=true react-scripts test --env=jsdom --json --noStackTrace",
"eject": "react-scripts eject"
},
"jest": {
"collectCoverageFrom": [
"src/**/*.{js,jsx}",
"!<rootDir>/node_modules/",
"!<rootDir>/path/to/dir/"
],
"coverageThreshold": {
"global": {
"branches": 90,
"functions": 90,
"lines": 90,
"statements": 90
}
},
"coverageReporters": [
"json"
]
},
"devDependencies": {
"babylon": "6.18.0",
"chai": "4.1.2",
"chai-enzyme": "0.8.0",
"cross-env": "5.1.4",
"enzyme": "3.3.0",
"enzyme-adapter-react-16": "1.1.1",
"esprima": "4.0.0",
"react-test-renderer": "16.3.1",
"sinon": "5.0.1"
}
}