forked from everget/pinescript-cheatsheet
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
125 lines (125 loc) · 4.74 KB
/
package.json
File metadata and controls
125 lines (125 loc) · 4.74 KB
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
{
"name": "vite-react",
"version": "0.0.0",
"private": true,
"type": "module",
"scripts": {
"preinstall": "npx only-allow pnpm",
"// --- BUILDING ---": "",
"dev": "pnpm run build:swap:dev && vite",
"build": "pnpm run build:swap:dev && tsc -b && vite build && pnpm run build:swap:prod && pnpm run fix",
"build:bundle-viz": "vite-bundle-visualizer",
"build:clean": "rimraf dist build .turbo",
"build:nuke": "build:clean && rimraf pnpm-lock.yaml node_modules && pnpm i",
"build:storybook": "storybook build",
"build:swap": "node ./scripts/swap-urls.mjs",
"build:swap:dev": "pnpm run build:swap -- --dev",
"build:swap:prod": "pnpm run build:swap -- --prod",
"preview": "pnpm run build && vite preview",
"// --- CHECKING & FORMATTING & LINTING ---": "",
"check": "pnpm run \"/^(types|format|lint:[a-z]+):check/\"",
"editorconfig:check": "editorconfig-checker",
"fix": "pnpm run format && pnpm run lint",
"format": "pnpm run format:default --write",
"format:check": "pnpm run format:default --check",
"format:default": "prettier . --ignore-unknown --cache",
"lint": "pnpm run \"/^lint:(js|styles|md)$/\"",
"lint:check": "pnpm run \"/lint:(js|styles|md):check/\"",
"lint:js": "pnpm run lint:js:check --fix",
"lint:js:check": "eslint src --report-unused-disable-directives --max-warnings 10 --cache",
"lint:md": "echo 'NOT_IMPLEMENTED'",
"lint:md:check": "echo 'NOT_IMPLEMENTED'",
"lint:styles": "pnpm run lint:styles:check --fix",
"lint:styles:check": "stylelint \"./src/**/*.{css,scss}\" --cache",
"packagejson:check": "sort-package-json \"**/package.json\" --check",
"types:check": "tsc --noEmit",
"// --- TESTING ---": "",
"storybook": "storybook dev -p 6006",
"test": "pnpm run test:unit",
"test:clean": "rimraf coverage && rimraf playwright-report && rimraf tests/e2e/playwright/test-results",
"test:cov": "vitest run --coverage",
"test:e2e": "pnpm exec playwright test --project chromium",
"test:e2e:ui": "pnpm run test:e2e -- --ui",
"test:staged": "vitest related --run --bail 1 --coverage=false",
"test:unit": "vitest run",
"test:watch": "vitest",
"coverage": "pnpm run test:cov",
"// --- GIT HOOKS & COMMITS ---": "",
"prepare": "is-ci || husky",
"uninstall-husky": "pnpm remove husky && git config --unset core.hooksPath && rimraf .husky",
"lint-staged": "lint-staged",
"cm": "cz",
"cz": "cz",
"// --- CI ---": "",
"ci:lint": "pnpm run check",
"ci:test:unit": "pnpm run test:cov",
"ci:test:e2e": "pnpm run test:e2e"
},
"dependencies": {
"@tailwindcss/vite": "^4.1.18",
"react": "^19.2.4",
"react-dom": "^19.2.4"
},
"devDependencies": {
"@chromatic-com/storybook": "5.0.1",
"@commitlint/cli": "^20.4.1",
"@commitlint/config-conventional": "^20.4.1",
"@eslint/js": "^10.0.1",
"@playwright/test": "^1.58.2",
"@storybook/addon-essentials": "8.6.14",
"@storybook/addon-interactions": "8.6.14",
"@storybook/addon-onboarding": "10.2.8",
"@storybook/blocks": "8.6.14",
"@storybook/react": "10.2.8",
"@storybook/react-vite": "10.2.8",
"@storybook/test": "8.6.15",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"@types/node": "^25.2.3",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react-swc": "^4.2.3",
"@vitest/coverage-v8": "^4.0.18",
"commitizen": "^4.3.1",
"editorconfig-checker": "^6.1.1",
"eslint": "^10.0.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-prettier": "^5.5.5",
"eslint-plugin-react-hooks": "^7.0.1",
"eslint-plugin-react-refresh": "^0.5.0",
"eslint-plugin-storybook": "^10.2.8",
"global-jsdom": "^28.0.0",
"globals": "^17.3.0",
"husky": "^9.1.7",
"is-ci": "^4.1.0",
"jsdom": "^28.0.0",
"lint-staged": "^16.2.7",
"prettier": "^3.8.1",
"prettier-plugin-organize-attributes": "^1.0.0",
"prettier-plugin-tailwindcss": "^0.7.2",
"rimraf": "^6.1.2",
"shell-quote": "^1.8.3",
"sort-package-json": "^3.6.1",
"storybook": "10.2.8",
"stylelint": "^17.3.0",
"stylelint-config-idiomatic-order": "^10.0.0",
"stylelint-config-standard": "^40.0.0",
"stylelint-prettier": "^5.0.3",
"tailwindcss": "^4.1.18",
"typescript": "~5.9.3",
"typescript-eslint": "^8.55.0",
"vite": "^7.3.1",
"vitest": "^4.0.18"
},
"packageManager": "pnpm@10.5.2+sha512.da9dc28cd3ff40d0592188235ab25d3202add8a207afbedc682220e4a0029ffbff4562102b9e6e46b4e3f9e8bd53e6d05de48544b0c57d4b0179e22c76d1199b",
"eslintConfig": {
"extends": [
"plugin:storybook/recommended"
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}