-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
84 lines (84 loc) · 2.21 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
{
"name": "@metamask-checker/react",
"version": "2.1.1",
"description": "React component which uses Render Props approach for checking Metamask inpage provider object",
"keywords": [
"ethereum",
"metamask",
"react",
"web3"
],
"repository": {
"type": "git",
"url": "https://github.com/LordotU/react-metamask-checker"
},
"license": "MIT",
"author": "Oleg Levshin <levshino@gmail.com>",
"files": [
"build"
],
"main": "build/index.js",
"scripts": {
"build": "yarn run clean && yarn babel ./src --out-dir ./build",
"clean": "rm -rf ./build",
"prepare": "yarn run build",
"test": "yarn test:jest && yarn test:coverage",
"test:coverage": "cat ./__tests__/coverage/lcov.info | yarn coveralls",
"test:jest": "yarn jest"
},
"jest": {
"collectCoverage": true,
"coverageDirectory": "__tests__/coverage",
"coveragePathIgnorePatterns": [
"<rootDir>/build/",
"<rootDir>/node_modules/",
"<rootDir>/__tests__/"
],
"coverageReporters": [
"json",
"lcov",
"text",
"html"
],
"setupFilesAfterEnv": [
"<rootDir>/__tests__/setup.js"
],
"snapshotSerializers": [
"enzyme-to-json/serializer"
],
"testPathIgnorePatterns": [
"<rootDir>/build/",
"<rootDir>/node_modules/",
"<rootDir>/__tests__/setup.js",
"<rootDir>/__tests__/__mocks__/",
"<rootDir>/__tests__/coverage/"
],
"testURL": "http://localhost/"
},
"devDependencies": {
"@babel/cli": "^7.8.3",
"@babel/core": "^7.8.3",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/plugin-proposal-export-default-from": "^7.8.3",
"@babel/plugin-proposal-export-namespace-from": "^7.8.3",
"@babel/preset-env": "^7.8.3",
"@babel/preset-react": "^7.8.3",
"babel-jest": "^25.1.0",
"coveralls": "^3.0.9",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.2",
"enzyme-to-json": "^3.4.3",
"jest": "^25.1.0",
"jest-cli": "^25.1.0",
"react": "^16.3.1",
"react-dom": "^16.3.1"
},
"peerDependencies": {
"prop-types": "^15.7.2",
"react": "^16.12.0",
"react-dom": "^16.12.0"
},
"dependencies": {
"@metamask-checker/core": "^1.0.0"
}
}