forked from Dean177/use-url-state
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
78 lines (78 loc) · 2.02 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
{
"author": "Dean Merchant",
"name": "with-url-state",
"version": "1.2.0",
"dependencies": {
"lodash": "^4.17.4",
"query-string": "^5.0.1"
},
"peerDependencies": {
"history": "4.6.x || 4.7.x",
"react": "15.x || 16.x",
"react-dom": "15.x || 16.x"
},
"devDependencies": {
"@types/enzyme": "3.1.6",
"@types/history": "4.6.2",
"@types/jest": "22.0.1",
"@types/lodash": "4.14.92",
"@types/query-string": "5.0.1",
"@types/react": "16.0.21",
"@types/react-dom": "16.0.3",
"concurrently": "3.5.1",
"enzyme": "3.3.0",
"enzyme-adapter-react-16": "1.1.1",
"history": "4.7.2",
"jest": "21.2.1",
"jsdom": "11.4.0",
"react": "16.2.0",
"react-dom": "16.1.0",
"react-test-renderer": "16.2.0",
"ts-jest": "22.0.1",
"tslint": "5.9.0",
"tslint-react": "3.4.0",
"typescript": "2.6.2"
},
"jest": {
"collectCoverageFrom": [
"src/**/*.{js,jsx,ts,tsx}"
],
"coveragePathIgnorePatterns": [
"<rootDir>/src/index.ts"
],
"coverageReporters": [
"text"
],
"mapCoverage": true,
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"json"
],
"setupTestFrameworkScriptFile": "<rootDir>/setupTestFramework.js",
"testEnvironment": "node",
"testMatch": [
"<rootDir>/src/**/?(*.)(spec|test).ts?(x)"
],
"transform": {
".(ts|tsx)": "<rootDir>/node_modules/ts-jest/preprocessor.js"
}
},
"license": "MIT",
"files": [
"dist"
],
"main": "dist/withUrlState.js",
"types": "dist/withUrlState.d.ts",
"scripts": {
"build": "rm -rf dist && tsc && yarn build:docs",
"build:docs": "rm -rf docs && cd example && yarn && yarn build && cp -r ./build ../docs",
"build:dev": "tsc --noEmit --pretty --watch",
"dev": "concurrently -n \"make,test\" \"npm run build:dev\" \"npm run test:dev\"",
"lint": "tslint ./src/**/*.ts ./example/src/**/*.tsx",
"test": "jest --coverage",
"test:dev": "jest --watch",
"prepublish": "npm run test && npm run build"
}
}