forked from splitio/react-client
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
108 lines (108 loc) · 3.22 KB
/
package.json
File metadata and controls
108 lines (108 loc) · 3.22 KB
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
{
"name": "@splitsoftware/splitio-react",
"version": "1.2.5",
"description": "A React library to easily integrate and use Split JS SDK",
"main": "lib/index.js",
"module": "es/index.js",
"types": "types/index.d.ts",
"files": [
"README.md",
"CONTRIBUTORS-GUIDE.md",
"LICENSE",
"CHANGES.txt",
"lib",
"es",
"types"
],
"sideEffects": false,
"scripts": {
"build:cjs": "rimraf lib/* types/* && tsc -d true --declarationDir types",
"build:esm": "rimraf es/* && tsc -m es2015 -t es6 --outDir es",
"build:umd": "rimraf lib-umd/* && webpack --config webpack.dev.js --env.branch=$BUILD_BRANCH --env.commit_hash=$BUILD_COMMIT && webpack --config webpack.prod.js --env.branch=$BUILD_BRANCH --env.commit_hash=$BUILD_COMMIT",
"build": "npm run build:cjs && npm run build:esm && npm run build:umd",
"postbuild": "./version_replace.sh",
"check": "npm run check:lint && npm run check:types",
"check:lint": "tslint -p tsconfig.json 'src/**/*.ts*'",
"check:types": "tsc --noEmit",
"test": "jest src",
"test:watch": "npm test -- --watch",
"test:coverage": "jest src --coverage",
"test:debug": "node --inspect node_modules/.bin/jest --runInBand",
"publish:rc": "npm publish --tag rc",
"publish:stable": "npm publish",
"prepublishOnly": "npm run build:cjs && npm run build:esm && ./version_replace.sh"
},
"repository": {
"type": "git",
"url": "git+https://github.com/splitio/react-client.git"
},
"keywords": [
"splitio",
"react",
"sdk"
],
"author": "Split Software",
"contributors": [
{
"name": "Emiliano Sanchez",
"email": "emiliano.sanchez@split.io",
"url": "https://github.com/EmilianoSanchez"
},
{
"name": "Nico Zelaya",
"email": "nicolas.zelaya@split.io",
"url": "https://github.com/NicoZelaya"
}
],
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/splitio/react-client/issues"
},
"homepage": "https://github.com/splitio/react-client#readme",
"dependencies": {
"@babel/runtime": "^7.10.2",
"@types/google.analytics": "0.0.40",
"events": "3.1.0",
"object-assign": "^4.1.1",
"unfetch": "^4.1.0",
"utfx": "1.0.1",
"memoize-one": "^5.1.1",
"shallowequal": "^1.1.0"
},
"devDependencies": {
"@splitsoftware/splitio": "^10.15.5",
"@types/enzyme": "^3.10.4",
"@types/enzyme-adapter-react-16": "^1.0.5",
"@types/events": "^3.0.0",
"@types/jest": "^24.0.24",
"@types/react": "^16.9.11",
"@types/react-dom": "^16.9.4",
"@types/react-test-renderer": "^16.9.1",
"@types/shallowequal": "^1.1.1",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.2",
"husky": "^3.1.0",
"jest": "^26.4.2",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"react-test-renderer": "^16.12.0",
"replace": "^1.2.0",
"rimraf": "^3.0.0",
"ts-jest": "^26.3.0",
"ts-loader": "^6.2.1",
"tslint": "^5.20.1",
"typescript": "^4.0.2",
"webpack": "^4.46.0",
"webpack-cli": "^3.3.12",
"webpack-merge": "^4.2.2"
},
"peerDependencies": {
"react": "^16.3.0 || ^17.0.0"
},
"husky": {
"hooks": {
"pre-commit": "npm run check",
"pre-push": "npm test && npm run build"
}
}
}