-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
104 lines (104 loc) · 3.45 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": "aelf-web-login-monorepo",
"version": "0.0.1",
"private": true,
"workspaces": [
"packages/base",
"packages/starter",
"packages/bridge",
"packages/react",
"packages/utils",
"packages/wallets/*"
],
"type": "module",
"files": [],
"scripts": {
"start": "dumi dev",
"dev": "dumi dev",
"dev:lib": "pnpm run --parallel --if-present --recursive --filter \"@aelf-web-login/*\" dev",
"build": "pnpm run --if-present --recursive build",
"build:docs": "dumi build",
"postinstall": "pnpm run husky:prepare",
"changeset": "changeset",
"release:prepare": "npm run build",
"release": "pnpm run release:prepare && changeset version && changeset publish",
"release:alpha": "pnpm run release:prepare && changeset version --snapshot alpha && changeset publish --tag alpha",
"release:beta": "pnpm run release:prepare && changeset version --snapshot beta && changeset publish --tag beta",
"ci": "npm run build && npm run lint && npm run test:ci",
"test": "vitest",
"test:update": "vitest -u",
"test:coverage": "vitest --coverage",
"test:ci": "vitest --coverage",
"lint": "pnpm run \"/^lint:.+/\"",
"lint:eslint": "eslint --ext .ts,.tsx .",
"eslint": "eslint . --fix",
"prettier": "prettier --loglevel warn --write '**/*.{ts,tsx,js,jsx,json,md}'",
"lint:ts": "tsc --noEmit",
"clean": "pnpm run \"/^clean:.+/\"",
"clean:module": "rimraf --glob ./node_modules ./packages/**/*/node_modules",
"clean:dist": "rimraf --glob ./packages/*/dist",
"clean:test": "rimraf --glob ./coverage ./packages/*/coverage",
"husky:prepare": "husky install",
"husky:pre-commit": "lint-staged",
"biome:format": "biome format --write ."
},
"lint-staged": {
"*.{ts,tsx,js,jsx}": [
"biome format --write",
"pnpm prettier",
"pnpm eslint"
],
"*.{json,less,md}": "prettier --ignore-unknown --write"
},
"devDependencies": {
"@babel/core": "^7.24.7",
"@babel/parser": "^7.24.0",
"@babel/preset-env": "^7.24.7",
"@babel/preset-react": "^7.24.7",
"@babel/preset-typescript": "^7.24.7",
"@biomejs/biome": "^1.9.2",
"@changesets/changelog-git": "^0.2.0",
"@changesets/cli": "^2.27.1",
"@ianvs/prettier-plugin-sort-imports": "^4.1.1",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.0.1",
"@testing-library/react-hooks": "^8.0.1",
"@types/node": "^22.9.3",
"@types/react": "^18.3.1",
"@types/react-dom": "^18.3.0",
"@typescript-eslint/eslint-plugin": "^7.1.1",
"@typescript-eslint/parser": "^7.1.1",
"@vitest/coverage-v8": "^2.1.5",
"@vitest/ui": "^2.1.5",
"babel-plugin-transform-remove-console": "^6.9.4",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-react": "^7.34.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-unused-imports": "^3.0.0",
"father": "^4.3.8",
"happy-dom": "^15.11.6",
"husky": "^8.0.3",
"lint-staged": "^15.2.0",
"node-fetch": "^3.3.2",
"prettier": "^3.1.1",
"rimraf": "^5.0.5",
"typescript": "^5.3.3",
"vite-tsconfig-paths": "^5.1.3",
"vitest": "^2.1.5"
},
"ci": {
"type": "aci",
"version": "16",
"autoBadges": false
},
"engines": {
"node": ">=20"
},
"resolutions": {
"@testing-library/dom": "^10.0.0",
"@babel/core": "^7.0.0"
},
"repository": "https://github.com/AElfProject/aelf-web-login"
}