-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
70 lines (70 loc) · 2.13 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
{
"name": "etch-a-sketch",
"private": true,
"version": "1.1.4",
"type": "module",
"keywords": [
"etch a sketch",
"drawing"
],
"description": "A Digital Etch A Sketch",
"repository": "github:eldarlrd/etch-a-sketch",
"homepage": "https://eldarlrd.github.io/etch-a-sketch",
"author": "Eldar Pashazade <eldarlrd@pm.me> (https://eldarlrd.github.io)",
"license": "AGPL-3.0-only",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview",
"deployer": "pnpm build && gh-pages -b prod -m 'build(prod): deployment' -d dist",
"lint": "eslint src --flag unstable_ts_config",
"style": "stylelint 'src/**/*.{css,pcss,scss,sass,less,styl}'",
"pretty": "prettier '{src,__{tests,mocks,snapshots}__}/**/*.{ts,tsx,less}' --write",
"format": "pnpm lint --fix && pnpm style --fix && pnpm pretty"
},
"stylelint": {
"extends": [
"stylelint-config-standard-less"
]
},
"prettier": {
"singleQuote": true,
"jsxSingleQuote": true,
"bracketSameLine": true,
"trailingComma": "none",
"arrowParens": "avoid",
"experimentalTernaries": true
},
"dependencies": {
"preact": "^10.24.2"
},
"devDependencies": {
"@babel/core": "^7.25.7",
"@babel/plugin-transform-react-jsx": "^7.25.7",
"@eslint/js": "^9.12.0",
"@preact/preset-vite": "^2.9.1",
"@types/react": "^18.3.11",
"@types/react-dom": "^18.3.0",
"eslint": "^9.12.0",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.6.3",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-jsx-a11y": "^6.10.0",
"eslint-plugin-n": "^17.10.3",
"eslint-plugin-no-relative-import-paths": "^1.5.5",
"eslint-plugin-promise": "^7.1.0",
"eslint-plugin-react": "^7.37.1",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-react-refresh": "^0.4.12",
"gh-pages": "^6.1.1",
"globals": "^15.10.0",
"jiti": "^2.3.3",
"less": "^4.2.0",
"prettier": "^3.3.3",
"stylelint": "^16.9.0",
"stylelint-config-standard-less": "^3.0.1",
"typescript": "^5.6.2",
"typescript-eslint": "^8.8.1",
"vite": "^5.4.8"
}
}