This repository has been archived by the owner on Dec 21, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 96
/
package.json
106 lines (106 loc) · 4.97 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
{
"name": "widgets-resources",
"copyright": "© Mendix Technology BV 2022. All rights reserved.",
"repository": {
"type": "git",
"url": "https://github.com/mendix/widgets-resources.git"
},
"license": "Apache-2.0",
"scripts": {
"prepare": "npx husky install",
"postinstall": "lerna bootstrap --hoist --strict",
"reinstall": "git clean -dfx && npx lerna clean --yes && npm i",
"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": "lerna run information:githubrelease",
"lint": "npm run lint:src && lerna run lint --stream",
"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": "lerna run test --ignore @mendix/custom-widgets-utils-internal --stream",
"start:native-tests-ci": "node ./scripts/test/e2e-native.js",
"test:scripts": "lerna run test:scripts --stream",
"test:scripts:cross-platform": "lerna run test:scripts:cross-platform --stream",
"test:e2e": "lerna-parallelism run --ignore @mendix/custom-widgets-utils-internal --stream --concurrency 1 --split 3 test:e2e",
"test:e2e:local": "lerna run test:e2e --ignore @mendix/custom-widgets-utils-internal --stream --concurrency 1 --no-bail",
"test:e2e:local:android": "lerna run test:e2e:local:android --stream --concurrency 1 --scope '*-native'",
"test:e2e:local:ios": "lerna run test:e2e:local:ios --stream --concurrency 1 --scope '*-native'",
"build": "lerna run build --ignore '@mendix/custom-widgets-utils-internal'",
"build:native": "npm run build -- --scope '*-native'",
"build:web": "npm run build -- --scope '*-web'",
"release": "lerna run release --ignore '@mendix/custom-widgets-utils-internal'",
"release:marketplace": "lerna run release:marketplace",
"release:hybrid": "npm run release -- --scope '*-hybrid'",
"release:native": "npm run release -- --scope '*-native'",
"release:web": "npm run release -- --scope '*-web'",
"release-github:widget": "node ./scripts/release/createWidgetRelease.js",
"release:pwt:ts": "ts-node --project ./scripts/tsconfig.json ./scripts/release/createPWTRelease.ts",
"create-modules:native": "node ./scripts/release/createNativeModules.js",
"create-modules:web": "node ./scripts/release/createWebModules.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": "npm run setup-android && npm run setup-ios",
"setup-android": "node ./detox/scripts/setup-android.js",
"setup-ios": "node ./detox/scripts/setup-ios.js",
"content-overview:data": "lerna run generate-data --scope data",
"content-overview:site:build": "lerna run build --scope data",
"content-overview:site:export": "lerna run export --scope data"
},
"devDependencies": {
"@commitlint/cli": "^15.0.0",
"@commitlint/config-conventional": "^15.0.0",
"@commitlint/config-lerna-scopes": "^15.0.0",
"@testing-library/react-native": "^7.2.0",
"@types/big.js": "^6.0.2",
"@types/concurrently": "^6.3.0",
"@types/enzyme": "^3.10.8",
"@types/jasmine": "^3.6.0",
"@types/jest": "^26.0.24",
"@types/jest-image-snapshot": "^4.3.1",
"@types/mime": "^2.0.3",
"@types/node": "^16.11.19",
"@types/react": "~17.0.1",
"@types/react-dom": "~17.0.1",
"@types/react-native": "0.63.30",
"@types/react-native-vector-icons": "^6.4.9",
"@types/react-test-renderer": "~17.0.1",
"@types/shelljs": "^0.8.9",
"@types/xml2js": "^0.4.5",
"cross-env": "^7.0.2",
"deepmerge": "^4.2.2",
"detox": "^19.7.1",
"husky": "^7.0.0",
"identity-obj-proxy": "^3.0.0",
"image-js": "^0.33.0",
"jest-canvas-mock": "^2.3.0",
"jest-image-snapshot": "^5.1.0",
"lerna": "^4.0.0",
"lerna-parallelism": "^0.3.0",
"lint-staged": "^10.5.0",
"mendix-client": "^7.15.8",
"prettier": "^2.5.1",
"pretty-quick": "^3.1.0",
"recursive-copy": "^2.0.11",
"ts-node": "^9.0.0"
},
"commitlint": {
"extends": [
"@commitlint/config-lerna-scopes",
"@commitlint/config-conventional"
]
},
"engines": {
"node": ">=16"
},
"overrides": {
"@testing-library/react-native": {
"react-test-renderer": "17.0.2",
"react-native": "0.68.2"
},
"react-native": {
"use-subscription": "1.5.1"
}
}
}