-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
executable file
·62 lines (62 loc) · 2.39 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
{
"name": "vechain-dapp-kit",
"private": true,
"description": "A TypeScript library that facilitates seamless interaction between vechain wallets (veworld, sync2) and dApps.",
"license": "MIT",
"workspaces": [
"examples/*",
"packages/*",
"tests/*"
],
"scripts": {
"install:all": "yarn && yarn run build:deps",
"build": "turbo run build",
"build-react-kit": "turbo run build --filter='@vechain/dapp-kit-react'",
"build:deps": "turbo build --no-daemon --filter='@vechain/*'",
"prepare:release": "ts-node scripts/prepare-packages.ts",
"publish:release": "ts-node scripts/publish-packages.ts",
"clean": "rm -rf .turbo .parcel-cache .reports build && npx turbo@latest run clean",
"dev": "turbo run dev --filter='@vechain/*'",
"gh-pages-build": "turbo run gh-pages-build",
"lint": "turbo run lint",
"prepare": "husky install",
"preview": "turbo run preview",
"purge": "npx turbo@latest run purge && rm -rf node_modules",
"reinstall": "yarn clean && yarn purge && yarn && yarn run build:deps",
"stop-preview": "kill -2 $(ps aux | grep '[t]urbo run preview' | awk '{print $2}')",
"test": "turbo run test --filter='@vechain/*'",
"test:e2e": "turbo run preview > /dev/null 2>&1 & turbo run test:e2e; yarn stop-preview",
"test:e2e:ci": "turbo run preview & turbo run test:e2e:headless",
"test:e2e:headless": "turbo run preview > /dev/null 2>&1 & turbo run test:e2e:headless; yarn stop-preview"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx,json,md}": [
"prettier --write",
"git add"
],
"*.{js,jsx,ts,tsx}": [
"eslint"
]
},
"devDependencies": {
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"@changesets/cli": "^2.27.1",
"@commitlint/config-conventional": "^18.0.0",
"commitlint": "^18.0.0",
"eslint": "^9.12.0",
"typescript-eslint": "^8.11.0",
"eslint-plugin-prefer-arrow": "1.2.3",
"husky": "^8.0.0",
"lint-staged": "^15.0.2",
"prettier": "^2.5.1",
"punycode": "^1.4.1",
"turbo": "latest",
"typescript": "4.9.5"
},
"packageManager": "[email protected]"
}