forked from NiGhTTraX/react-mock-component
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
67 lines (67 loc) · 1.61 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
{
"name": "react-mock-component",
"version": "2.0.0",
"description": "Create type safe mock React components to use in tests",
"keywords": [
"tdd",
"react",
"spy",
"stub",
"mock",
"test",
"typescript"
],
"repository": {
"type": "git",
"url": "https://github.com/NiGhTTraX/react-mock-component.git"
},
"main": "dist/src/index",
"types": "dist/src/index",
"scripts": {
"build": "npm run clean && npm run compile",
"clean": "rm -rf ./dist",
"compile": "tsc --declaration --outDir ./dist",
"prepublishOnly": "npm run build",
"lint": "eslint --ext ts,tsx .",
"test": "tdd-buffet test",
"test:coverage": "tdd-buffet test --coverage",
"report-coverage": "nyc report --reporter=json && codecov -f tests/results/coverage-final.json"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.ts": "eslint"
},
"author": "Andrei Picus",
"license": "MIT",
"dependencies": {
"@types/react": "~16.9.2",
"@types/sinon": "~7.5.0",
"sinon": "~7.5.0"
},
"peerDependencies": {
"react": "^16"
},
"devDependencies": {
"@nighttrax/eslint-config-tsx": "~3.0.0",
"@tdd-buffet/react": "~0.5.0",
"@types/node": "~12.11.0",
"@types/react-dom": "~16.9.0",
"@typescript-eslint/eslint-plugin": "~2.4.0",
"codecov": "~3.6.0",
"eslint": "~6.5.0",
"eslint-plugin-react": "~7.16.0",
"husky": "~3.0.0",
"lint-staged": "~9.4.0",
"react": "~16.10.0",
"react-dom": "~16.10.0",
"tdd-buffet": "~0.14.0",
"typescript": "~3.6.3"
},
"files": [
"dist/src/**/*"
]
}