-
Notifications
You must be signed in to change notification settings - Fork 16
/
package.json
79 lines (79 loc) · 2.1 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
{
"name": "@ecomfe/react-track",
"version": "3.0.1",
"description": "A declarative, component based solution to track page views and user events with react & react-router",
"keywords": [
"react",
"react-router",
"track"
],
"homepage": "https://github.com/otakustay/react-track#readme",
"bugs": {
"url": "https://github.com/otakustay/react-track/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/otakustay/react-track.git"
},
"license": "MIT",
"author": "otakustay",
"files": [
"cjs",
"es"
],
"types": "./es/index.d.ts",
"sideEffects": false,
"main": "es/index.js",
"module": "es/index.js",
"scripts": {
"lint": "skr lint && tsc",
"test": "skr test --target=react --coverage",
"start": "skr dev --src=demo",
"build": "rm -rf es cjs && tsc & tsc --module ESNext --outDir ./es",
"report-cov": "cat coverage/lcov.info | coveralls",
"ci": "yarn run build",
"prepublishOnly": "yarn run ci",
"lint-staged": "skr lint --staged",
"deploy": "npm publish --registry=https://registry.npmjs.com"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint-staged"
}
},
"dependencies": {
"lodash": "^4.17.15",
"platform": "^1.3.5",
"uuid": "^3.3.3"
},
"devDependencies": {
"@babel/polyfill": "^7.7.0",
"@reskript/cli": "^1.0.0",
"@reskript/cli-dev": "^1.0.0",
"@reskript/cli-lint": "^1.0.0",
"@reskript/cli-test": "^1.0.0",
"@reskript/config-lint": "^1.0.0",
"@types/lodash": "^4.14.149",
"@types/platform": "^1.3.2",
"@types/prop-types": "^15.7.3",
"@types/react": "^17.0.3",
"@types/react-router-dom": "^5.1.7",
"@types/uuid": "^3.4.6",
"coveralls": "^3.0.9",
"enzyme": "^3.10.0",
"eslint": "^7.22.0",
"husky": "^4.3.8",
"mock-local-storage": "^1.1.11",
"prop-types": "^15.7.2",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-router-dom": "^5.2.0",
"recompose": "^0.30.0",
"typescript": "^4.2.3",
"webpack": "^5.27.1"
},
"peerDependencies": {
"react": ">=16",
"react-router-dom": ">=4"
}
}