-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
102 lines (102 loc) · 3.99 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
{
"name": "mochi-ui",
"private": false,
"description": "Beautiful and accessible React UI library for building web3 applications",
"author": "@consolelabs",
"license": "ISC",
"publishConfig": {
"access": "public"
},
"scripts": {
"build": "turbo build",
"dev": "turbo dev",
"build:packages": "turbo build --filter=./packages/**/* --filter=!@mochi-ui/storybook",
"typecheck": "turbo typecheck",
"build:packages-dryrun": "echo \"$(turbo build --filter=./packages/**/* --filter=!@mochi-ui/storybook --dry-run=json\" > turbo-build-debug.json",
"dev:mochi-web": "turbo run dev --filter=mochi-web",
"build:mochi-web": "turbo run build --filter=mochi-web",
"analyze:mochi-web": "ANALYZE=true turbo run build --filter=mochi-web",
"dev:mochi-vault": "turbo run dev --filter=mochi-vault",
"build:mochi-vault": "turbo run build --filter=mochi-vault",
"analyze:mochi-vault": "ANALYZE=true turbo run build --filter=mochi-vault",
"build:icons": "turbo run build --filter=@mochi-ui/icons",
"dev:icons": "turbo run dev --filter=@mochi-ui/icons",
"storybook": "turbo run dev --filter=@mochi-ui/storybook",
"build:storybook": "turbo run build --filter=@mochi-ui/storybook",
"lint": "turbo lint",
"lint:fix": "turbo lint:fix",
"test": "jest --verbose --config ./jest.config.js --watch",
"test:cov": "jest --verbose --config ./jest.config.js --ci --bail --silent --coverage --detectOpenHandles --coverageReporters=\"text-summary\"",
"turbo:clean": "turbo clean && rimraf ./node_modules/.cache/turbo ./packages/**/.turbo ./packages/**/**/.turbo ./apps/**/**/.turbo",
"clean:node-modules": "rimraf ./apps/**/node_modules ./packages/**/node_modules ./packages/**/**/node_modules ./node_modules",
"clean:dist": "rimraf ./packages/**/**/dist ./packages/**/dist ./apps/**/.next ./packages/**/storybook-static",
"clean:lock": "rm ./pnpm-lock.yaml",
"clean:jest": "jest --clearCache",
"clean": "pnpm turbo:clean && pnpm clean:dist && pnpm clean:lock && pnpm clean:jest && pnpm clean:node-modules",
"clean:install": "pnpm clean && pnpm install",
"release:notify": "ts-node scripts/release-notify.ts",
"format": "prettier --write \"**/*.{ts,tsx,md}\" --cache",
"format:check": "prettier --check \"**/*.{ts,tsx,md}\" --cache",
"changeset": "changeset",
"create:component": "NODE_OPTIONS=\"--loader ts-node/esm --no-warnings\" plop component",
"version-packages": "changeset version",
"release": "changeset publish",
"postinstall": "npx husky install"
},
"devDependencies": {
"@changesets/changelog-github": "^0.5.0",
"@changesets/cli": "^2.27.1",
"@commitlint/cli": "^17.8.0",
"@commitlint/config-conventional": "^17.8.0",
"@semantic-release/git": "^10.0.1",
"@storybook/react": "^7.4.6",
"@swc-node/jest": "^1.6.8",
"@swc/core": "^1.3.96",
"@swc/jest": "^0.2.29",
"@testing-library/dom": "^9.3.3",
"@testing-library/jest-dom": "^6.1.4",
"@testing-library/react": "^14.1.0",
"@testing-library/user-event": "^14.5.1",
"@types/jest": "^29.5.8",
"@types/node": "^18.11.17",
"@types/node-fetch": "^2.6.9",
"@types/react": "^18.2.28",
"chalk": "4.1.2",
"eslint": "^8.53.0",
"husky": "^8.0.3",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-watch-typeahead": "^2.2.2",
"lint-staged": "^15.0.1",
"plop": "^4.0.0",
"prettier": "3.1.1",
"prettier-plugin-tailwindcss": "^0.5.11",
"rimraf": "^5.0.5",
"ts-node": "^10.9.1",
"tsconfig": "workspace:*",
"tsup": "^7.2.0",
"turbo": "latest",
"typescript": "^5.2.2"
},
"resolutions": {
"@typescript-eslint/parser": "^6.12.0"
},
"packageManager": "pnpm@8.6.10",
"engines": {
"node": ">=18.0.0"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"**/*.{js,jsx,ts,tsx}": [
"prettier --write"
]
},
"dependencies": {
"node-fetch": "2.7.0"
}
}