-
Notifications
You must be signed in to change notification settings - Fork 56
/
package.json
93 lines (93 loc) · 2.24 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
85
86
87
88
89
90
91
92
93
{
"name": "react-adopt",
"version": "0.6.0",
"main": "dist/index.js",
"umd:main": "dist/index.umd.js",
"module": "dist/index.m.js",
"types": "dist/index.d.ts",
"source": "src/index.tsx",
"license": "MIT",
"repository": "pedronauck/react-adopt",
"homepage": "https://github.com/pedronauck/react-adopt",
"bugs": "https://github.com/pedronauck/react-adopt/issues",
"author": "Pedro Nauck <[email protected]>",
"scripts": {
"dev": "libundler watch --ts",
"build": "libundler build --ts --sourcemap",
"build:prod": "yarn build --compress",
"prebuild:prod": "yarn run fix",
"test": "cross-env NODE_ENV=test jest",
"fix": "run-s fix:*",
"fix:prettier": "prettier \"src/**/*.{ts,tsx}\" --write",
"fix:tslint": "tslint -p ./",
"release": "np",
"prerelease": "yarn build:prod"
},
"files": [
"dist/",
"README.md",
"LICENSE"
],
"keywords": [
"react",
"render-props",
"compose"
],
"dependencies": {
"hoist-non-react-statics": "^2.5.0",
"react": "^16.3.2",
"react-display-name": "^0.2.4"
},
"peerDependencies": {
"react": ">= 0.14.0"
},
"devDependencies": {
"@types/enzyme": "^3.1.10",
"@types/enzyme-adapter-react-16": "^1.0.2",
"@types/jest": "^22.2.3",
"@types/react": "^16.3.14",
"cross-env": "^5.1.5",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.1",
"husky": "^0.14.3",
"jest": "^22.4.3",
"libundler": "^1.6.4",
"lint-staged": "^7.1.0",
"np": "^2.20.1",
"npm-run-all": "^4.1.3",
"prettier": "^1.12.1",
"react-dom": "^16.3.2",
"react-powerplug": "^0.1.5",
"ts-jest": "^22.4.5",
"ts-node": "^6.0.3",
"tslint": "^5.10.0",
"tslint-config-prettier": "^1.12.0",
"typescript": "^2.8.3"
},
"jest": {
"setupFiles": [
"<rootDir>/utils/test-setup.ts"
],
"transform": {
"^.+\\.(ts|tsx)$": "ts-jest"
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(js?|jsx?|jsx?|tsx?)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
]
},
"lint-staged": {
"src/**.tsx": [
"yarn fix:prettier",
"git add"
]
},
"husky": {
"pre-commit": "lint-staged && yarn test"
}
}