-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
107 lines (107 loc) · 2.73 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
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
{
"name": "@aws/clickstream-react-native",
"version": "0.3.1",
"description": "ClickstreamAnalytics React Native SDK",
"main": ".lib/src/index.js",
"module": "./lib-esm/src/index.js",
"typings": "./lib-esm/src/index.d.ts",
"react-native": "src/index.ts",
"source": "src/index",
"scripts": {
"example": "yarn workspace clickstream-react-native-example start",
"test": "npx jest -w 1 --coverage",
"lint": "npx eslint 'src/*.{js,ts,tsx}'",
"format": "npx prettier --check 'src/**/*.{js,ts}'",
"clean-all": "rimraf android/build example/android/build example/android/app/build example/ios/build lib lib-esm",
"clean-js": "rimraf lib lib-esm",
"build:cjs": "npx tsc --module commonjs",
"build:esm": "npx tsc --module esnext --outDir lib-esm",
"build": "npm run clean-js && npm run build:esm && npm run build:cjs",
"pack": "npm run build && npm pack"
},
"repository": {
"type": "git",
"url": "https://github.com/awslabs/clickstream-react-native.git"
},
"author": "AWS GCR Solutions Team",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/awslabs/clickstream-react-native.git/issues"
},
"homepage": "https://awslabs.github.io/clickstream-analytics-on-aws",
"publishConfig": {
"access": "public"
},
"devDependencies": {
"@react-native/eslint-config": "0.73.2",
"@types/jest": "^29.5.5",
"@types/react": "^18.2.44",
"eslint": "^8.51.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.1",
"jest": "^29.7.0",
"prettier": "^3.0.3",
"react-native": "0.73.5",
"typescript": "^4.9.5"
},
"peerDependencies": {
"react-native": "*"
},
"workspaces": [
"example"
],
"packageManager": "[email protected]",
"eslintConfig": {
"root": true,
"extends": [
"@react-native",
"prettier"
],
"rules": {
"prettier/prettier": [
"error",
{
"quoteProps": "consistent",
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "es5",
"useTabs": false
}
]
}
},
"eslintIgnore": [
"node_modules/",
"lib/",
"lib-esm/"
],
"prettier": {
"quoteProps": "consistent",
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "es5",
"useTabs": false
},
"jest": {
"preset": "react-native",
"modulePathIgnorePatterns": [
"<rootDir>/example/node_modules",
"<rootDir>/lib/",
"<rootDir>/lib-esm/"
]
},
"files": [
"src",
"lib",
"lib-esm",
"android/src",
"android/build.gradle",
"android/gradle.properties",
"ios/Clickstream/Sources",
"ios/ClickstreamReactNative*",
"*.podspec",
"!**/__tests__",
"!**/.*",
"!**/example"
]
}