-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
56 lines (56 loc) · 1.26 KB
/
package.json
File metadata and controls
56 lines (56 loc) · 1.26 KB
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
{
"name": "@oyvindher/hooks",
"version": "0.1.1",
"description": "Hooks collection",
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
"license": "MIT",
"private": false,
"author": "Øyvind Hermansen <oyvindher@gmail.com>",
"jest": {
"transform": {
".(ts|tsx)": "ts-jest"
},
"testPathIgnorePatterns": [
"/node_modules/",
"/lib/"
],
"testRegex": "(/test/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"json"
]
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged && yarn build && yarn test"
}
},
"devDependencies": {
"@types/jest": "^24.0.0",
"@types/react": "^16.8.2",
"husky": "^1.3.1",
"jest": "^24.1.0",
"prettier": "^1.16.4",
"pretty-quick": "^1.10.0",
"react": "^16.8.1",
"react-dom": "^16.8.1",
"react-testing-library": "^5.5.4",
"rimraf": "^2.6.3",
"ts-jest": "^23.10.5",
"typescript": "^3.3.3"
},
"peerDependencies": {
"react": ">=^16.8.1",
"react-dom": ">=^16.8.1"
},
"scripts": {
"prepublish": "yarn build && yarn test",
"build:clean": "rimraf lib",
"build": "yarn build:clean && tsc",
"test": "jest",
"test:watch": "jest --watchAll"
}
}