-
Notifications
You must be signed in to change notification settings - Fork 36
/
package.json
81 lines (81 loc) · 2.43 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
{
"name": "@optimizely/react-sdk",
"version": "3.2.3",
"description": "React SDK for Optimizely Feature Experimentation, Optimizely Full Stack (legacy), and Optimizely Rollouts",
"homepage": "https://github.com/optimizely/react-sdk",
"repository": "https://github.com/optimizely/react-sdk",
"license": "Apache-2.0",
"module": "dist/react-sdk.es.js",
"types": "dist/index.d.ts",
"main": "dist/react-sdk.js",
"browser": "dist/react-sdk.js",
"directories": {
"lib": "lib"
},
"files": [
"dist",
"LICENSE",
"CHANGELOG",
"README.md"
],
"engines": {
"node": ">=14.0.0"
},
"scripts": {
"tsc": "rm -rf lib/ && tsc",
"build": "rm -rf dist/ && node ./scripts/build.js",
"build:win": "(if exist dist rd /s/q dist) && node ./scripts/winbuild.js",
"lint": "tsc --noEmit && eslint 'src/**/*.{js,ts,tsx}' --quiet --fix",
"test": "jest --silent",
"test-coverage": "jest --coverage --coverageReporters=\"text-summary\" --silent",
"prepublishOnly": "npm run test && npm run build",
"prepare": "npm run build && husky install"
},
"publishConfig": {
"access": "public"
},
"lint-staged": {
"**/*.{js,ts,tsx}": [
"yarn run lint",
"yarn run test --findRelatedTests"
]
},
"dependencies": {
"@optimizely/optimizely-sdk": "^5.3.4",
"hoist-non-react-statics": "^3.3.2",
"utility-types": "^2.1.0 || ^3.0.0"
},
"peerDependencies": {
"react": ">=16.8.0"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^26.0.1",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-replace": "^5.0.7",
"@rollup/plugin-terser": "0.4.2",
"@testing-library/jest-dom": "^6.4.8",
"@testing-library/react": "^14.3.0",
"@types/hoist-non-react-statics": "^3.3.5",
"@types/jest": "^29.5.12",
"@types/react": "^18.0.15",
"@types/react-dom": "^18.0.6",
"@typescript-eslint/eslint-plugin": "^5.6.2",
"@typescript-eslint/parser": "^5.6.2",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-react": "^7.35.0",
"eslint-plugin-react-hooks": "^4.6.2",
"husky": "8.0.3",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"lint-staged": "13.2.3",
"prettier": "^3.3.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rollup": "^3.29.4",
"rollup-plugin-typescript2": "^0.36.0",
"ts-jest": "^29.2.3",
"typescript": "^5.5.4"
}
}