-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
79 lines (79 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
76
77
78
79
{
"name": "@scotia/jester-react",
"version": "0.3.0",
"description": "Jest Helpers provides some extra functionality to simplify writing your unit tests.",
"repository": "[email protected]:scotiabank/jester.git",
"homepage": "https://github.com/scotiabank/jester/packages/jester-react",
"license": "MPL-2.0",
"keywords": [
"jest",
"unit",
"snapshot"
],
"main": "dist/index.js",
"files": [
"dist"
],
"scripts": {
"lint": "eslint *.js src",
"test": "jest src",
"test:watch": "npm run test -- --watch",
"babel": "babel src --out-dir dist",
"clean": "shx rm -rf dist",
"build": "npm run clean && npm run lint && npm run test && npm run babel",
"prepublishOnly": "npm run build"
},
"peerDependencies": {
"enzyme": "^3.1.0",
"enzyme-to-json": "^3.1.4",
"jest": "^21.2.1",
"react": "^16.0.0",
"react-dom": "^16.0.0"
},
"devDependencies": {
"@scotia/eslint-config-scotiabank": "1.0.0",
"babel-cli": "6.24.0",
"babel-core": "6.24.0",
"babel-eslint": "7.2.3",
"babel-jest": "21.2.0",
"babel-plugin-module-resolver": "2.7.0",
"babel-plugin-transform-object-rest-spread": "6.23.0",
"babel-polyfill": "6.23.0",
"babel-preset-env": "1.3.2",
"babel-preset-react": "6.23.0",
"enzyme": "3.1.0",
"enzyme-adapter-react-16": "1.0.2",
"enzyme-to-json": "3.1.4",
"eslint": "4.9.0",
"eslint-plugin-react": "7.4.0",
"jest": "21.2.1",
"raf": "3.4.0",
"react": "16.0.0",
"react-dom": "16.0.0",
"react-test-renderer": "16.0.0",
"shx": "0.2.2"
},
"jest": {
"setupTestFrameworkScriptFile": "<rootDir>/test-setup.js",
"setupFiles": [
"raf/polyfill"
],
"collectCoverage": true,
"collectCoverageFrom": [
"src/**/*.js"
],
"coverageReporters": [
"json",
"lcov",
"text-summary"
],
"coverageThreshold": {
"global": {
"branches": 100,
"functions": 100,
"lines": 100,
"statements": 100
}
}
}
}