-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
71 lines (71 loc) · 3.28 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
{
"name": "@flexn-io/graybox-monorepo",
"private": true,
"scripts": {
"bootstrap": "(rnv unlink|| true) && npx lerna bootstrap && yarn build",
"bootstrap-clean": "rm -rf ./node_modules; npx lerna clean --yes && yarn bootstrap",
"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": "echo skipped",
"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-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"
},
"devDependencies": {
"@flexn/eslint-config": "0.1.5",
"eslint-config-react-app": "^7.0.0",
"@flexn/prettier-config": "0.1.4",
"@flexn/typescript": "0.3.0",
"@flexn/build-hooks": "0.30.0",
"@types/lodash-es": "~4.17.5",
"@types/lodash.debounce": "~4.0.6",
"@types/lodash.throttle": "~4.1.7",
"@types/node": "~16.11.7",
"@types/react-dom": "~18.2.4",
"@types/react-native": "~0.67.2",
"eslint-config-prettier": "8.8.0",
"react-native": "0.67.2",
"husky": "4.2.5",
"lerna": "6.6.2",
"rnv": "0.37.0-canary.11",
"typescript": "4.9.5",
"prettier": "2.3.1",
"eslint": "8.40.0"
},
"husky": {
"hooks": {
"pre-commit": "yarn sanity"
}
},
"lint-staged": {
"*.js": [
"eslint"
],
"**/*.ts": "tsc-files --noEmit"
},
"workspaces": {
"packages": [
"packages/*"
]
},
"resolutions": {
"@types/react": "18.2.6",
"tslib": "2.5.2"
}
}