-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
70 lines (70 loc) · 1.66 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
{
"name": "recomposer",
"version": "0.2.5",
"main": "build/index.js",
"types": "build/index.d.ts",
"repository": "[email protected]:suguru03/recomposer.git",
"author": "Suguru Motegi <[email protected]>",
"license": "MIT",
"scripts": {
"build": "rm -rf build && tsc -p tsconfig.build.json && npm run prettier",
"test": "jest",
"prettier": "prettier --write ./**/*.{ts,tsx}",
"precommit": "lint-staged & npm run build"
},
"peerDependencies": {
"react": "^0.14.0 || ^15.0.0 || ^16.0.0",
"recompose": "^0.27.1"
},
"devDependencies": {
"@types/enzyme": "^3.1.10",
"@types/jest": "^23.0.0",
"@types/react": "^16.3.17",
"@types/react-dom": "^16.0.6",
"@types/recompose": "^0.26.1",
"@types/sinon": "^5.0.1",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.1",
"husky": "^0.14.3",
"jest": "^23.1.0",
"lint-staged": "^7.1.3",
"prettier": "^1.13.4",
"react": "^16.4.0",
"react-dom": "^16.4.0",
"recompose": "^0.27.1",
"sinon": "^5.1.0",
"ts-jest": "^22.4.6",
"tslint": "^5.10.0",
"tslint-react": "^3.6.0",
"typescript": "^2.9.1"
},
"jest": {
"moduleFileExtensions": [
"tsx",
"js"
],
"transform": {
"^.+\\.(ts|tsx)$": "ts-jest"
},
"globals": {
"ts-jest": {
"tsConfigFile": "tsconfig.json"
}
},
"testMatch": [
"**/__tests__/*.tsx"
],
"setupTestFrameworkScriptFile": "<rootDir>/src/__tests__/jest.setup.ts"
},
"prettier": {
"printWidth": 100,
"singleQuote": true,
"trailingComma": "all"
},
"lint-staged": {
"*.tsx": [
"prettier --write",
"git add"
]
}
}