-
Notifications
You must be signed in to change notification settings - Fork 14
/
package.json
104 lines (104 loc) · 4.36 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
{
"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": "^15.0.0",
"@commitlint/config-conventional": "^15.0.0",
"@rollup/plugin-node-resolve": "^13.0.6",
"@testing-library/jest-native": "^5.4.1",
"@testing-library/react": "^16.0.0",
"@testing-library/react-native": "^11.5.1",
"@types/big.js": "^6.0.2",
"@types/concurrently": "^6.3.0",
"@types/enzyme": "^3.10.8",
"@types/jasmine": "^3.6.0",
"@types/jest": "^29.0.0",
"@types/jest-image-snapshot": "^6.1.0",
"@types/mime": "^2.0.3",
"@types/node": "^16.11.19",
"@types/react": "~18.0.0",
"@types/react-dom": "~18.0.0",
"@types/react-native-vector-icons": "^6.4.9",
"@types/react-test-renderer": "~18.0.0",
"@types/shelljs": "^0.8.9",
"@types/xml2js": "^0.4.5",
"cross-env": "^7.0.2",
"deepmerge": "^4.2.2",
"detox": "^19.13.0",
"eslint": "^7.20.0",
"eslint-plugin-prettier": "4.2.1",
"husky": "^8.0.0",
"identity-obj-proxy": "^3.0.0",
"image-js": "^0.33.0",
"jest-canvas-mock": "^2.3.0",
"jest-environment-jsdom": "^29.4.1",
"jest-image-snapshot": "^6.1.0",
"lint-staged": "^10.5.0",
"mendix-client": "^7.15.8",
"patch-package": "^8.0.0",
"prettier": "^2.5.1",
"pretty-quick": "^3.1.0",
"recursive-copy": "^2.0.11",
"rollup": "^2.68.0",
"ts-node": "^10.9.1"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"engines": {
"node": ">=20"
},
"resolutions": {
"@mendix/pluggable-widgets-tools": "9.24.1",
"@types/react": "^18",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-native": "0.73.8",
"typescript": "^4.9.5",
"ts-node": "^10.9.1",
"@prettier/plugin-xml": "2.2.0"
},
"packageManager": "yarn@4.4.0"
}