-
Notifications
You must be signed in to change notification settings - Fork 13
/
package.json
117 lines (117 loc) · 2.87 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
{
"author": "Dean Merchant <deanmerchant@gmail.com> (https://github.com/Dean177",
"contributors": [
"Matt Hawes <hawes.info@gmail.com> (https://github.com/MGHawes)",
"Henrique Lange <hlangeseverino@gmail.com> (https://github.com/Henriquelange)"
],
"name": "with-url-state",
"version": "2.0.2",
"repository": {
"type": "git",
"url": "dean177/with-url-state"
},
"dependencies": {
"qs": "6.6.0"
},
"peerDependencies": {
"react": "16.x",
"react-dom": "16.x"
},
"devDependencies": {
"@types/enzyme": "3.1.15",
"@types/history": "4.7.2",
"@types/jest": "23.3.10",
"@types/lodash": "4.14.118",
"@types/qs": "6.5.1",
"@types/query-string": "6.1.1",
"@types/react": "16.4.18",
"@types/react-dom": "16.0.9",
"codecov": "3.7.1",
"concurrently": "4.0.1",
"enzyme": "3.7.0",
"enzyme-adapter-react-16": "1.7.0",
"ghpages": "0.0.10",
"history": "4.7.2",
"husky": "1.2.0",
"jest": "23.6.0",
"jsdom": "13.0.0",
"lint-staged": "8.1.0",
"prettier": "1.15.3",
"props-interceptor": "1.0.1",
"query-string": "6.2.0",
"react": "16.6.3",
"react-dom": "16.6.3",
"react-test-renderer": "16.6.3",
"ts-jest": "23.10.5",
"tslint": "5.11.0",
"tslint-react": "3.6.0",
"typescript": "3.2.1"
},
"jest": {
"collectCoverageFrom": [
"src/**/*.{js,jsx,ts,tsx}"
],
"coveragePathIgnorePatterns": [
"<rootDir>/src/index.ts"
],
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"json"
],
"setupTestFrameworkScriptFile": "<rootDir>/setupTestFramework.js",
"testMatch": [
"<rootDir>/src/**/?(*.)(spec|test).ts?(x)"
],
"transform": {
".(ts|tsx)": "ts-jest"
}
},
"prettier": {
"printWidth": 90,
"trailingComma": "all",
"singleQuote": true,
"semi": false
},
"husky": {
"hooks": {
"pre-commit": [
"lint-staged"
],
"post-commit": [
"git update-index -g"
]
}
},
"lint-staged": {
"*.ts": [
"yarn lint",
"yarn prettify",
"git add"
],
"*.tsx": [
"yarn lint",
"yarn prettify",
"git add"
]
},
"license": "MIT",
"files": [
"dist"
],
"main": "dist/withUrlState.js",
"types": "dist/withUrlState.d.ts",
"scripts": {
"build": "rm -rf dist && tsc",
"build:demo": "rm -rf demo-build && cd demo && yarn && yarn build && mv build ../demo-build",
"deploy:demo": "gh-pages -d demo-build",
"lint": "tslint --fix",
"prettify": "prettier --parser typescript --write",
"format": "yarn lint src/**/*.ts src/**/*.tsx example/src/**/*.ts example/src/**/*.tsx && yarn prettify src/**/*.ts src/**/*.tsx example/src/**/*.ts example/src/**/*.tsx",
"prepublishOnly": "yarn build && yarn test",
"report-coverage": "codecov",
"start": "tsc --watch",
"test": "jest"
}
}