-
Notifications
You must be signed in to change notification settings - Fork 25
/
package.json
132 lines (132 loc) · 4.92 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
127
128
129
130
131
132
{
"license": "Apache-2.0",
"private": true,
"engines": {
"node": ">=18.20.0"
},
"workspaces": [
"@shared/api",
"@shared/constants",
"@shared/helpers",
"docs",
"extension",
"@stellar/freighter-api"
],
"scripts": {
"setup": "yarn install && yarn allow-scripts",
"build": "run-p --print-label build:freighter-api build:docs build:extension",
"build:netlify": "cd docs && npm pkg set 'dependencies.@stellar/freighter-api'='latest' && yarn --legacy-peer-deps && yarn build",
"build:netlify-preview": "yarn && yarn build:freighter-api && cd docs && yarn --legacy-peer-deps && yarn build",
"build:extension-preview": "run-s build:freighter-api build:extension:experimental",
"build:freighter-api": "yarn workspace @stellar/freighter-api build",
"build:docs": "yarn workspace docs build",
"build:extension:experimental": "yarn workspace extension build:experimental",
"build:extension:production": "yarn workspace extension build:production",
"build:extension:translations": "yarn workspace extension build:translations",
"build:extension": "yarn workspace extension build",
"build:upload-action": "npx ncc build ./.github/actions/chrome-extension-upload/index.js -o ./.github/actions/chrome-extension-upload/dist",
"start": "run-p --print-label start:freighter-api start:docs start:extension start:unpacked",
"start:freighter-api": "yarn workspace @stellar/freighter-api start",
"start:docs": "yarn workspace docs start",
"start:extension": "yarn workspace extension start",
"start:extension:experimental": "yarn workspace extension start:experimental",
"start:unpacked": "yarn workspace extension start:unpacked-extension",
"install-if-package-changed": "git diff-tree -r --name-only --no-commit-id ORIG_HEAD HEAD | grep --quiet yarn.lock && yarn setup || exit 0",
"test:ci": "jest --ci",
"test:e2e": "yarn workspace extension test:e2e --workers=1",
"test": "jest -o --watch",
"prepare": "husky install"
},
"husky": {
"hooks": {
"pre-commit": "concurrently 'pretty-quick --staged' 'lint-staged'",
"post-merge": "yarn install-if-package-changed",
"post-checkout": "yarn install-if-package-changed"
}
},
"lint-staged": {
"src/**/*.ts?(x)": [
"eslint --fix --max-warnings 0"
]
},
"browserslist": {
"production": [
"last 3 chrome version",
"last 3 firefox version"
],
"development": [
"last 1 chrome version",
"last 1 firefox version"
]
},
"dependencies": {
"@actions/core": "^1.11.1",
"@babel/core": "^7.25.8",
"@babel/eslint-parser": "^7.25.8",
"@babel/plugin-proposal-optional-chaining": "^7.18.9",
"@babel/preset-env": "^7.25.8",
"@babel/preset-react": "^7.25.7",
"@babel/preset-typescript": "^7.25.7",
"@stellar/eslint-config": "^2.1.2",
"@stellar/prettier-config": "^1.0.1",
"@stellar/tsconfig": "^1.0.2",
"@testing-library/dom": "^7.22.2",
"@testing-library/jest-dom": "^4.2.4",
"@types/jest": "^24.0.0",
"@types/react": "^18.3.11",
"@types/react-dom": "^18.3.1",
"@types/styled-components": "5.1.4",
"@typescript-eslint/eslint-plugin": "^5.5.0",
"@typescript-eslint/parser": "^5.5.0",
"@vercel/ncc": "^0.38.2",
"babel-eslint": "10.x",
"babel-jest": "^29.7.0",
"babel-loader": "^9.2.1",
"babel-plugin-dynamic-import-node": "^2.3.3",
"babel-polyfill": "6.26.0",
"eslint": "8.57.0",
"eslint-config-prettier": "^6.10.0",
"eslint-config-react-app": "^7.0.1",
"eslint-import-resolver-typescript": "^2.0.0",
"eslint-plugin-flowtype": "4.x",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-jsx-a11y": "6.x",
"eslint-plugin-react": "^7.37.1",
"eslint-plugin-react-hooks": "4.6.2",
"eslint-webpack-plugin": "^4.2.0",
"glob": "^9.3.2",
"got": "11.8.5",
"husky": "^8.0.0",
"isomorphic-unfetch": "^3.0.0",
"jest": "^28.1.3",
"jest-localstorage-mock": "^2.4.3",
"jsdom": "^16.5.0",
"jsdom-global": "^3.0.2",
"lint-staged": "^10.2.11",
"npm-run-all": "^4.1.5",
"prettier": "^2.0.5",
"pretty-quick": "^2.0.1",
"ts-loader": "9.5.1",
"typescript": "^5.3.3",
"webpack": "5.95.0",
"webpack-cli": "5.1.4",
"webpack-dev-server": "5.1.0",
"webpack-merge": "5.10.0"
},
"devDependencies": {
"@lavamoat/allow-scripts": "^2.3.1",
"@lavamoat/preinstall-always-fail": "^1.0.0",
"eslint-plugin-jsdoc": "^48.11.0",
"eslint-plugin-prefer-arrow": "^1.2.3"
},
"lavamoat": {
"allowScripts": {
"@lavamoat/preinstall-always-fail": false,
"@testing-library/dom>aria-query>@babel/runtime-corejs3>core-js-pure": false,
"babel-polyfill>core-js": false,
"webpack-dev-server>chokidar>fsevents": true,
"webpack>watchpack>watchpack-chokidar2>chokidar>fsevents": true
}
},
"packageManager": "[email protected]+sha256.c17d3797fb9a9115bf375e31bfd30058cac6bc9c3b8807a3d8cb2094794b51ca"
}