-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
115 lines (115 loc) · 3.94 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
108
109
110
111
112
113
114
115
{
"name": "@platformbuilders/helpers",
"version": "0.11.3",
"description": "Builders helpers library",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"repository": {
"type": "git",
"url": "git+https://github.com/platformbuilders/helpers.git"
},
"keywords": [
"platform builders",
"builders",
"helpers"
],
"author": "Builders <[email protected]>",
"license": "ISC",
"private": false,
"scripts": {
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"lint": "eslint '*/**/*.{js,ts,tsx}' --fix",
"pretty": "prettier --config ./.prettierrc.js --write \"src/**/*.{jsx,ts,tsx,json}\"",
"uglify": "for f in dist/*.js; do short=${f%.js}; uglifyjs $f > $short.min.js; rm -rf $f; mv $short.min.js $short.js; done",
"clean": "rm -rf ./node_modules && yarn install",
"build": "rm -rf ./dist && yarn lint && rollup -c --bundleConfigAsCjs && yarn build:native && yarn uglify",
"build:native": "node scripts/moveNativeDirectories.js",
"prepare": "husky install && jest --coverage && yarn build",
"precommit": "yarn lint",
"postversion": "git push && git push --tags",
"version:patch": "npm version patch",
"version:minor": "npm version minor",
"version:major": "npm version major"
},
"lint-staged": {
"src/**/*.ts?(x)": [
"yarn pretty",
"yarn lint",
"yarn test --coverage --findRelatedTests"
]
},
"peerDependencies": {
"lodash": ">=4.17.21",
"numeral": ">=2",
"react": ">=18",
"react-dom": ">=18",
"react-native": ">=0.69.3",
"react-native-safe-area-context": ">=4.5.3",
"react-native-size-matters": ">=0.3.0",
"react-native-device-info": ">=10.13.1",
"styled-components": ">=5"
},
"devDependencies": {
"@babel/core": "7.20.2",
"@babel/plugin-proposal-class-properties": "7.18.6",
"@babel/plugin-transform-flow-strip-types": "7.19.0",
"@babel/plugin-transform-object-assign": "7.18.6",
"@babel/plugin-transform-react-jsx-source": "7.19.6",
"@babel/preset-env": "7.20.2",
"@babel/preset-react": "7.18.6",
"@babel/runtime": "7.20.1",
"@platformbuilders/eslint-config-builders": "0.1.2",
"@platformbuilders/theme-toolkit": "0.3.0",
"@testing-library/react-hooks": "8.0.1",
"@types/dompurify": "2.4.0",
"@types/jest": "29.2.3",
"@types/lodash": "4.14.189",
"@types/numeral": "2.0.2",
"@types/react": "18.0.25",
"@types/react-dom": "18.0.9",
"@types/react-native": "0.70.6",
"@types/styled-components": "5.1.26",
"@types/styled-components-react-native": "5.1.3",
"@typescript-eslint/eslint-plugin": "5.43.0",
"@typescript-eslint/parser": "5.43.0",
"babel-jest": "29.3.1",
"babel-plugin-module-resolver": "4.1.0",
"babel-plugin-transform-es2015-modules-commonjs": "6.26.2",
"eslint": "8.27.0",
"eslint-config-airbnb": "19.0.4",
"eslint-config-airbnb-typescript": "17.0.0",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-jest": "27.1.5",
"eslint-plugin-json": "3.1.0",
"eslint-plugin-jsx-a11y": "6.6.1",
"eslint-plugin-prettier": "4.2.1",
"eslint-plugin-promise": "6.1.1",
"eslint-plugin-react": "7.31.10",
"eslint-plugin-react-hooks": "4.6.0",
"eslint-plugin-sonarjs": "0.16.0",
"husky": "8.0.2",
"jest": "29.3.1",
"jest-environment-node": "29.3.1",
"metro-react-native-babel-preset": "0.73.3",
"mz": "2.7.0",
"numeral": "2.0.6",
"prettier": "2.7.1",
"react": "18.2.0",
"react-native": "0.70.6",
"react-native-device-info": "10.13.1",
"react-native-safe-area-context": "4.5.3",
"react-native-size-matters": "0.4.0",
"react-test-renderer": "18.2.0",
"rmfr": "2.0.0",
"rollup": "3.3.0",
"rollup-plugin-typescript2": "0.34.1",
"styled-components": "5.3.6",
"ts-jest": "29.0.3",
"typescript": "4.9.3",
"lint-staged": "13.2.2",
"uglify-js": "3.17.4"
}
}