-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
89 lines (89 loc) · 2.87 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
{
"name": "eb_web",
"version": "0.0.1",
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/energybill/eb_web.git"
},
"bugs": {
"url": "https://github.com/energybill/eb_web/issues"
},
"homepage": "https://github.com/energybill/eb_web#readme",
"ts-standard": {
"project": "./tsconfig.json",
"ignore": [
"build"
]
},
"scripts": {
"pre": "run-s svg build:tsc build:compress",
"dev": "run-s pre && vite dev",
"build": "run-s pre && vite build",
"build:tsc": "tsc --removeComments --target es2017 --outDir ./static/js ./src/static/*.ts",
"build:compress": "terser ./static/js/svgref2.js --compress --mangle --toplevel --safari10 --output ./static/js/svgref2.min.js",
"preview": "vite preview",
"check": "svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-check --tsconfig ./tsconfig.json --watch",
"lint": "prettier --ignore-path .gitignore --check --plugin-search-dir=. . && eslint --ignore-path .gitignore .",
"format": "prettier --ignore-path .gitignore --write --plugin-search-dir=. .",
"svg": "run-s svg:no-animations svg:animations",
"svg:no-animations": "svgo -r -f ./src/images -o ./static/images --exclude \"^(steps|contracts).svg$\"",
"svg:animations": "svgo --config svgo.animation.config.js -r -f ./src/images -o ./static/images --exclude \"^(?!(steps|contracts)\\.svg).*$\""
},
"husky": {
"hooks": {
"pre-commit": "run-s check && lint-staged",
"pre-push": "run-s test"
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx,mjs,cjs}": [
"ts-standard --fix"
],
"*.svelte": [
"prettier --write --plugin-search-dir=.",
"eslint --fix"
],
"*.{json,html,css}": [
"prettier --write --plugin-search-dir=."
]
},
"dependencies": {
"@fontsource/inter": "^4.5.13",
"@fontsource/open-sans": "^4.5.12",
"@fontsource/roboto-slab": "^4.5.9",
"lodash-es": "^4.17.21",
"svelte-meta-tags": "^2.6.3"
},
"devDependencies": {
"@sveltejs/adapter-static": "^1.0.0-next.44",
"@sveltejs/kit": "^1.0.0-next.511",
"@types/lodash-es": "^4.17.6",
"@typescript-eslint/eslint-plugin": "^5.39.0",
"@typescript-eslint/parser": "^5.39.0",
"autoprefixer": "^10.4.12",
"cssnano": "^5.1.13",
"eslint": "^8.25.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-svelte3": "^4.0.0",
"husky": "^8.0.1",
"lint-staged": "^13.0.3",
"mdsvex": "^0.10.6",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.17",
"postcss-preset-env": "^7.8.2",
"prettier": "^2.7.1",
"prettier-plugin-svelte": "^2.7.1",
"svelte": "^3.50.1",
"svelte-check": "^2.9.1",
"svelte-preprocess": "^4.10.7",
"svgo": "^2.8.0",
"tailwindcss": "^3.1.8",
"terser": "^5.15.1",
"ts-standard": "^12.0.1",
"tslib": "^2.4.0",
"typescript": "^4.8.4",
"vite": "^3.1.6"
},
"type": "module"
}