-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
126 lines (126 loc) · 9.83 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
116
117
118
119
120
121
122
123
124
125
126
{
"name": "@flexn-io/create-monorepo",
"private": true,
"scripts": {
"bootstrap": "npx lerna@6 bootstrap && npx jetify && yarn build",
"bootstrap-clean": "yarn clean-gitignore && yarn bootstrap",
"clean-gitignore": "git clean -f -d -i -X",
"build": "lerna run build",
"watch-alt": "npx lerna run compile & npx lerna watch -- lerna run compile",
"watch": "npx lerna exec yarn watch --parallel",
"compile": "npx lerna run compile",
"lint": "npx eslint ./packages",
"test": "npx jest --coverage",
"test-watch": "npx jest --watch",
"sanity": "yarn compile && yarn lint && yarn test",
"prettier-write-all": "npx prettier '**/*.{js,jsx,ts,tsx,mjs,cjs,json,md}' --write --config .prettierrc.js",
"prettier-write-json": "npx prettier '**/{package.json,renative.plugins.json,renative.json}' --write --config .prettierrc.js",
"lint:report": "eslint --output-file=eslint-report.json --format=json . --ext .js,.jsx,.ts,.tsx",
"docs": "cd docs && yarn && yarn start",
"docs-build": "cd docs && yarn && yarn build",
"docs-deploy-preview": "cd docs && yarn && yarn build && yarn deploy-preview",
"docs-deploy-prod": "cd docs && yarn && yarn build && yarn deploy-prod",
"gitCommit": "npx rnv hooks run -x gitCommit --only",
"gitTag": "npx rnv hooks run -x gitTag --only",
"update-versions": "npx rnv hooks run -x updateVersions --only",
"release": "lerna version --force-publish --no-git-tag-version --no-push && yarn update-versions && yarn gitCommit && lerna publish from-package && yarn gitTag",
"release-alpha": "lerna version --force-publish --no-git-tag-version --no-push && yarn update-versions && yarn gitCommit && lerna publish from-package --dist-tag alpha --yes && yarn gitTag",
"release-rc": "lerna version --force-publish --no-git-tag-version --no-push && yarn update-versions && yarn gitCommit && lerna publish from-package --dist-tag rc --yes && yarn gitTag",
"release-feat": "lerna version --force-publish --no-git-tag-version --no-push && yarn update-versions && yarn gitCommit && lerna publish from-package --dist-tag feat --yes && yarn gitTag",
"release-dry": "lerna version --force-publish --no-git-tag-version --no-push && npx rnv hooks run -x updateVersions",
"deploy-packages": "npm run deploy-all && npx lerna publish from-package --yes && git push origin HEAD",
"decrypt-harness": "cd packages/app-harness && npx rnv crypto decrypt --ci",
"decrypt-template": "cd packages/template-starter && npx rnv crypto decrypt -c template --ci",
"deploy-harness-macos": "cd packages/app-harness && npx rnv export -p macos -s production --packageManager yarn --ci && yarn deploy:macos-prod",
"deploy-harness-macos-canary": "cd packages/app-harness && npx rnv export -p macos -s canary --packageManager yarn --ci && yarn deploy:macos-canary",
"deploy-harness-ios": "cd packages/app-harness && npx rnv export -p ios -s production --packageManager yarn --ci && yarn deploy:ios-prod",
"deploy-harness-ios-canary": "cd packages/app-harness && npx rnv export -p ios -s canary --packageManager yarn --ci && yarn deploy:ios-canary",
"deploy-harness-android": "cd packages/app-harness && npx rnv build -p android -s production --packageManager yarn --ci && yarn deploy:android-prod",
"deploy-harness-android-canary": "cd packages/app-harness && npx rnv build -p android -s canary --packageManager yarn --ci && yarn deploy:android-canary",
"deploy-harness-tvos": "cd packages/app-harness && npx rnv export -p tvos -s production --packageManager yarn --xcodebuildArchiveArgs \"-UseModernBuildSystem=NO\" --ci && yarn deploy:tvos-prod",
"deploy-harness-tvos-canary": "cd packages/app-harness && npx rnv export -p tvos -s canary --packageManager yarn --xcodebuildArchiveArgs \"-UseModernBuildSystem=NO\" --ci && yarn deploy:tvos-canary",
"deploy-harness-androidtv": "cd packages/app-harness && npx rnv build -p androidtv -s production --packageManager yarn --ci && yarn deploy:androidtv-prod",
"deploy-harness-androidtv-canary": "cd packages/app-harness && npx rnv build -p androidtv -s canary --packageManager yarn --ci && yarn deploy:androidtv-canary",
"deploy-harness-firetv": "cd packages/app-harness && npx rnv build -p firetv -s production --packageManager yarn --ci && yarn deploy:firetv-prod",
"deploy-harness-firetv-canary": "cd packages/app-harness && npx rnv build -p firetv -s canary --packageManager yarn --ci && yarn deploy:firetv-canary",
"deploy-harness-web": "cd packages/app-harness && npx rnv export -p web -s production --packageManager yarn --ci && yarn deploy:web-prod",
"deploy-harness-web-canary": "cd packages/app-harness && npx rnv export -p web -s canary --packageManager yarn --ci && yarn deploy:web-canary",
"deploy-harness-chromecast": "cd packages/app-harness && npx rnv build -p chromecast -s production --packageManager yarn --ci && yarn deploy:chromecast-prod",
"deploy-harness-chromecast-canary": "cd packages/app-harness && npx rnv build -p chromecast -s canary --packageManager yarn --ci && yarn deploy:chromecast-canary",
"deploy-template-macos": "cd packages/template-starter && npx rnv export -p macos -s production -c template --packageManager yarn --ci && yarn deploy:macos-prod",
"deploy-template-macos-canary": "cd packages/template-starter && npx rnv export -p macos -s canary -c template --packageManager yarn --ci && yarn deploy:macos-canary",
"deploy-template-ios": "cd packages/template-starter && npx rnv export -p ios -s production -c template --packageManager yarn --ci && yarn deploy:ios-prod",
"deploy-template-ios-canary": "cd packages/template-starter && npx rnv export -p ios -s canary -c template --packageManager yarn --ci && yarn deploy:ios-canary",
"deploy-template-android": "cd packages/template-starter && npx rnv build -p android -s production -c template --packageManager yarn --ci && yarn deploy:android-prod",
"deploy-template-android-canary": "cd packages/template-starter && npx rnv build -p android -s canary -c template --packageManager yarn --ci && yarn deploy:android-canary",
"deploy-template-tvos": "cd packages/template-starter && npx rnv export -p tvos -s production -c template --packageManager yarn --xcodebuildArchiveArgs \"-UseModernBuildSystem=NO\" --ci && yarn deploy:tvos-prod",
"deploy-template-tvos-canary": "cd packages/template-starter && npx rnv export -p tvos -s canary -c template --packageManager yarn --xcodebuildArchiveArgs \"-UseModernBuildSystem=NO\" --ci && yarn deploy:tvos-canary",
"deploy-template-androidtv": "cd packages/template-starter && npx rnv build -p androidtv -s production -c template --packageManager yarn --ci && yarn deploy:androidtv-prod",
"deploy-template-androidtv-canary": "cd packages/template-starter && npx rnv build -p androidtv -s canary -c template --packageManager yarn --ci && yarn deploy:androidtv-canary",
"deploy-template-firetv": "cd packages/template-starter && npx rnv build -p firetv -s production -c template --packageManager yarn --ci && yarn deploy:firetv-prod",
"deploy-template-firetv-canary": "cd packages/template-starter && npx rnv build -p firetv -s canary -c template --packageManager yarn --ci && yarn deploy:firetv-canary",
"deploy-template-web": "cd packages/template-starter && npx rnv export -p web -s production -c template --packageManager yarn --ci && yarn deploy:web-prod",
"deploy-template-web-canary": "cd packages/template-starter && npx rnv export -p web -s canary -c template --packageManager yarn --ci && yarn deploy:web-canary",
"prepare-harness-nightly": "cd packages/app-harness && npx rnv hooks run -x prepareNightlyBuild --only",
"prepare-template-nightly": "cd packages/template-starter && npx rnv hooks run -x prepareNightlyBuild -c template --only",
"clean-harness-post-nightly": "cd packages/app-harness && npx rnv hooks run -x cleanupPostNightly --only",
"clean-template-post-nightly": "cd packages/template-starter && npx rnv hooks run -x cleanupPostNightly -c template --only"
},
"devDependencies": {
"@babel/eslint-parser": "7.17.0",
"@flexn/eslint-config": "1.0.0",
"@flexn/prettier-config": "1.0.0",
"@flexn/typescript-config": "1.0.0",
"@flexn/build-hooks": "1.0.0-feat-rnv-update.0",
"@rnv/core": "1.1.0",
"@types/jest": "^29.5.12",
"@types/lodash-es": "~4.17.5",
"@types/lodash.debounce": "~4.0.6",
"@types/lodash.throttle": "~4.1.7",
"@types/node": "^18.15.3",
"@types/chromecast-caf-receiver": "~6.0.6",
"@types/react-native-snap-carousel": "~3.8.5",
"@types/react-native-vector-icons": "6.4.13",
"@typescript-eslint/eslint-plugin": "^5.4.0",
"@typescript-eslint/parser": "^5.4.0",
"husky": "^7.0.0",
"jest": "^29.6.3",
"jest-environment-jsdom": "29.7.0",
"lerna": "^6.6.2",
"prettier": "2.8.8",
"simple-git": "^3.16.0",
"eslint": "8.40.0",
"eslint-config-prettier": "8.8.0",
"eslint-plugin-react": "7.33.2",
"ts-jest": "^27.0.7",
"ts-node": "^10.9.1",
"typescript": "5.2.2",
"typescript-coverage-report": "0.8.0"
},
"husky": {
"hooks": {
"pre-commit": "yarn sanity"
}
},
"lint-staged": {
"*.js": [
"eslint"
],
"**/*.ts": "tsc-files --noEmit"
},
"workspaces": {
"packages": [
"packages/*"
],
"nohoist": [
"**/@flexn/graybox",
"**/appium-*",
"**/@wdio/*"
]
},
"resolutions": {
"@babel/core": "7.24.4",
"@types/react": "18.3.3",
"tslib": "2.5.2"
}
}