-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpackage.json
More file actions
126 lines (126 loc) · 3.74 KB
/
package.json
File metadata and controls
126 lines (126 loc) · 3.74 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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
{
"name": "@flagship.io/react-sdk",
"sideEffects": false,
"version": "5.2.3",
"license": "Apache-2.0",
"description": "Flagship REACT SDK",
"main": "dist/src/index.js",
"module": "dist/src/index.js",
"react-native": "dist/src/index.js",
"types": "dist/src/index.d.ts",
"files": [
"dist/**/*",
"CONTRIBUTING.md",
"README.md"
],
"exports": {
".": {
"types": "./dist/src/index.d.ts",
"import": "./dist/src/index.js",
"require": "./dist/index.node.cjs",
"react-native": "./dist/src/index.js"
},
"./dist/edge.js": {
"types": "./dist/src/index.d.ts",
"import": "./dist/edge/src/index.js",
"require": "./dist/edge/src/index.js"
},
"./edge": {
"types": "./dist/src/index.d.ts",
"import": "./dist/edge/src/index.js",
"require": "./dist/edge/src/index.js"
}
},
"dependencies": {
"@flagship.io/js-sdk": "^5.2.0",
"encoding": "^0.1.13"
},
"peerDependencies": {
"react": ">=16.8.0"
},
"homepage": "https://github.com/flagship-io/flagship-react-sdk",
"repository": {
"type": "git",
"url": "git+https://github.com/flagship-io/flagship-react-sdk.git"
},
"keywords": [
"flagship",
"abtasty",
"react",
"sdk"
],
"devDependencies": {
"@babel/cli": "^7.24.1",
"@babel/core": "^7.24.3",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/preset-env": "^7.24.3",
"@babel/preset-react": "^7.24.1",
"@babel/preset-typescript": "^7.24.1",
"@eslint/js": "^9.23.0",
"@testing-library/dom": "^10.1.0",
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/react": "^16.0.0",
"@testing-library/react-hooks": "^8.0.1",
"@testing-library/user-event": "^14.5.2",
"@types/jest": "^29.5.12",
"@types/node": "^20.11.30",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@typescript-eslint/eslint-plugin": "^7.4.0",
"@typescript-eslint/parser": "^7.4.0",
"babel-loader": "^9.1.3",
"babel-plugin-add-module-exports": "^1.0.4",
"core-js": "^3.36.1",
"eslint": "^9.23.0",
"genversion": "^3.2.0",
"globals": "^16.0.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-test-renderer": "^18.2.0",
"regenerator-runtime": "^0.14.1",
"terser-webpack-plugin": "^5.3.10",
"ts-jest": "^29.1.2",
"ts-loader": "^9.5.1",
"tsc-esm-fix": "^3.1.2",
"typescript": "^5.4.3",
"typescript-eslint": "^8.28.0",
"webpack": "^5.91.0",
"webpack-cli": "^5.1.4",
"webpack-merge": "^5.10.0",
"webpack-node-externals": "^3.0.0"
},
"scripts": {
"dev": "tsc --watch ",
"test": "jest",
"lint": "eslint src --ext .tsx",
"clean": "rm -rf dist && mkdir dist",
"generate:version": "genversion --es6 src/sdkVersion.ts",
"build:prod": "NODE_ENV=production npm run build",
"build:edge": "tsc --project tsconfig.edge.json && tsc-esm-fix dist/edge",
"build:default": "tsc --project tsconfig.json && tsc-esm-fix dist",
"patch:deps-edge": "node update-deps.js",
"prebuild": "npm run clean && npm run generate:version && tsc",
"build": "yarn run prebuild && yarn run webpack && yarn run build:default && yarn run build:edge && yarn run patch:deps-edge"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"packageManager": "yarn@4.7.0+sha512.5a0afa1d4c1d844b3447ee3319633797bcd6385d9a44be07993ae52ff4facabccafb4af5dcd1c2f9a94ac113e5e9ff56f6130431905884414229e284e37bb7c9"
}