forked from mendix/native-widgets
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
108 lines (108 loc) · 4.51 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
{
"name": "native-widgets",
"private": true,
"copyright": "© Mendix Technology BV 2022. All rights reserved.",
"repository": {
"type": "git",
"url": "https://github.com/mendix/native-widgets.git"
},
"license": "Apache-2.0",
"scripts": {
"prepare": "npx husky install && yarn workspaces foreach --all run prepare",
"postinstall": "patch-package --use-yarn && yarn workspaces foreach --all run postinstall",
"reinstall": "yarn cache clean && git clean -dfx && find . -type dir -name node_modules | xargs rm -rf && yarn && yarn run postinstall",
"prettier": "prettier --config \"./prettier.config.js\" --write \"**/*.{js,jsx,ts,tsx,scss,html,xml,yml,yaml}\"",
"format": "pretty-quick --staged --config \"./prettier.config.js\" --pattern \"**/{src,script,typings,test,**}/**/*.{js,jsx,ts,tsx,scss,html,xml,md,json}\"",
"clean-all-screenshots-mac": "find . -name 'screenshot-baseline' -type d -prune -exec rm -rf '{}' +",
"information:githubrelease": "yarn workspaces foreach --all run information:githubrelease",
"lint": "yarn lint:src && yarn workspaces foreach --all --parallel run lint",
"lint:src": "eslint --config .eslintrc.js --ext .jsx,.js,.ts,.tsx packages/*/*/src --no-error-on-unmatched-pattern",
"lint:scripts": "eslint --fix --config .eslintrc.js --ext .jsx,.js,.ts,.tsx scripts",
"lint:detox": "eslint --fix --config .eslintrc.js --ext .jsx,.js,.ts,.tsx detox",
"lint:configs": "eslint --fix --config .eslintrc.js --ext .jsx,.js,.ts,.tsx configs",
"test": "yarn workspaces foreach --all --parallel run test",
"test:e2e:android": "yarn workspaces foreach --all run test:e2e:android",
"test:e2e:ios": "yarn workspaces foreach --all run test:e2e:ios",
"build": "yarn workspaces foreach --all --parallel run build",
"release": "yarn workspaces foreach --all --parallel run release",
"release:marketplace": "yarn workspaces foreach --all run release:marketplace",
"release-github:widget": "node ./scripts/release/createWidgetRelease.js",
"create-modules": "node ./scripts/release/createNativeModules.js",
"version": "ts-node --project ./scripts/tsconfig.json ./scripts/release/BumpVersion.ts",
"validate-staged-widget-versions": "node scripts/validation/validate-versions-staged-files.js",
"setup-mobile": "yarn setup-android && yarn setup-ios",
"setup-android": "node ./detox/scripts/setup-android.js",
"setup-ios": "node ./detox/scripts/setup-ios.js",
"patch-package": "sh ./scripts/patch/patch-package.sh",
"build:widgets": "node ./scripts/widget/buildWidgets.js"
},
"workspaces": {
"packages": [
"packages/**/*"
]
},
"devDependencies": {
"@commitlint/cli": "^18.6.1",
"@commitlint/config-conventional": "^18.6.3",
"@react-native/babel-preset": "0.75.4",
"@rollup/plugin-node-resolve": "^13.3.0",
"@rollup/plugin-typescript": "^8.5.0",
"@testing-library/jest-native": "^5.4.3",
"@testing-library/react": "^16.0.1",
"@testing-library/react-native": "^11.5.4",
"@types/big.js": "^6.2.2",
"@types/concurrently": "^6.3.0",
"@types/enzyme": "^3.10.18",
"@types/jasmine": "^3.10.18",
"@types/jest": "^29.5.13",
"@types/jest-image-snapshot": "^6.4.0",
"@types/mime": "^2.0.3",
"@types/node": "^20.16.14",
"@types/react": "~18.0.38",
"@types/react-dom": "~18.0.11",
"@types/react-native-vector-icons": "6.4.12",
"@types/react-test-renderer": "~18.0.7",
"@types/shelljs": "^0.8.15",
"@types/xml2js": "^0.4.14",
"cross-env": "^7.0.3",
"deepmerge": "^4.3.1",
"detox": "^19.13.0",
"eslint": "^7.32.0",
"eslint-plugin-prettier": "4.2.1",
"husky": "^8.0.3",
"identity-obj-proxy": "^3.0.0",
"image-js": "^0.35.6",
"jest": "^29.4.1",
"jest-canvas-mock": "^2.5.2",
"jest-environment-jsdom": "^29.7.0",
"jest-image-snapshot": "^6.4.0",
"lint-staged": "^10.5.4",
"mendix-client": "^7.15.8",
"patch-package": "^8.0.0",
"prettier": "^2.8.8",
"pretty-quick": "^3.3.1",
"react-dom": "18.2.0",
"recursive-copy": "^2.0.14",
"rollup": "^2.79.2",
"ts-node": "^10.9.2"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"engines": {
"node": ">=20"
},
"resolutions": {
"@mendix/pluggable-widgets-tools": "10.15.0",
"mendix": "10.15.46408",
"@types/react": "^18",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-native": "0.75.4",
"@prettier/plugin-xml": "2.2.0",
"@types/react-native": "0.73.0"
},
"packageManager": "[email protected]"
}